ensirius Posted February 27, 2014 Posted February 27, 2014 Hello forge community. I need some explanation how to launch forge for 1.6.4+ minecraft from custom launcher. In 1.6.4 many things changed launching minecraft and forge. Before game launch was bassed on applet and now from scratch process build. I toke all needed libraries and forge minecraft.jar. I found currently, that launching default main class dont load forge. But if i try load from forge library "cpw.mods.fml.relauncher.ServerLaunchWrapper" it's drops me strange error: http://pastebin.com/ePLTYCUW Ofc it's clean forge minecraft jar. So can somebody help me and explain how i can launch forge 1.6.4 from custom launcher? Hope my english is enough good to understand what i wrote. UPD: Found that main class is "net.minecraft.launchwrapper.Launch". Errors when launching it: http://pastebin.com/fNET1kFX Why "net.minecraft.client.Minecraft"? default main class w/o forge "net.minecraft.client.main.Main" Launch Arguments: http://pastebin.com/cSB3nQPX Quote
ensirius Posted February 27, 2014 Author Posted February 27, 2014 Minecraft.jar is default after forge installation. Quote
ensirius Posted February 27, 2014 Author Posted February 27, 2014 Why then it's correctly launchs from default launcher ? : ) I toke default one after forge installation that has name like forge-5435435-gfdgfd.jar Quote
ensirius Posted February 27, 2014 Author Posted February 27, 2014 I don't know your launcher code. Again: Why do you need a custom launcher? What's wrong with the vanilla one? Why re-invent the wheel? This launcher was written 2 years ago to replace old ugly. We control our players environment and update to last one if we update our server version or mods. Custom auth system. You dont need our launcher code. Arguments that used for process build is provided. Oh..and i am rewriting minecraft server from scratch...^^ Quote
ensirius Posted February 27, 2014 Author Posted February 27, 2014 Yeah! It's working now. I was missing: --tweakClass="cpw.mods.fml.common.launcher.FMLTweaker" Thanks for you help! Quote
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.