Bozar
Bozar copied to clipboard
Problem with renamer in minecraft client
ScreenShot:
Crashlog:
crash-2021-08-26_17.12.22-client.txt
When i try to use RenamerTransformer in latest bozar version, then i have this problem. In 1.6.0 version everything works correct.
Edit: Also without renamer everything works, but I want to use it.
Sometimes you can't obfuscate every name, and you obfuscated textureWidth with your own name so it can't find it
Sometimes you can't obfuscate every name, and you obfuscated textureWidth with your own name so it can't find it
but i added all minecraft packages to excludes
Sometimes you can't obfuscate every name, and you obfuscated textureWidth with your own name so it can't find it
but i added all minecraft packages to excludes
ClassRenamerTransformer is breaking resources that's why excluding classes is not working.
Converting byte[] to String (or String to byte[] at line 30) probably causing lost bytes https://github.com/vimasig/Bozar/blob/f9977fa5faed03452496ee72f8782d71fa4ff724/src/main/java/io/github/vimasig/bozar/obfuscator/transformer/impl/renamer/ClassRenamerTransformer.java#L25
There are several issues with renamer transformers. I'll look at them when I have free time