| View previous topic :: View next topic |
| Author |
Message |
Synban How do I cheat?
Reputation: 0
Joined: 06 Nov 2023 Posts: 1
|
Posted: Mon Nov 06, 2023 3:26 am Post subject: Using CE for Elden Ring on Ubuntu |
|
|
I've been trying to get Cheat Engine to work with my Elden Ring game.
I've gotten both Elden Ring and Cheat Engine to run individually and at the same time, but Cheat Engine doesn't recognize that Elden Ring is running or even exists when running Elden Ring through Steam and then starting Cheat Engine through normal system means or through Steam by selecting it as a "non-steam game".
I've tried running Elden Ring with ProtonHax, which also doesn't recognize Elden Ring is running and says "no program found with magic number 1245620" upon trying to launch Cheat Engine with the protonhax run path/to/engine command. The number we used should be the steam app ID of the app and is listed as such in the file directory. This is consistent even with "protonhax init %COMMAND%" in the launch options section like is directed.
I next tried steamtinkerlaunch. It can launch Elden Ring like its supposed to through the compatibility options in steam and can go to the "Main Menu" of steamtinkerlaunch. But now I can't figure out how to run Cheat Engine either through steamtinkerlaunch or through system means in a way that it recognizes that Elden Ring is running after being launched through steam with the steamtinkerlaunch compatibility option chosen.
Solution found:
Turns out protonhax works as needed, but the github page we got it from did not specify we needed envload to make it work. Once I found i needed it and got it, protonhax works perfectly. Thank you everyone
Last edited by Synban on Sun Nov 12, 2023 9:24 pm; edited 1 time in total |
|
| Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4718
|
Posted: Mon Nov 06, 2023 9:46 am Post subject: |
|
|
You have to run both CE and the game using the same wine binary in the same wineprefix.
This is a wrapper script I use for protonhax:
| Code: | #!/usr/bin/bash
set -o errexit
set -o pipefail
set -o nounset
#set -o xtrace
readarray -t appids < <(protonhax ls)
num=${#appids[@]}
app=""
if [ "$num" -eq 0 ]; then
echo 'No games running.'
echo 'Did you remember to use launch options `protonhax init %COMMAND%`?'
exit 1
elif [ "$num" -gt 1 ]; then
echo 'Appid:'
select _app in "${appids[@]}"; do
if [ -z "$_app" ]; then
echo 'Invalid selection.'
exit 1
fi
app="${_app}"
done
else
app="${appids[0]}"
fi
protonhax run "${app}" "$WINEPREFIX/drive_c/Program Files/Cheat Engine 7.5/Cheat Engine.exe"
| Note that the var "$WINEPREFIX" here is where CE is installed
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
| Back to top |
|
 |
CheaterNinja How do I cheat?
Reputation: 0
Joined: 12 Nov 2023 Posts: 1
|
Posted: Sun Nov 12, 2023 5:41 am Post subject: |
|
|
Yes I needed this, thank you man, it worked
_________________
|
|
| Back to top |
|
 |
Grinder4life123 How do I cheat?
Reputation: 0
Joined: 12 Nov 2023 Posts: 2
|
Posted: Sun Nov 12, 2023 9:26 am Post subject: Yo |
|
|
Are you using the cheat engine server for Linux ? I had this issue but after running the server and connection to it in the process window it sees all my Linux applications
Video on how to set up youtu.be/QtRq_5uxY8s?si=LcJLhZxb7__elATH
Let me know if this fixes your issue bro
|
|
| Back to top |
|
 |
jacks0n12 How do I cheat?
Reputation: 0
Joined: 13 Jul 2024 Posts: 1
|
Posted: Sat Jul 13, 2024 8:58 am Post subject: do i paste this anywhere in the code? |
|
|
[quote="ParkourPenguin"]You have to run both CE and the game using the same wine binary in the same wineprefix.
This is a wrapper script I use for protonhax:
[code]#!/usr/bin/bash
set -o errexit
set -o pipefail
set -o nounset
#set -o xtrace
readarray -t appids < <(protonhax ls)
num=${#appids[@]}
app=""
if [ "$num" -eq 0 ]; then
echo 'No games running.'
echo 'Did you remember to use launch options `protonhax init %COMMAND%`?'
exit 1
elif [ "$num" -gt 1 ]; then
echo 'Appid:'
select _app in "${appids[@]}"; do
if [ -z "$_app" ]; then
echo 'Invalid selection.'
exit 1
fi
app="${_app}"
done
else
app="${appids[0]}"
fi
protonhax run "${app}" "$WINEPREFIX/drive_c/Program Files/Cheat Engine 7.5/Cheat Engine.exe"
[/code]Note that the var "$WINEPREFIX" here is where CE is installed[/quote]
Do I paste this anywhere within the protonhax bash file? I'm sorry I don't know much of anything about scripting, so please may you help?
|
|
| Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4718
|
Posted: Sat Jul 13, 2024 10:09 am Post subject: |
|
|
- Edit a new file (e.g. "ce-proton.sh")
- Copy/paste that code in
- If needed, change the location of the CE binary in the last line
- Save the file
- Make the file executable (`chmod a+x ce-proton.sh`)
- Optionally move the file to somewhere in your $PATH (e.g. some people add ~/.local/bin to their path and put stuff there)
- Modify the game's launch options in steam (right click in library -> Properties -> General -> Launch Options) and set it to "protonhax init %COMMAND%" (no quotes)
- Launch the game
- Run the script (either via a terminal or a capable launcher- e.g. krunner)
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
| Back to top |
|
 |
|