Go to file
fgsfds 33b4bd7f8d don't use the noise shader on GLES 2020-06-10 00:58:44 +03:00
.github/ISSUE_TEMPLATE
actors fix crashes with EXTERNAL_TEXTURES on JP/EU and Bowser 2020-05-27 02:51:21 +03:00
asm
assets
bin Merge pull request #179 from dernett/fix-fullscreen-text 2020-05-19 03:19:37 +03:00
data Revert "Fixes billboarding-related problems" 2020-05-17 03:29:19 -03:00
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 add virtual filesystem thing w/ ZIP support 2020-06-07 21:06:25 +03:00
levels Removed majority of TARGET_N64 logic from code 2020-05-13 07:57:25 -04:00
lib forgot the actual libs 2020-06-09 20:49:35 +03:00
sound
src don't use the noise shader on GLES 2020-06-10 00:58:44 +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 Support for text-based savefiles 2020-05-18 17:44:21 +09:00
CHANGES
Dockerfile Fix emsdk install and PATH update 2020-05-10 20:18:04 -07:00
Doxyfile
Jenkinsfile
Makefile move the discord-rpc libs to lib/ 2020-06-09 20:19:22 +03:00
Makefile.split add option to load textures from external files 2020-05-25 04:22:03 +03:00
README.md Update README.md 2020-06-05 21:19:44 +03:00
README_es_ES.md Update README_es_ES.md 2020-05-19 00:04:07 +01:00
README_zh_CN.md Typo in extract_assets.py 2020-05-16 15:44:55 -03:00
SAVE_FORMAT.MD Added appropriate flags for sound mode and cap level. Documentation has been updated. 2020-05-20 23:28:04 +09:00
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 correct line endings 2020-05-16 07:36:28 +03:00
charmap.txt
charmap_menu.txt
diff.py
diff_settings.py
extract_assets.py Better way to detect mingw-w64; fix bettercamera for mingw.org; close 2020-05-15 00:26:56 +08:00
first-diff.py
format.sh
obj2c.py correct line endings 2020-05-16 07:36:28 +03:00
pisetup.sh Update to pisetup.sh 2020-05-13 11:35:22 -03:00
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 简体中文.

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.