Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Using CE for Elden Ring on Ubuntu

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Synban
How do I cheat?
Reputation: 0

Joined: 06 Nov 2023
Posts: 1

PostPosted: Mon Nov 06, 2023 3:26 am    Post subject: Using CE for Elden Ring on Ubuntu Reply with quote

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
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4718

PostPosted: Mon Nov 06, 2023 9:46 am    Post subject: Reply with quote

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
View user's profile Send private message
CheaterNinja
How do I cheat?
Reputation: 0

Joined: 12 Nov 2023
Posts: 1

PostPosted: Sun Nov 12, 2023 5:41 am    Post subject: Reply with quote

Yes I needed this, thank you man, it worked
_________________
Back to top
View user's profile Send private message
Grinder4life123
How do I cheat?
Reputation: 0

Joined: 12 Nov 2023
Posts: 2

PostPosted: Sun Nov 12, 2023 9:26 am    Post subject: Yo Reply with quote

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
View user's profile Send private message
jacks0n12
How do I cheat?
Reputation: 0

Joined: 13 Jul 2024
Posts: 1

PostPosted: Sat Jul 13, 2024 8:58 am    Post subject: do i paste this anywhere in the code? Reply with quote

[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
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4718

PostPosted: Sat Jul 13, 2024 10:09 am    Post subject: Reply with quote

  1. Edit a new file (e.g. "ce-proton.sh")
  2. Copy/paste that code in
  3. If needed, change the location of the CE binary in the last line
  4. Save the file
  5. Make the file executable (`chmod a+x ce-proton.sh`)
  6. Optionally move the file to somewhere in your $PATH (e.g. some people add ~/.local/bin to their path and put stuff there)
  7. 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)
  8. Launch the game
  9. 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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites