Skip to content
Mark Street edited this page Feb 1, 2021 · 6 revisions

Patches

Three patches come with the port:

  • 60 FPS patch
  • Show FPS patch
  • Puppycam

The process is: apply the patch, re-compile the game.

Applying the patch(es)

Navigate back to the sm64-port directory

cd ~/sm64-port

Ensure you have the patch utility

pacman -S patch --noconfirm

60 FPS patch

To apply the 60 FPS patch:

patch -p1 -i enhancements/60fps.patch

Show FPS patch

To apply the "show FPS" patch:

patch -p1 -i enhancements/fps.patch

NOTE: You can press SELECT to toggle the FPS counter on/off.

Re-compiling

Remove the previous build

make clean

Recompile

make --jobs

Additional Build flags

The following build flags are supported:

  • VERSION=eu; us is default, but you can build eu but it does not run very well
  • DISABLE_N3DS_FRAMESKIP=1; disable the naive frameskip if you would prefer the game to lag than drop frames
  • DISABLE_AUDIO=1; disables audio entirely

In order to use them, simpkly append them to the final make --jobs command, e.g.

make --jobs DISABLE_AUDIO=1 DISABLE_N3DS_FRAMESKIP=1 VERSION=eu