Handheld lcd game cheats in mame.... is it possible?
- austinwolfclaw
- Posts: 4
- Joined: Thu Jan 18, 2018 6:30 am
- Location: Michigan
- Contact:
Handheld lcd game cheats in mame.... is it possible?
I tried to cheat in the handheld version of altered beast (emulated by mame) using cheat engine but no luck. is it possible to modify data in handhelds emulated by mame?
- Heihachi_73
- Posts: 269
- Joined: Thu Jan 26, 2006 8:10 am
- Location: Melbourne, Australia
- Been thanked: 1 time
- Contact:
Re: Handheld lcd game cheats in mame.... is it possible?
It should be possible, at least with simple things such as infinite lives/time/score etc., LCD handhelds are usually nothing more than 8-bit systems with primitive graphics.
Other cheats such as invincibility (e.g. ignoring collision/hitboxes) would most likely have to be done as ROM cheats, which Cheat Engine etc. is useless for that type of thing (since of course read-only memory never changes by itself), you would need to disassemble the game code and know exactly what to look for.
Other cheats such as invincibility (e.g. ignoring collision/hitboxes) would most likely have to be done as ROM cheats, which Cheat Engine etc. is useless for that type of thing (since of course read-only memory never changes by itself), you would need to disassemble the game code and know exactly what to look for.
- Pugsy
- Posts: 3675
- Joined: Fri Aug 17, 2001 12:59 am
- Location: North Wales, UK.
- Has thanked: 1 time
- Been thanked: 16 times
- Contact:
Re: Handheld lcd game cheats in mame.... is it possible?
crazyc answers that question by simply posting a cheat here:-
viewtopic.php?f=3&p=24646#p24646
The answer is that you have to search data space, you can't do this with the debugger cheat engine.
You should use the cheat finder from the plugins menu (once you've enabled it).
Another option is to show the data space in the memory viewer in the debugger - it's only 128 bytes so it's quite easy to see stuff just by looking at it without even searching.
so taltbeast.xml:
Of course, ROM cheats are possible it's just that the addressing and assembler is a bit odd for that CPU.
For this example it was actually quicker for me to knock up the following ROM cheat then find the RAM address...with only 128bytes of RAM it's possible you will be looking at just changing bits rather than bytes or stuff gets overwritten by other stuff. ROM cheat was just a matter of tracing with the debugger command "trace logfilename,0,,{tracelog "%04X:",pc}" so that you can ignore the xxx address nonsense.
ktopgun.xml:-
viewtopic.php?f=3&p=24646#p24646
The answer is that you have to search data space, you can't do this with the debugger cheat engine.
You should use the cheat finder from the plugins menu (once you've enabled it).
Another option is to show the data space in the memory viewer in the debugger - it's only 128 bytes so it's quite easy to see stuff just by looking at it without even searching.
so taltbeast.xml:
Code: Select all
<mamecheat version="1">
<cheat desc="Infinite Energy">
<script state="run">
<action>maincpu.db@4D=08</action>
</script>
</cheat>
</mamecheat>
<!-- Cheat file downloaded from http://www.mamecheat.co.uk, see cheat.txt for list of contributors. -->
For this example it was actually quicker for me to knock up the following ROM cheat then find the RAM address...with only 128bytes of RAM it's possible you will be looking at just changing bits rather than bytes or stuff gets overwritten by other stuff. ROM cheat was just a matter of tracing with the debugger command "trace logfilename,0,,{tracelog "%04X:",pc}" so that you can ignore the xxx address nonsense.
ktopgun.xml:-
Code: Select all
<mamecheat version="1">
<cheat desc="Infinite Energy"> <comment>Energy will decrement till you get to 1 and then stop</comment>
<script state="on">
<action>temp0 =maincpu.mb@065B</action>
</script>
<script state="run">
<action>maincpu.mb@065B=00</action>
</script>
<script state="off">
<action>maincpu.mb@065B=temp0 </action>
</script>
</cheat>
</mamecheat>
<!-- Cheat file downloaded from http://www.mamecheat.co.uk, see cheat.txt for list of contributors. -->
Pugsy
Servicing your cheating needs since 1985
Grab the latest cheat collection:
MAME 0.264 XML cheat collection (3 APRIL 2024) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/SxsQUJoT#jBdz6GLm_ ... QzFGSMms2c (ZIP Archive 3.8 MB)
Servicing your cheating needs since 1985
Grab the latest cheat collection:
MAME 0.264 XML cheat collection (3 APRIL 2024) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/SxsQUJoT#jBdz6GLm_ ... QzFGSMms2c (ZIP Archive 3.8 MB)