The CLI tool library to unpack ".rpa" archives written in Rust.
At this point this tool is no uploaded to any package manager. Download the last release from the Releases.
The overall usage patten is as follows:
unrparc <COMMAND> [OPTIONS] [ARGUMENTS]
There are two commands:
extract
- extracts the RPA archive.scan
- scans the RPA archive and outputs files it contains into standard out.help
- shows this help message. Refer to it for up-to-date help.
Extract command can be used with optional --glob
or short -g
flag. It allows extracting only specific files.
unrparc extract <ARCHIVE> <DESTINATION>
Scan command can be used with optional --glob
or short -g
flag. It allows showing only specific files.
unrparc scan <ARCHIVE>
-
Scan files from the
./tests/assets/scripts.rpa
archive:unrparc scan ./tests/assets/scripts.rpa
gui.rpy: 16306 bytes gui.rpyc: 25908 bytes options.rpy: 7033 bytes options.rpyc: 5246 bytes screens.rpy: 43480 bytes screens.rpyc: 104276 bytes script.rpy: 842 bytes script.rpyc: 2098 bytes
-
Scan files from the
./tests/assets/scripts.rpa
archive using-g *.rpy
flag:unrparc scan ./tests/assets/scripts.rpa -g *.rpy
gui.rpy: 16306 bytes options.rpy: 7033 bytes screens.rpy: 43480 bytes script.rpy: 842 bytes
-
Extract files from the
./tests/assets/scripts.rpa
archive:unrparc extract ./tests/assets/scripts.rpa ./extracted
-
Extract files from the
./tests/assets/scripts.rpa
archive using-g *.rpy
flag:unrparc extract ./tests/assets/scripts.rpa ./extracted -g *.rpy