PlayerWithoutName Posted June 21, 2013 Share Posted June 21, 2013 Hello, I'm making a launcher for my modpack and i want to launch Minecraft with Forge without repacking minecraft.jar, do You know how MultiMC loads mods from instMods or TechnicLauncher loads modpack.jar? Thanks for help. Quote Link to comment Share on other sites More sharing options...
LexManos Posted June 21, 2013 Share Posted June 21, 2013 MultiMC repacks the jar Technic's ModPack.jar IIRC is the entire mojang codebase {all of Minecraft.jar} It can be done better, by simple adding Forge to the classpath BEFORE minecraft.jar But what ever, people can't seem to figure that out. Quote I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon Link to comment Share on other sites More sharing options...
PlayerWithoutName Posted June 21, 2013 Author Share Posted June 21, 2013 But how? When i execute it like that: "java -Xms1G -Xmx1G -cp \".\\starchasers\\.minecraft\\bin\\modpack.jar;.\\starchasers\\.minecraft\\bin\\minecraft.jar;.\\starchasers\\.minecraft\\bin\\jinput.jar;.\\starchasers\\.minecraft\\bin\\lwjgl.jar;.\\starchasers\\.minecraft\\bin\\lwjgl_util.jar\" -Djava.library.path=.\\starchasers\\.minecraft\\bin\\natives net.minecraft.client.Minecraft " + MainWindow::explode( MainWindow::session , ':' , 2 ) + " " + sessionid; it throws me: Exception in thread "main" java.langSecurityException: class "sq"'s signer information does not match signer information on other classes in the same package. ;( I think it's something about META-INF folder. Quote Link to comment Share on other sites More sharing options...
LexManos Posted June 21, 2013 Share Posted June 21, 2013 Kill the meta-inf folder in minecraft.jar Quote I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon Link to comment Share on other sites More sharing options...
PlayerWithoutName Posted June 21, 2013 Author Share Posted June 21, 2013 How can i do it? I'm programming in C++ , not java Quote Link to comment Share on other sites More sharing options...
LexManos Posted June 21, 2013 Share Posted June 21, 2013 zip files are zip files. Quote I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.