aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/bamboo-build-win-delphi.bat
diff options
context:
space:
mode:
Diffstat (limited to 'Game/Code/bamboo-build-win-delphi.bat')
-rw-r--r--Game/Code/bamboo-build-win-delphi.bat24
1 files changed, 24 insertions, 0 deletions
diff --git a/Game/Code/bamboo-build-win-delphi.bat b/Game/Code/bamboo-build-win-delphi.bat
new file mode 100644
index 00000000..bbde59a3
--- /dev/null
+++ b/Game/Code/bamboo-build-win-delphi.bat
@@ -0,0 +1,24 @@
+del UltraStar.res
+"C:\Program Files\Borland\BDS\4.0\Bin\BRC32 -r UltraStar.RC
+
+"C:\Program Files\Borland\BDS\4.0\Bin\dcc32.exe" -U"lib\JEDI-SDLv1.0\SDL\Pas" -O"lib\JEDI-SDLv1.0\SDL\Pas" -I"lib\JEDI-SDLv1.0\SDL\Pas" -R"lib\JEDI-SDLv1.0\SDL\Pas" UltraStar.dpr
+copy UltraStar.exe ..\..\
+cd ..\..\
+
+
+cd ScoreConverter
+"C:\Program Files\Borland\BDS\4.0\Bin\dcc32.exe" -U"..\Game\Code\Lib\SQLite" -O"..\Game\Code\Lib\SQLite" -I"..\Game\Code\Lib\SQLite" -R"..\Game\Code\Lib\SQLite" ScoreConverter.dpr
+copy ScoreConverter.exe ..\
+
+cd ..\
+
+upx --force -9 *.exe
+
+cd Installer
+"E:\Programme\NSIS\makeNSIS.exe" UltraStarDeluxe.nsi
+
+cd u3portable
+7za.exe a -tzip Files.zip "Manifest\*" "Data\*" "Host\*"
+ren "Files.zip" "UltraStar Deluxe Portable.u3p"
+
+cd ..\..\Game\Code \ No newline at end of file