cheat.dat documentation missing
Posted: Thu Apr 06, 2017 6:29 pm
Hi, I'm trying to convert some cheats I made some time ago from the cheat.dat format (32 bit words) to the xml format.
The problem is that the documentation that was supposed to be here doesn't exist anymore.
I need to know what does the last byte of the first word do. IIRC the third from last bit was used to make the cheat a ROM cheat, but IDK what does the last bit is used for.
for instance:
the "2" is the third from last bit and I remember it was used for ROM cheats
but this:
It has the last bit and the third to last but enabled. I need to know what does the last bit enabled mean. I suspect it has to do the encrypted opcodes (write the encrupted form of the opcode or byte)
Of course those aren't the cheats I'm interested in. The cheat I'm trying to convert is this (custom) one:
Which I converted to this cheat (ignore the delay="0" attribute, is a custom attribute I programmed within the mame src to make a cheat start pre-enabled)
The weird thing is that it worked perfectly in sdlmame 0.123 (also a custom one to enable pre-enabled cheats before the main boot process of the machine starts). Anyways, it should work after making a soft reset but it doesn't behave the same way as before.
I know that it's weird to have a skip checksum cheat in a cheat engine that doesn't support pre-enabled cheats but some have survived despite of this, like the Skip RAM/ROM check from kof2002 (maybe after making a soft reset)
I hope someone can lend me a hand on this.
Thanks in advance.
Greets!
The problem is that the documentation that was supposed to be here doesn't exist anymore.
I need to know what does the last byte of the first word do. IIRC the third from last bit was used to make the cheat a ROM cheat, but IDK what does the last bit is used for.
for instance:
Code: Select all
:1943:20800000:6E50:00000018:FFFFFFFF:Always Enable Secret Code PL1:Get the weapon at the start of every stage
but this:
Code: Select all
:sonicbom:A0800000:00361A:00000060:FFFFFFFF:Invincibility - Player
Of course those aren't the cheats I'm interested in. The cheat I'm trying to convert is this (custom) one:
Code: Select all
:bosco:A0800000:394F:00000000:000000FF:disable checksum
:bosco:A0810000:36D6:00000028:000000FF:disable checksum
:bosco:A0810000:37EF:000000C9:000000FF:disable checksum
:bosco:A0810000:3F21:000000C9:000000FF:disable checksum
Code: Select all
<cheat desc="Skip RAM/ROM Checks" delay="0">
<script state="on">
<action>temp0 =maincpu.ob@394F</action>
<action>temp1 =maincpu.ob@36D6</action>
<action>temp2 =maincpu.ob@37EF</action>
<action>temp3 =maincpu.ob@3F21</action>
</script>
<script state="run">
<action>maincpu.ob@394F=00</action>
<action>maincpu.ob@36D6=28</action>
<action>maincpu.ob@37EF=C9</action>
<action>maincpu.ob@3F21=C9</action>
</script>
<script state="off">
<action>maincpu.ob@394F=temp0 </action>
<action>maincpu.ob@36D6=temp1 </action>
<action>maincpu.ob@37EF=temp2 </action>
<action>maincpu.ob@3F21=temp3 </action>
</script>
</cheat>
I know that it's weird to have a skip checksum cheat in a cheat engine that doesn't support pre-enabled cheats but some have survived despite of this, like the Skip RAM/ROM check from kof2002 (maybe after making a soft reset)
I hope someone can lend me a hand on this.
Thanks in advance.
Greets!