Build Super Mario 64 with compile optimizations:


Super Mario 64 had poor building optimizations by default, you can try to fix them with the n64decomp/sm64 github:

  1. You must have a Super Mario 64 ROM file ready.
  2. (Ubuntu) install dependency's: sudo apt install -y binutils-mips-linux-gnu build-essential git libcapstone-dev pkgconf python3
  3. git clone https://github.com/n64decomp/sm64.git
  4. cd sm64
  5. Rename your us sm64 game to sm64.us.z64 in the sm64 root folder.
  6. Remake by: make -o2 -j$(nproc)
  7. Navigate to sm64/build/us/ to get your sm64.us.z64 file.
  8. Rename your file to what you need and place it on a flash cart.

Sources:
MattKC (On YouTube) | De-compiled Github | GCC Wiki
Date: 2020 - 2022

Back