Skip to main content

Extract files from the RPA archive format (from the Ren'Py Visual Novel Engine).

Project description

unrpa - Extract files from the RPA archive format.

About

unrpa is a tool to extract files from the RPA archive format (from the Ren'Py Visual Novel Engine.

It can also be used as a library.

Installation

Package manager

The best way to install unrpa is through your package manager, if a package is available for your operating system. I maintain an AUR package) for Arch Linux users.

pip

You can also install unrpa through pip, the Python package manager. You can do this on Windows with:

py -3 -m pip install "unrpa"

Or use python3 rather than py -3 on unix systems. You can see the official documentation for more help installing through pip.

From source

You can also download the latest release and extract it.

Dependencies

You will need Python 3.7 or later in order to run it (either install through your package manager or directly from python.org).

If you are trying to extract more exotic RPA archives, there may be additional dependencies. unrpa should instruct you how to install them if required.

Examples

When installed through your package manager or pip, you should be able to use unrpa by opening a terminal or command prompt and doing something like:

unrpa -mp "path/to/output/dir" "path/to/archive.rpa"

If you are running from source, you will need execute python directly:

  • On most unix systems, open a terminal in the directory containing unrpa then:

    python3 -m unrpa -mp "path/to/output/dir" "path/to/archive.rpa"
    
  • On most Windows systems, open a Command Prompt in the directory containing unrpa then:

    py -3 -m unrpa -mp "path\to\output\dir" "path\to\archive.rpa"
    

Command Line Usage

usage: unrpa [-h] [-v] [-s] [-l] [-p PATH] [-m] [-f VERSION]
             [--continue-on-error] [-o OFFSET] [-k KEY] [--version]
             FILENAME

Options

Positional Argument Description
FILENAME the RPA file to extract.
Optional Argument Description
-h, --help show this help message and exit
-v, --verbose explain what is being done [default].
-s, --silent no output.
-l, --list only list contents, do not extract.
-p PATH, --path PATH will extract to the given path.
-m, --mkdir will make any non-existent directories in extraction path.
-f VERSION, --force VERSION forces an archive version. May result in failure.
Possible versions: RPA-3.0, ZiX-12A, ZiX-12B, ALT-1.0, RPA-2.0, RPA-1.0.
--continue-on-error try to continue extraction when something goes wrong.
-o OFFSET, --offset OFFSET sets an offset to be used to decode unsupported archives.
-k KEY, --key KEY sets a key to be used to decode unsupported archives.
--version show program's version number and exit

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unrpa-2.0.1.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unrpa-2.0.1-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

Details for the file unrpa-2.0.1.tar.gz.

File metadata

  • Download URL: unrpa-2.0.1.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for unrpa-2.0.1.tar.gz
Algorithm Hash digest
SHA256 75450fc53f14d1469329a965d13818fd36041d73df5d647ef4e20daab618e4e5
MD5 bb95a4f8edc6ae2ef8cb6c80f70bab4d
BLAKE2b-256 310f43c917297aff0636a936ebff38f9eec8cc24d47391e98d9b5a82ba287469

See more details on using hashes here.

File details

Details for the file unrpa-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: unrpa-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 25.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for unrpa-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 99d55045f7e6586da399de8dd2dc74e9a54c554c1174b34a96aa5033338020f0
MD5 5376fa4500036234883b193c09dac545
BLAKE2b-256 3ed181443d33c500d18b4ea6e21c90f840a6420503786bbf9cd7fd882f68eb22

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page