Experimental PKG generation support

This commit is contained in:
jaby 2024-02-27 22:31:41 -05:00
parent 5ed8b76902
commit 36fdbc1710
6 changed files with 43 additions and 3 deletions

11
bin/run_pop_fe.bat Normal file
View File

@ -0,0 +1,11 @@
rem %1 input cue file
rem %2 Optional picture files
setlocal ENABLEDELAYEDEXPANSION
echo %PATH%
if [%2] == [] (
set img_input=
) else (
set img_input=--cover %2/cover.png --pic0 %2/pic0.png --pic1 %2/pic1.png
)
pop-fe.exe --ps3-pkg=%~dpn1.pkg %img_input% %1

View File

@ -1,5 +1,6 @@
*.bin
*.cue
*.pkg
*.d
*.o
*.lba

View File

@ -27,6 +27,19 @@
}
}
},
{
"label": "create pkg (experimental)",
"type": "shell",
"command": "run_pop_fe.bat ${workspaceFolder}/iso/${input:region}/PoolBox.cue",
"group": "build",
"options": {
// v otherwise the tool won't start...
"cwd": "${env:POP_FE_PATH}",
"env": {
"PATH": "${env:JABY_ENGINE_PATH}/bin;${env:PATH}"
}
}
},
{
"label": "read memory map",
"type": "shell",

View File

@ -7,8 +7,9 @@ $(CD_OUTPUT): always
all: $(CD_OUTPUT)
clean:
rm -fr $(TV_FORMAT)/*.bin
rm -fr $(TV_FORMAT)/*.cue
rm -fr $(TV_FORMAT)/*.lba
rm -fr $(REGION)/*.bin
rm -fr $(REGION)/*.cue
rm -fr $(REGION)/*.lba
rm -fr $(REGION)/*.pkg
always: ;

View File

@ -27,6 +27,19 @@
}
}
},
{
"label": "create pkg (experimental)",
"type": "shell",
"command": "run_pop_fe.bat ${workspaceFolder}/iso/${input:region}/#{ProjectName}.cue",
"group": "build",
"options": {
// v otherwise the tool won't start...
"cwd": "${env:POP_FE_PATH}",
"env": {
"PATH": "${env:JABY_ENGINE_PATH}/bin;${env:PATH}"
}
}
},
{
"label": "read memory map",
"type": "shell",

View File

@ -1,5 +1,6 @@
*.bin
*.cue
*.pkg
*.d
*.o
*.lba