-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.bat
63 lines (50 loc) · 1.95 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
53
54
55
56
57
58
59
60
61
62
63
@echo off
set working_name=working
set original_name=orig
set working_iso=Mask_of_Death_Working.iso
echo Clearing out the old files and create a clean workspace...
del /s /q cd\%working_name%\* 1>nul
Xcopy /E /q cd\%original_name%\ cd\%working_name%\ 1>nul
echo:
echo Adding in modified system files for compilation...
del /s /q cd\%working_name%\System\* 1>nul
rmdir /s /q cd\%working_name%\System 1>nul
mkdir cd\%working_name%\System 1>nul
Xcopy /E /q System_modified cd\%working_name%\System 1>nul
copy images\BannerScreen cd\%working_name%\ 1>nul
echo:
echo Converting all images to cels and inserting...
python tools\BMPToCEL.py images\ cd\%working_name%\
echo:
echo Copying all script files over...
python tools\CopyFileWithUnixEndings.py scripts\girford\fight.com cd\%working_name%\girford
python tools\CopyFileWithUnixEndings.py scripts\girford\item.com cd\%working_name%\girford
echo:
echo Copying... Launchme over and insert the translations...
copy cd\%original_name%\Launchme exe\Launchme
tools\atlas exe\Launchme exe\exe_translations.txt >> exe_error.txt
copy exe\Launchme cd\%working_name%\Launchme
echo:
echo Copying over the new font...
copy font\kanji.fnt cd\%working_name%\kanji.fnt
echo:
echo Moving over the terrible voice acting...
copy voices\serifu\*.aifc cd\%working_name%\serifu\
echo:
echo Adding less obnoxious background music...
copy music\house1.aifc cd\%working_name%\house1.aifc
echo:
::echo Convert bmp sprite sheets to anims
::tools\BMPTo3DOAnim.exe 24 24 anims\SUB_TITLE01.bmp cd\working\jyanpai\AnimationData\sub_title\SUB_TITLE01.ANIM
::echo:
echo Creating final iso...
tools\3doiso.exe -in cd\working -out "cd\%working_iso%"
echo:
echo Signing release...
tools\3DOHomebrewSigning.exe genromtags "cd\%working_iso%"
echo:
echo #######################################################
echo "Build complete!"
echo #######################################################
echo:
pause