-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild_ips.bat
More file actions
28 lines (21 loc) · 976 Bytes
/
Copy pathbuild_ips.bat
File metadata and controls
28 lines (21 loc) · 976 Bytes
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 The Lion King Practice Hack by SBDWolf and InsaneFirebat
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 ..\src\main.asm ..\build\00.sfc
..\tools\asar\asar.exe --no-title-check ..\src\main.asm ..\build\ff.sfc
echo Creating IPS patch from dummies
python create_ips.py ..\build\00.sfc ..\build\ff.sfc ..\build\LionKing_Practice_2.0.X.ips
echo Patching dummies (savestates enabled)
copy *.sfc ..\build
..\tools\asar\asar.exe --no-title-check -DFEATURE_SAVESTATES=1 ..\src\main.asm ..\build\00.sfc
..\tools\asar\asar.exe --no-title-check -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\LionKing_Practice_Savestates_2.0.X.ips
echo Cleaning up dummies
del 00.sfc ff.sfc ..\build\00.sfc ..\build\ff.sfc
cd ..
PAUSE