ok i got the debugging activated, each time i run a game it pops a window for debugging before running the game.. but i have trouble using the codes from the forum.. for example
pit fighter bootleg character select code on one of the post at
viewtopic.php?f=4&t=3048&p=10014&hilit= ... ter#p10014
is;
:pitfight:00000300:FFEACD:00000025:FFFFFFFF:p1 select player
i keep getting a 'unknown command' i don't even know if i am inputting it the right way...
I am running a MameUI 32 0.134u4, the debugging window consist of three parts, left section some kind of readings.. top right section you select a code out of many which none make any sense, and bottom right where i assume you put your input... can anyone please guide me
thank you
Dubugging
- NotAGoodName
- Posts: 331
- Joined: Wed Feb 18, 2009 7:09 am
- Location: MO, USA
- Been thanked: 1 time
- Contact:
Re: Dubugging
That's a .DAT format cheat and is not used for modern MAME.
Aww yeah. AMD A10-7850K givin' MAME and MESS systems what for.
Re: Dubugging
So I make a .dat file for those, but how do i input them, as it is or there is a certain way??
- Pugsy
- Posts: 3686
- Joined: Fri Aug 17, 2001 12:59 am
- Location: North Wales, UK.
- Has thanked: 1 time
- Been thanked: 19 times
- Contact:
Re: Dubugging
.dat format cheats will only work upto MAME 0.125/0.126(if self-compile).
For your MAME version 0.134u4 you have to use xml format cheats
so in Pitfight this .dat cheat:-
becomes
You can also do the above manually in the debugger by typing this in
For your MAME version 0.134u4 you have to use xml format cheats
so in Pitfight this .dat cheat:-
Code: Select all
:pitfight3:00100001:FFEDB2:00000001:FFFFFFFF:One hit for enemy Now!
Code: Select all
<cheat desc="One hit for enemy Now!">
<script state="on">
<action>maincpu.pw@FFEDB2=0001</action>
</script>
</cheat>
Code: Select all
maincpu.pw@FFEDB2=0001
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)
Re: Dubugging
omg it works, i had trouble figuring it out at start but it came through...
Thanks Pugsy
is there a guide on how to do these converts, please?
i mean like
:00000300:FFEACD:00000025:FFFFFFFF:
i think in debugging mode it will end with FFEACD=0025 but does it start with maincpu.pw@ ?? what is the conversion for 00000300 to debugging code?? and if it starts with 00010000, 00000000, or 62000000?? please
greatly appreciated
Thanks Pugsy
is there a guide on how to do these converts, please?
i mean like
:00000300:FFEACD:00000025:FFFFFFFF:
i think in debugging mode it will end with FFEACD=0025 but does it start with maincpu.pw@ ?? what is the conversion for 00000300 to debugging code?? and if it starts with 00010000, 00000000, or 62000000?? please
greatly appreciated
Last edited by Alphonza on Sat Jan 23, 2010 9:36 pm, edited 1 time in total.
- Pugsy
- Posts: 3686
- Joined: Fri Aug 17, 2001 12:59 am
- Location: North Wales, UK.
- Has thanked: 1 time
- Been thanked: 19 times
- Contact:
Re: Dubugging
I will look at adding that cheat for the next release (the cheats weren't added as I was busy at the time and the cheats were far from being of drop-in standard - that cheat for instance will need much cleaning up to be of use as a standard character select cheat).To convert old format into xml format you will need to understand the old format. In that example 00000300 is a select byte value cheat so the poke value can be anything from 0x00 to 0x25.
In the debugger you would need to type
where XX is a value from 0x00 to 0x25, eg 01, 09, 0F, 13, 1D, 21, & 24.
In the debugger you would need to type
Code: Select all
maincpu.pb@FFEACD=XX
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)
- Pugsy
- Posts: 3686
- Joined: Fri Aug 17, 2001 12:59 am
- Location: North Wales, UK.
- Has thanked: 1 time
- Been thanked: 19 times
- Contact:
Re: Dubugging
I looked at that p1 select player cheat for pitfight in MAME 0.126 & 0.136 and couldn't get it to work in either, so it won't be in the next release.
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)
Re: Dubugging
it works but it got to be during selecting which got me confused till i figured it out some of these code needs pointers when to use it