View previous topic :: View next topic |
Author |
Message |
vsub Newbie cheater
Reputation: 0
Joined: 08 Jun 2019 Posts: 10
|
Posted: Sat Jun 08, 2019 4:59 am Post subject: Some questions about CE(long time ArtMoney user) |
|
|
I am not new to making cheats but kinda new to Cheat Engine(I have been using ArtMoney for a long time and this function is missing)
1.For example I search for something and find it.
2.Browse the memory region of that address and I see Base and Size
3.Is it possible to get the Base and use it as "Start" and use Base+Size as "Stop"
Pointers are little advanced thing to me and they and not very useful in emulators
In ArtMoney,there was a menu called "Scan this memory region" which did something like that
I know that the rest of the codes I am looking for will be in that region and when I restart the emulator,the region changes
And also,is it possible to make CE search only certain memory region based on the process I am scanning(pcsx2\rpcs3 have a fixed memory region that is always the same every time)
|
|
Back to top |
|
 |
Corroder Grandmaster Cheater Supreme
Reputation: 75
Joined: 10 Apr 2015 Posts: 1668
|
Posted: Sat Jun 08, 2019 6:07 am Post subject: |
|
|
Run Cheat Engine Tutorial
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL |
|
Back to top |
|
 |
FreeER Grandmaster Cheater Supreme
Reputation: 53
Joined: 09 Aug 2013 Posts: 1091
|
Posted: Sat Jun 08, 2019 8:44 am Post subject: |
|
|
I'm not sure the tutorial really covers it tbh
The hex editor portion of the memory viewer does give the base/size of a region, so find a value, right click and "browse this memory region"
then just put base and base+size here in the start/stop fields of CE's scan.
I don't think there's an easy way to tell CE to automatically set the scan range based on a found address however.
If it's a named module rather than just allocated memory there's also a drop down list to select it, at least I think that's standard now but if not it's an extension.
As for automatically when you attach for the static ones you can probably make an extension like this (place into CE/autorun as a lua file).
Code: | local old = MainForm.OnProcessOpened
MainForm.OnProcessOpened = function(pid,handle,caption)
if old then old(pid,handle,caption) end
--print(process,pid,handle,caption)
if process == 'Tutorial-i386.exe' then
MainForm.FromAddress.Text="0000000000000000"
MainForm.ToAddress.Text="77777777777"
--[[
else -- default, not really necessary but maybe nice to be reminded
MainForm.FromAddress.Text="0000000000000000"
MainForm.ToAddress.Text="7fffffffffffffff"
]]
end
end |
There's also https://www.cheatengine.org/forum/viewtopic.php?t=568894 related to emulators which I think could be combined with the above script so that 0 is always the region you care about, I've never actually used it myself however so I'm not sure.
_________________
|
|
Back to top |
|
 |
vsub Newbie cheater
Reputation: 0
Joined: 08 Jun 2019 Posts: 10
|
Posted: Sat Jun 08, 2019 10:14 am Post subject: |
|
|
That script makes it work like the feature that exist in ArtMoney(so much easier)
Not sure I understand this in the link but thanks anyway
|
|
Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8585 Location: 127.0.0.1
|
Posted: Sat Jun 08, 2019 3:23 pm Post subject: |
|
|
A way you may be able to do it based on the docs would be to use:
- getMemoryViewForm() to get the current memory view form object.
- HexadecimalView property of the returned memory view form to get the bottom hex part.
- OnAddressChange event to monitor for address changes.
Then each time the address changes there, you can look for the address either within a module range via:
- enumModules
- getModuleSize
(I'm not sure if newer versions of CE offer a way to walk the memory regions from Lua yet though easily. So I can't say any func name for that atm as my CE is outdated currently.)
Once you get that all setup though you can have the main form scan region auto-update/populate based on whats currently shown in the memory view's hex editor at the bottom.
_________________
- Retired. |
|
Back to top |
|
 |
|