Skip to content

Conversation

@Dani-error
Copy link
Contributor

This PR adds support for loading mapping files and remapping classes using @Dani-error/java-remapper.

Key features

  • Supports multiple mapping formats:
    SRG/XSRG, CSRG/TSRG, TSRG v2, ProGuard, Tiny v1, Tiny v2 [with automatic detection]
  • Allows applying mappings to remap classes directly in Slicer
  • Fixes an issue with Vite failing to load WASM files on development environment.

This makes it easier to deobfuscate and analyze Java classes, which is especially useful for reverse-engineering, modding,...

@zlataovce
Copy link
Member

thank you for the PR, however I'd like to avoid pulling in TeaVM-based components for core functions of the app, as they're not easily debuggable and quite large in size

in addition, I'm pretty sure it does not remap lambda references (LambdaMetafactory#metafactory), which something like tiny-remapper would do; it will also suffer on more aggressive obfuscation, needing the norm-verify transformer as an intermediate step

I've started building rudimentary remapping support in @katana-project/asm/analysis/remap, so I would like to use that instead

@zlataovce zlataovce closed this Oct 25, 2025
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

Successfully merging this pull request may close these issues.

2 participants