mojira.dev

Stefan Sauer

Assigned

No issues.

Reported

MCL-12329 New launcher 2.x fails without any error Fixed MCL-12328 legacy launcher update is stuck - fix in MCL-11993 does not work Invalid

Comments

I re-downloaded the launcher (minecraft.tar.gz), but this does not change anything. The new one is ~4 time smaller though.

By experimenting more, I've found a fix on all computers. Normally I start the launcher as:

minecraft-launcher --workDir $PWD/data

If I run it once without any args and the exit the lanucher, it works again with the args.

When running from terminal I get:

```

https://launchermeta.mojang.com/v1/products/launcher/6f083b80d5e6fabbc4236f81d0d8f8a350c665a9/linux.json
[1204/114840.188228:INFO:main_context.cpp(136)] CEF initialized successfully.
[1204/114840.188332:INFO:main_context.cpp(138)] CEF version: 86.0.23+ga2c2edf+chromium-86.0.4240.193
[1204/114840.224335:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
Created browser window for reuse: 0x600001
[1204/114841.944729:INFO:CONSOLE(2)] "TypeError: Cannot read property 'map' of undefined", source: mojang://launcher/static/js/app.d337b453.bundle.js (2)
[1204/114841.944834:INFO:CONSOLE(2)] "TypeError: Cannot read property 'map' of undefined", source: mojang://launcher/static/js/app.d337b453.bundle.js (2)

```

 

I can't test this with the new launcher since it crashes on one of my kids computers with a CPU error.

Fact is that when using the  legacy laucnher something does not handle the filenotfound exception, which it should ignore since it is a legcy cleanup. Please fix.

So if the 2 stage launch is not needed for anything and just gets in the way, then please just tell people to get rid of it. Feel free to close this case, ideally with a change of the instructions.

Oh my, same here: "Failed to load liblauncher.so: libgconf-2.so.4:" Easy to fix luckily:

zypper in gconf2

Ayyway. gconf is kind of old, so if this is the new launcher using dconf would be better to get an out of the box experience.

 

Please consider adding a simple README to the releases that tell version, dependencies and commandline args. To make it work, I had to run it as:

./minecraft-launcher --workDir $HOME/Minecraft/data

So why is the official launcher still downloading from it then? Why is the game even using a 2 stage launch method? It would have save me hours, if the instructions just told me to get rid of the first launch stage (or if the source code for the launcher would be at https://github.com/Mojang to figure what it is doing).

@violine1101 I did (about 10 times) but as you can see above the files at s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma are outdated. My fix is to skip the outer Minecraft.jar and launch the launcher directly.

Oh my! I found a fix.

Previous starter script:

cd $HOME/Minecraft/
java -jar Minecraft.jar --workDir data

New starter script:

cd /home/ensonic/Minecraft/data
java -jar launcher.jar --workDir .