Jump to content

Technic launcher how it launches mc (cant think of the right name for this)


Recommended Posts

Posted

does anyone know how technic launches minecraft? I'm referring to classes, what class does it use as main or whatever, i just want to know how to launch mc via cmd even if its just the vannila minecraft.

Posted

still nothing?

also BurningCake,

Technic is a jar file, what it does is it launches the minecraft.jar in the "%appdata%/.technic/<Modpackname>/bin/"

to make minecraft.jar login it launches a certain class file. best way to understand this is to learn some java. now it launches that class file with certain

arguments and i dont know what class it is. either the arguments are the user and pass or the user and session id (the default minecraft.exe i think does the authentication then passes it on to the jar). any one know please reply, if you dont know what you talking about or how it does it dont bother

Posted

I don't claim to know how the launcher works, but it probably runs org.spoutcraft.launcher.ModpackBuild.class from technic-launcher.jar after the update check's done, which probably combines minecraft.jar with modpack.jar, then it runs the combined files. As I said, I have nothing to do with the actual launcher, I just gave the .jar's innards a quick look with 7Zip.

Posted

i highly suggest not using 7zip to check it, in the technic 6 ssp tab scroll down a little and you will see the git hub link, it has all the files (classes and jars) all setup for eclipse and viewing. if theres something that is easy and accessible, use it :)

Posted

i highly suggest not using 7zip to check it, in the technic 6 ssp tab scroll down a little and you will see the git hub link, it has all the files (classes and jars) all setup for eclipse and viewing. if theres something that is easy and accessible, use it :)

Oh yeah. Upon actually reading the source ModpackBuild is for determining what version the modpack is. Nevermind me then!

Posted

i think it runs the net.minecraft.client.MinecraftApplet (trying to remember what it said in the source) and passes the user and session id onto it but im not sure

Posted

This seems like a perfect question to ask in the Technic Launcher forum.

ill attempt to delete this one (if i can) and redo it in the launcher cat otherwise it would be nice if someone with the permissions could possibly delete it for me *hint hint*

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...