Bozar icon indicating copy to clipboard operation
Bozar copied to clipboard

Problem with renamer in minecraft client

Open wh1trope opened this issue 3 years ago • 3 comments

ScreenShot: 1 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.

wh1trope avatar Aug 26 '21 15:08 wh1trope

Sometimes you can't obfuscate every name, and you obfuscated textureWidth with your own name so it can't find it

HeyaGlitz avatar Oct 03 '21 18:10 HeyaGlitz

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

wh1trope avatar Oct 03 '21 18:10 wh1trope

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

vimasig avatar Oct 04 '21 17:10 vimasig