[mk]+ EJB menu

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
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:

[mk]+ EJB menu

Post by Pugsy »

There are hidden "EJB" menus in the MK games :- https://tcrf.net/Mortal_Kombat_%28Arcade%29#EJB_Menu

There are cheats posted on that page but they still require a short key sequence to be followed, and don't cover all the clones. So I've traced the games and clones to make an easier to use cheat, I've left in the debugger address for reference and made the cheats in a way that makes them useable with multiple clones.

If I get time I'll look at mk2 etc

mk.xml, mktturbo.xml, mkr4.xml:-

Code: Select all

  <cheat desc="Easily activate the hidden EJB menu"> <comment>Just hit the P1 Block 1 key during the attract mode to bring up the hidden debug menu.</comment>
    <script state="on">
      <action>temp0=0</action>	
      <action>temp1=FFDD0C50/8 BAND FFFFF</action> <!-- mk, mktturbo -->
      <action>temp2=FFDD0CE0/8 BAND FFFFF</action> <!-- mkr4 -->	   
      <action condition="maincpu.mw@temp1==CB03">temp0=temp1</action>
      <action condition="maincpu.mw@temp2==CB03">temp0=temp2</action>		  
    </script>  
    <script state="run">
      <action condition="maincpu.mw@temp0==CB03">maincpu.mw@temp0=0300</action>  
    </script>
    <script state="off">
      <action condition="maincpu.mw@temp0==0300">maincpu.mw@temp0=CB03</action>  
    </script>	
  </cheat>
mkla1.xml, mkla2.xml, mkla3.xml, mkla4.xml, mkyawdim.xml, mkyawdim2.xml, mkyawdim3.xml, mkyawdim4.xml, mkyturbo.xml, mkyturboe.xml, mknifty.xml, mknifty666.xml, mkprot8 + mkprot9

Code: Select all

  <cheat desc="Easily activate the hidden EJB menu"> <comment>Just hit the P1 Block 1 key during the attract mode to bring up the hidden debug menu.</comment>
    <script state="on">
      <action>temp0=0</action>	
      <action>temp1=FFDC60F0/8 BAND FFFFF</action> <!-- mkla1 -->	 
      <action>temp2=FFDCAB60/8 BAND FFFFF</action> <!-- mkla2 -->	
      <action>temp3=FFDD07C0/8 BAND FFFFF</action> <!-- mkla3, mkyawdim, mkyawdim2, mkyawdim3, mkyawdim4, mkyturbo, mkyturboe -->	
      <action>temp4=FFDD0BA0/8 BAND FFFFF</action> <!-- mkla4 -->	  
      <action>temp5=FFDBBB10/8 BAND FFFFF</action> <!-- mknifty, mknifty666, mkprot9 -->
      <action>temp6=FFDB7480/8 BAND FFFFF</action> <!-- mkprot8 -->	     
      <action condition="user1.mw@temp1==CB03">temp0=temp1</action>
      <action condition="user1.mw@temp2==CB03">temp0=temp2</action>	
      <action condition="user1.mw@temp3==CB03">temp0=temp3</action>
      <action condition="user1.mw@temp4==CB03">temp0=temp4</action>	 
      <action condition="user1.mw@temp5==CB03">temp0=temp5</action>
      <action condition="user1.mw@temp6==CB03">temp0=temp6</action>	  
    </script>  
    <script state="run">
      <action condition="user1.mw@temp0==CB03">user1.mw@temp0=0300</action>  
    </script>
    <script state="off">
      <action condition="user1.mw@temp0==0300">user1.mw@temp0=CB03</action>  
    </script>  
  </cheat>
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: [mk2]+ EJB menu

Post by Pugsy »

And for mk2 + clones (apart from mk2r11 + mk2r14 which seem to have the menu activation disabled)

Code: Select all

  <cheat desc="Easily activate the hidden EJB menu"> <comment>Just hit the P1 Block 1 key during the attract mode to bring up the hidden debug menu.</comment>
    <script state="on">
      <action>temp0=0</action>	
      <action>temp1=FFA1D2B0/8 BAND FFFFF</action> <!-- mk2, mk2chal, mk2r30, mk2r31e, mk2r42, mk2r91 -->	 
      <action>temp2=FFE0C490/8 BAND FFFFF</action> <!-- mk2r11 (not working - EJB menu activation disabled in other code) -->	
      <action>temp3=FF9CEA00/8 BAND FFFFF</action> <!-- mk2r14 (not working - EJB menu activation disabled in other code) -->	
      <action>temp4=FFA0E760/8 BAND FFFFF</action> <!-- mk2r20 -->	  
      <action>temp5=FFA0E7E0/8 BAND FFFFF</action> <!-- mk2r21 -->
      <action>temp6=FFA1D2E0/8 BAND FFFFF</action> <!-- mk2r32e -->	     
      <action condition="maincpu.mw@temp1==CB03">temp0=temp1</action>
      <action condition="maincpu.mw@temp2==CB03">temp0=temp2</action>	
      <action condition="maincpu.mw@temp3==CB03">temp0=temp3</action>
      <action condition="maincpu.mw@temp4==CB03">temp0=temp4</action>	 
      <action condition="maincpu.mw@temp5==CB03">temp0=temp5</action>
      <action condition="maincpu.mw@temp6==CB03">temp0=temp6</action>	  
    </script>  
    <script state="run">
      <action condition="maincpu.mw@temp0==CB03">maincpu.mw@temp0=0300</action>  
    </script>
    <script state="off">
      <action condition="maincpu.mw@temp0==0300">maincpu.mw@temp0=CB03</action>  
    </script>  
  </cheat>
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:

[mk3]+ EJB menu

Post by Pugsy »

mk3, mk3p40, mk3r10 & mk3r20

Code: Select all

  <cheat desc="Easily activate the hidden EJB menu"> <comment>Just hit the P1 Block 1 key during the attract mode to bring up the hidden debug menu.</comment>
    <script state="on">
      <action>temp0=0</action>	
      <action>temp1=FFAAD300/8 BAND FFFFF</action> <!-- mk3 -->	 
      <action>temp2=FFA85B10/8 BAND FFFFF</action> <!-- mk3p40, mk3r10 -->	
      <action>temp3=FFAAC830/8 BAND FFFFF</action> <!-- mk3r20 -->	   
      <action condition="maincpu.mw@temp1==CB03">temp0=temp1</action>
      <action condition="maincpu.mw@temp2==CB03">temp0=temp2</action>	
      <action condition="maincpu.mw@temp3==CB03">temp0=temp3</action> 
    </script>  
    <script state="run">
      <action condition="maincpu.mw@temp0==CB03">maincpu.mw@temp0=0300</action>  
    </script>
    <script state="off">
      <action condition="maincpu.mw@temp0==0300">maincpu.mw@temp0=CB03</action>  
    </script>  
  </cheat>
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:

[umk3]+ EJB menu

Post by Pugsy »

umk3, umk3r10, umk3r11

Code: Select all

  <cheat desc="Easily activate the hidden EJB menu"> <comment>Just hit the P1 Block 1 key during the attract mode to bring up the hidden debug menu.</comment>
    <script state="on">
      <action>temp0=0</action>	
      <action>temp1=FFB60700/8 BAND FFFFF</action> <!-- umk3 -->	 
      <action>temp2=FFB5FE40/8 BAND FFFFF</action> <!-- umk3r10 -->	
      <action>temp3=FFB60080/8 BAND FFFFF</action> <!-- umk3r11 -->	   
      <action condition="maincpu.mw@temp1==CB03">temp0=temp1</action>
      <action condition="maincpu.mw@temp2==CB03">temp0=temp2</action>	
      <action condition="maincpu.mw@temp3==CB03">temp0=temp3</action> 
    </script>  
    <script state="run">
      <action condition="maincpu.mw@temp0==CB03">maincpu.mw@temp0=0300</action>  
    </script>
    <script state="off">
      <action condition="maincpu.mw@temp0==0300">maincpu.mw@temp0=CB03</action>  
    </script>  
  </cheat>
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)
isamu
Posts: 91
Joined: Wed Oct 10, 2001 1:00 am

Re: [mk]+ EJB menu

Post by isamu »

What are the actual cheats that are listed in these secret menus? Particularly in MK2?
I will commit seppuku if Team Marubaku does not upload replay video footage of OutRun 2SP by the end of July!
User avatar
CLE
Posts: 365
Joined: Sun Sep 09, 2007 9:06 pm
Location: Brazil
Has thanked: 31 times

Re: [mk]+ EJB menu

Post by CLE »

Very well, Pugsy!

Something very interesting in the MK2 menu is the Smoke/Jade clues Counter. I always missed this counter and it was hiding.

But I try convert this address for old format but don't have success. How should I proceed? For example, I try divide and multiply 4 and 8, but don't found the right address.

Well, how I said, I use old MAME too because I still have many cheats in old format that were not converted.
Pugsy, you have some program to converter rom and ram cheats in old format for new format?

Thanks!
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]+ EJB menu

Post by Pugsy »

CLE wrote:Very well, Pugsy!

Something very interesting in the MK2 menu is the Smoke/Jade clues Counter. I always missed this counter and it was hiding.

But I try convert this address for old format but don't have success. How should I proceed? For example, I try divide and multiply 4 and 8, but don't found the right address.
The conversion from debugger address to address to poke is listed in the ON state, so for mk2 (+mk2chal, mk2r30, mk2r31e, mk2r42 & mk2r91) the line:-

<action>temp1=FFA1D2B0/8 BAND FFFFF</action> <!-- mk2, mk2chal, mk2r30, mk2r31e, mk2r42, mk2r91 -->

Means the address is (FFA1D2B0/8) AND FFFFF = 43A56

So I guess the cheat (untested) will be

:mk2:39900000:043A56:0000CB03:FFFFFFFF:Easily activate the hidden EJB menu:Just hit the P1 Block 1 key during the attract mode to bring up the hidden debug menu.

As long as the mk2 romset in 0.126 is the same as the mk2 in the latest MAME.
CLE wrote:Well, how I said, I use old MAME too because I still have many cheats in old format that were not converted.
Pugsy, you have some program to converter rom and ram cheats in old format for new format?
Yes I programmed a tool to do the original dat to xml format conversion which I still update fairly regularly as I use it all the time as I keep my master cheat database in a hybrid format which mashes the old .dat format & XML format. MK2 cheats need updating to match the current memory map before converting though (RAM cheats needs their addresses multiplying by 8 and rom cheats will need to be tweaked as well).

If you post the mk2 cheats you want converting on http://pastebin.com/ I will fix them up and convert them.
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]+ EJB menu

Post by CLE »

Hi, Pugsy!

Thanks for reply and your explain! Now I understand how converter.

FFA1D2B0 / 8 = 1FF43A56
Is necessary cut 1FF for find the address 43A56.

:mk2:39900000:043A56:00000300:FFFFFFFF:Easily activate the hidden EJB menu:Just hit the P1 Block 1 key during the attract mode to bring up the hidden debug menu.
PS:Have only a error in value in your example, because for work the value is 0300 don't CB03. :wink:

About cheats for converter, exceeded the limit on this site. But I is send all my MK cheats in notepad in your PM for you take a look.

Thanks!
Post Reply