
Stop., you are not in the correct directory. If you get make: *** No targets specified and no makefile found.If you are in the sm64-port directory, make sure you see it here. You can write ls to list the files in the current working directory. If you get Failed to open .z64! you failed to place the baserom in the repository.The terminal prompt should contain "MINGW32" or "MINGW64" in purple text, and NOT "MSYS". If you get make: gcc: command not found or make: gcc: No such file or directory although the packages did successfully install, you probably launched the wrong MSYS2.The executable binary will be located at build/_pc/ inside the repository.You can change the current working directory to My Documents by entering cd /c/Users//Documents. At the prompt, you will see the current working directory in yellow. The MSYS2 terminal has a current working directory that initially is C:\msys64\home\ (home directory).Do NOT by mistake install the package called simply gcc.32-bit (will also work on 64-bit machines): Launch "MSYS2 MinGW 32-bit" and install: pacman -S git make python3 mingw-w64-i686-gcc.64-bit: Launch "MSYS2 MinGW 64-bit" and install: pacman -S git make python3 mingw-w64-x86_64-gcc.From the start menu, launch MSYS2 MinGW and install required packages depending on your machine (do NOT launch "MSYS2 MSYS"):.Install and update MSYS2, following all the directions listed on.The executable binary will be located at build/_pc/sm64.f3dex2e.Add -j4 to improve build speed (hardware dependent based on the amount of CPU cores available). Qualify the version through make VERSION=. Place a Super Mario 64 ROM called baserom.z64 into the repository's root directory for asset extraction, where VERSION can be us, jp, or eu.Clone the repo: git clone, which will create a directory sm64-port and then enter it cd sm64-port.Install prerequisites (Ubuntu): sudo apt install -y git build-essential pkg-config libusb-1.0-0-dev libsdl2-dev.This repo does not include all assets necessary for compiling the game.Ī prior copy of the game is required to extract the assets. Beyond Nintendo 64, it can also target Linux and Windows natively.Naming and documentation of the source code and data structures are in progress.This repo contains a full decompilation of Super Mario 64 (J), (U), (E), and (SH).
