[dino] never lose weapons

This forum is for posting M.A.M.E. arcade cheats. Requests will be fulfilled here....but please keep the requests to the requests forum.
Post Reply
syndromtr
Posts: 227
Joined: Wed Sep 25, 2013 8:18 am

[dino] never lose weapons

Post by syndromtr » Fri Nov 22, 2013 11:21 pm

cadillacs&dinosaurs, when enemy hits, sometimes weapons are lost on the floor. this cheat prevents it.

[dino] and working clones excluding [dinoj]

Code: Select all

	<cheat desc="Never lose weapons"> <comment>After enemy hits, dropped weapons are never lost.</comment>
		<script state="on">
			<action>temp0 =maincpu.mb@246B2</action>
		</script>
		<script state="run">
			<action>maincpu.mb@246B2=60</action>
		</script>
		<script state="off">
			<action>maincpu.mb@246B2=temp0 </action>
		</script>
	</cheat>
[dinoj]

Code: Select all

	<cheat desc="Never lose weapons"> <comment>After enemy hits, dropped weapons are never lost.</comment>
		<script state="on">
			<action>temp0 =maincpu.mb@24634</action>
		</script>
		<script state="run">
			<action>maincpu.mb@24634=60</action>
		</script>
		<script state="off">
			<action>maincpu.mb@24634=temp0 </action>
		</script>
	</cheat>

User avatar
CLE
Posts: 356
Joined: Sun Sep 09, 2007 9:06 pm
Location: Brazil

Re: [dino] never lose weapons

Post by CLE » Sat Nov 23, 2013 1:51 pm

Very good!

Thanks!!!

And "select weapon cheat" is possible too?

User avatar
Pugsy
Posts: 3194
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Contact:

Re: [dino] never lose weapons

Post by Pugsy » Fri Dec 27, 2013 4:36 pm

Thanks, added
Pugsy

Servicing your cheating needs since 1985 ;-)

Grab the latest cheat collection:
MAME 0.200 XML cheat collection 12 AUGUST 2018) from http://www.mamecheat.co.uk or direct from:-
http://www.mediafire.com/file/39od7hvga ... at0200.zip (ZIP Archive 1894 KB)

syndromtr
Posts: 227
Joined: Wed Sep 25, 2013 8:18 am

Re: [dino] never lose weapons

Post by syndromtr » Fri Mar 28, 2014 4:41 pm

never drop weapons (until game over)

[dino]

Code: Select all

	<cheat desc="Never drop weapons">
		<comment>Weapons are never dropped unless Game Over happens.</comment>
		<script state="on">
			<action>temp0=maincpu.mb@10EA2</action>
			<action>temp1=maincpu.mb@117CC</action>
			<action>temp2=maincpu.mb@1C26C</action>
			<action>temp3=maincpu.mb@1C44C</action>
			<action>temp4=maincpu.mb@1C612</action>
			<action>temp5=maincpu.mb@1C7AA</action>
			<action>temp6=maincpu.mb@1CC96</action>
			<action>temp7=maincpu.mb@1D2FA</action>
		</script>
		<script state="run">
			<action>maincpu.mb@10EA2=0C</action>
			<action>maincpu.mb@117CC=B2</action>
			<action>maincpu.mb@1C26C=B2</action>
			<action>maincpu.mb@1C44C=B2</action>
			<action>maincpu.mb@1C612=B2</action>
			<action>maincpu.mb@1C7AA=B2</action>
			<action>maincpu.mb@1CC96=B2</action>
			<action>maincpu.mb@1D2FA=B2</action>
		</script>
		<script state="off">
			<action>maincpu.mb@10EA2=temp0</action>
			<action>maincpu.mb@117CC=temp1</action>
			<action>maincpu.mb@1C26C=temp2</action>
			<action>maincpu.mb@1C44C=temp3</action>
			<action>maincpu.mb@1C612=temp4</action>
			<action>maincpu.mb@1C7AA=temp5</action>
			<action>maincpu.mb@1CC96=temp6</action>
			<action>maincpu.mb@1D2FA=temp7</action>
		</script>
	</cheat>
[dinoj]

Code: Select all

	<cheat desc="Never drop weapons">
		<comment>Weapons are never dropped unless Game Over happens.</comment>
		<script state="on">
			<action>temp0=maincpu.mb@10DD4</action>
			<action>temp1=maincpu.mb@116FE</action>
			<action>temp2=maincpu.mb@1C1EE</action>
			<action>temp3=maincpu.mb@1C3CE</action>
			<action>temp4=maincpu.mb@1C594</action>
			<action>temp5=maincpu.mb@1C72C</action>
			<action>temp6=maincpu.mb@1CC18</action>
			<action>temp7=maincpu.mb@1D27C</action>
		</script>
		<script state="run">
			<action>maincpu.mb@10DD4=0C</action>
			<action>maincpu.mb@116FE=B2</action>
			<action>maincpu.mb@1C1EE=B2</action>
			<action>maincpu.mb@1C3CE=B2</action>
			<action>maincpu.mb@1C594=B2</action>
			<action>maincpu.mb@1C72C=B2</action>
			<action>maincpu.mb@1CC18=B2</action>
			<action>maincpu.mb@1D27C=B2</action>
		</script>
		<script state="off">
			<action>maincpu.mb@10DD4=temp0</action>
			<action>maincpu.mb@116FE=temp1</action>
			<action>maincpu.mb@1C1EE=temp2</action>
			<action>maincpu.mb@1C3CE=temp3</action>
			<action>maincpu.mb@1C594=temp4</action>
			<action>maincpu.mb@1C72C=temp5</action>
			<action>maincpu.mb@1CC18=temp6</action>
			<action>maincpu.mb@1D27C=temp7</action>
		</script>
	</cheat>

User avatar
CLE
Posts: 356
Joined: Sun Sep 09, 2007 9:06 pm
Location: Brazil

Re: [dino] never lose weapons

Post by CLE » Fri Mar 28, 2014 5:52 pm

Very good!

Thanks!

User avatar
Pugsy
Posts: 3194
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Contact:

Re: [dino] never lose weapons

Post by Pugsy » Mon Apr 21, 2014 10:18 pm

Thanks, added
Pugsy

Servicing your cheating needs since 1985 ;-)

Grab the latest cheat collection:
MAME 0.200 XML cheat collection 12 AUGUST 2018) from http://www.mamecheat.co.uk or direct from:-
http://www.mediafire.com/file/39od7hvga ... at0200.zip (ZIP Archive 1894 KB)

gainer
Posts: 7
Joined: Sat Nov 04, 2017 3:28 am

Re: [dino] never lose weapons

Post by gainer » Sat Nov 04, 2017 3:39 am

:dino:xxxxxxxx:0246B2:00000060:FFFFFFFF:Never lose weapons:
what should red part be?
while i use lakka,and only mame2003's avaliable
and i don't quite get the "cheat fromat" part of the cheat.txt file in the cheat126.zip

:dino:20B00000:02520C:4E714E71:FFFFFFFF:Infinite Ammo:Works for Rifle, Gun, Uzi, M-16A1, Shotgun, and Bazooka. ROM Hack
:dino:20B10000:025210:4E714E71:FFFFFFFF:Infinite Ammo (2/18):Rifle
:dino:20910000:025214:00004E71:0000FFFF:Infinite Ammo (3/18)
:dino:20B10000:0252F8:4E714E71:FFFFFFFF:Infinite Ammo (4/18):Gun
:dino:20B10000:0252FC:4E714E71:FFFFFFFF:Infinite Ammo (5/18)
:dino:20910000:025300:00004E71:0000FFFF:Infinite Ammo (6/18)
:dino:20B10000:025564:4E714E71:FFFFFFFF:Infinite Ammo (7/18):Uzi
:dino:20B10000:025568:4E714E71:FFFFFFFF:Infinite Ammo (8/18)
:dino:20910000:02556C:00004E71:0000FFFF:Infinite Ammo (9/18)
:dino:20B10000:0256CA:4E714E71:FFFFFFFF:Infinite Ammo (10/18):M-16A1
:dino:20B10000:0256CE:4E714E71:FFFFFFFF:Infinite Ammo (11/18)
:dino:20910000:0256D2:00004E71:0000FFFF:Infinite Ammo (12/18)
:dino:20B10000:0257D8:4E714E71:FFFFFFFF:Infinite Ammo (13/18):Shotgun
:dino:20B10000:0257DC:4E714E71:FFFFFFFF:Infinite Ammo (14/18)
:dino:20910000:0257E0:00004E71:0000FFFF:Infinite Ammo (15/18)
:dino:20B10000:0258FC:4E714E71:FFFFFFFF:Infinite Ammo (16/18):Bazooka
:dino:20B10000:025900:4E714E71:FFFFFFFF:Infinite Ammo (17/18)
:dino:20910000:025904:00004E71:0000FFFF:Infinite Ammo (18/18)

what the 20B1000 2091000 stand for?

and how to translate the following part to old format?
<script state="run">
<action>maincpu.mb@10EA2=0C</action>
<action>maincpu.mb@117CC=B2</action>
<action>maincpu.mb@1C26C=B2</action>
<action>maincpu.mb@1C44C=B2</action>
<action>maincpu.mb@1C612=B2</action>
<action>maincpu.mb@1C7AA=B2</action>
<action>maincpu.mb@1CC96=B2</action>
<action>maincpu.mb@1D2FA=B2</action>
</script>

some body can help me?
thanks a lot

gainer
Posts: 7
Joined: Sat Nov 04, 2017 3:28 am

Re: [dino] never lose weapons

Post by gainer » Sat Nov 04, 2017 4:31 am

sorry
but i translate the part to
:dino:20B00000:010EA2:0000000C:FFFFFFFF:Never drop weapons:Weapons are never dropped unless Game Over happens
:dino:20B10000:0117CC:000000B2:FFFFFFFF:Never drop weapons (2/8)
:dino:20B10000:01C26C:000000B2:FFFFFFFF:Never drop weapons (3/8)
:dino:20B10000:01C44C:000000B2:FFFFFFFF:Never drop weapons (4/8)
:dino:20B10000:01C612:000000B2:FFFFFFFF:Never drop weapons (5/8)
:dino:20B10000:01C7AA:000000B2:FFFFFFFF:Never drop weapons (6/8)
:dino:20B10000:01CC96:000000B2:FFFFFFFF:Never drop weapons (7/8)
:dino:20B10000:01D2FA:000000B2:FFFFFFFF:Never drop weapons (8/8)

and it works well

but still not get the 20B0 20B1 stuff

User avatar
Pugsy
Posts: 3194
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Contact:

Re: [dino] never lose weapons

Post by Pugsy » Sat Nov 04, 2017 9:57 am

That not quite right it should be

Code: Select all

:dino:20800000:010EA2:0000000C:FFFFFFFF:Never drop weapons:Weapons are never dropped unless Game Over happens.:This ROM cheat was made by syndromtr
:dino:20810000:0117CC:000000B2:FFFFFFFF:Never drop weapons (2/8)
:dino:20810000:01C26C:000000B2:FFFFFFFF:Never drop weapons (3/8)
:dino:20810000:01C44C:000000B2:FFFFFFFF:Never drop weapons (4/8)
:dino:20810000:01C612:000000B2:FFFFFFFF:Never drop weapons (5/8)
:dino:20810000:01C7AA:000000B2:FFFFFFFF:Never drop weapons (6/8)
:dino:20810000:01CC96:000000B2:FFFFFFFF:Never drop weapons (7/8)
:dino:20810000:01D2FA:000000B2:FFFFFFFF:Never drop weapons (8/8)
x0xxxxxx = maincpu
2xxxxxxx = m
xx0xxxxx = b (1=w,3=d)
xx8xxxxx = restore original value on disable
xxx1xxxx = link cheat to prev. line

OR them all together to get 20800000 or 20810000
Pugsy

Servicing your cheating needs since 1985 ;-)

Grab the latest cheat collection:
MAME 0.200 XML cheat collection 12 AUGUST 2018) from http://www.mamecheat.co.uk or direct from:-
http://www.mediafire.com/file/39od7hvga ... at0200.zip (ZIP Archive 1894 KB)

gainer
Posts: 7
Joined: Sat Nov 04, 2017 3:28 am

Re: [dino] never lose weapons

Post by gainer » Sun Nov 05, 2017 1:24 am

Thanks a lot!

gainer
Posts: 7
Joined: Sat Nov 04, 2017 3:28 am

Re: [dino] never lose weapons

Post by gainer » Sun Nov 05, 2017 1:41 am

viewtopic.php?f=11&t=1808&p=5505&hilit=dino#p5505
should the 20B10000 be 2081000 too?
Pugsy wrote:That not quite right it should be

Code: Select all

:dino:20800000:010EA2:0000000C:FFFFFFFF:Never drop weapons:Weapons are never dropped unless Game Over happens.:This ROM cheat was made by syndromtr
:dino:20810000:0117CC:000000B2:FFFFFFFF:Never drop weapons (2/8)
:dino:20810000:01C26C:000000B2:FFFFFFFF:Never drop weapons (3/8)
:dino:20810000:01C44C:000000B2:FFFFFFFF:Never drop weapons (4/8)
:dino:20810000:01C612:000000B2:FFFFFFFF:Never drop weapons (5/8)
:dino:20810000:01C7AA:000000B2:FFFFFFFF:Never drop weapons (6/8)
:dino:20810000:01CC96:000000B2:FFFFFFFF:Never drop weapons (7/8)
:dino:20810000:01D2FA:000000B2:FFFFFFFF:Never drop weapons (8/8)
x0xxxxxx = maincpu
2xxxxxxx = m
xx0xxxxx = b (1=w,3=d)
xx8xxxxx = restore original value on disable
xxx1xxxx = link cheat to prev. line

OR them all together to get 20800000 or 20810000

User avatar
Pugsy
Posts: 3194
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Contact:

Re: [dino] never lose weapons

Post by Pugsy » Sun Nov 05, 2017 2:41 am

gainer wrote:viewtopic.php?f=11&t=1808&p=5505&hilit=dino#p5505
should the 20B10000 be 2081000 too?
No. 20B is correct as it's writing a dw (4 bytes, eg 4e714e71)
Pugsy

Servicing your cheating needs since 1985 ;-)

Grab the latest cheat collection:
MAME 0.200 XML cheat collection 12 AUGUST 2018) from http://www.mamecheat.co.uk or direct from:-
http://www.mediafire.com/file/39od7hvga ... at0200.zip (ZIP Archive 1894 KB)

gainer
Posts: 7
Joined: Sat Nov 04, 2017 3:28 am

Re: [dino] never lose weapons

Post by gainer » Sun Nov 05, 2017 2:17 pm

you are really helpful

and finally i've got that in the cheat.txt the format part refer to binary
and in cheat.dat it's hex

many thanks

Post Reply