https://github.com/ikremniou/unrparc
Unpack '.rpa' Renpy archives with tool written in Rust
https://github.com/ikremniou/unrparc
archive renpy rpa unpack
Last synced: about 1 year ago
JSON representation
Unpack '.rpa' Renpy archives with tool written in Rust
- Host: GitHub
- URL: https://github.com/ikremniou/unrparc
- Owner: ikremniou
- Created: 2023-12-07T22:26:38.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-17T12:51:39.000Z (over 2 years ago)
- Last Synced: 2025-01-20T16:42:55.978Z (over 1 year ago)
- Topics: archive, renpy, rpa, unpack
- Language: Rust
- Homepage:
- Size: 3.43 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Unrparc - Extract RPA('.rpa') Renpy archives
The CLI tool library to unpack ".rpa" archives written in Rust.
## How to install
At this point this tool is no uploaded to any package manager. Download the last release from the [Releases](https://github.com/ikremniou/unrparc/releases).
## How to use
The overall usage patten is as follows:
```bash
unrparc [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
Extract command can be used with optional `--glob` or short `-g` flag. It allows extracting only specific files.
```bash
unrparc extract
```
### Scan
Scan command can be used with optional `--glob` or short `-g` flag. It allows showing only specific files.
```bash
unrparc scan
```
## Examples
1. Scan files from the `./tests/assets/scripts.rpa` archive:
```bash
unrparc scan ./tests/assets/scripts.rpa
```
```result
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
```
1. Scan files from the `./tests/assets/scripts.rpa` archive using `-g *.rpy` flag:
```bash
unrparc scan ./tests/assets/scripts.rpa -g *.rpy
```
```result
gui.rpy: 16306 bytes
options.rpy: 7033 bytes
screens.rpy: 43480 bytes
script.rpy: 842 bytes
```
1. Extract files from the `./tests/assets/scripts.rpa` archive:
```bash
unrparc extract ./tests/assets/scripts.rpa ./extracted
```
1. Extract files from the `./tests/assets/scripts.rpa` archive using `-g *.rpy` flag:
```bash
unrparc extract ./tests/assets/scripts.rpa ./extracted -g *.rpy
```