This is a small project by Gareth Latty (Lattyware).

Other projects.


Unrpa is a script to extract files from archives created for the Ren'Py Visual Novel Engine.


If you have any comments on the script, feel free to e-mail me. I'm always happy to hear about bugs, suggestions, praise, or even flames - whatever floats your boat.

While creating this script, I unexpectedly stumbled into e-politics which you can read about by following the link.

Get it:

The latest version is unrpa 1.4.1. You will need Python 2.x to run it.

Arch Linux users can install a pkgbuild from the AUR.

You can also check the source out on github.

Common Problems

You need to use Python 2.x, not Python 3.x - the latter is not compatible with the former and won't work. If you get the error

TypeError: startswith first arg must be bytes or a tuple of bytes, not str
this is your problem. (You can have both versions installed at once.). 2.7.2 should be fine.


In simple terms you want 'python unrpa -m -p /path/to/extract/to /file/to/extract.rpa'. Most Linux distos should do it perfectly. If Python 3.x is the default version of Python (as in Arch Linux), then use 'python2' instead of 'python'.

Under Windows, you want (into cmd.exe, the command prompt, in the unrpa directory) 'C:\PATH\TO\python.exe unrpa -m -p C:\path\to\extract\to C:\file\to\extract.rpa'.

Under windows the standard install path for python is 'C:\Python27\python.exe'.

Option Description
--version show program's version number and exit
-h, --help show a help message and exit
-v, --verbose explain what is being done [default]
-s, --silent make 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-existant directories in extraction path
-f VERSION, --force=VERSION forces an archive version. May result in failure

Usage: unrpa [options] pathname