RPX-KIT
Description
A toolkit for extracting or viewing only RPA-3.0 archives made with Renpy
Features
Safe Unpickling. Uses a custom SafeUnpickler that blocks all external imports during deserialization.
Zero Dependencies.
CLI Mask Filtering. Filter files directly using shell-style patterns (e.g., -m "*.png"). Extract or list only what you need without dumping the entire archive to disk first.
Cross-Platform. Works identically on Windows, Linux, and macOS. Path handling is abstracted via pathlib, so no slash-related issues.
Installation
Via pip
pip install git+https://github.com/Padorublad3/rpx-kit.git
Usage
rpx-kit [-l | -o DIR] [-m PATTERN]... INPUT_PATH
Arguments:
INPUT_PATHS Input .rpa archive(s) files or directory
Options:
-l, --list Print list of files contained in the archive
-o, --output Target directory for extraction (creates if missing)
-m, --mask Filter by fnmatch pattern (repeatable, e.g., -m "*.png")
Examples
List all PNG and JPG files:
rpx-kit mygame/archive.rpa -m "*.png" -m "*.jpg" -l
Save the list to a text file:
rpx-kit mygame/archive.rpa -m "*.png" -m "*.jpg" -l > result.txt
Extract only PNG and JPG files to a folder:
rpx-kit mygame/archive.rpa -m "*.png" -m "*.jpg" -o destination_folder
rpx-kit mygame/archive.rpa mygame/archive2.rpa -m "*.png" -m "*.jpg" -o destination_folder
rpx-kit mygame -m "*.png" -m "*.jpg" -o destination_folder
Mask Cheat Sheet
Masks use standard shell-style patterns (fnmatch). Remember to wrap them in quotes!
| Pattern | Meaning | Example Match |
|---|---|---|
* |
Matches any sequence of characters (including none) | *.png → image.png, bg/day.png |
? |
Matches exactly one character | img?.png → img1.png, but NOT img10.png |
[abc] |
Matches one char from the set | file[123].txt → file1.txt, file2.txt |
[a-z] |
Matches one char in a range | letter[a-e].rpyc → lettera.rpyc |
[!abc] |
Matches one char NOT in the set | img[!0-9].png → imgA.png, but NOT img1.png |
Tips:
- Extensions: Always start with
*.for extensions. ✅-m "*.jpg"❌-m ".jpg"(looks for a file literally named.jpg) - Paths vs Names: Masks work on both full paths and filenames.
-m "images/*"finds everything inside theimages/folder.-m "bg_*"finds any file starting withbg_, regardless of its folder.
- OR Logic: Multiple
-mflags are combined with OR.
Disclaimer
This program is intended for people who have the legal rights or the consent of the target app authors to access or decompress the archive files. Any illegal or otherwise unintended usage of this software is discouraged and unsupported.
Credits
This software was developed with orientation on Ren'Py's source code for working with RPA files. Credits for the development of the Ren'Py archive format belong to the contributors of the Ren'Py project.
Support
If this tool saved you time, consider supporting the developer:
ERC-20 0x8BA3456DBf94891881204ECB7a0f2fbdb6228D8A
SOL H93HCZ1KqvnmAgDh9Enyi2xgUnXXXA5yb7uDxeshQJq
Metadata
Release files for rpx-kit 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rpx_kit-0.2.3.tar.gz | 5.7 kB | Without provenance | Details for rpx_kit-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rpx_kit-0.2.3-py3-none-any.whl | Python 3 | none | any | Details for rpx_kit-0.2.3-py3-none-any.whl |
Total release size: 12.0 kB
Release files / rpx_kit-0.2.3.tar.gz
| Download URL | rpx_kit-0.2.3.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f64b3fb558b03a69dbc7c07af5fe9ae9e5724558ee811c0febd177521b06cff
|
|
BLAKE2b-256 checksum How to use checksums |
e1d2862e4ff631539fb1a8cef0a94e23c5e9241b3de066b239c3d118378ff726
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / rpx_kit-0.2.3-py3-none-any.whl
| Download URL | rpx_kit-0.2.3-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ba6664725c2911ab85fd1303ab47a7f7d3a24d59194e854900beb2d70bf035c3
|
|
BLAKE2b-256 checksum How to use checksums |
8bf6926fd71e098385ef452a80dd68d5f10f444582e9993dc432cc0d077944ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for rpx-kit 0.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.