First draft for pop-fe
This commit is contained in:
parent
fd5b507023
commit
a7557f26dc
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
source extern/py3venv/bin/activate
|
||||||
|
|
||||||
|
cd extern/pop-fe/
|
||||||
|
./pop-fe.py --title=MyGame --ps1-newemu --cover=$2/Icon.png --pic0=$2/Pic0.png --pic1=$2/Pic1.png --ps3-pkg="${1%.*}.pkg" $1
|
|
@ -12,7 +12,8 @@ endif
|
||||||
ifeq ($(REGION),SCEE)
|
ifeq ($(REGION),SCEE)
|
||||||
export PSX_TV_FORMAT=PAL
|
export PSX_TV_FORMAT=PAL
|
||||||
export PSX_LICENSE=LICENSEE
|
export PSX_LICENSE=LICENSEE
|
||||||
export PSX_BOOT_FILE=SLES_000.25
|
export PSX_BOOT_FILE=SLES_AAA.AA
|
||||||
|
#SLES_000.25
|
||||||
endif
|
endif
|
||||||
ifeq ($(REGION),SCEA)
|
ifeq ($(REGION),SCEA)
|
||||||
export PSX_TV_FORMAT=NTSC
|
export PSX_TV_FORMAT=NTSC
|
||||||
|
|
|
@ -30,11 +30,11 @@
|
||||||
{
|
{
|
||||||
"label": "create pkg (experimental)",
|
"label": "create pkg (experimental)",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "run_pop_fe.bat ${workspaceFolder}/iso/${input:region}/PoolBox.cue",
|
"command": "wsl ./run_pop_fe.sh $(wslpath ${workspaceFolder}/iso/${input:region}/PoolBox.cue) $(wslpath ${workspaceFolder}/iso)",
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"options": {
|
"options": {
|
||||||
// v otherwise the tool won't start...
|
// v otherwise the tool won't start...
|
||||||
"cwd": "${env:POP_FE_PATH}",
|
"cwd": "${env:JABY_ENGINE_PATH}/bin",
|
||||||
"env": {
|
"env": {
|
||||||
"PATH": "${env:JABY_ENGINE_PATH}/bin;${env:PATH}"
|
"PATH": "${env:JABY_ENGINE_PATH}/bin;${env:PATH}"
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -12,7 +12,7 @@
|
||||||
# Todo
|
# Todo
|
||||||
- [ ] Ko-fi supporter list
|
- [ ] Ko-fi supporter list
|
||||||
- [ ] Support more GTE
|
- [ ] Support more GTE
|
||||||
- [ ] Easy serial code swap
|
- [X] Easy serial code swap
|
||||||
- [ ] Support .subst files to be substituted with environment variables
|
- [X] Support .subst files to be substituted with environment variables
|
||||||
- [ ] PS3 PKG generation tool?
|
- [ ] PS3 PKG generation tool?
|
||||||
- [ ] PS3 runtime detection?
|
- [ ] PS3 runtime detection?
|
|
@ -0,0 +1,32 @@
|
||||||
|
#!/bin/bash
|
||||||
|
BASEDIR=$(dirname "$0")
|
||||||
|
mkdir -p $BASEDIR/../bin/extern/
|
||||||
|
cd $BASEDIR/../bin/extern
|
||||||
|
|
||||||
|
sudo apt install -y python3 python3-pip python3-venv pkg-config libiso9660-dev swig
|
||||||
|
if ! test -d py3venv; then
|
||||||
|
python3 -m venv py3venv
|
||||||
|
fi
|
||||||
|
source py3venv/bin/activate
|
||||||
|
pip3 install ecdsa wheel pillow rarfile PyPDF2 requests opencv-contrib-python pycryptodome pycdio pycdlib
|
||||||
|
|
||||||
|
if ! test -d pop-fe; then
|
||||||
|
git clone https://github.com/sahlberg/pop-fe
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! test -d Cue2cu2; then
|
||||||
|
git clone https://github.com/NRGDEAD/Cue2cu2
|
||||||
|
cp Cue2cu2/cue2cu2.py pop-fe
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd pop-fe
|
||||||
|
if ! test -d PSL1GHT; then
|
||||||
|
git clone https://github.com/sahlberg/PSL1GHT
|
||||||
|
cd PSL1GHT/tools/ps3py
|
||||||
|
git checkout origin/use-python3
|
||||||
|
make
|
||||||
|
fi
|
||||||
|
|
||||||
|
#if ! test -f /usr/local/bin/python; then
|
||||||
|
# sudo ln -s $(which python3) /usr/local/bin/python
|
||||||
|
#fi
|
|
@ -1 +1,2 @@
|
||||||
|
#!/bin/bash
|
||||||
sudo curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
sudo curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
Loading…
Reference in New Issue