Mario 64 ROM recompiled to replace every sound with Mario's "oof" sound

Maddox

Member
Dec 11, 2018
1,221
5
4,792




In order to do all of this:
  1. Clone the Mario 64 decompilation git repo at n64decomp/sm64 and follow the instructions in the README
  2. You need a dump of your Super Mario 64 cartridge.
  3. Run these commands from the top-level git directory to replace all the instances of sounds with the one with label 0B.
    Bash:
    sed -i 's/"sound": "[^"]*"/"sound": "0B"/g; s/"sample": "[^"]*"/"sample": "0B"/g' $(find sound/sound_banks/ -type f)
    sed -i 's/"sound_hi": "[^"]*"/"sound_hi": "0B"/g' $(find sound/sound_banks/ -type f)
    sed -i 's/"sound_lo": "[^"]*"/"sound_lo": "0B"/g' $(find sound/sound_banks/ -type f)
    sed -i 's/"sample_bank": "[^"]*"/"sample_bank": "sfx_mario"/g;' $(find sound/sound_banks/ -type f)
  4. Run make -j6
  5. Run an N64 emulator on the file build/XX/sm64.XX.z64
 
Top