Skip to content

Unpack '.rpa' Renpy archives with tool written in Rust

Notifications You must be signed in to change notification settings

ikremniou/unrparc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

How to use

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

Extract command can be used with optional --glob or short -g flag. It allows extracting only specific files.

unrparc extract <ARCHIVE> <DESTINATION>

Scan

Scan command can be used with optional --glob or short -g flag. It allows showing only specific files.

unrparc scan <ARCHIVE>

Examples

  1. 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
    
  2. 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
    
  3. Extract files from the ./tests/assets/scripts.rpa archive:

    unrparc extract ./tests/assets/scripts.rpa ./extracted
  4. Extract files from the ./tests/assets/scripts.rpa archive using -g *.rpy flag:

    unrparc extract ./tests/assets/scripts.rpa ./extracted -g *.rpy

About

Unpack '.rpa' Renpy archives with tool written in Rust

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages