Skip to content

Latest commit

 

History

History
104 lines (76 loc) · 3.39 KB

README.md

File metadata and controls

104 lines (76 loc) · 3.39 KB

sm64ds-remastered

Fork of AloXado320/sm64ex-alo

Backends included

Building

Clone the repository:

git clone https://github.com/ExcellentGamer/sm64ds-remastered
cd sm64ds-remastered

Note: On Unix systems you may need to do this before doing any changes:

git config core.fileMode false
chmod -R 775 .

Copy baserom(s) for asset extraction:

For each version (jp/us/eu/sh) for which you want to build an executable, put an existing ROM at ./baserom.<VERSION>.z64 for asset extraction.

By default it builds the US version.

To build for N64, click here.

Note: Only tested in WSL, works on (Debian / Ubuntu) as well, other distros untested.

Install build dependencies:

sudo apt install -y binutils-mips-linux-gnu build-essential git pkgconf python3 gcc-mips-linux-gnu

Build:

# if you have more cores available, you can increase the -j parameter
make -j4 TARGET_N64=1 

ROM location:

build/us/sm64dsr.us.(currentver).z64
To build for Android, click here.

Note: Only Termux build is supported.

Install Termux

Install the app from F-Droid here

Make sure you use this version, as the Google Play version is outdated.

Install build dependencies

pkg install git wget make python getconf zip apksigner clang binutils which libglvnd-dev

Copy in your baserom:

Do this using your default file manager (on AOSP, you can slide on the left and there will be a "Termux" option there), or using Termux.

termux-setup-storage
cp /sdcard/path/to/your/baserom.z64 ./baserom.us.z64

Install external dependencies

cd platform/android/ && ./getkhrplatform.sh && ./getSDL.sh && cd ../..

Build

# if you have more cores available, you can increase the -j parameter
# On Termux, TARGET_ANDROID=1 is defined automatically in Makefile
make -j4

Copying and Installing apk:

Do this to move the apk to the root of your storage then open it using a file manager.

xdg-open build/us_android/sm64dsr.us.(currentver).apk /sdcard/sm64dsr.us.(currentver).apk