Jump to content

Question about manually installing libraries


Drayux

Recommended Posts

This isn't a bug as it's in my own code.

 

As a project to challenge myself with, I'm creating a custom Minecraft launcher. In short, when I am using forge, of course I need to download the libraries. I am aware the general format is \<package\>:\<name\>:\<version\> and the name of the library is just the name '-' version '.jar' appended to the above, replacing dots in the package name appended to "https://libraries.minecraft.net/ or for some forge libraries, "http://files.minecraftforge.net/maven/.

 

This code works. It downloads all the libraries for the vanilla game, and all but two for forge: com.typesafe.akka.akka_actor and com.typesafe.config. When attempting to download those adhering to the same format, I get a 404 error. Is there something I'm missing? The game launches, but I have not done much testing within it. Additionally, I know that the topmost library listed in the libraries list (or array in java I guess) uses the forge universal file itself located in /net/minecraftforge/forge/\<some version id\>/forge-\<version id\>.jar so I could only imagine the other two missing libraries must be installed in this way. Is this right? Thank you!

Link to comment
Share on other sites

DO NOT create your own launcher, this is a very bad thing. Entering your own account details into random things is a BAD IDEA you should not be asking your users to do that.

Beyond that, we do not host uncompressed libraries, so they are not directly downloadable from our maven.

Our installer downloads a compressed version and installs it. So we ask people use our installer instead of installing Forge automatically. {Plus it is how we pay for the servers, and rent, and food... so...}

Using compressed version saves us ~10TB/day so it's kinda important.

 

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

Okay, well thank you for informing me! And don't fear, this is a private project and I do not intend to release it publicly, much less claim it should replace the default one. This is simply to learn how to program and will be kept between a few friends and me, so that I can be successful when starting to create mods. ;)

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

By using this site, you agree to our Terms of Use.