Lattyware / unrpa

A program to extract files from the RPA archive format.
http://www.lattyware.co.uk/projects/unrpa/
GNU General Public License v3.0
589 stars 74 forks source link

Auto-detection of the version for this archived failed #39

Open BreathHolder opened 1 year ago

BreathHolder commented 1 year ago

I ran unrpa archive.rpa and received:

Auto-detection of the version for this archived failed—it is likely this archive is a version not supported. Try updating unrpa, or submitting a request for support at https://github.com/Lattyware/unrpa/issues/new?template=new-archive-version.mdHeader: “R4598P5757A 000000009ee33010 42424242” You can try using --force to force a specific version rather than relying on auto-detection.

Trying to use the force option, I ran unrpa --force archive.rpa and I received:

usage: unrpa [-h] [-v] [-s] [-l | -t] [-p PATH] [-m] [--version] [--continue-on-error] [-f VERSION] [-o OFFSET] [-k KEY] FILENAME [FILENAME ...] unrpa: error: the following arguments are required: FILENAME

JuncFang-git commented 1 year ago

--force

You can first use unrpa -h to get the Possible versions like below: -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.

And then, to try force all the possible versions like this: python -m unrpa -f RPA-4.0 -mp "result_dir" "xxx.rpa"