-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_ips.bat
28 lines (21 loc) · 1.01 KB
/
build_ips.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@echo off
echo Aladdin Practice Hack by InsaneFirebat, forked from Super Metroid
cd resources
echo Creating dummy ROMs: 00 and FF filled .sfc files
python create_dummies.py 00.sfc ff.sfc
echo Patching dummies
copy *.sfc ..\build
..\tools\asar\asar.exe --no-title-check -DDEV_BUILD=0 ..\src\main.asm ..\build\00.sfc
..\tools\asar\asar.exe --no-title-check -DDEV_BUILD=0 ..\src\main.asm ..\build\ff.sfc
echo Creating IPS patch from dummies
python create_ips.py ..\build\00.sfc ..\build\ff.sfc ..\build\Aladdin_Practice_1.0.2.ips
echo Patching dummies (savestates enabled)
copy *.sfc ..\build
..\tools\asar\asar.exe --no-title-check -DDEV_BUILD=0 -DFEATURE_SAVESTATES=1 ..\src\main.asm ..\build\00.sfc
..\tools\asar\asar.exe --no-title-check -DDEV_BUILD=0 -DFEATURE_SAVESTATES=1 ..\src\main.asm ..\build\ff.sfc
echo Creating IPS patch from dummies
python create_ips.py ..\build\00.sfc ..\build\ff.sfc ..\build\Aladdin_Practice_Savestates_1.0.2.ips
echo Cleaning up dummies
del 00.sfc ff.sfc ..\build\00.sfc ..\build\ff.sfc
cd ..
PAUSE