-
Notifications
You must be signed in to change notification settings - Fork 1
/
SuperMarioAllStars.txt
24 lines (23 loc) · 1.38 KB
/
SuperMarioAllStars.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Super Mario All-Stars
- Super Mario Bros 1 NES (smb1.sfc)
- Super Mario Bros Lost Levels / Super Mario Bros 2 JAPAN (smbll.sfc)
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/smw
- pacman -S mingw-w64-x86_64-SDL2 make mingw-w64-x86_64-gcc python vim
- pacman -Syyu
- download Super Mario All-Stars ROM (smc is wrong ROM hash)
- rename ROM file "smas.sfc"
- put in "smw/other" 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 zstandard
- cd C:\msys64\home\penny\smw\other
- extract.py
- Move "smb1.sfc" and "smbll.sfc" to smw 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
- drag "smb1.sfc" (Super Mario Bros 1 NES) or "smbll.sfc" (Super Mario Bros Lost Levels / Super Mario Bros 2 JAPAN) on top of smw.exe to launch desired game