View previous topic :: View next topic |
Author |
Message |
daninthemix Cheater Reputation: 0
Joined: 29 Jul 2013 Posts: 39
|
Posted: Sat Jun 10, 2017 2:45 am Post subject: Launch cheat engine with table? |
|
|
Can I launch cheat engine and open a table in one command?
e.g. (cheatengine-x86_64.exe -t mytable.ct)
By having that table:
1) Execute the game
2) Auto-attach to the game
We would be able to use Cheat Engine in a Big Picture / controller-based environment. We'd add the above Cheat Engine command as a non-Steam game, and this would launch the game, with Cheat Engine hooking. |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Sat Jun 10, 2017 2:50 am Post subject: |
|
|
yes, but no extra parameters needed just
Code: |
"cheat engine.exe" filename.ct
|
also, if cheat engine is properly installed you can just execute the .ct file and windows will open ce for you _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
daninthemix Cheater Reputation: 0
Joined: 29 Jul 2013 Posts: 39
|
Posted: Sat Jun 10, 2017 2:58 am Post subject: |
|
|
That is so cool! Just tested my script and it works perfectly - I launch from Steam, Cheat Engine launches the game and enables the Cheat.
I guess the cherry on top would be for Cheat Engine to close itself when it detects the watched process is no longer running...
Code: | shellExecute([["C:\DATA\Games\Misc Games\Silent Hill 2\sh2pc.exe"]]);
getAutoAttachList().add('sh2pc.exe') --ce will now watch the process
function onOpenProcess(pid)
local t=createTimer()
t.OnInterval=30000 --wait 10 seconds to let the game load (change this accordingly. If it's a cheat that needs to be activated after loading a game, set it to a minute or two)
t.OnTimer=function(x)
local al=getAddressList()
al.getMemoryRecordByDescription('HP SCRIPT').Active=true
x.destroy() --the timer is not needed anymore
end
end |
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Sat Jun 10, 2017 7:03 am Post subject: |
|
|
you can start a timer that reads a kniwn address, and if it's unreadable call closeCE() _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
|