Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launching Minecraft #5

Closed
Dessix opened this issue Mar 22, 2015 · 7 comments
Closed

Launching Minecraft #5

Dessix opened this issue Mar 22, 2015 · 7 comments
Assignees
Milestone

Comments

@Dessix
Copy link
Member

Dessix commented Mar 22, 2015

As mentioned in #2, we must have a way of launching Minecraft. Various versions are supported via Spigot launcher and similar, but reverse-engineering of the launch procedure itself could also be sourced as a means of determining what must be done. So, summarily, how do we launch Minecraft?

@Dessix Dessix added this to the Alpha milestone Mar 22, 2015
@Dessix
Copy link
Member Author

Dessix commented Mar 22, 2015

Some of the launching process can be seen within https://github.com/TechnicPack/MinecraftCore/blob/master/src/main/java/net/technicpack/minecraftcore/launch/MinecraftLauncher.java, where the Technic Launcher feeds in parameters to create a game process. Note that while this source provides similar behavior, it is are under LGPL, and as we are currently not decided on how we will be licensing our software out, we must at most use this understanding of the code, not the code itself.

@Dessix
Copy link
Member Author

Dessix commented Mar 23, 2015

A lot of information seems to be available at http://wiki.vg/Game_Files, with specific URLs to follow and other useful utilities. Importantly, the same wiki also carries a programmatic means of launching Minecraft.

@Dessix
Copy link
Member Author

Dessix commented Mar 23, 2015

I have added some basic DTOs derived from the linked wiki's information in 0af5c56. I have also added basic asynchronous extensions for IServiceClient to allow more modern usage of NServiceKit's ServiceClient implementations.

@Dessix
Copy link
Member Author

Dessix commented Jul 29, 2015

Elimination of NServiceKit's ServiceClient in favor of HttpWebRequest and creation of internal classes which more-effectively represent the data the DTOs have transferred are next in line for implementation.

@Dessix Dessix self-assigned this Jul 29, 2015
@Dessix Dessix removed their assignment Feb 10, 2016
@Dessix Dessix mentioned this issue Feb 23, 2016
20 tasks
@Dessix
Copy link
Member Author

Dessix commented Feb 29, 2016

The previously mentioned internal representations of the data to be transferred have been solidified as the only used representation for these types. Anything else feeds through serialization via Json.Net as of the closing of #13.

@Dessix Dessix self-assigned this Feb 29, 2016
@Dessix
Copy link
Member Author

Dessix commented Mar 3, 2016

Minecraft client now launches as of c89974f!

Server remains, then adaptation to allow Forge to launch as well begins.

@Dessix
Copy link
Member Author

Dessix commented Mar 6, 2016

Minecraft server and client can both launch, including automatic EULA creation after prompting the user for first-launch / newly-installed servers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant