Closed byBackfish closed 3 years ago
I saw that @ThisTestUser helped a Guy in #386 with a similar Minecraft Mod, by changing some Code in the Transformer. I would appreciate if you could tell me what to change / send me the fixed Transformer Class (HideAccessObfuscationTransformer). Thanks in advance!
The first thing you should do is to add all the libraries (look them up from the previous issue). Then, you should wrap the switch statement (starting from line 172) with a try-catch block and also wrap everything inside the if statement at line 131 with another try-catch block.
So. Its not skipping the errors (bc of the try catch), but its still not changing the Names of the Classes, and not fully working still. Its saying something like "Error: failed to compute frames". But why exactly? Thanks
Why exactly? The program will tell you. You might see classes that are not found. How can we tell?
[SourceFileClassNormalizer] Recovered 885 source filenames [main] INFO com.javadeobfuscator.deobfuscator.Deobfuscator - Writing Error: failed to compute frames Error: failed to compute frames Error: failed to compute frames Error: failed to compute frames Error: failed to compute frames Error: failed to compute frames Error: failed to compute frames Error: failed to compute frames Error: failed to compute frames Error: failed to compute frames
Thats the only thing i get. Above that its just saying Decrypted string and then the String name
And alot of NPE's from the HideAccessObfuscationTransformer. But i got told they are not that problematic.
Now its saying something like "[ClassLoader] An attempt was made to load the library awt.dll [Filesystem] Could not find null.accessibility.properties [Filesystem] Could not find C:\java_home_dir\lib\accessibility.properties". Why is it using java_home_dir when my JAVA_HOME path is set to my jdk 1.8. Or what JDK do you recommend using?
I think it is using a virtual java home dir aka emulated file system
Could this be causing the Error tho? With "error" i mean, that its not changing the Class File names? And not changing anything in the Code at all. The Output is exactly the same as the Input
Or what else could cause this?
You can't get the original class file names back because they've been removed. Use ClassNormalizer if you want generic names for the classes.
Hey, when trying to decompile a Minecraft Forge Mod, i come across this Error
My Config: