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

Mapping backup #1117

Closed
osadchij opened this issue Feb 13, 2021 · 6 comments
Closed

Mapping backup #1117

osadchij opened this issue Feb 13, 2021 · 6 comments
Labels

Comments

@osadchij
Copy link

I just lost whole my map file. Coz I could rename some method. At the logs I've saw 'the map file already exists use --deobf-rewrite-cfg" - I DID... (and my backup file of project doest have the map too...)

And now I've lost whole my work :D

Where JADX is storing map file??

@skylot
Copy link
Owner

skylot commented Feb 13, 2021

@osadchij sorry to hear that :(
Deobfuscation map file saved in same directory as file you open with same name but .jobf extension.
Also, log message you mention contains a path to map file:

"Deobfuscation map file '/path/to/map.jobf' exists. Use command line option '--deobf-rewrite-cfg' to rewrite it"

We have an issue to save all renaming in project file: #1022, but it is not yet implemented.

@osadchij
Copy link
Author

@skylot Sorry, but how to tell JADX to use my own file? If I'll copy one as a backup and in the future I'll want to use it?

@skylot
Copy link
Owner

skylot commented Feb 13, 2021

@osadchij right now you can't change that, sorry 😢
I can add command line option to allow use custom file.

@osadchij
Copy link
Author

osadchij commented Feb 13, 2021

@skylot It will be very useful <3.
Its great tool :)) Thank you.

skylot added a commit that referenced this issue Feb 13, 2021
@skylot
Copy link
Owner

skylot commented Feb 13, 2021

I can add command line option to allow use custom file

@osadchij done, cli option --deobf-cfg-file, check using latest unstable build.

@osadchij
Copy link
Author

osadchij commented Feb 13, 2021

@skylot It works AWESOME!! Thank You alot <3

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

No branches or pull requests

2 participants