[ddsom] hit anywhere: invalid

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.
invincibility
CheatFinder Private
Posts: 40
Joined: Fri Dec 28, 2001 1:00 am

[ddsom] hit anywhere: invalid

Postby invincibility » Thu Jul 14, 2016 11:40 pm

Hi.

Just report an error, the cheat hit anywhere in game ddsom is invalid in mame 0.168 and mame 0.175.

When I tried in mame 0.157 it's valid.

Could this error be fixed?

crazyc
CheatFinder Private
Posts: 8
Joined: Sat Apr 30, 2016 4:49 pm

Re: [ddsom] hit anywhere: invalid

Postby crazyc » Tue Jul 19, 2016 1:58 am

It doesn't get reported as invalid for me. Are you using an old cheat archive?

invincibility
CheatFinder Private
Posts: 40
Joined: Fri Dec 28, 2001 1:00 am

Re: [ddsom] hit anywhere: invalid

Postby invincibility » Fri Aug 05, 2016 4:33 am

Hit anywhere in game batcir is invalid, too. They are both cps2 games...

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

Re: [ddsom] hit anywhere: invalid

Postby Pugsy » Sat Aug 13, 2016 8:15 pm

Saying it is "Invalid" is confusing - "invalid" is a valid error, and those cheats are not invalid.( confusing enough ;) )
However, the cheats no longer have any effect....they don't let you hit anywhere.

I've looked at the problem and indeed there is no way of poking the memory locations with the default cheat engine as how the memory is accessed has been changed....grrrr.

There is a solution and it's another +1 for the plugin cheat engine as it allows you to poke "decrypted_opcodes" which is what is now needed, I don't think there is anyway of back converting the following cheats to XML though sadly. It seems the debugger based poking is dying around our ears, unfortunately it's desirable for cheats like this to be pokeable via the debugger as they have to be made with the debugger rather than any RAM cheat finding and not being able to test them in real time is a big downer.

Add to a file called ddsom.json in your cheat dir, and use the plugins/cheat menu:-

Code: Select all

[{
   
    "space":{
      "maincpup":{
        "tag":":maincpu",
        "type":"decrypted_opcodes"
      }
    },
    "desc":"Hit Anywhere",
    "script":{
      "off":" maincpup:write_direct_u16(0x0262a2,temp0)  maincpup:write_direct_u16(0x0262d8,temp1)  maincpup:write_direct_u16(0x026302,temp2) ",
      "run":" maincpup:write_direct_u16(0x0262a2,0x6002)  maincpup:write_direct_u16(0x0262d8,0x6002)  maincpup:write_direct_u16(0x026302,0x6002) ",
      "on":" temp0 =maincpup:read_direct_u16(0x0262a2)  temp1 =maincpup:read_direct_u16(0x0262d8)  temp2 =maincpup:read_direct_u16(0x026302) "
    }
  },{
    "space":{
      "maincpup":{
        "tag":":maincpu",
        "type":"decrypted_opcodes"
      }
    },
    "desc":"One Hit Kills",
    "script":{
      "off":" maincpup:write_direct_u16(0x026494,temp0) ",
      "run":" maincpup:write_direct_u16(0x026494,0x4269) ",
      "on":" temp0 =maincpup:read_direct_u16(0x026494) "
    }
  }]



There is another solution to this if you try one of the phoenix bootlegs like ddsomud, then it won't use the decrypted_opcodes area and the cheats should work as they stand.
Pugsy

Servicing your cheating needs since 1985 ;-)

Grab the latest cheat collection:
MAME 0.187 XML cheat collection 7 JULY 2017) from http://www.mamecheat.co.uk or direct from:-
http://www.mediafire.com/file/0dvubha3b ... at0187.zip (ZIP Archive 1826 KB)

invincibility
CheatFinder Private
Posts: 40
Joined: Fri Dec 28, 2001 1:00 am

Re: [ddsom] hit anywhere: invalid

Postby invincibility » Sun Aug 14, 2016 11:18 am

Sorry for the confusing, my bad English.

Yeah it works, thanks pugsy.

However, I think json format is a little complex... I request a guide to study it.


Return to “Cheat Engine Help”

Who is online

Users browsing this forum: No registered users and 1 guest