-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path3_build_cd.bat
48 lines (35 loc) · 1.48 KB
/
3_build_cd.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
del cd\linda_working.bin
del /s /q cd\linda\*
xcopy /s cd\orig\* cd\linda
del exe\SCPS_100.39
copy exe\orig\SCPS_100.39 exe\SCPS_100.39
tools\linda_generate_movie_subtitles.exe trans\movie_subs tools\movie_mapping.txt
echo Building Linda Cube Again PSX code
pushd code\linda
pmake -e RELMODE=DEBUG clean
mkdir Debug
pmake -e RELMODE=DEBUG -e OUTFILE=main -e OPTIMIZE=2
popd
tools\linda_cube_again_big_font_build.exe exe\orig\SCPS_100.39 exe\SCPS_100.39 font\big_font.bmp font\big_font.tbl
tools\linda_cube_again_font_build.exe font\font.bmp exe\SCPS_100.39
tools\linda_cube_again_baby_font_build.exe font\baby_font.bmp exe\SCPS_100.39
del exe_error.txt
echo trans\0008F380.txt >> exe_error.txt
tools\atlas exe\SCPS_100.39 trans\0008F380.txt >> exe_error.txt
echo trans\00091F6C.txt >> exe_error.txt
tools\atlas exe\SCPS_100.39 trans\00091F6C.txt >> exe_error.txt
copy /y NUL cd\linda\LINDA\SUBTITLE.DAT >NUL
tools\armips.exe code\linda_vwf.asm
del cd\linda\LINDA\LINDA.MIC
copy LINDA.MIC cd\linda\LINDA\LINDA.MIC
del cd\linda\LINDA\LINDA.PAC
copy ins\LINDA.PAC cd\linda\LINDA\LINDA.PAC
del cd\linda\SCPS_100.39
copy exe\SCPS_100.39 cd\linda\SCPS_100.39
::Build files
echo Building final bin file...
tools\mkpsxiso.exe cd\linda.xml -o cd\linda_working.bin -c cd\linda_working.cue
REM tools\psx-mode2.exe cd\linda_working.bin \LINDA\LINDA.MIC LINDA.MIC
REM tools\psx-mode2.exe cd\linda_working.bin /SCPS_100.39 exe\SCPS_100.39
echo Build complete!
echo: