space harrier invisibility doesnt work on current 186

If you are having problems finding or using cheats for an Emulator (particularly MAME/MESS) or have found a trick that you wish to share this is the place to do it. But please read the Cheat FAQ first.
Post Reply
pepinos
Posts: 130
Joined: Mon Apr 05, 2004 12:47 am

space harrier invisibility doesnt work on current 186

Post by pepinos »

hello

the invisibility of space harrier on both roms sharrier 1 and sharrier doesnt work
when the enemys are firing you always fell down from the dragon
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: space harrier invisibility doesnt work on current 186

Post by Pugsy »

Thanks, it's a MAME bug rather than the cheat engine though....it seems it no longer handles leading zeroes properly in condition fields. Odd.

Use the lua plugin cheat engine (Plugins>Cheat from the MAME menu)...it works fine in that.


Alternatively change all three:-
maincpu.pb@124035==04 OR maincpu.pb@124035==0B
to
maincpu.pb@124035==4 OR maincpu.pb@124035==B

Like I say odd.......
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

Re: space harrier invisibility doesnt work on current 186

Post by pepinos »

hello pugsy
the altered codes that you said worked like a charm
unfortunately when i tried to enter the correct xml cheat file inside your cheat.dat a message comes winrar can add files only to rar or zip archives
i guess i am expecting them to your future release cheat file

cheers
crazyc
Posts: 31
Joined: Sat Apr 30, 2016 4:49 pm

Re: space harrier invisibility doesnt work on current 186

Post by crazyc »

Feature not a bug, immediate numbers with a leading zero are interpreted as octal now. The plugin doesn't replicate that (and hopefully won't have to).
pepinos
Posts: 130
Joined: Mon Apr 05, 2004 12:47 am

Re: space harrier invisibility doesnt work on current 186

Post by pepinos »

final fight (world set 1) ffight

ffight.xml(207): error parsing cheat expression
"maincpu.pb@800181=pa
m"(unknown symbol)
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: space harrier invisibility doesnt work on current 186

Post by Pugsy »

crazyc wrote:Feature not a bug, immediate numbers with a leading zero are interpreted as octal now. The plugin doesn't replicate that (and hopefully won't have to).
Luckily the leading zero is not taken as octal, it needs to be 0o.

The problem here was 0B, which since a few releases ago is the prefix for binary everywhere

so
maincpu.mb@0b00=0b would become maincpu.mb@0000=0
but
maincpu.mb@0b02=0b would still become maincpu.mb@0b02=0
as there is a little bit of handling in the expression file to check for invalid binary values and to revert to hex if it hits any....though I'd argue that a sole "0B" is not a prefix if it's got no numbers after it.

So yes, it's a feature rather than a bug. Though it's a annoying feature nonetheless

I had to update my cheat.dat converter so now any 0b?????? are converted to " b??????"...(? = 0/1)
this will be reflected in the next cheat release here and on wayder's site.
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: space harrier invisibility doesnt work on current 186

Post by Pugsy »

pepinos wrote:final fight (world set 1) ffight

ffight.xml(207): error parsing cheat expression
"maincpu.pb@800181=pa
m"(unknown symbol)

Thanks for the report, it'll be fixed in the next release.
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

Re: space harrier invisibility doesnt work on current 186

Post by pepinos »

on raiden 1 game on all versions the infinite bombs doesnt work
you can just throw 2 or 3 bombs but after a little while no bombs are throwing down even if you can see you have infinite bombs
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: space harrier invisibility doesnt work on current 186

Post by Pugsy »

Only tried raiden but it seems to work fine...
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

Re: space harrier invisibility doesnt work on current 186

Post by pepinos »

pugsy use all 6 bombs
then you will see that it doesnt throw any bombs even if you collect new ones
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: space harrier invisibility doesnt work on current 186

Post by Pugsy »

pepinos wrote:pugsy use all 6 bombs
then you will see that it doesnt throw any bombs even if you collect new ones

I know what you posted, it works fine here....used many more than 6 bombs.
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)
Post Reply