diff options
Diffstat (limited to 'tools/MakePS2CD/PS2CD.bat')
-rw-r--r-- | tools/MakePS2CD/PS2CD.bat | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/tools/MakePS2CD/PS2CD.bat b/tools/MakePS2CD/PS2CD.bat new file mode 100644 index 0000000..51a40d2 --- /dev/null +++ b/tools/MakePS2CD/PS2CD.bat @@ -0,0 +1,38 @@ +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\placeholder_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//MAKE ISO IMAGE +ECHO///////////////////////////////////////////////////// +MD %ISOPATH% +DEL /q %ISOPATH%\%ISONAME%.iso +DEL /q %ISOPATH%\%ISONAME%.cue + +DEL %TEMPDISKDIR%\slps_123.45 +RENAME %TEMPDISKDIR%\srr2pr.elf slps_123.45 +CALL ee-strip %TEMPDISKDIR%\slps_123.45 + +DEL %TEMPDISKDIR%\*.elf + +CALL mkps2iso.exe -nolimit %TEMPDISKDIR% %ISOPATH%\\%ISONAME%.iso %LICENCE%
\ No newline at end of file |