Prepare usage of psxcdgen
This commit is contained in:
parent
9b4041a393
commit
0d0e25c958
|
@ -19,10 +19,10 @@
|
||||||
{
|
{
|
||||||
"label": "finalize",
|
"label": "finalize",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "FinalizeCD.bat ${input:finalize} JabyEngine Library\\Code",
|
"command": "Finalize.bat ${input:finalize_tool} ${input:finalize} JabyEngine Library\\Code",
|
||||||
"options": {
|
"options": {
|
||||||
"env": {
|
"env": {
|
||||||
"PATH": "../../Tools/;../../Tools/mkpsxiso;${env:PATH}"
|
"PATH": "./Tools/;../../Tools/;../../Tools/mkpsxiso;${env:PATH}"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"group": {
|
"group": {
|
||||||
|
@ -86,7 +86,13 @@
|
||||||
"options": ["all", "calculate", "skip"],
|
"options": ["all", "calculate", "skip"],
|
||||||
"default": "all"
|
"default": "all"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "finalize_tool",
|
||||||
|
"type": "pickString",
|
||||||
|
"description": "Tool to use for Finalizing the CD",
|
||||||
|
"options": ["mkpsxiso.exe"],
|
||||||
|
"default": "mkpsxiso.exe"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "target",
|
"id": "target",
|
||||||
"type": "pickString",
|
"type": "pickString",
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue