Merge 7eaa28c22b
into 07cfe51010
This commit is contained in:
commit
f6030a3efc
|
@ -55,8 +55,15 @@ rt64.log
|
||||||
|
|
||||||
node_modules/
|
node_modules/
|
||||||
|
|
||||||
# Recompiler Linux binary
|
# Recompiler Linux binaries
|
||||||
N64Recomp
|
N64Recomp
|
||||||
|
RSPRecomp
|
||||||
|
|
||||||
|
# Developer environment setup directories
|
||||||
|
elf_generating_decomp
|
||||||
|
recomp_for_zelda
|
||||||
|
|
||||||
|
# macOS specific directory information file
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
# Controller mappings file
|
# Controller mappings file
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
mkdir recomp_for_zelda
|
||||||
|
cd recomp_for_zelda
|
||||||
|
git clone https://github.com/N64Recomp/N64Recomp.git
|
||||||
|
cd N64Recomp
|
||||||
|
git checkout 8dfed04919b7bfdd0fd34ff049eed7020dea0d71
|
||||||
|
git submodule update --init --recursive
|
||||||
|
cmake -DCMAKE_BUILD_TYPE=Release -G Ninja -S . -B cmake-build
|
||||||
|
cmake --build cmake-build --config Release --target N64Recomp -j$(nproc)
|
||||||
|
cmake --build cmake-build --config Release --target RSPRecomp -j$(nproc)
|
||||||
|
cp cmake-build/N64Recomp ../../
|
||||||
|
cp cmake-build/RSPRecomp ../../
|
|
@ -0,0 +1,38 @@
|
||||||
|
# todo: check for and verify correct baserom exists
|
||||||
|
|
||||||
|
mkdir -p elf_generating_decomp
|
||||||
|
cd elf_generating_decomp
|
||||||
|
|
||||||
|
# clone decomp
|
||||||
|
git clone https://github.com/zeldaret/mm.git
|
||||||
|
|
||||||
|
# enter the decomp directory
|
||||||
|
cd mm
|
||||||
|
|
||||||
|
# checkout the required commit of decomp to generate the elf
|
||||||
|
git checkout 23beee0717364de43ca9a82957cc910cf818de90
|
||||||
|
|
||||||
|
# cherry pick the disasm.py fix
|
||||||
|
git cherry-pick 3b8db093f6f9cfb5850a7100ba8aff0c1b099e42
|
||||||
|
|
||||||
|
# copy the baserom into the decomp directory
|
||||||
|
cp ../../baserom.mm.us.rev1.z64 .
|
||||||
|
|
||||||
|
# create a python virtual environment to install decomp deps
|
||||||
|
python3 -m venv .mm-env
|
||||||
|
|
||||||
|
# activate the venv
|
||||||
|
source .mm-env/bin/activate
|
||||||
|
|
||||||
|
# install decomp deps
|
||||||
|
pip install -r requirements.txt
|
||||||
|
|
||||||
|
# generate the elf/decompressed rom
|
||||||
|
make init -j$(nproc)
|
||||||
|
|
||||||
|
# deactivate the venv
|
||||||
|
deactivate
|
||||||
|
|
||||||
|
# copy the elf and uncompressed rom to Zelda64Recomp repo root
|
||||||
|
cp ./mm.us.rev1.rom_uncompressed.elf ../../
|
||||||
|
cp ./mm.us.rev1.rom_uncompressed.z64 ../../
|
|
@ -0,0 +1,3 @@
|
||||||
|
./N64Recomp us.rev1.toml
|
||||||
|
./RSPRecomp aspMain.us.rev1.toml
|
||||||
|
./RSPRecomp njpgdspMain.us.rev1.toml
|
Loading…
Reference in New Issue