forked from sonicretro/s2smsdisasm
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.bat
52 lines (46 loc) · 2.18 KB
/
build.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
@echo off
set /P VersionType=What version are you building? (1 = Normal, 2 = Easy):
set /P Language=What language are you using? (1 = English, 2 = French):
cd src
echo Assembling game...
spasm64 -E -D Version=%VersionType% launcher.asm bin/sonic2.8xp
spasm64 -E -L -O -D Version=%VersionType% -D Listing=1 -D Language=%Language% s2.asm s2.8xv
echo Building Rom Listings...
spasm64 -E -L -D Listing=1 object_logic/bank28.asm bin/bank28.8xv
spasm64 -E -L -D Listing=1 appvars/bank30.asm bin/bank30.8xv
spasm64 -E -L -D Listing=1 appvars/bank31.asm bin/bank31.8xv
echo Bulding ROM Banks...
spasm64 -E -L appvars/bank04.asm bin/bank04.8xv
spasm64 -E -L appvars/bank05.asm bin/bank05.8xv
spasm64 -E -L appvars/bank06.asm bin/bank06.8xv
spasm64 -E -L appvars/bank07.asm bin/bank07.8xv
spasm64 -E -L appvars/bank08.asm bin/bank08.8xv
spasm64 -E -L appvars/bank09.asm bin/bank09.8xv
spasm64 -E -L appvars/bank10.asm bin/bank10.8xv
spasm64 -E -L appvars/bank11.asm bin/bank11.8xv
spasm64 -E -L appvars/bank12.asm bin/bank12.8xv
spasm64 -E -L appvars/bank13.asm bin/bank13.8xv
spasm64 -E -L appvars/bank14.asm bin/bank14.8xv
spasm64 -E -L appvars/bank15.asm bin/bank15.8xv
spasm64 -E -L appvars/bank16.asm bin/bank16.8xv
spasm64 -E -L appvars/bank17.asm bin/bank17.8xv
spasm64 -E -L appvars/bank18.asm bin/bank18.8xv
spasm64 -E -L appvars/bank19.asm bin/bank19.8xv
spasm64 -E -L appvars/bank20.asm bin/bank20.8xv
spasm64 -E -L appvars/bank21.asm bin/bank21.8xv
spasm64 -E -L appvars/bank22.asm bin/bank22.8xv
spasm64 -E -L appvars/bank23.asm bin/bank23.8xv
spasm64 -E -L appvars/bank24.asm bin/bank24.8xv
spasm64 -E -L appvars/bank25.asm bin/bank25.8xv
spasm64 -E -L appvars/bank26.asm bin/bank26.8xv
spasm64 -E -L appvars/bank27.asm bin/bank27.8xv
spasm64 -E -D Listing=0 object_logic/bank28.asm bin/bank28.8xv
spasm64 -E -L bank29.asm bin/bank29.8xv
spasm64 -E -D Listing=0 appvars/bank30.asm bin/bank30.8xv
spasm64 -E -D Listing=0 appvars/bank31.asm bin/bank31.8xv
spasm64 -E -L SHC/SHC.asm bin/bank32.8xv
spasm64 -E -D Version=%VersionType% -D Listing=0 -D Language=%Language% s2.asm bin/Sonic2.8xv
cd ..
echo Sonic the Hedgehog created by Sega
echo Sonic the Hedgehog 2 8-bit developed by Aspect
echo Sonic 2 CE ported by grubbycoder