Skip to main content

GameSentenceMiner on Steam Deck

GameSentenceMiner runs natively on the Steam Deck! Because the Steam Deck is essentially a Linux PC, you can run the full GSM experience directly on the handheld. Alternatively, for better battery life and performance, you can stream your desktop PC to the Deck.

Recommendation

My personal recommendation on Steam Deck is to use streaming for the best experience and feature completion in GSM. This is especially true for playing high-end games or Visual Novels that require Windows-only tools.

Native Setup

Running GSM natively allows you to mine sentences anywhere, even without an internet connection. This guide focuses on using the Steam Deck's Desktop Mode to set everything up.

These instructions are on a completely fresh Steam Deck install, if you run into any issues, please open an issue on the GitHub repository, or join the GSM Discord.

note

Using GSM in Game mode is not currently supported due to system limitations. As long as GSM uses OBS for capture, it will likely not be supported without some major rewrite. If you want to use GSM in Gaming Mode, please consider streaming from a PC instead.

1. Prerequisites

Switch to Desktop Mode

  1. Press the Steam button.
  2. Go to Power > Switch to Desktop.

Install OBS Studio

GSM needs OBS Studio to capture the game screen for OCR.

  1. Open the Discover store (shopping bag icon on the taskbar).
  2. Search for "OBS Studio".
  3. Install the Flatpak version.

OBS Flatpak Installation

Enable OBS WebSocket Server

  1. In OBS, go to Tools > WebSocket Server Settings.
  2. Check Enable WebSocket Server.
  3. Uncheck Enable Authentication (GSM works best without it on Deck).
    • OR copy the password generated for you, and paste it in OBS Settings in GSM Later.
  4. Set Server Port to 7274.

OBS WebSocket Settings

Enable Replay Buffer

  1. Go to Settings > Output > Replay Buffer.
  2. Check Enable Replay Buffer.
  3. Set Maximum Replay Time to 120 (or higher) seconds.

OBS Replay Buffer Settings

Save Resources

  1. Set FPS to 10 in Settings > Video to save resources.

OBS FPS Settings

Install Anki

The Flatpak version of Anki on the Discover store can sometimes have issues with add-ons or permissions (I'm not sure if this is true tbh). I just used the official Linux build.

  1. Go to the official Anki website.
  2. Download the Linux version (Download Anki for Linux -> Download .tar.zst).
  3. Open your file manager (Dolphin), find the downloaded file, right-click it and choose Extract > Extract archive here.
  4. Open the extracted folder.
  5. Double click "Anki.sh" to install and run Anki.

Configure Anki

  1. Open Anki.
  2. Go to Tools > Add-ons > Get Add-ons....
  3. Enter code 2055492159 to install AnkiConnect.
  4. Restart Anki.

2. Install GameSentenceMiner

We use the AppImage version for Steam Deck.

  1. Go to the latest GSM release.
  2. Download the .AppImage file.
  3. Double Click the downloaded file to run it. If it doesn't run:
    • Right-click the file, go to Properties > Permissions tab.
    • Check Is executable.
    • Close and double-click the file again.
First Run

On the first launch, GSM will set up its internal environment. This might take a few minutes, depending on internet speed, this can probably be improved in future releases.

3. Setup OCR

With an OBS Scene and active capture setup, OCR should be as simple as it is on other platforms. Just set an area, start auto OCR, and you should be good to go.

In order to save the area, there is a right click menu on the area selection box with a "Save Area" option. The other types of area (exclusion, menu) can't be set up yet (silly mistake), but will be fixed in future releases.

4. Controller Configuration

To make mining comfortable in Desktop Mode, you should map the necessary keys to your Steam Deck buttons.

Recommended Bindings:

  • Back Buttons (L4/L5/R4/R5): Map one to Right Alt (VERY IMPORTANT THAT IT IS RIGHT ALT) and another to Tab. This allows you to quickly switch between your game and Texthooker.
  • Trackpad: Set one trackpad as a Mouse so you can interact with the GSM overlay (if it works) or window.

You can configure these in Desktop Mode by pressing the Steam button > Controller Settings while the game is running.

In GSM, go to Settings and adjust the following for better performance on the Deck, to open GSM Settings, there is a button in the Home tab.

  • VAD Settings:
    • Whisper Model: tiny
    • OR Select VAD Model: Silero.
  • General Settings:
    • Clipboard Enabled: OFF - Saves resources. Linux Clipboard compatibility is not great compared to Windows, and I recommend using websocket anyway.
  • Features Settings:
    • Open Anki Note in Edit View: OFF - It's pretty distracting on Deck.

6. Put it all together

  • Start GSM, OBS, Anki
  • Launch your Game
  • Launch OCR/Texthooker
  • Play normally, alt tab between game and texthooker as needed for lookups and mining.
  • Overlay support is experimental on Deck, so may not work correctly.
📸 Complete Installation Screenshots (Click to expand)

Below is a complete dump of screenshots taken during the installation process on Steam Deck for reference. These map help, but are not step-by-step instructions.

Screenshot 1


Screenshot 2


Screenshot 3


Screenshot 4


Screenshot 5


Screenshot 6


Screenshot 7


Screenshot 8


Screenshot 9


Screenshot 10


Screenshot 11


Screenshot 12


Screenshot 13


Screenshot 14


Screenshot 15


Screenshot 16


Screenshot 17


Screenshot 18


Screenshot 19


Screenshot 20


Screenshot 21


Screenshot 22


Screenshot 23


Screenshot 24


Screenshot 25


Screenshot 26


Screenshot 27


Screenshot 28


Screenshot 29


Screenshot 30


Screenshot 31


Screenshot 32


Screenshot 33


Screenshot 34


Screenshot 35


Screenshot 36


Screenshot 37


Screenshot 38


Screenshot 39


Screenshot 40


Screenshot 41


Screenshot 42


Screenshot 43


Screenshot 44


Screenshot 45


Screenshot 46


Screenshot 47