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.
etabeta78
Posts: 32
Joined: Tue Dec 05, 2006 9:46 pm
Location: Trondheim, Norway

Post by etabeta78 »

the current XML cheats contains strings which are not allowed by XML specs (and therefore by expat, the parser library): comments should not contain '--' i.e. more than a single dash in a row.

the error while parsing the xml translates in an error reported by MAME (check Mametesters bug 2503), but it's a problem of the xml cheat file

changing comments to avoid too many ---- should not be hard (I hope)
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, I've fixed my converter to automatically replace all '--' to '==' in old style semi-colon comments. Fixes the kof99 issue at the very least.


EDIT - I've uploaded the latest xml cheat collection, see the first post in this topic for the updated links.
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)
eatdrinkadam
Posts: 2
Joined: Fri Oct 17, 2008 10:09 pm

Mame cheat instructions

Post by eatdrinkadam »

Sorry to be a pest here... however, the cheat instructions supplied with this engine, arent in compliance with the version of MAME that i currently have 1.28..

I have no INI or CFG files included in the program directory.. nor can i create one in DOS RUN.

Any direction would be appreciated. Thanks
fartboy
Posts: 18
Joined: Sat Oct 18, 2008 11:16 pm

Post by fartboy »

Codes for selecting characters don't work properly in games with many characters.

Ex: X-Men Children of the Atom and Street Fighter III 3rd Strike.

It stops changing after a while when scrolling through the characters available.
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 confimed this, seems there is an issue with the item value in a parameter to be a decimal value yet when you check it with param== it expects a hex value. I've fixed this in the converter, and I'll reupload the cheat files shortly.
fartboy wrote:Codes for selecting characters don't work properly in games with many characters.

Ex: X-Men Children of the Atom and Street Fighter III 3rd Strike.

It stops changing after a while when scrolling through the characters available.

EDIT - I've now uploaded the fixed cheat file which should fix this issue in all games. Links in top post updated with the latest files
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:

Re: Mame cheat instructions

Post by Pugsy »

eatdrinkadam wrote:Sorry to be a pest here... however, the cheat instructions supplied with this engine, arent in compliance with the version of MAME that i currently have 1.28..

I have no INI or CFG files included in the program directory.. nor can i create one in DOS RUN.

Any direction would be appreciated. Thanks
Well, have you tried running MAME with the -cc or -createconfig commandline option, "MAME -createconfig".
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)
Vec2017
Posts: 38
Joined: Mon May 06, 2002 5:20 am

Post by Vec2017 »

G-Darius (and clones) throw the following errors:

gdarius.xml(5): error parsing cheat expression "main.pb@101734=09" (invalid memory name

gdariusb.xml(5): error parsing cheat expression "main.pb@1017DC=09" (invalid memory name)

gdarius2.xml(5): error parsing cheat expression "main.pb@10153C=09"(invalid memory name)

Games run fine after clicking past the error box, but the cheat option doesn't appear in the TAB menu.
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 »

That sounds like an old issue with the zn.c driver that was fixed in 0.127u1, you are definitely not using 0.127 or before I hope? You should be using at least 0.127u3. From the top post:

Code: Select all

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.127u3 or LATER 
Vec2017 wrote:G-Darius (and clones) throw the following errors:

gdarius.xml(5): error parsing cheat expression "main.pb@101734=09" (invalid memory name

gdariusb.xml(5): error parsing cheat expression "main.pb@1017DC=09" (invalid memory name)

gdarius2.xml(5): error parsing cheat expression "main.pb@10153C=09"(invalid memory name)

Games run fine after clicking past the error box, but the cheat option doesn't appear in the TAB menu.
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)
Vec2017
Posts: 38
Joined: Mon May 06, 2002 5:20 am

Post by Vec2017 »

Ah, that explains it - I hadn't checked what version I was using...I'm still on 0.127. My bad - I'll upgrade and re-test.
Vec2017
Posts: 38
Joined: Mon May 06, 2002 5:20 am

Post by Vec2017 »

Turns out I had more than just the wrong version of MAME - I had older dumps of all three ROMs. I updated to 0.128, loaded today's version of the cheat XML, and it works like a charm. Thanks - I just need to learn how to read more thoroughly :D
Taucher0815
Posts: 18
Joined: Sat Sep 22, 2001 1:00 am
Location: Germany

midvunit.c cheats are not working anymore

Post by Taucher0815 »

Cheats for the midvunit.c games aren't working anymore (0.128u1 and v8 of wip cheat xml).

Cruis'n Usa
Cruis'n World
Off Road Challenge
War Gods

Thx for your great work :)

Tauchy
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 for pointing it out, I've amended the program to fix the cheats during the conversion (it was just a case of dividing the addresses by 4 for the affected games).

As nothing else has changed since the last release, here's a small zip containing the changed xmls. Hopefully all should be fine now.

http://cheat.retrogames.com/cheat_midvunit_fixes.zip
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)
georgc3
Posts: 26
Joined: Thu Aug 14, 2008 10:22 am

Post by georgc3 »

Is this the right place to report any xml cheat files not working? I am asking this because some of the games I am playing on the latest version of MAME have cheats that are not working. Let me know so I can point out specifically which cheats for a specific games that's not working.
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 »

There still is a cheat-engine related issue with temp list cheats, but if you've noticed ANY cheats that worked in cheat.dat that no longer work in the XML cheat files please post the details.
Last edited by Pugsy on Mon Oct 27, 2008 3:53 pm, edited 1 time 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)
Taucher0815
Posts: 18
Joined: Sat Sep 22, 2001 1:00 am
Location: Germany

Post by Taucher0815 »

thx Pugsy :-)
georgc3
Posts: 26
Joined: Thu Aug 14, 2008 10:22 am

Post by georgc3 »

To Pugsy:

Here are a couple games that have cheat problems:

1: I noticed that "revx.xml" cheat file for the arcade game "Revolution X" does not work. I tried activating all of the cheats for player 1, 2, and 3 and none of them work at all. It work on the cheat.dat when played on MAME 0.126. But they stopped working since MAME 0.127

2: Also, the cheat file "umk3.xml" for the arcade game "Ultimate Mortal Kombat 3"has gotten much better, but there are still cheats are still not working properly either. The only problem I find is when selecting a kombat code in a 1 or 2 player mode it works perfectly. But when you try to set the "Select Kombat Code" to off again, it's not turning off, instead it keeps going. I tested the "Select Kombat Zone" it seems to be working a lot better but there maybe still slight issues with it since sometimes I select a particular kombat zone, it goes to the wrong one. Which happens sometimes.

Everything seems fine when I looked at the xml cheat files. This is all I can find so far. When I experience more problems with the cheats for other arcade games, I will post more details when necessary.
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 »

georgc3 wrote: 1: I noticed that "revx.xml" cheat file for the arcade game "Revolution X" does not work. I tried activating all of the cheats for player 1, 2, and 3 and none of them work at all. It work on the cheat.dat when played on MAME 0.126. But they stopped working since MAME 0.127.
Thanks, I went a bit overboard in commenting out some converter code and seems I managed to comment out the code that handled revx.

This is the working xml:-

Code: Select all

<mamecheat version="1">

	<cheat desc="Infinite Energy PL1">
		<script state="run">
			<action>main.pw@203F2E70=0096</action>
		</script>
	</cheat>

	<cheat desc="Infinite Silver CD Ammo PL1">
		<script state="run">
			<action>main.pw@203F2E90=03E7</action>
		</script>
	</cheat>

	<cheat desc="Infinite Laser Disc Ammo PL1">
		<script state="run">
			<action>main.pw@203F2EA0=03E7</action>
		</script>
	</cheat>

	<cheat desc="Infinite Super Gun Ammo PL1">
		<script state="run">
			<action>main.pw@203F3290=00C8</action>
		</script>
	</cheat>

	<cheat desc=" "/>

	<cheat desc="Infinite Energy PL2">
		<script state="run">
			<action>main.pw@203F34D0=0096</action>
		</script>
	</cheat>

	<cheat desc="Infinite Silver CD Ammo PL2">
		<script state="run">
			<action>main.pw@203F34F0=03E7</action>
		</script>
	</cheat>

	<cheat desc="Infinite Laser Disc Ammo PL2">
		<script state="run">
			<action>main.pw@203F3500=03E7</action>
		</script>
	</cheat>

	<cheat desc="Infinite Super Gun Ammo PL2">
		<script state="run">
			<action>main.pw@203F38F0=00C8</action>
		</script>
	</cheat>

	<cheat desc=" "/>

	<cheat desc="Infinite Energy PL3">
		<script state="run">
			<action>main.pw@203F3B30=0096</action>
		</script>
	</cheat>

	<cheat desc="Infinite Silver CD Ammo PL3">
		<script state="run">
			<action>main.pw@203F3B50=03E7</action>
		</script>
	</cheat>

	<cheat desc="Infinite Laser Disc Ammo PL3">
		<script state="run">
			<action>main.pw@203F3B60=03E7</action>
		</script>
	</cheat>

	<cheat desc="Infinite Super Gun Ammo PL3">
		<script state="run">
			<action>main.pw@203F3F50=00C8</action>
		</script>
	</cheat>

</mamecheat>
<!-- Cheat file downloaded from http://cheat.retrogames.com, see cheat.txt for list of contributors. -->

2: Also, the cheat file "umk3.xml" for the arcade game "Ultimate Mortal Kombat 3"has gotten much better, but there are still cheats are still not working properly either. The only problem I find is when selecting a kombat code in a 1 or 2 player mode it works perfectly. But when you try to set the "Select Kombat Code" to off again, it's not turning off, instead it keeps going. I tested the "Select Kombat Zone" it seems to be working a lot better but there maybe still slight issues with it since sometimes I select a particular kombat zone, it goes to the wrong one. Which happens sometimes.

I can't replicate this one (tested with 0.127u7), I've only tested with the Galaxian code and the Quarter Energy code but it seems to work and turning it OFF also seems to work. There is a lot of manual downsizing required for the umk3.xml but nothing that would make any difference to that cheat.

A step by step list may help to replicate the bug?
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 »

Just uploaded the latest cheat.zip (see first post in this topic):-
EDIT8 - 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.

This is a major update with the capability of breaking things (hopefully it hasn't). It's reduced the sizes of many of the large xml files considerably...the biggest single xml (mosyougi) has gone done from 259K to 117K. The original conversion of list cheats was wasteful for single address list cheats even more so for those utilising 'restore previous value', this was done on purpose so that it would convert everything - everything working overruled file size.

Any issues please post them in this thread.
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)
fartboy
Posts: 18
Joined: Sat Oct 18, 2008 11:16 pm

Post by fartboy »

Thank-you, Pugsy!

Another error: If I play a game like X-Men vs. Street Fighter, the character I select in the cheats menu for my Active (1st) character, will also be my second... but only during the match. It seems fine on the select screen.
Tafoid
Posts: 56
Joined: Thu Aug 28, 2008 7:27 pm

Megatech games

Post by Tafoid »

The XML for those games all seem to reference "megatech_bios" when the label shown for that region in debug is "mtbios". This causes all cheats which include this improper label not to work.

Example:
mt_astro.xml(5): error parsing cheat expression "megatech_bios.pw@4036=1770" (in valid memory name)

Tested 0.127u3 version, dated 10/29/2008.
Locked