Uncompiled Source Code & Dev Stuff in N64 ROMs 1 2 »
Users browsing this thread: 1 Guest(s)

For whatever reason, a handful of N64 ROMs have uncompiled source code in them! Here's everything I could find by scanning for C keywords:

File Size
Chameleon Twist 000F4B6C.c3,738 B
Fighting Force 64 (Europe) 00356000.c28,709 B
Fighting Force 64 (Europe) 00361003.c4,093 B
Fighting Force 64 (Europe) 003BB000.c8,181 B
NBA Live 2000 (defines) 004E4978.c22,064 B
NFL Quarterback Club 98 (defines) 003EABF8.c13,011 B
NHL Breakaway 99 000B35E6.c23,066 B
NHL Breakaway 99 000D9018.c28,728 B
NHL Breakaway 99 000F3F60.c8,215 B
NHL Breakaway 99 000F7000.c12,168 B
NHL Breakaway 99 001227D2.c2,094 B
NHL Breakaway 99 00133000.c19,013 B
NHL Breakaway 99 00153080.c12,312 B
NHL Breakaway 99 0015C090.c8,192 B
NHL Breakaway 99 001600A8.c4,096 B
NHL Breakaway 99 00162F62.c158 B
Powerpuff Girls Chemical X-Traction (defines) 005DCA30.c10,400 B
Premier Manager 64 (Europe) 00003844.c60 B
Shadow Man (Brazil) 0004B230.c3,536 B
Tom and Jerry Fists of Furry (defines) 00BC4910.c17,392 B
Wayne Gretsky's 3D Hockey '98 007E1000.c126,976 B
Yoshi Story (Japan) 000B7568.c281 B
Yoshi Story (Japan) 000B76C8.c138 B
(See attached zip at the bottom to download all the files.)

Oddly, almost all of these files are cut off or overlapped by other data. In one instance, there is even a snippit of C code randomly sitting between two compiled assembly routines!



In the Chameleon Twist code, it looks like there may be a bunch of strings in Japanese but I don't know how they're encoded. I tried viewing the file as Shift-JIS and EUC-JP, but neither of those looked right (I wouldn't know for sure though).

There are a few humorous developer comments that can be found in the NHL Breakaway 99 code:
// Kill all children task of the main hockey task. This kills
// a shit load of junk (cameras, ai tasks, track tasks, etc etc etc)
// void Kill_hockey(void)
//
// Kill the whole damm thing.

On a somewhat related note, I found a leftover path to an audio file in Michael Owen's World League Soccer 2000 (Europe) that suggests the developer was frustrated with the Nin-shitfuck Nintendo 64:

[Image: jp1yFpI.png]

And heaps of Windows trash that somehow made its way into Fighting Force 64 (Europe):

[Image: 672ETgG.png]

I also came across this large SYLK file near the end of the CyberTiger ROM: CyberTiger 00D96DB6.slk
It can be viewed with spreadsheet software like Excel or gnumeric. (Thanks queueRAM for identifying the format!)
(This post was last modified: 02-05-2017, 08:23 PM by shygoo.)


Attached Files
Size: 93.8 KB / Downloads: 66 .zip   N64 Uncompiled.zip

My threads are now being maintained here

Very interesting finds Shygoo.  Smile  TCRF would thank you.
(This post was last modified: 30-04-2017, 11:03 PM by J_128.)
Quote:A word fitly spoken is like apples of gold in pictures of silver.
  --Proverbs 25:11


Text encoding in the Chameleon Twist data seems to be Windows Chinese Simplified, CP 936 / GB-2312.

https://pastebin.com/uUSX3TF6

Awesome, thank you!
My threads are now being maintained here

Here's a scan I did for filenames: http://shygoo.net/n64-uncompiled/n64-filenames.txt -- Not as cool as actual source files themselves, but still interesting to see nonetheless.
My threads are now being maintained here

Just came across some very fishy assembler directives in Excitebike 64:

file "nes.bin"
resource "NES-excite"

incbin "excite.c1"
incbin "excite.gfx"
incbin "state.cpu"

endresource
endfile

I checked to see if data from the NES rom was present in the N64 rom, unfortunately I didn't have any luck. There is some C code in this ROM too but it's just a bunch of extern int declarations.

Edit: Didn't realise the game had an "Original Excitebike" mode, should've checked that out Tongue
(This post was last modified: 04-05-2017, 05:03 AM by shygoo.)


Attached Files
Size: 1.34 KB / Downloads: 51 .c   Excitebike 64 00B139010.c

Size: 5.5 KB / Downloads: 46 .c   Excitebike 64 00CBB7C0.c

Size: 130 bytes / Downloads: 48 .asm   Excitebike 64 00CBD090.asm

My threads are now being maintained here

I'm willing to bet there is a lot of uncompiled stuff in Glover 2.

(02-05-2017, 02:43 PM)Skeletons Wrote: I'm willing to bet there is a lot of uncompiled stuff in Glover 2.

As long as you're here mentioning Glover 2, any chance I could get a response in the topic you posted? Smile

(02-05-2017, 02:43 PM)Skeletons Wrote: I'm willing to bet there is a lot of uncompiled stuff in Glover 2.


There's a Glover 2? I'm finding out about a lot of sequels I never knew existed this year.

I scanned the Glover 2 ROMs for the usual C stuff, but nothing turned up. I was told that source code ends up in ROMs due to some compilers not properly clearing memory, so I'm not sure there would be a difference between prototype ROMs and normal ROMs in that regard. (Btw, those roms are labeled z64 but they're actually n64.)

I also did some more scanning for code that uses the IS Viewer 64's magic number 0x49533634 (ASCII "IS64"). Here are all the ROMs/addresses that have it:

Spoiler: IS64 ROMs

00019EC8 Akumajou Dracula Mokushiroku - Real Action Adventure (Japan).z64
0001A024 Akumajou Dracula Mokushiroku - Real Action Adventure (Japan).z64

0001E138 Akumajou Dracula Mokushiroku Gaiden - Legend of Cornell (Japan).z64
0001E294 Akumajou Dracula Mokushiroku Gaiden - Legend of Cornell (Japan).z64

00019EE8 Castlevania (Europe) (En,Fr,De).z64
0001A044 Castlevania (Europe) (En,Fr,De).z64

00019E88 Castlevania (USA) (Rev B).z64
00019FE4 Castlevania (USA) (Rev B).z64

00019E88 Castlevania (USA).z64
00019FE4 Castlevania (USA).z64

0001E2F8 Castlevania - Legacy of Darkness (Europe) (En,Fr,De).z64
0001E454 Castlevania - Legacy of Darkness (Europe) (En,Fr,De).z64

0001E138 Castlevania - Legacy of Darkness (USA).z64
0001E294 Castlevania - Legacy of Darkness (USA).z64

0001C278 Dance Dance Revolution - Disney Dancing Museum (Japan).z64
0001C3D4 Dance Dance Revolution - Disney Dancing Museum (Japan).z64

000023EC Ganbare Goemon - Neo Momoyama Bakufu no Odori (Japan).z64
0000262C Ganbare Goemon - Neo Momoyama Bakufu no Odori (Japan).z64

000296CC Ganbare! Nippon! Olympics 2000 (Japan).z64
00029740 Ganbare! Nippon! Olympics 2000 (Japan).z64
000298F4 Ganbare! Nippon! Olympics 2000 (Japan).z64
00029960 Ganbare! Nippon! Olympics 2000 (Japan).z64
00029974 Ganbare! Nippon! Olympics 2000 (Japan).z64
00029988 Ganbare! Nippon! Olympics 2000 (Japan).z64
00029A0C Ganbare! Nippon! Olympics 2000 (Japan).z64
00029AC4 Ganbare! Nippon! Olympics 2000 (Japan).z64

0000229C Hyper Olympics in Nagano 64 (Japan).z64
000024D8 Hyper Olympics in Nagano 64 (Japan).z64

00004600 International Superstar Soccer 2000 (Europe) (En,De).z64
000047CC International Superstar Soccer 2000 (Europe) (En,De).z64
00004620 International Superstar Soccer 2000 (Europe) (Fr,It).z64
000047EC International Superstar Soccer 2000 (Europe) (Fr,It).z64

00004140 International Superstar Soccer 2000 (USA) (En,Es).z64
0000430C International Superstar Soccer 2000 (USA) (En,Es).z64

000297AC International Track & Field - Summer Games (Europe) (En,Fr,De).z64
00029820 International Track & Field - Summer Games (Europe) (En,Fr,De).z64
000299D4 International Track & Field - Summer Games (Europe) (En,Fr,De).z64
00029A40 International Track & Field - Summer Games (Europe) (En,Fr,De).z64
00029A54 International Track & Field - Summer Games (Europe) (En,Fr,De).z64
00029A68 International Track & Field - Summer Games (Europe) (En,Fr,De).z64
00029AEC International Track & Field - Summer Games (Europe) (En,Fr,De).z64
00029BA4 International Track & Field - Summer Games (Europe) (En,Fr,De).z64

0002976C International Track & Field 2000 (USA).z64
000297E0 International Track & Field 2000 (USA).z64
00029994 International Track & Field 2000 (USA).z64
00029A00 International Track & Field 2000 (USA).z64
00029A14 International Track & Field 2000 (USA).z64
00029A28 International Track & Field 2000 (USA).z64
00029AAC International Track & Field 2000 (USA).z64
00029B64 International Track & Field 2000 (USA).z64

0000107C J.League Tactics Soccer (Japan) (Rev A).z64
0000119C J.League Tactics Soccer (Japan) (Rev A).z64

0000107C J.League Tactics Soccer (Japan).z64
0000119C J.League Tactics Soccer (Japan).z64

000037D0 Jikkyou J.League 1999 - Perfect Striker 2 (Japan) (Rev A).z64
0000399C Jikkyou J.League 1999 - Perfect Striker 2 (Japan) (Rev A).z64

000037D0 Jikkyou J.League 1999 - Perfect Striker 2 (Japan).z64
0000399C Jikkyou J.League 1999 - Perfect Striker 2 (Japan).z64

0000DCF8 Legend of Zelda, The - Majora's Mask (Europe) (En,Fr,De,Es) (Beta).z64
0000DD88 Legend of Zelda, The - Majora's Mask (Europe) (En,Fr,De,Es) (Beta).z64
0000DF40 Legend of Zelda, The - Majora's Mask (Europe) (En,Fr,De,Es) (Beta).z64
0000E10C Legend of Zelda, The - Majora's Mask (Europe) (En,Fr,De,Es) (Beta).z64

00002CCC Legend of Zelda, The - Ocarina of Time - Master Quest (USA) (Debug Edition).z64
00002E04 Legend of Zelda, The - Ocarina of Time - Master Quest (USA) (Debug Edition).z64

00081DDC Mario Party 3 (Europe) (En,Fr,De,Es).z64
00081E50 Mario Party 3 (Europe) (En,Fr,De,Es).z64
00082004 Mario Party 3 (Europe) (En,Fr,De,Es).z64
00082070 Mario Party 3 (Europe) (En,Fr,De,Es).z64
00082084 Mario Party 3 (Europe) (En,Fr,De,Es).z64
00082098 Mario Party 3 (Europe) (En,Fr,De,Es).z64
0008211C Mario Party 3 (Europe) (En,Fr,De,Es).z64
000821D4 Mario Party 3 (Europe) (En,Fr,De,Es).z64

00081F7C Mario Party 3 (USA).z64
00081FF0 Mario Party 3 (USA).z64
000821A4 Mario Party 3 (USA).z64
00082210 Mario Party 3 (USA).z64
00082224 Mario Party 3 (USA).z64
00082238 Mario Party 3 (USA).z64
000822BC Mario Party 3 (USA).z64
00082374 Mario Party 3 (USA).z64
000010A0 Mario Story (Japan).z64
000011C4 Mario Story (Japan).z64

0005958C Midway's Greatest Arcade Hits - Volume 1 (USA).z64
00059600 Midway's Greatest Arcade Hits - Volume 1 (USA).z64
000597B4 Midway's Greatest Arcade Hits - Volume 1 (USA).z64
00059820 Midway's Greatest Arcade Hits - Volume 1 (USA).z64
00059834 Midway's Greatest Arcade Hits - Volume 1 (USA).z64
00059848 Midway's Greatest Arcade Hits - Volume 1 (USA).z64
000598CC Midway's Greatest Arcade Hits - Volume 1 (USA).z64
00059984 Midway's Greatest Arcade Hits - Volume 1 (USA).z64

0000247C Mystical Ninja Starring Goemon (Europe).z64
000026B8 Mystical Ninja Starring Goemon (Europe).z64

0000244C Mystical Ninja Starring Goemon (USA).z64
0000268C Mystical Ninja Starring Goemon (USA).z64

0000227C Nagano Winter Olympics '98 (Europe).z64
000024B8 Nagano Winter Olympics '98 (Europe).z64

0000228C Nagano Winter Olympics '98 (USA).z64
000024C8 Nagano Winter Olympics '98 (USA).z64

00001164 Paper Mario (Europe) (En,Fr,De,Es).z64

000010A0 Paper Mario (USA).z64
000011C4 Paper Mario (USA).z64

00077828 Pokemon Stadium 2 (Europe).z64
000778B8 Pokemon Stadium 2 (Europe).z64
00077A70 Pokemon Stadium 2 (Europe).z64
00077C3C Pokemon Stadium 2 (Europe).z64

000777E8 Pokemon Stadium 2 (France).z64
00077878 Pokemon Stadium 2 (France).z64
00077A30 Pokemon Stadium 2 (France).z64
00077BFC Pokemon Stadium 2 (France).z64

00077728 Pokemon Stadium 2 (Germany).z64
000777B8 Pokemon Stadium 2 (Germany).z64
00077970 Pokemon Stadium 2 (Germany).z64
00077B3C Pokemon Stadium 2 (Germany).z64

00077808 Pokemon Stadium 2 (Italy).z64
00077898 Pokemon Stadium 2 (Italy).z64
00077A50 Pokemon Stadium 2 (Italy).z64
00077C1C Pokemon Stadium 2 (Italy).z64

000777E8 Pokemon Stadium 2 (Spain).z64
00077878 Pokemon Stadium 2 (Spain).z64
00077A30 Pokemon Stadium 2 (Spain).z64
00077BFC Pokemon Stadium 2 (Spain).z64

000776C8 Pokemon Stadium 2 (USA).z64
00077758 Pokemon Stadium 2 (USA).z64
00077910 Pokemon Stadium 2 (USA).z64
00077ADC Pokemon Stadium 2 (USA).z64

00078FA8 Pokemon Stadium Kin Gin (Japan).z64
00079038 Pokemon Stadium Kin Gin (Japan).z64
000791F0 Pokemon Stadium Kin Gin (Japan).z64
000793BC Pokemon Stadium Kin Gin (Japan).z64
If we're lucky some of these ROMs will still support debug logging without too many hacks. It's already known that the Zelda Master Quest debug ROM still has everything intact: https://www.youtube.com/watch?v=gPMSRGqrjOg
My threads are now being maintained here

Uncompiled Source Code & Dev Stuff in N64 ROMs 1 2 »
Users browsing this thread: 1 Guest(s)