Jump to content

Problem with custom launcher


Recommended Posts


I'm developing a custom launcher for a 1.5.2 server, at the time of opening the minecraft step the parameters to open, the minecraft without mods opens normally, but the with the forge gets the black screen, can someone help me ?, I need to pass any parameter to run with the forge?





ArrayList<String> params = new ArrayList<String>();
String root1 = "C:/Users/jeanj/AppData/Roaming/.minecraft/";
String assetsDir = new File(root1, "assets").getAbsolutePath() + "/";
params.add("java -Xmx2014m -Xms1024m -XX:MaxPermSize=256M");
params.add("-Djava.library.path=" + Utils.getWorkingDirectory().getAbsolutePath() + "/bin/natives");
params.add(root1 + "bin/minecraft.jar;" + root1 + "bin/jinput.jar;" + root1 + "bin/lwjgl.jar;" + root1 + "bin/lwjgl_util.jar");
params.add("--username UserTest");
params.add("--version 1.5.2");
params.add("--gameDir " + Utils.getWorkingDirectory().getAbsolutePath());
params.add("--assetsDir " + assetsDir);
params.add("--assetsIndex 1.5.2");
params.add("--uuid " + main.getLoginer().getUUID());
params.add("--accessToken " + main.getLoginer().getAcessToken());




sorry for some grammatical error, translating with google translate.


Link to comment
Share on other sites

14 minutes ago, diesieben07 said:

Não faça lançadores personalizados e não use 1.5.2.


The server for which I'm doing runs on platform 1.5.2, unfortunately I could not choose the version I'm going to develop, they want me to run with mods, but I'm having this error that I did not find something similar that can help me, so I'm asking help here.

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.

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.