[LINUX GUIDE] How to use text hooker (Agent) with Steam Flatpak

# This guide is mainly written for Steam Flatpak users, but It must work for others too (skip step 2 and 3, just place the Agent files wherever you want and install STL by following it’s github instructions).

# VIDEO GUIDE: [https://www.youtube.com/watch?v=ihIT5V8Eexw](https://www.youtube.com/watch?v=ihIT5V8Eexw)

[How it looks](https://i.imgur.com/NIuZ5qC.jpg)

Agent text hooker allows you to extract text from different emulators (yuzu, vita3k, ppsspp, rpcs3), game engines and pc games, using premade hooking scripts.

On Linux, If you want to hook your Steam game, you have to run the text hooker in the same Proton instance the game is using. On Flatpak it can get tricky, due to it’s sandboxed nature.

​

**1) Download Agent** from [Github](https://github.com/0xDC00/agent) \>>> **Releases** \>>> **Windows version**

2) Create “**MyTools**” folder in

**\~/.var/com.valvesoftware.Steam/**

and copy the extracted agent-win folder.

​

>To see .var folder in your home directory, you have to enable “Show hidden files” in your file manager. Usually it can be enabled by the CTRL+H shortcut.

​

3) **Install SteamTinkerLaunch.** Run in terminal and restart steam:

“flatpak install com.valvesoftware.Steam.Utility.steamtinkerlaunch”

4) **Set STL as compatibility tool.**

Open Steam >> Right click on game >> Properties >> Compatibility >> Check “**Force the use of a specific Steam Play compatibility tool**” and select “**Steam Tinker Launch**”.

​

>If it’s missing, run this command and restart steam: “flatpak run –command=”/app/utils/steamtinkerlaunch/bin/steamtinkerlaunch” com.valvesoftware.Steam compat add”

​

5) **STL configuration.**

Press **Play**. When STL window appears, click “**MAIN MENU**”. Then click “**GAME MENU**” at the bottom of the window.

Under “**Misc options**” check: “**Use custom command**”, “**Fork custom command**” and “**Force Proton with custom command**”. Then click on the field next to “**Custom command**” and locate “**agent.exe**”.

You can also choose preferred proton version under “**Proton options**”

When you’re done press “**SAVE AND PLAY**”. Game and Agent should start.

​

5) **Agent configuration**. Click on “**Script…**”. Since it’s your first launch of the Agent, click on “**Update scripts**”. It should download all available scripts from the github.

Choose the desired script.

Now, you need to attach Agent to the game process. Just drag and drop the “**aim**” icon to the game window and press “**Attach**”.

That’s it.

Leave a Reply
You May Also Like