mirror of
https://github.com/kmc-jp/n64-emu.git
synced 2025-04-02 10:21:43 -04:00
Low-level Nintendo64 emulator 🌏
roms | ||
src | ||
tests | ||
third_party | ||
.clang-format | ||
.gitignore | ||
.gitmodules | ||
CMakeLists.txt | ||
CONTRIBUTING.md | ||
README.md | ||
sdl2-config.cmake |
n64-emu
An experimental Nintendo 64 emulator.
NOTE
n64-emu is in a very early stage of development now. No commercial ROM can run on it.
Build
We do not distribute pre-build binaries. You need to build from source.
Prerequisites
- Little endian machine
- a C++ compiler compatible with C++20
- CMake
We support MSVC++. Clang and GCC are not tested for now.
Linux
sudo apt install cmake libsdl2-dev g++
git clone --recursive git@github.com:kmc-jp/n64-emu.git
cd n64-emu
mkdir build
cd build
# configure build
cmake ..
# build
make # or cmake --build .
Windows
- Donwload SDL2 from https://github.com/libsdl-org/SDL/releases and extract it.
- Set
SDL2_DIR
environment variable point that to the location where you extracted the SDL2 development package. - Run the follwoing commands
git clone --recursive git@github.com:kmc-jp/n64-emu.git
cd n64-emu
mkdir build
cd build
# configure build
cmake ..
# build
make # or cmake --build .
macOS
TODO
Run
Only the z64 format (big enddian) is supported.
./n64[.exe] <rom_file.z64>
Test
# In build directory
ctest -C Debug
Contributing
We do not currently accept pull requests to add new feature. But bug reports and bug fixes are always welcome 😀 See CONTRIBUTING.md(ja).