[mk] Mortal Kombat (rev 5.0 T-Unit 03/19/93) WIP

This forum is for posting M.A.M.E. Work In Progress "Arcade"cheats that are not quite ready for the prime time. If the cheats are buggy or the cheat descriptions are non-standard then please post them here. Help maybe given but there are no guarantees and they will only be added to the cheat file when the cheat file maintainer is happy with them.
Post Reply
User avatar
Abystus
Posts: 521
Joined: Sun Jul 23, 2006 6:53 am
Has thanked: 3 times
Been thanked: 22 times

[mk] Mortal Kombat (rev 5.0 T-Unit 03/19/93) WIP

Post by Abystus »

mk.xml

Need to create a pointer to this addresses. Putting this here till I get that accomplished.

Code: Select all

<-----------Ram Pointer Modifiers----------->
Due to the way the MK games work, the pointer codes are only good for a fresh boot of the game with no activity (the games reallocate these memory locations with each interaction).  I will be working to rectify the situation.

<cheat desc="Attract Mode Screen Modifier">
    <comment>Will be the next screen shown after the one your currently on.  Only works during attract mode.  Only works on a fresh boot of the game.</comment>
    <parameter>
      <item value="0xC0A0">Winning Streaks</item>
      <item value="0xC1D0">Load Profile</item>
      <item value="0xC310">Credits Screen 1</item>
      <item value="0xC400">CPU Demo 1</item>
      <item value="0xC600">Comic Book Advertisement</item>
      <item value="0xC6A0">CPU Demo 2</item>
      <item value="0xC710">Goro Lives</item>
      <item value="0xC780">CPU Demo 3</item>
      <item value="0xC7F0">Credits Screen 2</item>
      <item value="0xC900">Midway Presents/Mortal Kombat</item>
    </parameter>
    <script state="change">
      <action>maincpu.pw@01053910=param</action>
    </script>
</cheat>
Bored? Watch some of my hacks here.
User avatar
CLE
Posts: 365
Joined: Sun Sep 09, 2007 9:06 pm
Location: Brazil
Has thanked: 31 times

Re: [mk] Mortal Kombat (rev 5.0 T-Unit 03/19/93) WIP

Post by CLE »

I still don't know how to convert this cheat type (0x...) for classic format. :(

But this cheat is working very well in XML format.

Thanks!
User avatar
Abystus
Posts: 521
Joined: Sun Jul 23, 2006 6:53 am
Has thanked: 3 times
Been thanked: 22 times

Re: [mk] Mortal Kombat (rev 5.0 T-Unit 03/19/93) WIP

Post by Abystus »

CLE wrote:I still don't know how to convert this cheat type (0x...) for classic format. :(

But this cheat is working very well in XML format.

Thanks!
There is really no point in converting them right now as they are still in a WIP state (they only work on a fresh boot with no interaction). To convert them, just remove the 0x, and use the rest as the value for the address specified in the "change" event (Ex: maincpu.pw@01053910=C0A0 = Winning streaks).
Bored? Watch some of my hacks here.
User avatar
CLE
Posts: 365
Joined: Sun Sep 09, 2007 9:06 pm
Location: Brazil
Has thanked: 31 times

Re: [mk] Mortal Kombat (rev 5.0 T-Unit 03/19/93) WIP

Post by CLE »

I try this cheat options but don't work...

Code: Select all

:mk:00000000:1053910:0000C0A0:FFFFFFFF:Winning streaks

:mk:39900000:1053910:0000C0A0:FFFFFFFF:Winning streaks

:mk:39900000:00C0A0:00000000:FFFFFFFF:Winning streaks

:mk:00000000:00C0A0:00000000:FFFFFFFF:Winning streaks

:mk:39900000:00C0A0:01053910:FFFFFFFF:Winning streaks

:mk:00000000:00C0A0:01053910:FFFFFFFF:Winning streaks
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: [mk] Mortal Kombat (rev 5.0 T-Unit 03/19/93) WIP

Post by Pugsy »

FYI

maincpu.pw@01053910=C0A0

will convert into

:mk:00100000:1053910:0000C0A0:FFFFFFFF:Winning streaks

apart from the fact that parent/clone sets can change between versions it really isn't fair to ask anyone to convert XML into DAT (which ceased being used as the MAME cheat format almost 5 years ago!!).
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
CLE
Posts: 365
Joined: Sun Sep 09, 2007 9:06 pm
Location: Brazil
Has thanked: 31 times

Re: [mk] Mortal Kombat (rev 5.0 T-Unit 03/19/93) WIP

Post by CLE »

I understand, Pugsy. You is right! But MK games work best in old MAME. For example in MK1 you can't increase some backgrounds musics and effects in recents MAME (old MAME have more options).

Really this cheat don't work in classic format.

Thanks!
Gamebill_Studio
Posts: 1
Joined: Mon Jun 23, 2014 2:01 am

Re: [mk] Mortal Kombat (rev 5.0 T-Unit 03/19/93) WIP

Post by Gamebill_Studio »

Thank you so much for all of those cheat!
By the way, thanks to you, I could make a neat video about Mortal Kombat Fatalties and of course I added your name in the credits:
http://www.youtube.com/watch?v=Ngv7N0nBWBY
mU$!c
Posts: 17
Joined: Fri Sep 12, 2014 3:10 pm

Re: [mk] Mortal Kombat (rev 5.0 T-Unit 03/19/93) WIP

Post by mU$!c »

@Abystus Is this where Shang Tsung's body/moveset resides (01022050) ? I know there are no input codings for Shang Tsung, yet if i press high punch there is a movement, then game crashes, of course).
Last edited by mU$!c on Sun Jan 04, 2015 10:20 am, edited 1 time in total.
User avatar
Abystus
Posts: 521
Joined: Sun Jul 23, 2006 6:53 am
Has thanked: 3 times
Been thanked: 22 times

Re: [mk] Mortal Kombat (rev 5.0 T-Unit 03/19/93) WIP

Post by Abystus »

This code works like it should (no crashes during gameplay, everything seems right with the world and your initials actually save), but something is corrupting with the "Longest Winning Streaks" screen shown during the intro after entering your initials during a single player game, and may eventually lead to a crash if you let the intro play long enough. I'll have a look to see if I can correct the issue when I get a bit of time in the next few days (may require a custom routine due to how the code in this area is written). Seems the programmers went through great lengths to keep this a versus mode option only. I will move it to my main thread if I am able to correct the issue with the corrupted data, but it is here to test for anyone that wants to. You may have to reset to factory default or clear high scores to undo possible corruption caused by this code.

!!!!!Warning!!!!!
This code may corrupt your "Longest Winning Streaks" screen, and may cause the game to crash during the game's intro if initials are saved in single player mode.

Code: Select all

<cheat desc="Enable Single Player Wins Name Entry">
    <comment>If your wins count ranks high enough to be on the list, you will be prompted to enter your initials just like in versus mode.</comment>
    <script state="run">
      <action>maincpu.mw@009413C=CB20</action>
      <action condition="(maincpu.pb@1051A10!=0C)">maincpu.mw@009413C=CB19</action>
    </script>
    <script state="off">
      <action>maincpu.mw@009413C=CB20</action>
    </script>
</cheat>
Old Format:

Code: Select all

:mk:39900000:09413C:0000CB19:FFFFFFFF:Enable Single Player Wins Name Entry
Last edited by Abystus on Sun Jan 04, 2015 2:47 am, edited 2 times in total.
Bored? Watch some of my hacks here.
User avatar
CLE
Posts: 365
Joined: Sun Sep 09, 2007 9:06 pm
Location: Brazil
Has thanked: 31 times

Re: [mk] Mortal Kombat (rev 5.0 T-Unit 03/19/93) WIP

Post by CLE »

Excellent work, Abystus!

Well, I play in single player mode and enter my name 3 times and don't have problem in intro game.

I have only this problem with this cheat. If you get this screen after Endurance 3, the game crash, because Goro is programed for enter in lair after Endurance 3 Battle. Is possible change for enter in Goro's fight in Battle Plan screen?

Thanks!
Post Reply