Building - FUComplete/Patch GitHub Wiki
Dependencies
Arch:
cdrtools
cmake
git
python
python-pip
python-setuptools
p7zip
wget
Ubuntu:
git
python-is-python3
python3
python3-pip
python3-setuptools
python3-venv
make
cmake
p7zip-full
wget
You will also need the cdrtools ppa ppa:brandonsnider/cdrtools
Setup
Create a folder called iso
and place your P2G.iso
(clean image of Portable 2nd G) and FUC.iso
(FUComplete patched image) inside. Also create a folder called tools
and place deceboot_0_3.zip
inside.
The folder/file structure should look like this:
.
โโโโ.git
โโโโdata
โโโโiso
โ โโโโP2G.iso
โ โโโโFUC.iso
โโโโmodloader
โโโโmods
โโโโpatches
โโโโtools
โโโโdeceboot_0_3.zip
.gitignore
build_iso.sh
build.sh
events_builder.sh
main.asm
README.md
setup.sh
ULJM05500.ini
Now run ./setup.sh
and let it finish, it'll take a while.
Building
To build, run ./build.sh
. This will build the asm patches, replace the code in the game and have a iso root folder in build/ISO_ROOT
.
If you wish to replace additional files in the build process, place them in the build/data_in
folder as their numerical name (refer to data/index.csv
for a list of numbers/names) and rerun the build script.
The generated loader.bin
/config.bin
are in build/ISO_ROOT/FUC/
if you wish to test modloader.
NOTE:
loader.bin
/config.bin
are a paired set... if you add to modloader and do not use the generated config.bin
after building, you will end up having issues... so please make sure you update any existing loader/config you may have with PPSSPP.
Building ISO
Once you are happy with your changes, you can build the ISO by running ./build_iso.sh
. You can find the iso in build/FUC_Debug.ISO
.