[kof98] The King of Fighters '98: The Slugfest

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
nolberto82
Posts: 168
Joined: Tue Aug 30, 2011 1:22 am

[kof98] The King of Fighters '98: The Slugfest

Post by nolberto82 »

kof98.xml

Code: Select all

  <cheat desc="Hit Anywhere Both Players">
    <script state="run">
      <action>maincpu.mw@003B04=6002</action>
    </script>
    <script state="off">
      <action>maincpu.mw@003B04=6600</action>
    </script>
  </cheat>
User avatar
Pugsy
Posts: 3675
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 15 times
Contact:

Re: [kof98] The King of Fighters '98: The Slugfest

Post by Pugsy »

Thanks, added
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.264 XML cheat collection (3 APRIL 2024) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/SxsQUJoT#jBdz6GLm_ ... QzFGSMms2c (ZIP Archive 3.8 MB)
orescify
Posts: 27
Joined: Wed Jul 26, 2023 6:30 pm
Has thanked: 3 times

Re: [kof98] The King of Fighters '98: The Slugfest

Post by orescify »

Code: Select all

  <cheat desc="No Background Music">
    <script state="on">
      <action>audiocpu.rw@114D=1803</action>
      <action>audiocpu.pb@FD89=00</action>
    </script>
    <script state="off">
      <action>audiocpu.rw@114D=CD26</action>
    </script>
  </cheat>
  
  <cheat desc="P1 Character Controls">
    <parameter>
      <item value="0x00">Player</item>
      <item value="0x80">CPU</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@108270=param|(maincpu.pb@108270 BAND ~80)</action>
    </script>
  </cheat>
  
  <cheat desc="P2 Character Controls">
    <parameter>
      <item value="0x00">Player</item>
      <item value="0x80">CPU</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@108470=param|(maincpu.pb@108470 BAND ~80)</action>
    </script>
  </cheat>
User avatar
Pugsy
Posts: 3675
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 15 times
Contact:

Re: [kof98] The King of Fighters '98: The Slugfest

Post by Pugsy »

Thanks, I've added the Select Control cheats but not the "No Background Music" changes...

=1803 just doesn't look right....you sure you didn't mean = 0318.

audiocpu==z80==little endian

so byte order swaps.

Also the off value of CD26 are not the original contents of 114D.

Generally I always use the temp method of restoring the ROM address, as it's got many benefits:

1. You don't have to waste time taking a note of the original contents and risk getting it wrong.

2. If the ROM changes because the set changes the OFF value is also wrong. So if you find that a ROM invincibility for instance suddenly causes the game to crash because the ROM has changed then turning it OFF and resetting will either cause the ROM check to fail or the game may still crash. Using a temp variable write will ensure this doesn't happen

3. Similar to 2, it makes it quick to test clones with a parent/clones cheats and not risking the same issues with crashing or failing ROM tests.

In fact the only time I'd say to use an OFF value is when the program code is in RAM to avoid the possible issue of the cheat being enabled before the program code has been set....and then it really should have a condition to check the RAM contains either the original value (run) or the poked value(off) unless there is a valid reason not to.

orescify wrote: Sun Mar 10, 2024 1:59 pm

Code: Select all

  <cheat desc="No Background Music">
    <script state="on">
      <action>audiocpu.rw@114D=1803</action>
      <action>audiocpu.pb@FD89=00</action>
    </script>
    <script state="off">
      <action>audiocpu.rw@114D=CD26</action>
    </script>
  </cheat>
These users thanked the author Pugsy for the post:
orescify
Rating: 33.33%
 
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.264 XML cheat collection (3 APRIL 2024) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/SxsQUJoT#jBdz6GLm_ ... QzFGSMms2c (ZIP Archive 3.8 MB)
orescify
Posts: 27
Joined: Wed Jul 26, 2023 6:30 pm
Has thanked: 3 times

Re: [kof98] The King of Fighters '98: The Slugfest

Post by orescify »

Thanks for the explanation. I'll look into it another time.
Post Reply