unrpa icon indicating copy to clipboard operation
unrpa copied to clipboard

Auto-detection of the version for this archived failed

Open BreathHolder opened this issue 2 years ago • 1 comments

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

BreathHolder avatar Nov 14 '22 00:11 BreathHolder

--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"

JuncFang-git avatar Mar 17 '23 11:03 JuncFang-git