I made #fish function for #CheatEngine that just takes the steamID of whatever game I want to run it with and opens CE in proton-ge for that specific game.
This probably isnβt the ideal format for this kind of thing, but Iβm lazy so deal with it.
function cheatengine
if test (count $argv) -ne 1
echo "Usage: cheatengine <Steam_APPID>"
return 1
end
set -l appid $argv[1]
set -x STEAM_COMPAT_DATA_PATH "$HOME/.steam/steam/steamapps/compatdata/$appid/"
echo "Set STEAM_COMPAT_DATA_PATH to $STEAM_COMPAT_DATA_PATH"
proton-ge run ~/Games/CheatEngine/cheatengine-x86_64.exe
end