Go to file
fgsfds 383983ef9d form window title in pc_main; show correct RAPI in it 2020-06-11 22:24:46 +03:00
.github/ISSUE_TEMPLATE
actors use full texture sizes for the eyes of big bomb lad and chuckya 2020-06-10 19:11:09 +03:00
asm
assets
bin
data
doxygen yeet 2020-06-02 23:43:32 +03:00
enhancements Remove description for the FPS counter 2020-06-06 21:34:16 +02:00
include added D3D11 and D3D12 renderers from Emil/n64-fast3d-engine 2020-06-11 22:24:46 +03:00
levels
lib forgot the actual libs 2020-06-09 20:49:35 +03:00
sound
src form window title in pc_main; show correct RAPI in it 2020-06-11 22:24:46 +03:00
text
tools add crcmap for RICE-formatted texture packs 2020-06-09 05:24:26 +03:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CHANGES
Dockerfile
Doxyfile
Jenkinsfile
Makefile added D3D11 and D3D12 renderers from Emil/n64-fast3d-engine 2020-06-11 22:24:46 +03:00
Makefile.split
README.md Update README.md 2020-06-10 22:41:29 -03:00
README_es_ES.md
README_pt_BR.md Create README_pt_BR.md 2020-06-10 22:36:41 -03:00
README_zh_CN.md
SAVE_FORMAT.MD
asmdiff.jp.sh
asmdiff.us.sh
assets.json
build.sh Nuke old VERSION OPT_FLAGS and add DEBUG flag 2020-06-05 20:40:08 +09:00
c2obj.py
charmap.txt
charmap_menu.txt
diff.py
diff_settings.py
extract_assets.py
first-diff.py
format.sh
obj2c.py
pisetup.sh
rename_sym.sh
sm64.eu.sha1
sm64.jp.sha1
sm64.ld
sm64.sh.sha1
sm64.us.sha1
undefined_syms.txt

README.md

sm64pc

OpenGL adaptation of n64decomp/sm64.

Feel free to report bugs and contribute, but remember, there must be no upload of any copyrighted asset. Run ./extract_assets.py --clean && make clean or make distclean to remove ROM-originated content. This port has been made possible mostly thanks to Emill and his n64-fast3d-engine renderer.

Please contribute first to the nightly branch. New functionality will be merged to master once they're considered to be well-tested.

Read this in other languages: Español, Português or 简体中文.

Features

  • Native rendering. You can now play SM64 without the need of an emulator.
  • Variable aspect ratio and resolution. The game can now correctly render at basically any window size.
  • Native xinput controller support. On Linux, DualShock 4 has been confirmed to work plug-and-play.
  • Analog camera control and mouse look. (Activate with make BETTERCAMERA=1.)
  • An option to disable drawing distances. (Activate with make NODRAWINGDISTANCE=1.)
  • Model and texture fixes. (Activate with make TEXTURE_FIX=1.)
  • In-game control binding.
  • Skip introductory Peach & Lakitu cutscenes with the --skip-intro CLI option
  • Disabling the HUD.
  • Cheats menu in Options. (Activate with --cheats) Please note that if a cheat asks you to press "L" it's referring to the N64 button. Check your bindings and make sure you have the "L" button mapped to a button in your controller.
  • Text-based save support. (Activate with make TEXTSAVES=1.)
  • Recent changes in Nightly have moved the save and configuration file path to %HOMEPATH%\AppData\Roaming\sm64pc on Windows and $HOME/.local/share/sm64pc on Linux. This behaviour can be changed with the --savepath CLI option. For example --savepath . will read saves from the current directory (which not always matches the exe directory, but most of the time it does); --savepath '!' will read saves from the executable directory.

Building

For building instructions, please refer to the wiki.

Make sure you have MXE first before attempting to compile for Windows on Linux and WSL. Follow the guide on the wiki.