Page 1 of 1
[mk] Mortal Kombat (rev 5.0 T-Unit 03/19/93) WIP
Posted: Sun Jan 19, 2014 10:00 pm
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>
Re: [mk] Mortal Kombat (rev 5.0 T-Unit 03/19/93) WIP
Posted: Sun Jan 19, 2014 10:34 pm
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!
Re: [mk] Mortal Kombat (rev 5.0 T-Unit 03/19/93) WIP
Posted: Sun Jan 19, 2014 10:38 pm
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).
Re: [mk] Mortal Kombat (rev 5.0 T-Unit 03/19/93) WIP
Posted: Sun Jan 19, 2014 11:32 pm
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
Re: [mk] Mortal Kombat (rev 5.0 T-Unit 03/19/93) WIP
Posted: Mon Jan 20, 2014 1:08 am
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!!).
Re: [mk] Mortal Kombat (rev 5.0 T-Unit 03/19/93) WIP
Posted: Mon Jan 20, 2014 11:30 am
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!
Re: [mk] Mortal Kombat (rev 5.0 T-Unit 03/19/93) WIP
Posted: Mon Jun 23, 2014 2:09 am
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
Re: [mk] Mortal Kombat (rev 5.0 T-Unit 03/19/93) WIP
Posted: Mon Dec 29, 2014 4:07 am
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).
Re: [mk] Mortal Kombat (rev 5.0 T-Unit 03/19/93) WIP
Posted: Sat Jan 03, 2015 7:29 am
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
Re: [mk] Mortal Kombat (rev 5.0 T-Unit 03/19/93) WIP
Posted: Sat Jan 03, 2015 11:35 am
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!