Stefan Sauer
- ensonic
- ensonic
- Europe/Stockholm
- Yes
- No
So even if I download a new launcher.jar manually and put it into data/, it gets overwritten by a stale version on https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma.
When I make launcher.jar readonly the updater fails. I see no option to tell it to not update.
I am also trying the new launcher, but it does not start (filing a report for that right after this one).
$ java -jar Minecraft.jar --workDir data
Bootstrap (v5)
Current time is Oct 16, 2019 9:37:27 PM
System.getProperty('os.name') == 'Linux'
System.getProperty('os.version') == '5.2.9-1-default'
System.getProperty('os.arch') == 'amd64'
System.getProperty('java.version') == '1.8.0_222'
System.getProperty('java.vendor') == 'IcedTea'
System.getProperty('sun.arch.data.model') == '64'Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma
Got reply in: 1051ms
Downloaded 1076,7kb in 4s at 255,8kb/s
Renaming /home/ensonic/Minecraft/data/launcher.pack.lzma.new to /home/ensonic/Minecraft/data/launcher.pack.lzma
Renamed successfully.
Reversing LZMA on data/launcher.pack.lzma to /home/ensonic/Minecraft/data/launcher.pack
Unpacking /home/ensonic/Minecraft/data/launcher.pack to data/launcher.jar
Cleaning up /home/ensonic/Minecraft/data/launcher.pack
Starting launcher.
[21:37:36 INFO]: Minecraft Launcher 1.6.89-j (through bootstrap 5) started on linux...
[21:37:36 INFO]: Current time is Oct 16, 2019 9:37:36 PM
[21:37:36 INFO]: System.getProperty('os.name') == 'Linux'
[21:37:36 INFO]: System.getProperty('os.version') == '5.2.9-1-default'
[21:37:36 INFO]: System.getProperty('os.arch') == 'amd64'
[21:37:36 INFO]: System.getProperty('java.version') == '1.8.0_222'
[21:37:36 INFO]: System.getProperty('java.vendor') == 'IcedTea'
[21:37:36 INFO]: System.getProperty('sun.arch.data.model') == '64'So even if I download a new launcher.jar manually and put it into data/, it gets overwritten by a stale version on https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma.
When I make launcher.jar readonly the updater fails. I see no option to tell it to not update.
I am also trying the new launcher, but it does not start (see
MCL-12329).$ java -jar Minecraft.jar --workDir data
Bootstrap (v5)
Current time is Oct 16, 2019 9:37:27 PM
System.getProperty('os.name') == 'Linux'
System.getProperty('os.version') == '5.2.9-1-default'
System.getProperty('os.arch') == 'amd64'
System.getProperty('java.version') == '1.8.0_222'
System.getProperty('java.vendor') == 'IcedTea'
System.getProperty('sun.arch.data.model') == '64'Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma
Got reply in: 1051ms
Downloaded 1076,7kb in 4s at 255,8kb/s
Renaming /home/ensonic/Minecraft/data/launcher.pack.lzma.new to /home/ensonic/Minecraft/data/launcher.pack.lzma
Renamed successfully.
Reversing LZMA on data/launcher.pack.lzma to /home/ensonic/Minecraft/data/launcher.pack
Unpacking /home/ensonic/Minecraft/data/launcher.pack to data/launcher.jar
Cleaning up /home/ensonic/Minecraft/data/launcher.pack
Starting launcher.
[21:37:36 INFO]: Minecraft Launcher 1.6.89-j (through bootstrap 5) started on linux...
[21:37:36 INFO]: Current time is Oct 16, 2019 9:37:36 PM
[21:37:36 INFO]: System.getProperty('os.name') == 'Linux'
[21:37:36 INFO]: System.getProperty('os.version') == '5.2.9-1-default'
[21:37:36 INFO]: System.getProperty('os.arch') == 'amd64'
[21:37:36 INFO]: System.getProperty('java.version') == '1.8.0_222'
[21:37:36 INFO]: System.getProperty('java.vendor') == 'IcedTea'
[21:37:36 INFO]: System.getProperty('sun.arch.data.model') == '64'
Also found the beta version: https://launcher.mojang.com/download/Minecraft-beta.tar.gz, but same issue.
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 .
@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.
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).
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 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.
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.
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 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.