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:
- You must have a Super Mario 64 ROM file ready.
- (Ubuntu) install dependency's:
sudo apt install -y binutils-mips-linux-gnu build-essential git libcapstone-dev pkgconf python3
git clone https://github.com/n64decomp/sm64.git
cd sm64
- Rename your us sm64 game to
sm64.us.z64
in the sm64 root folder.
- Remake by:
make -o2 -j$(nproc)
- Navigate to sm64/build/us/ to get your sm64.us.z64 file.
- 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