-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSuperMetroid.txt
17 lines (16 loc) · 928 Bytes
/
SuperMetroid.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Super Metroid
- https://github.com/snesrev/sm
- https://github.com/enderandrew/sm_rewrite (DONT USE)
MSYS2
- download MSYS2 (https://www.msys2.org/)
- install MSYS2 in "C:\msys64" directory
- launch mingw64.exe in msys2 directory
- git clone --recursive https://github.com/snesrev/sm
- pacman -S mingw-w64-x86_64-SDL2 make mingw-w64-x86_64-gcc python vim
- pacman -Syyu
- download Super Metroid (JU) ROM (JU = Japan USA)
- rename ROM file "sm.smc"
- put in "sm" directory
- 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