Please make an effort to keep the conversation civil.
I have deleted comments which appear to be part of an off-topic argument. If the conversation continues to be argumentative or the topic keeps accumulating flags we will just close it.
Please make an effort to keep the conversation civil.
I have deleted comments which appear to be part of an off-topic argument. If the conversation continues to be argumentative or the topic keeps accumulating flags we will just close it.
Look at the usage page, it’s fairly straightforward.
All you need is this:
protonhax init <cmd>
Should only be called by Steam with "protonhax init %COMMAND%"
protonhax run <appid> <cmd>
Runs <cmd> in the context of <appid> with proton
So 1° put “protonhax init %COMMAND%” in the launch options of your target game.
(What this does is create a tmp file that contains all the environment variables on which Proton relies to run the game; then that file can be used by the next command)
Then 2° you can run any exe with
protonhax run <appid> <cmd>
where appid is the steam id for the game, eg 1245620 for elden ring (easy to find by looking at store url).
cmd is relative to the wine/proton prefix for the game. (If you don’t know what a prefix is in that context, you’ll need a bit of time to figure out to look at how the directories are structured / read a little about wine)
So run the cheat engine installer, and then you can run
protonhax run <path to installed CE.exe> <path to your cheat table>
All paths from the POV of proton, of course.
Put it in a script to run it easily when you want.
So…to reiterate.
No.
Install protonhax
Use it to run CE installer, so that CE is installed in the game’s prefix [technically you could probably install it anywhere, so long as you run it with protonhax, but I find it easier to bundle games and their tools together]
Then use it to launch the installed CE whenever you want (and the game is already running).
Install CE IN the game? Alright alright alright…say I have Skyrim or Elden Ring or some game installed on steam. You’ve been patient with me so far so stay with me. I think I’ve almost got it. Walk me through how to set this up with one of those as the example.
Here is a link to protonhax github page. You need to follow the steps under usage.
It walks you through what changes you need to make to the game in steam. How to get the id and how to run the command once you have the id.
So…tried to follow the usage steps…getting errors…how do I correct for the path to the steam game/file? Also…what should be going into [args…]? This is why a how to video would be a big help.
[user@user-rogstrixg513qyg513qy ~]$ protonhax ls
[user@user-rogstrixg513qyg513qy ~]$ protonhax run <999020> </home/user/.local/share/Steam/steamapps/common/MZZXLC/>]
bash: syntax error near unexpected token `999020'
[user@user-rogstrixg513qyg513qy ~]$ protonhax run <999020> <path/to/home/user/.local/share/Steam/steamapps/common/MZZXLC/>]
bash: syntax error near unexpected token `999020'
[user@user-rogstrixg513qyg513qy ~]$ protonhax cmd <999020>
bash: syntax error near unexpected token `999020'
[user@user-rogstrixg513qyg513qy ~]$ protonhax cmd <999020>
bash: syntax error near unexpected token `999020'
[user@user-rogstrixg513qyg513qy ~]$ protonhax cmd <999020> path/to/home/user/.local/share/Steam/steamapps/common/MZZXLC/>] [args...]
bash: syntax error near unexpected token `999020'
[user@user-rogstrixg513qyg513qy ~]$
Nothing goes in [args] if you don’t have any arguments to pass to the program.
Put this command in the steam command box or whatever it is called. You gotta click the cog wheel next to the game to get to it.
protonhax init %COMMAND%
Run the game from steam.
Run protonhax ls to list appid of running games.
Run `protonhax [appid] [path to exe].
protonhax run <999020> </home/user/.local/share/Steam/steamapps/common/MZZXLC/>]
bash: syntax error near unexpected token `999020'
You are trying to provide the path to the game not the path to the program you want to use with the game. It should be the path to cheat engine.
It’s so much worse than that.
You (@crilglay) are actually typing <..> for the arguments instead of just the argument itself.
It should be
protonhax run 999020 …
not
protonhax run <999020> …
I guess it’s your very first time using the command line.
edit: for future reference, <..> is a common notational convention to mean “replace by your argument”, and [..] means “replace by your OPTIONAL argument”.
First time using the command line as it pertains to games or any kind of cheat engine. And in the this case it’s the first time I’ve used it in a while. But to be honest…my desire to get this working exact is lower than my desire to modify or cheat my games. I’ll just boot into windows and fiddle with the games there if I’m eager enough. As it stands, this whole process to merely boot up Cheat Engine is nuisance enough and Cheat Engine can already be relatively obtuse to use depending on the game.
Until PINCE becomes more user friendly or until another option comes along, both of which will likely happen before anyone bothers putting out a how to vid on this, I’m just going to forgo any hassle of messing with Cheat Engines on Arch.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.