This repository contains scripts designed to decrypt, unpack, and repack files generated by SRPG Studio. These tools are useful for those who want to modify or analyze the contents of SRPG Studio game projects.
Before using the scripts, ensure that you have the necessary dependencies installed:
pip install filetype pycryptodome
Use the following command to extract or decrypt game resources:
python extract.py game_directory [-p password] [-o output_directory]
After extracting or modifying resources, you can repack them using these commands:
# Unpack resources to prepare for repacking
python unpack.py game_directory [-p password] [-o output_directory]
# Repack the resources into the original format
python pack.py directory [-o output_directory]
The scripts currently support the following file types:
data.dts
*.srk
These scripts have been tested with the following versions of the SRPG Studio Game Engine:
- v1.279
- v1.291
- Ensure that all dependencies are installed before running the scripts.
- If you plan to repack game resources, make sure to use
unpack.py
to extract them first, as this will prepare the files correctly for repacking.