For help navigating the files: https://gbatemp.net/threads/super-mario-64-has-been-decompiled.542918/page-7#post-8712520
Follow the social media campaign:
BBoard
[Discussion]
Beyond3D
[Discussion]
Exclusively Games
[Discussion]
Gaming Reinvented
[Article] [Discussion]
Hacker News
[Discussion]
OCAU
[Discussion]
Official Pyra and Pandora Site
[Discussion]
Reddit
/r/gamedev
[1]
/r/n64
[1]
/r/emulation
[1]
/r/linux_gaming
[1]
/r/programming
[1]
/r/DataHoarder
[1]
/r/Games
[1]
/r/nintendo
[1][2]
/r/speedrun
[1]
/r/REGames
[1]
/r/coding
[1]
/r/retrogaming
[1]
ResetEra
[Discussion]
Twitter
[1][2]
Hi. I registered because nobody else was talking about this.
If you do a google search for "n64 decomp" in quotes, you'll get a warosu.org result (archived 4chan threads.) This thread contains a link to a full decompilation of Super Mario 64 that an IDENTICAL ROM can be built from if you have the proper environment setup. It seems it was leaked before the people involved finished renaming all the functions to be nice and clear.
It's not an ordinary decompilation generated by IDA. They actually rewrote all the functions from reading MIPS assembly and compiled it with the original compiler, adjusting the code until it produced identical output to a vanilla ROM.
These are the files contained in the src/game directory:
(src is split into audio, engine, game, and goddard)
Follow the social media campaign:
BBoard
[Discussion]
Beyond3D
[Discussion]
Exclusively Games
[Discussion]
Gaming Reinvented
[Article] [Discussion]
Hacker News
[Discussion]
OCAU
[Discussion]
Official Pyra and Pandora Site
[Discussion]
/r/gamedev
[1]
/r/n64
[1]
/r/emulation
[1]
/r/linux_gaming
[1]
/r/programming
[1]
/r/DataHoarder
[1]
/r/Games
[1]
/r/nintendo
[1][2]
/r/speedrun
[1]
/r/REGames
[1]
/r/coding
[1]
/r/retrogaming
[1]
ResetEra
[Discussion]
[1][2]
Hi. I registered because nobody else was talking about this.
If you do a google search for "n64 decomp" in quotes, you'll get a warosu.org result (archived 4chan threads.) This thread contains a link to a full decompilation of Super Mario 64 that an IDENTICAL ROM can be built from if you have the proper environment setup. It seems it was leaked before the people involved finished renaming all the functions to be nice and clear.
It's not an ordinary decompilation generated by IDA. They actually rewrote all the functions from reading MIPS assembly and compiled it with the original compiler, adjusting the code until it produced identical output to a vanilla ROM.
These are the files contained in the src/game directory:
(src is split into audio, engine, game, and goddard)
Code:
area.c
area.h
camera.c
camera.h
debug.c
debug.h
debug_course.c
debug_course.h
decompress.h
display.c
display.h
envfx_bubbles.c
envfx_bubbles.h
envfx_snow.c
envfx_snow.h
file_select.c
file_select.h
game.c
game.h
geo_misc.c
geo_misc.h
hud.c
hud.h
ingame_menu.c
ingame_menu.h
interaction.c
interaction.h
intro_geo.c
intro_geo.h
level_geo.c
level_geo.h
level_select_menu.c
level_select_menu.h
level_update.c
level_update.h
macro_special_objects.c
macro_special_objects.h
main.c
main.h
main_entry.h
mario.c
mario.h
mario_actions_airborne.c
mario_actions_airborne.h
mario_actions_automatic.c
mario_actions_automatic.h
mario_actions_cutscene.c
mario_actions_cutscene.h
mario_actions_moving.c
mario_actions_moving.h
mario_actions_object.c
mario_actions_object.h
mario_actions_stationary.c
mario_actions_stationary.h
mario_actions_submerged.c
mario_actions_submerged.h
mario_misc.c
mario_misc.h
mario_step.c
mario_step.h
memory.c
memory.h
moving_texture.c
moving_texture.h
object_collision.c
object_collision.h
object_helpers.c
object_helpers.h
object_helpers2.h
object_list_processor.c
object_list_processor.h
obj_behaviors.c
obj_behaviors.h
obj_behaviors_2.c
obj_behaviors_2.h
paintings.c
platform_displacement.c
platform_displacement.h
print.c
print.h
profiler.c
profiler.h
rendering_graph_node.c
rendering_graph_node.h
room.c
room.h
save_file.c
save_file.h
screen_transition.c
screen_transition.h
segment2.h
segment7.h
shadow.c
shadow.h
skybox.c
skybox.h
sound_init.c
sound_init.h
spawn_object.c
spawn_object.h
spawn_sound.c
spawn_sound.h
star_select.c
star_select.h
Last edited by Ecchi95,