Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
So I have made a custom Minecraft launcher and I need help with some coding...
First thing is I need help with when I press the "Play" button I need it to check the launcher_profiles.json and if it does not work I need it to make you log in. Next is if it does work I need it to check for Minecraft updates. After that I need it to launch Minecraft!

Other stuff:
The other thing I need is a profile manager(Like the one in Minecraft Launcher)
And the LAST thing I need is the CONSOLE(Also like the one in the Minecraft Launcher)

Thanks for helping me! :D

What I have tried:

VB
Public Class Form1

    Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
        System.Diagnostics.Process.Start("C:\Program Files (x86)\Minecraft\game\launcher.jar")
        Me.Close()
    End Sub
End Class

I have tried that but it just Launches Minecraft Launcher.
I also tried:
VB
Public Class Form1

    Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
        System.Diagnostics.Process.Start("C:\Users\(My username)\AppData\Roaming\.minecraft\launcher_profiles.json")
        Me.Close()
    End Sub
End Class

And that doesn't check it...
Posted
Updated 18-Feb-16 15:22pm
v2
Comments
Sinisa Hajnal 20-Feb-16 3:30am    
So, you actually didn't do anything but tried to call the default app launcher and then you gave up? When you show some real code (i.e. something that opens the form, gets the json settings, open the login dialog and then passes that data to the game without calling default launcher (or at least pass the launcher login parameters) then you can come back and ask the question. This is ... nothing... you didn't make minecraft launcher, you plan to make one and didn't start yet.
natewu 20-Feb-16 13:15pm    
What do you mean by calling the launcher then the json then make it launch the program?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900