Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
BreathHolder opened this issue Nov 14, 2022 · 1 comment
Open

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

BreathHolder opened this issue Nov 14, 2022 · 1 comment

Comments

@BreathHolder
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants