| View previous topic :: View next topic |
| Author |
Message |
questionLA How do I cheat?
Reputation: 0
Joined: 22 Mar 2014 Posts: 1
|
Posted: Sat Mar 22, 2014 1:59 pm Post subject: I miss XML Cheat Tables as it exists in older versions |
|
|
Hi all,
years ago I used Cheat Engine 5.6.1. a lot and was fine with cheat tables in XML format, because I was able to create these XML's out of other programs/scripts. That was very comfortable.
I have noticed that the newer versions don't support XML anymore, I can't either import exisiting XML tables since they don't understand the "interpretable address", "offsets", "pointer" suff anymore.
Why you have removed the nifty and sexy XML format? Is there any other why I don't know yet? Or can you include this again the next version again?
bye
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25833 Location: The netherlands
|
Posted: Sat Mar 22, 2014 2:28 pm Post subject: |
|
|
new versions are XML only(the .CT itself is an XML file), so not sure what you mean
_________________
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
Last edited by Dark Byte on Sat Mar 22, 2014 2:28 pm; edited 1 time in total |
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Sat Mar 22, 2014 2:28 pm Post subject: |
|
|
Cheat Tables are still in XML format, however the template that they use in the newest versions of CE have changed.
_________________
- Retired. |
|
| Back to top |
|
 |
spriditis How do I cheat?
Reputation: 0
Joined: 21 Jun 2014 Posts: 1
|
Posted: Sat Jun 21, 2014 7:48 pm Post subject: Cheat Engine old XML format changes |
|
|
| atom0s wrote: | | Cheat Tables are still in XML format, however the template that they use in the newest versions of CE have changed. |
Yes, there were at least 2 critical changes in format which cause CE to ignore entry's: 1. types, 2. pointers/offsets.
If you do no want to loose them, then you need to run parser script first.
#1. Replace (global) | Code: | | <Type>x</Type> with <VariableType>yyyy</VariableType> | ~I think types are as follows (x=yyyy): 0=Byte; 1=2 Bytes; 2=4 Bytes, 3=~8 Bytes/Float; 4=?; .. (not clear about 8 Bytes, float, double, text, binary).
#2. Next load XML and loop each CheatEntry (i used php script):
2.1. If has $entry->Pointer->InterpretableAddress = copy this value to $entry->Address.
2.2. Add Offsets entry - and copy value(s) from $entry->Pointer->Offsets (if has any).
2.3. Remove $entry->Pointer entry.
#3. Now can open/save in CE (it will add non-critical stuff - ID, colors, version header, etc).
~ Not even clear which version outputted such old format - must be some between 5.6 (binary) and 6.0 (was already "new" XML format) - sample of such tables (2010, 2011): cheatengine.org/forum/viewtopic.php?p=5255077
Perhaps CE could implement automatic "transform" on paste / file open, so no need do it manually..
|
|
| Back to top |
|
 |
|