This tut will show you how to fully obfuscate your code without removing sound or messing up the mutliplayer.
The first thing your going to want to do is download Proguard Here.
Once you have proguard open you should be presented with this screen:
Just fill it out with your files.
After that remember to uncheck shrink because sometimes it can break some things:
Now this is the main bit that you need to get right. The following packages cannot be touched:
com.**
paulscode.**
net.minecraft.client.*,
Put those in where i did:
Then as you can see at the bottoms you need to add some classes so their methods dont get changed. Do this for each line i put in there:
Now for the last one its just a *, so add this:
Now you can hit next then all you need to do is uncheck the removes in optimization:
Process that Jar & your done!!! Hopefully this worked for you :)
For anyone that cant get it to work try use my config file Here
The first thing your going to want to do is download Proguard Here.
Once you have proguard open you should be presented with this screen:
Just fill it out with your files.
After that remember to uncheck shrink because sometimes it can break some things:
Now this is the main bit that you need to get right. The following packages cannot be touched:
com.**
paulscode.**
net.minecraft.client.*,
Put those in where i did:
Then as you can see at the bottoms you need to add some classes so their methods dont get changed. Do this for each line i put in there:
Now for the last one its just a *, so add this:
Now you can hit next then all you need to do is uncheck the removes in optimization:
Process that Jar & your done!!! Hopefully this worked for you :)
For anyone that cant get it to work try use my config file Here
I can not do it can you help me please?
ReplyDelete