summaryrefslogtreecommitdiffstats
path: root/tools/MakePS2CD/PS2DVD.bat
diff options
context:
space:
mode:
authorSvxy <aidan61605@gmail.com>2023-05-31 23:31:32 +0200
committerSvxy <aidan61605@gmail.com>2023-05-31 23:31:32 +0200
commiteb4b3404aa00220d659e532151dab13d642c17a3 (patch)
tree7e1107c4995489a26c4007e41b53ea8d00ab2134 /tools/MakePS2CD/PS2DVD.bat
downloadThe-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.gz
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.bz2
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.lz
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.xz
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.zst
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.zip
Diffstat (limited to 'tools/MakePS2CD/PS2DVD.bat')
-rw-r--r--tools/MakePS2CD/PS2DVD.bat33
1 files changed, 33 insertions, 0 deletions
diff --git a/tools/MakePS2CD/PS2DVD.bat b/tools/MakePS2CD/PS2DVD.bat
new file mode 100644
index 0000000..dd70f85
--- /dev/null
+++ b/tools/MakePS2CD/PS2DVD.bat
@@ -0,0 +1,33 @@
+SET PS2DIR="..\..\Game\cd\PS2"
+SET TEMPDISKDIR="d:\Burn\PS2Disk"
+SET ISOPATH="d:\Burn\PS2ISO"
+SET ISONAME="PS2"
+SET LICENCE=".\licence.000"
+SET MOVIESDIR=".\..\..\Game\ps2movies\real_movies"
+
+ECHO//////////////////////////////////////////////////////
+ECHO//MAKE PS2 DIrectory
+ECHO//////////////////////////////////////////////////////
+MD %TEMPDISKDIR%
+ROBOCOPY %PS2DIR%\ %TEMPDISKDIR% /MIR /XD art /XD movies
+
+ECHO//////////////////////////////////////////////////////
+ECHO//CEMENT ART
+ECHO//////////////////////////////////////////////////////
+..\..\game\libs\radcore\bin\filecementer.exe %TEMPDISKDIR%\art.rcf /basedir %PS2DIR% /add art\*
+RD /s /q %TEMPDISKDIR%\art\
+
+ECHO//////////////////////////////////////////////////////
+ECHO//COPY Movies
+ECHO//////////////////////////////////////////////////////
+ROBOCOPY %MOVIESDIR%\ %TEMPDISKDIR%\MOVIES /MIR
+
+ECHO/////////////////////////////////////////////////////
+ECHO//STRIP ExE
+ECHO/////////////////////////////////////////////////////
+DEL %TEMPDISKDIR%\slps_123.45
+RENAME %TEMPDISKDIR%\srr2pr.elf slps_123.45
+CALL ee-strip %TEMPDISKDIR%\slps_123.45
+
+DEL %TEMPDISKDIR%\*.elf
+