-
Notifications
You must be signed in to change notification settings - Fork 1
/
ZeldaLinktothePast.txt
21 lines (20 loc) · 1.3 KB
/
ZeldaLinktothePast.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
The Legend of Zelda: A Link to the Past (ALttP) (1991 SNES)
MSYS2
- download MSYS2 (https://www.msys2.org/)
- install MSYS2 in "C:\msys64" directory
- install python (make sure "Add python.exe to PATH" is checked when running the python installer) (https://www.python.org/downloads/)
- open powershell
- pip install pillow pyyaml
- launch mingw64.exe in msys2 directory
- pacman -S vim git make python p7zip mingw-w64-x86_64-gcc mingw-w64-x86_64-glew mingw-w64-x86_64-SDL2 mingw-w64-x86_64-binutils mingw-w64-x86_64-python3-pillow mingw-w64-x86_64-python-yaml
- pacman -Syyu
- git clone --recursive https://github.com/snesrev/zelda3
- download Link to the Past US ROM
- place ROM in zelda3 directory ("tables" folder got renamed to "assets") (ROM no longer gets placed in "tables" or "assets" folder)
- open cmd
- cd assets
- python restool.py --extract-from-rom
- msys2 > cd ..
- export CFLAGS="-march=native -msahf -O3 -pipe -fno-plt -fno-common -fipa-pta -falign-functions=32 -fdevirtualize-at-ltrans -fuse-linker-plugin -floop-nest-optimize -fgraphite-identity -fexcess-precision=fast -flto=auto"
- export CXXFLAGS="-march=native -msahf -O3 -pipe -fno-plt -fno-common -fipa-pta -falign-functions=32 -fdevirtualize-at-ltrans -fuse-linker-plugin -floop-nest-optimize -fgraphite-identity -fexcess-precision=fast -flto=auto"
- make