This Python script allows you to unpack and merage ajpg files used in Disney's MMO games.
ajpg is a format used in Disney's MMO games to pack multiple files into a single compressed archive (images). This script allows you to unpack ajpg files and extract the individual files within them. Additionally, it provides functionality to merge p & j files into a images.
- Python 3.x
To run the scripts, you might need to install the required Python modules. You can install them using pip
: install pillow lxml
For detailed instructions on how to use the ajpg Utils scripts, refer to the How to Use (Guide).
-
Clone this repository or download the Python script files.
-
Open a terminal or command prompt and navigate to the directory containing the script files.
-
To unpack an ajpg file, run the script:
python ajpg.py
-
For merging "j" and "p" files, run the script:
python composite.py
-
Follow the on-screen instructions for providing input paths and options.
This script allows you to unpack ajpg files, extracting their contents to individual files. It supports both standalone ajpg files and folders containing multiple ajpg files.
This script enables the merging of "j" and "p" images within corresponding subfolders. It creates merged images with alpha channels, where the merged image filename matches the subfolder name.
- ByteArray - The ByteArray module used for handling binary data.
- Original DPak Code Source - Source of inspiration for handling .ajpg files.
- creativelynameduser - Helping with composite.py Script