MAME XML Cheats Collection for MAME 0.129u5 (BETA Release)

This forum is for making announcements about updated cheat files (for any emulator), updated web pages and of course about improvements to the MAME/MESS cheat engine.
User avatar
Pugsy
Posts: 3638
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 12 times
Contact:

MAME XML Cheats Collection for MAME 0.129u5 (BETA Release)

Post by Pugsy »

The cheat engine in MAME 0.127 requires individual xml files for each game due to a complete rewrite of the cheat engine by Aaron Giles.

I've coded a conversion util and I'm still in the process of optimising the cheat.dat file for conversion. This work is nearing completion (~99.xx % complete). However, I've decided to release the converted 0.127 cheat files as they stand via the forums. There will be issues with the the cheat file and the cheat engine still - more widespread testing should hopefully uncover more..

If you spot any cheats that have issues please post a bug report in this topic, thank you. BE AWARE THE LATEST XML CHEATS COLLECTION NOW REQUIRES MAME 0.129u5 or LATER

Here are the files (packed with 2 different archive formats):-

7z format (623Kb)

http://cheat.retrogames.com/cheat_0129u5_26_FEB_2009.7z


Zip format (1332Kb)

http://cheat.retrogames.com/cheat_0129u ... B_2009.zip




NOTE this cheat release is based purely on the cheat.dat file for MAME 0.126. So it has no cheats for the games added between 0.126 and 0.129u5.

PS I shall release the classic type 0.126 cheat.dat one final time (thereafter it will be replaced with cheat xml releases)


You can find the old beta cheat file for MAMEs from 0127u3 to 0129U4 here:- http://cheat.retrogames.com/cheat0127u3 ... 008_V10.7z .


EDIT : Updated the above files, hopefully will fix most TMS CPU issues
EDIT2 : Forgot to make it from the very latest cheat.dat - rebuilt as V3
EDIT4 - V4 made some wrong assumptions about the V2 changes, it broke as many TMS games as it fixed. Only fixed the TMS games where cpu0 was the TMS cpu.
EDIT5 - V5, shortened all mahjong comments and removed all old type [] comments. Also fixed the conversion of non-standard program-code cheats that weren't working post conversion. And a few other fixes too.
EDIT6 - V6, removed the OFF options as 0.127u3 now has default OFF options so they are no longer needed. Also a couple of small comment related fixes.
EDIT7 - V7, fixed the issue with the '--' in the comments and a few other small cheat fixes. Based on the latest wip cheat.dat file.
EDIT8 - V8, fixed the issue with list cheats with more than 10 options
EDIT9 - V9, dramatically reduced the footprint of single address list cheats whose only differences where name and poke value. Drastically reduced the number of tempvariables for list cheats using the old restore value. Also fixed the identified issues since the last release. These changes mean the file size has gone down with no loss of any cheat functionaility. It's most noticeable on the uncompressed cheat.zip which is approx 4 megs smaller.
EDIT10 - V10, includes fixes for all bugs reported by Tafoid (thanks)
EDIT11 - V11, major change in 0.129u5 killed most cheats - hopefully now all fixed. Also included cheats in the latest un-released cheat.dat.
Last edited by Pugsy on Thu Feb 26, 2009 9:14 pm, edited 13 times in total.
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.259 XML cheat collection (6 OCTOBER 2023) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/q4dHGZ6K#i-EUiqIjH ... KMz7hnbTfw (ZIP Archive 3.76MB)
etabeta78
Posts: 32
Joined: Tue Dec 05, 2006 9:46 pm
Location: Trondheim, Norway

Post by etabeta78 »

Small annoyance: in some of the mahjong games (e.g. ojankohs) with a cheat to view other player's pieces, the list of corresponding hex codes <-> pieces is too long to be visualized on a single screen.

At the same time, (I guess because they use the MENU_FLAG_DISABLE, but I haven't investigated) you cannot scroll them and you jump directly from the menu item before the list to the item after the list.

As a result you can only see part of the list (and you have to guess the remaining)

Notice I can only test SDLMAME, so please check if the same menu behavior is present in windows (it could be a SDL specific issue with menu handling).

In the meanwhile, I'll keep testing in search of more serious bugs (no problems so far with the ~20 games I tried)


p.s. also, in !README_FIRST!!.txt you may want to specify that on MacOSX SDLMAME requires the cheat.zip to be in the same directory of the executable and only MAME OSX requires it in the specific path: the statement (All platforms apart from Mac OS 9/X ) could sound ambigous
User avatar
Pugsy
Posts: 3638
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 12 times
Contact:

Post by Pugsy »

Cheers

The scrolling is an issue in the standard compile too, so hopefully it can be addressed. Should I raise this as a bug on mametesters though? (the old cheat engine scrolling of such long comment cheats wasn't ideal it was possible to see all the comments at least).

I've amended the instructions with regards to SDLMAME for the next release - should be a little less confusing now, thanks.
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.259 XML cheat collection (6 OCTOBER 2023) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/q4dHGZ6K#i-EUiqIjH ... KMz7hnbTfw (ZIP Archive 3.76MB)
etabeta78
Posts: 32
Joined: Tue Dec 05, 2006 9:46 pm
Location: Trondheim, Norway

Post by etabeta78 »

yes, probably a report on Mametesters would be better, since it seems more a core issue in the menu handling than a cheat specific problem :)
stephh
Posts: 601
Joined: Fri Aug 17, 2001 1:00 am
Location: Paris, France

Post by stephh »

Even if it's a bug in the UI core, it shouldn't be bad to shorten the comments about the tiles ...

For example, in 'ojankohs', you could have something like this :

Code: Select all

?? - no tile -
00-08 1-9 'characters' / 'wan'
10-18 1-9 'dots' / 'tung'
20-28 1-9 'bamboo' / 'tiao'
30-33 East/South/West/North 'wind'
34-36 White/Green/Red 'dragon'
Now we'll need to check that such "long" descriptions fit all mahjong games ...

Image Steph from The Ultimate Patchers Image
ZED ZED
Posts: 101
Joined: Sun Apr 23, 2006 12:57 pm

Post by ZED ZED »

extra special thanks, Pugsy, this was an all-important task and you've done it brilliantly.

the monumental 'cheat.dat' safe for use in the future, due to coding skills i never knew you had!

I'll be sure to inform of any issues..
User avatar
Pugsy
Posts: 3638
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 12 times
Contact:

Post by Pugsy »

Edit, I've made an address adjustment for TMS34010 and TMS34020 cpu games. I've made an assumption that they were all originally cpu0 (now main). This should fix more cheats than it breaks...

EDIT, It transpired it fixed as many games as it broke - I've now only converted the addresses for TMS34010 and TMS34020 cpus when it's cpu0.

Top Post links replaced with the latest version.

The changes affects the following games, if anybody notices any issues with any of the following games please let me know..

Code: Select all

9ballsh2
9ballsh3
9ballsht
amerdar2
amerdart
cclownz
cfarm
coolpool
eggvent7
eggventr
eggvntdx
ghoshunt
hiimpac3
hiimpacp
hiimpact
jdreddp
lethalj
mk
mk2
mk2chal
mk2r14
mk2r21
mk2r32
mk2r42
mk2r91
mk3
mk3r10
mk3r20
mkla1
mkla2
mkla3
mkla4
mkprot9
mkr4
mkyawdim
narc
narc3
nbahangt
nbajam
nbajamr2
nbajamt1
nbajamt2
nbajamt3
nbajamte
nbamht
nbamht1
openice
ripribit
rmpgwt
rmpgwt11
shimpacp
shimpact
shimpap4
smashtv
smashtv4
smashtv5
smashtv6
strkforc
term2
term2la1
term2la2
tickee
totcarn
totcarnp
trog
trog3
trog4
trogp
trogpa6
tutstomb
umk3
umk3r10
umk3r11
wwfmania
wwfmanib
xtheball
btoads
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.259 XML cheat collection (6 OCTOBER 2023) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/q4dHGZ6K#i-EUiqIjH ... KMz7hnbTfw (ZIP Archive 3.76MB)
MRMIdAS
Posts: 105
Joined: Thu Oct 25, 2007 4:24 pm
Location: Sheffield, England

Post by MRMIdAS »

Right, I'll go through that lot and note down what's broke, then do a topic in cheat requests.
Win if you can
Lose if you must
ALWAYS CHEAT!
User avatar
Pugsy
Posts: 3638
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 12 times
Contact:

Post by Pugsy »

Updated the to V5, corrected the link in the original message to post to this new file. Fixed a few niggly issues with some Program Code cheats like eswat invincibility which weren't being handled properly and also updated the most of Mahjong comments to make them require less screen real estate. Also got rid of the remaining [] comments, mainly by updating the converter but I too the opportunity to update the cheat.dat as well. Fixed other little issues - overall I think most of remaining issues will be directly related to the cheat.dat rather than the converter.

The release of the final 0.126 cheat.dat is on hold for now. I was going to release it this weekend but there's still stuff to do with it.

PLEASE, IF ANYBODY SPOTS ANY BUGS WITH V5 THEN REPORT THEM HERE SO I CAN FIX THEM.
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.259 XML cheat collection (6 OCTOBER 2023) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/q4dHGZ6K#i-EUiqIjH ... KMz7hnbTfw (ZIP Archive 3.76MB)
ZED ZED
Posts: 101
Joined: Sun Apr 23, 2006 12:57 pm

Post by ZED ZED »

the converter has done a near flawless job, it's like nothing's changed!

of course there will be bugs, but you've done a professional job here :)

here's a an error message i got when loading up 'plsmaswd'
Image
stephh
Posts: 601
Joined: Fri Aug 17, 2001 1:00 am
Location: Paris, France

Post by stephh »

ZED ZED wrote:here's a an error message i got when loading up 'plsmaswd'
This is bug ID 02138 on MAME Testers Mantis database ... It affects all games in zn.c driver (list is way too long) and shall be fixed in MAME 0.127u1 ...

Image Steph from The Ultimate Patchers Image
ZED ZED
Posts: 101
Joined: Sun Apr 23, 2006 12:57 pm

Post by ZED ZED »

Does 'Pacmania' use the zn.c driver? because i get this when loading up 'pacmania'
Image

I ask because i take zn.c to mean 'Zinc', the emulator that recreated capcom games of the late nineties.

also, found this (also relatd to zn.c problem?)
Image
User avatar
Pugsy
Posts: 3638
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 12 times
Contact:

Post by Pugsy »

Thanks, that looks like a real bug....easy to fix, in the meantime you can change the sub. to user1. (apart from in the sound test cheat) in the xml - that should work.
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.259 XML cheat collection (6 OCTOBER 2023) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/q4dHGZ6K#i-EUiqIjH ... KMz7hnbTfw (ZIP Archive 3.76MB)
stephh
Posts: 601
Joined: Fri Aug 17, 2001 1:00 am
Location: Paris, France

Post by stephh »

Pugsy wrote:Thanks, that looks like a real bug....easy to fix, in the meantime you can change the sub. to user1. (apart from in the sound test cheat) in the xml - that should work.
I was about to post the same thing ... I can confirm that all refs to "sub." shall be replaced by "user1.", with the exception at line 209 ... I guess that all games in this driver with cheats type 398????? will have to be checked again ...

For 'pow' (and 'powj'), it seems that something got wrong with the condition of the "Select Weapon" cheats :

Code: Select all

	<cheat desc="Select Weapon PL1">
		<parameter variable="param">
			<item value="00">Off</item>
			<item value="01">None</item>
			<item value="02">Machine Gun</item>
			<item value="03">Knife</item>
		</parameter>
		<script state="on">
			<action>temp2 =main.pb@40015</action>
		</script>
		<script state="run">
			<action>temp0 =main.pb@40015</action>
 AND (frame % 60 == 0) AND (main.pb@40015!=temp0 )">main.pb@40015=00</action> 
			<action>temp1 =main.pb@40015</action>
 AND (frame % 60 == 0) AND (main.pb@40015!=temp1 )">main.pb@40015=01</action> 
			<action>temp2 =main.pb@40015</action>
 AND (frame % 60 == 0) AND (main.pb@40015!=temp2 )">main.pb@40015=03</action> 
		</script>
	</cheat>

Code: Select all

	<cheat desc="Select Weapon PL2">
		<parameter variable="param">
			<item value="00">Off</item>
			<item value="01">None</item>
			<item value="02">Machine Gun</item>
			<item value="03">Kni</item>
		</parameter>
		<script state="on">
			<action>temp2 =main.pb@40075</action>
		</script>
		<script state="run">
			<action>temp0 =main.pb@40075</action>
 AND (frame % 60 == 0) AND (main.pb@40075!=temp0 )">main.pb@40075=00</action> 
			<action>temp1 =main.pb@40075</action>
 AND (frame % 60 == 0) AND (main.pb@40075!=temp1 )">main.pb@40075=01</action> 
			<action>temp2 =main.pb@40075</action>
 AND (frame % 60 == 0) AND (main.pb@40075!=temp2 )">main.pb@40075=03</action> 
		</script>
	</cheat>
BTW, it's "and" (lowercase) instead of "AND" (uppercase) ...

Image Steph from The Ultimate Patchers Image
stephh
Posts: 601
Joined: Fri Aug 17, 2001 1:00 am
Location: Paris, France

Post by stephh »

stephh wrote:I guess that all games in this driver with cheats type 398????? will have to be checked again ...
Full list checked, there are fortunately no other problems like this :)

Image Steph from The Ultimate Patchers Image
User avatar
Pugsy
Posts: 3638
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 12 times
Contact:

Post by Pugsy »

The pow bug is an odd one (will look at it later), a quick fix will be to change cheat.dat prior to conversion as the location used for weapons is used elsewhere ( eg to climb) so the current code is a bit of a hack. I will probably change it to something like:-

Code: Select all

:pow:62000000:00000:00000000:00000000:Select Weapon PL1
:pow:00090000:40015:00000000:00000000:None
:pow:00098000:40015:00000000:00000001:None (2/3)
:pow:00098000:40015:00000000:00000003:None (3/3)
:pow:00090000:40015:00000001:00000000:Machine Gun
:pow:00098000:40015:00000001:00000001:Machine Gun (2/3)
:pow:00098000:40015:00000001:00000003:Machine Gun (3/3)
:pow:00090000:40015:00000003:00000000:Knife
:pow:00098000:40015:00000003:00000001:Knife (2/3)
:pow:00098000:40015:00000003:00000003:Knife (3/3)
This should achieve the desired effect in that it will only change to a gun when the player is holding nothing or holding a knife.


However, that withstanding there's definitely a bug - it's apparent in wiggie too. Not apparent in any other games using frame so I think that's where I'll have to look. Cheers.
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.259 XML cheat collection (6 OCTOBER 2023) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/q4dHGZ6K#i-EUiqIjH ... KMz7hnbTfw (ZIP Archive 3.76MB)
User avatar
Pugsy
Posts: 3638
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 12 times
Contact:

Post by Pugsy »

The bugs mentioned above have now been quashed, thank you both for pointing them out.
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.259 XML cheat collection (6 OCTOBER 2023) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/q4dHGZ6K#i-EUiqIjH ... KMz7hnbTfw (ZIP Archive 3.76MB)
pepinos
Posts: 130
Joined: Mon Apr 05, 2004 12:47 am

Post by pepinos »

Pugsy

the F6 button doesnt work, if i want to deactivate the cheats of every game

can you fix it?
stephh
Posts: 601
Joined: Fri Aug 17, 2001 1:00 am
Location: Paris, France

Post by stephh »

pepinos wrote:Pugsy

the F6 button doesnt work, if i want to deactivate the cheats of every game

can you fix it?
Pugsy can't fix it (he only works on the cheats, not on the functionalities), but he could report the bug on MAME Testers so Aaron can have a look ...

Image Steph from The Ultimate Patchers Image
pepinos
Posts: 130
Joined: Mon Apr 05, 2004 12:47 am

Post by pepinos »

thanks stephh for your responce

can you tell me also, how i can make an xml file?

is there any faq link in the forum?
Locked