Mortal Kombat 3 (PC/PSX) and Mortal Kombat Trilogy (N64) source code

So I got linked to a thread on 4chan's "vidya retro" or /vr/ board (be warned, the link may 404 due to the way the website works)

http://boards.4chan.org/vr/thread/5117527

The poster claims the linked file contains the source code for Mortal Kombat 3 for the PS1, Mortal Kombat Trilogy for the Nintendo 64 and Windows 95's MK3 port

Quoting from the thread itself

This giant 900 MB compressed file contains the following sub-compressed archives:

MK3_sound.tar.gz
MKTRILOGY_source_N64.tar.gz
MK3_source_windows_RC2.tar.gz
MK3_source_windows_final_7_29_96.tar.gz
MK3_runtime_windows_7_9_96.tar.gz
MK3_build_windows_1_4_96.tar.gz
MK3_source_playstation_4_8_95.tar.gz



The thread itself contains a Dropbox link, which I've mirrored in case it gets taken down (apologies if the download is slow. My server is cheap and underpowered)

http://intelminer.com/MK/

MD5 of the file: 73027cd102820648a970d322faacb660

SHA256: 57c477d69fde37f2889f0650f9066453a7a31e1bcf80a430c90870c9edde47da
Additional: Looking at replies to the thread, apparently it may be a pre-release build of the game, and also contains bits of DOOM64 in the code(?)

1540341786119.png 1540335706222.png

MKTRILOGY_source_N64.tar\MKTRILOGY_source_N64\MKTRIL~1\MKTRIL~1.GZ\mktril.rom is a May 13th 1996 earlier build of the game with an UMK3 game over screen among other differences.

This was just found in mktrilogy/make/do. Looks like we got ourselves a build of Doom 64 in here too!
Since the source files are pretty extensive to look at. I am only looking at the N64 Version today and I will do another write up in a couple days for the other source codes

Looking into the files. There is a bunch of MK Trilogy Roms. If anyone wants me to compile a folder for the N64 ROMS. I can.

Spoiler: Path to ROMS
MKTRILOGY_source_N64\MKTRIL~1\MAKE\MKTRIL~1\mktril.rom (Boots)
MKTRILOGY_source_N64\MKTRIL~1\MAKE\MKTPAL.ROM (Boots)
MKTRILOGY_source_N64\MKTRIL~1\MAKE\ROM\ROM (Doesn't boot)
MKTRILOGY_source_N64\MKTRIL~1\MAKE\ROM (Doesn't boot)
MKTRILOGY_source_N64\MKTRIL~1\MAKE\MKTRIL (This one gives Bizhawk a error. I have not tried a different emulator)

These may contain older files. May be worth looking into and compile it. I'll take a look later on when I get the chance. May end up with a older build or the same build in MKTRIL~`\mktril.rom :3

Spoiler: Attract
MKTRILOGY_source_N64\MKTRIL~1\SEG\ATTRACT\BUYIN\OLD
MKTRILOGY_source_N64\MKTRIL~1\SEG\ATTRACT\KRONICLE\OLD
MKTRILOGY_source_N64\MKTRIL~1\SEG\ATTRACT\OLDTITLE (Double Check to see)
MKTRILOGY_source_N64\MKTRIL~1\SEG\ATTRACT\SELECT\OLD

Unsure for Audio
Spoiler: Audio Older Files?
MKTRILOGY_source_N64\MKTRIL~1\SEG\AUDIO\OLD
MKTRILOGY_source_N64\MKTRIL~1\SEG\AUDIO\SCHEDU~1

NOTE: I am unsure for BKGDS. Please correct me if I am wrong.
Spoiler: BKGDS Older Files?
MKTRILOGY_source_N64\MKTRIL~1\SEG\BKGDS\ARENA\FLOOR\ARENAFL.DCT
MKTRILOGY_source_N64\MKTRIL~1\SEG\BKGDS\ARMORY\FLOOR\ARMORYFL.DCT
MKTRILOGY_source_N64\MKTRIL~1\SEG\BKGDS\BATTLE\FLOOR\BATTLEFL.DCT
MKTRILOGY_source_N64\MKTRIL~1\SEG\BKGDS\BELL\FLOOR\BELLFLOR.DCT
MKTRILOGY_source_N64\MKTRIL~1\SEG\BKGDS\BRIDGE\FLOOR\BRGROAD.DCT
MKTRILOGY_source_N64\MKTRIL~1\SEG\BKGDS\CAVE\FLOOR\HELLFLR.DCT
MKTRILOGY_source_N64\MKTRIL~1\SEG\BKGDS\GRAVE\FLOOR\CEMFLR.DCT
MKTRILOGY_source_N64\MKTRIL~1\SEG\BKGDS\KUNGFU5\KUNGFU5.ZIP
MKTRILOGY_source_N64\MKTRIL~1\SEG\BKGDS\MONKS\PORTALFL.DCT
MKTRILOGY_source_N64\MKTRIL~1\SEG\BKGDS\SBST\FLOOR\STREET2.DCT
MKTRILOGY_source_N64\MKTRIL~1\SEG\BKGDS\SOUL\FLOOR
MKTRILOGY_source_N64\MKTRIL~1\SEG\BKGDS\TEMPLE\FLOOR\TEMPFL.DCT
MKTRILOGY_source_N64\MKTRIL~1\SEG\BKGDS\TEMPLE\OLD
MKTRILOGY_source_N64\MKTRIL~1\SEG\BKGDS\TOWER\FLOOR\TOWERFLS.DCT
MKTRILOGY_source_N64\MKTRIL~1\SEG\BKGDS\TREE\FLOOR\FORESTFL.DCT

Spoiler: CHARDATA Older Files
MKTRILOGY_source_N64\MKTRIL~1\SEG\CHARDATA\BARAKA\OLD
MKTRILOGY_source_N64\MKTRIL~1\SEG\CHARDATA\FNINJA\OLD
MKTRILOGY_source_N64\MKTRIL~1\SEG\CHARDATA\INDIAN
MKTRILOGY_source_N64\MKTRIL~1\SEG\CHARDATA\JAX\OLD
MKTRILOGY_source_N64\MKTRIL~1\SEG\CHARDATA\JCAGE\OLD
MKTRILOGY_source_N64\MKTRIL~1\SEG\CHARDATA\KANO\OLD
MKTRILOGY_source_N64\MKTRIL~1\SEG\CHARDATA\LAO\OLD
MKTRILOGY_source_N64\MKTRIL~1\SEG\CHARDATA\LIA\OLD
MKTRILOGY_source_N64\MKTRIL~1\SEG\CHARDATA\LK\OLD
MKTRILOGY_source_N64\MKTRIL~1\SEG\CHARDATA\MNINJA\
MKTRILOGY_source_N64\MKTRIL~1\SEG\CHARDATA\MOTARO\OLD
MKTRILOGY_source_N64\MKTRIL~1\SEG\CHARDATA\RAYDEN\OLD
MKTRILOGY_source_N64\MKTRIL~1\SEG\CHARDATA\ROBO\OLD
MKTRILOGY_source_N64\MKTRIL~1\SEG\CHARDATA\SHANG\OLD
MKTRILOGY_source_N64\MKTRIL~1\SEG\CHARDATA\SHEEVA\OLD
MKTRILOGY_source_N64\MKTRIL~1\SEG\CHARDATA\SHEEVA\U64
MKTRILOGY_source_N64\MKTRIL~1\SEG\CHARDATA\SK\OLD
MKTRILOGY_source_N64\MKTRIL~1\SEG\CHARDATA\SONYA\OLD
MKTRILOGY_source_N64\MKTRIL~1\SEG\CHARDATA\SWAT\OLD
MKTRILOGY_source_N64\MKTRIL~1\SEG\CHARDATA\SZ\OLD
MKTRILOGY_source_N64\MKTRIL~1\SEG\CHARDATA\TUSK\OLD

Spoiler: Common Folder Older Files
MKTRILOGY_source_N64\MKTRIL~1\SEG\COMMON\BLOOD\OLD
MKTRILOGY_source_N64\MKTRIL~1\SEG\COMMON\CONTROL\OLD
MKTRILOGY_source_N64\MKTRIL~1\SEG\COMMON\SKELFIRE\OLD
MKTRILOGY_source_N64\MKTRIL~1\SEG\COMMON\TEMP
wow nice release thank you for letting us know by the way you should ask him if he has mortal kombat mythologies source code as well, that would be awesome.
From what I've heard regarding this, is that after intial speculation on the matter - there's a rom there - Doomn64.rom - (does not boot- too small and/or not enough data). The Demo file startup is dated March 21st, 1996.

Within that source, it seems MIDWAY were also in the process of porting Doom II to the Nintendo 64, to get a feel for how the WAD files and engine worked - to create Doom 64 for the Nintendo 64, which would eventually see release March 31st, 1997.

Romero stated as such on twitter: "Did you help out with Development?" Romero: Just a little. Aaron Seeler, the coder, was here for months to pick John C’s brain. (Source: https://twitter.com/romero/status/1009055689631850496)

What are you testing in here?
Well this is going to be interesting....
According to someone over on the MAME forums there is MK3 arcade source in there somewhere as well.
Checked the thread again (surprising to see it's still up!)


There's an passworded zip file called MK3REV21.ZIP in RC2\MK3SRC\V13 and it appears to be encrypted using zipcrypto. Anyone want to a take a shot at cracking it?


Going to take a shot at it with Hashcat to see if I can't break it open. I'll post findings here if I do


EDIT: Password is apparently rosie
del
Very nice find!
Wasn't there a partial leak of the source code for the 3DO version of MK3 a few years ago as well?
what's in that file?
Does the N64 code in there contain anything for the RSP? (was it using RSP code from the N64 SDK and is that out there anywhere?)
Also is that N64 code actually compileable or is it missing bits/incomplete/whatever?
Never change boys. Never change.
Additionally /vr/ is a very slow board so it will probably be up for some time.
PC code miss some stuff (win_port.h etc....), it seem to be common code between ps1 and pc.
Psx code is psx sdk
I haven't tried compiling it yet. may have to set up sdk and whatnot. i did see U64
AFAIK, basically everything related to the N64 is out "in the wild"

The most low-level stuff being the "Oman Archives"
Good stuff. I was lucky enough to catch wind a few hours after it released. It's nice to see high-profile games surfacing like this.
Wow, If we can get some mk3 arcade proto's out of this it would be amazing! There's footage on youtube of super early builds where cyrax and sektor were called katchup and mustard!

Original thread: https://assemblergames.com/threads/mortal-kombat-3-pc-psx-and-mortal-kombat-trilogy-n64-source-code.70038/