Super Mario 64 for GameCube
...in a 42MB NKit file, with working saves and 480p support via Swiss

What's special about this? In about 2010 I downloaded many different versions of this N64 emulator hacked to play Super Mario 64 but they all had issues: saves not working, saves working but a huge minute-long hang during saving, and so on. Somehow I found this particular version on an ISO site called The Purple Cube. It has a nice loading screen, a unique header ID, working save support without long delays and with a proper Mario save icon, and it runs flawlessly.

In the decade since then the efforts of Redump projects for various platforms have preserved official game releases, but often gems like this hack have slipped through the cracks and disappeared. I cannot find this release anywhere, but it's a key title to experience on Gamecube - one of the best games of all time on a platform with quadruple the original game's resolution (640x480p instead of the the N64's 320x240), but also equipped with a very similar analogue controller. 
I have been very careful to work out a way to preserve this release, not by distributing infringing material, but by providing only a delta patch for the emulator hacks and some instructions which allow people to rebuild it themselves using a clean Super Mario 64 ROM dump and a copy of the Zelda Ocarina of Time and Master Quest GameCube disc. 

To build Super Mario 64 for GameCube you will need the following (filenames must match exactly):
  . "Legend of Zelda, The - Ocarina of Time & Master Quest (Europe) (En,Fr,De).iso" from the Redump set
  . mario64.z64, Super Mario 64 USA ROM image in big endian byte order
      MD5: 20b854b239203baf6c961b850a4a51a2
      SHA-1: 9bef1128717f958171a4afac3ed78ee2bb4e86ce
      Microsoft free File Checksum Integrity Verifier (FCIV) tool https://support.microsoft.com/en-us/help/841290
      online ROM byte order converter tool: https://hack64.net/tools/swapper.php
  . gcr.exe, GCRebuilder v1.1 https://www.romhacking.net/utilities/619/
  . tgctogcm.exe, from "GCM to TGC to GCM" 0.2 https://www.gc-forever.com/forums/download/file.php?id=92
  . xdelta.exe, xdelta3 https://github.com/jmacd/xdelta-gpl/releases/tag/v3.0.11

Run build.bat which will automatically build 'Super Mario 64.nkit.iso'

My motivation for releasing this is the hope that a working 16:9 widescreen Gecko code can be developed for Super Mario 64 running on GameCube. The lack of a 'standardised' release seems to have prevented this up until now. I have tried applying gamemasterplc's Legend of Zelda Master Quest code (from the Dolphin forums) to this and it does indeed make the game render in 16:9, but many tweaks specific to Zelda break other aspects (2D art centering, the skybox, texture corruption). Out of interest, I have included this Gecko code in the 'cheats' subfolder. Simply copy that folder to the root of your SD card to try this cheat (press Y after selecting the game in Swiss). I have tried in vain to inject several different 16:9 patched Super Mario 64 ROMs which work fine in Project 64, but all of these crash the emulator so it does seem that 16:9 support will require a dedicated GameCube Gecko code.
