Prepare usage of psxcdgen
This commit is contained in:
18
Tools/Finalize.bat
Normal file
18
Tools/Finalize.bat
Normal file
@@ -0,0 +1,18 @@
|
||||
@echo off
|
||||
if not exist "%4\iso\Info" mkdir %4\iso\Info
|
||||
if not exist "iso" mkdir iso
|
||||
|
||||
if %2 == skip goto end
|
||||
|
||||
if not exist "%4/bin/GlobalLBATable.bin" echo Planschi > "%4%/bin/GlobalLBATable.bin"
|
||||
|
||||
echo "Calculate LBAs"
|
||||
%1 -y -lba %4\iso\Info\%3.lba -lbahead %4\iso\Info\%3.h -noisogen %4\iso\%3ISODesc.xml
|
||||
if exist "%4\iso\%3LBAFile.json" LBAHacker.exe %4\iso\%3LBAFile.json
|
||||
|
||||
if %2 == calculate goto end
|
||||
|
||||
%1 -y %4\iso\%3ISODesc.xml *> nul
|
||||
echo "Wrote ISO image"
|
||||
|
||||
:end
|
||||
Reference in New Issue
Block a user