Package: unrpa
unrpa - Extract files from the RPA archive format.Aboutunrpa is a tool to extract files from the RPA archive format (fromthe Ren'Py Visual Novel Engine).It can also be used as a library.InstallationPackage managerThe best way to install unrpa is through your package manager, if a package is available for your operating system.
I maintainan AUR packagefor Arch Linux users.pipYou can also install unrpa through pip, the Python package manager. You can do this on Windows with:py -3 -m pip install "unrpa"Or usepython3rather thanpy -3on unix systems. You can seethe official documentationfor more help installing
through pip.From sourceYou can alsodownload the latest releaseand extract it.DependenciesYou will need Python 3.7 or later in order to run it (either install through
your package manager ordirectly 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.Package maintainers can seesetup.pyfor a complete set
of dependencies.ExamplesWhen 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 usageusage: unrpa [-h] [-v] [-s] [-l | -t] [-p PATH] [-m] [--version]
             [--continue-on-error] [-f VERSION] [-o OFFSET] [-k KEY]
             FILENAME [FILENAME ...]OptionsPositional ArgumentDescriptionFILENAMEthe archive(s) to extract.Optional ArgumentDescription-h, --helpshow this help message and exit-v, --verboseexplain what is being done, duplicate for more verbosity (default: 1).-s, --silentno non-essential output.-l, --listlist the contents of the archive(s) in a flat list.-t, --treelist the contents of the archive(s) in a tree view-p PATH, --path PATHextract files to the given path (default: the current working directory).-m, --mkdirwill make any missing directories in the given extraction path.--versionshow program's version number and exitAdvanced ArgumentDescription--continue-on-errortry to continue extraction when something goes wrong.-f VERSION, --force VERSIONignore the archive header and assume this exact version. Possible versions: RPA-1.0, RPA-2.0, RPA-3.0, ALT-1.0, ZiX-12A, ZiX-12B, RPA-3.2, RPA-4.0.-o OFFSET, --offset OFFSETignore the archive header and use this exact offset.-k KEY, --key KEYignore the archive header and use this exact key.ErrorsCommon errorsCheck you are using the latest version of Python 3.Check you are using quotes around file paths.Video guides may be out of date, please check this file for up-to-date advice on using the tool.New errorsIf something goes wrong while extracting an archive, pleasemake an issue.New variants of the RPA format get created regularly, so new games might not work - generally support can be
added quickly though.