123 posts
Posted 25 July 2012 - 03:36 AM
Does anyone have a decent batch script? For re-obfuscation and installation? I was going to look into making one myself (my preference for shell has resulted in me never learning batch, but I do most of my stuff on Windows) but it seems silly to go to the trouble if someone already has a good one.
Thanks in advance
510 posts
Posted 25 July 2012 - 07:28 AM
I wrote an ant-script for that. I could give it to you, but unfortunately I don't have it with me right now.
864 posts
Location
Sometime.
Posted 25 July 2012 - 11:17 AM
Why do you need?
510 posts
Posted 25 July 2012 - 05:18 PM
I think he's just annoyed from recompiling, reobfuscating, collecing and copying the classes to his local minecraft dir?
I would not recommend a batch script, as batch isn't really made for complex tasks. If you need a start for eg. an ant script, you could look at
http://mcp.ocean-labs.de/index.php/Ant_Builds_with_MCP, this wraps the default mcp scripts into ant tasks. it moves the mod class files to a build directory.
Working from this, I made a symlink in my .minecraft/mods folder and pointed it to the build directory, and ready it is. The given script is only for client mods, but it can be easily expanded.
123 posts
Posted 26 July 2012 - 10:23 PM
I think he's just annoyed from recompiling, reobfuscating, collecing and copying the classes to his local minecraft dir?
I would not recommend a batch script, as batch isn't really made for complex tasks. If you need a start for eg. an ant script, you could look at
http://mcp.ocean-lab...Builds_with_MCP, this wraps the default mcp scripts into ant tasks. it moves the mod class files to a build directory.
Working from this, I made a symlink in my .minecraft/mods folder and pointed it to the build directory, and ready it is. The given script is only for client mods, but it can be easily expanded.
Cool, I'll look into ant. Luckily the API is a lot simpler than i thought it would be at first, so it seems almost easier to simply test in eclipse to get the Minecraft parts done (which are generally harder) and then to do the CC parts.