GNU General Public License v3.0

项目介绍

Lattyware/unrpa 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 GNU General Public License v3.0 许可证,目前获得 772 个 Star、87 次 Fork。

仓库全名
Lattyware/unrpa
开源许可证
GNU General Public License v3.0
Star 数
772
Fork 数
87
未关闭 Issue
18

README 摘要

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…

完整内容见 GitHub 原始 README 或本页 。

常见问题

unrpa 用什么语言开发?

主要使用 Python 编写,采用 GNU General Public License v3.0 许可证,目前有 772 个 Star。

unrpa 可以免费商用吗?

仓库标注的许可证为 GNU General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 unrpa 的源码?

可以直接克隆仓库:git clone https://github.com/Lattyware/unrpa.git,默认分支为 master;安装与运行步骤见仓库 README。

unrpa 最近还在维护吗?

仓库最近一次更新为 2022年6月27日,当前有 18 个未关闭 Issue;Star 数为 772,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

A program to extract files from the RPA archive format.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
962
价值分
490
活跃状态
活跃

语言占比

Python

README

unrpa - Extract files from the RPA archive format.

PyPI PyPI - Python Version GitHub MyPy Check

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.

Package maintainers can see setup.py for a complete set of dependencies.

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 | -t] [-p PATH] [-m] [--version]
             [--continue-on-error] [-f VERSION] [-o OFFSET] [-k KEY]
             FILENAME [FILENAME ...]

Options

Positional Argument Description
FILENAME the archive(s) to extract.
Optional Argument Description
-h, --help show this help message and exit
-v, --verbose explain what is being done, duplicate for more verbosity (default: 1).
-s, --silent no non-essential output.
-l, --list list the contents of the archive(s) in a flat list.
-t, --tree list the contents of the archive(s) in a tree view
-p PATH, --path PATH extract files to the given path (default: the current working directory).
-m, --mkdir will make any missing directories in the given extraction path.
–version show program’s version number and exit
Advanced Argument Description
–continue-on-error try to continue extraction when something goes wrong.
-f VERSION, --force VERSION ignore 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 OFFSET ignore the archive header and use this exact offset.
-k KEY, --key KEY ignore the archive header and use this exact key.

Errors

Common errors

  • Check 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 errors

If something goes wrong while extracting an archive, please make an issue.

New variants of the RPA format get created regularly, so new games might not work - generally support can be added quickly though.

评论

暂无评论