-
Notifications
You must be signed in to change notification settings - Fork 5
Usage
Seregon edited this page Oct 23, 2023
·
1 revision
Here is the Usage page content in English:
This page provides detailed instructions on how to install and use APFU - PS4 Pup File Extractor.
To install APFU:
- Clone the GitHub repository:
git clone https://github.com/seregonwar/Pup-file-extractor
- Install the required Python dependencies:
pip install -r requirements.txt
- Run the main script:
python pup_unpacker.py
To use APFU:
-
Launch
pup_unpacker.py -
Select the PUP file via the file dialog
-
Files contained in the PUP will be extracted to the same folder
APFU supports several command line options:
usage: pup_unpacker.py [-h] [-v] pup_file
Positional arguments:
pup_file Path to PUP file for extraction
Optional arguments:
-h, --help Show this help message and exit
-v, --verbose Verbose output
For example, to enable verbose output:
python pup_unpacker.py -v firmware.pup
The main classes and functions in pup_unpacker.py can be imported and used in other Python scripts:
import pup_unpacker
pup = pup_unpacker.Pup("firmware.pup")
for file in pup.extract_all():
print(file)See the source code for full details on the available API.
Let me know if you would like me to expand or add details to this Usage page.