Last active
August 29, 2015 14:17
-
-
Save SupaHam/3bc20a88aa28b6403bc9 to your computer and use it in GitHub Desktop.
A script to fix the LVT poop (aka snowmen) symbols being represented as local variables.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET HASH="73f3c166" | |
SET JARFILE="work/supa_mapped_%HASH%.jar" | |
java -jar BuildData/bin/SpecialSource-2.jar map --kill-lvt -i work/minecraft_server.1.8.3.jar -m BuildData/mappings/bukkit-1.8.3-cl.csrg -o %JARFILE%-cl | |
java -jar BuildData/bin/SpecialSource-2.jar map --kill-lvt -i %JARFILE%-cl -m BuildData/mappings/bukkit-1.8.3-members.csrg -o %JARFILE%-m | |
java -jar BuildData/bin/SpecialSource.jar --kill-lvt -i %JARFILE%-m --access-transformer BuildData/mappings/bukkit-1.8.3.at -m BuildData/mappings/package.srg -o %JARFILE% | |
sh mvn install:install-file -Dfile=%JARFILE% -Dpackaging=jar -DgroupId=org.spigotmc -DartifactId=minecraft-server -Dversion=1.8.3-SNAPSHOT | |
:: This doesn't really help all that much, still need to investigate how to get it to produce | |
:: the same source to match SpecialSource's jar for IntelliJ IDEA to spot as a source directory | |
java -jar BuildData/bin/fernflower.jar -dgs=1 -hdc=0 -rbr=0 -asc=1 -udv=0 work/decompile-%HASH%/classes work/decompile-%HASH% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment