Skip to content

A couple of tools to work with Srg files

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
COPYING.txt
Unknown
license-info.txt
Notifications You must be signed in to change notification settings

agaricusb/SrgTools

 
 

Repository files navigation

srgtool 2.0

A utility for manipulating and applying srg mappings. Based on SrgTools by Frans-Willem.

Downloads: https://bitbucket.org/agaricusb/srgtools/downloads

Useful with mappings from https://github.com/agaricusb/MinecraftRemapping

For usage, run with no arguments.

To build from source, run: mvn package

Examples

Porting an NMS plugin to MCPC+:

java -jar srgtool.jar apply --srg vcb2obf.srg --in plugin.jar --inheritance plugin.jar --out plugin2.jar

Porting a mod to MCPC:

java -jar srgtool.jar apply --srg obf2cb.srg --in mod.jar --inheritance mod.jar --out portedmod.jar

Reobfuscating a mod compiled with MCP (alternative to RetroGuard/reobfuscate.sh):

java -jar srgtool.jar apply --srg mcp2obf.srg --in compiledmod.jar --inheritance compiledmod.jar --out obfuscatedmod.jar

Deobfuscating to MCP:

java -jar srgtool.jar apply --srg obf2mcp.srg --in obf.jar --inheritance obf.jar --out deobf.jar

Deobfuscating CB to MCP:

java -jar srgtool.jar apply --srg cb2mcp.srg --in plugin.jar --inheritance plugin.jar --out plugin2.jar

About

A couple of tools to work with Srg files

Resources

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
COPYING.txt
Unknown
license-info.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%