Closed Obrekr closed 3 years ago
I have the same issue. Doesn't ever load past Installing Vanilla Launcher, and sometimes the loading bar for vanilla launcher doubles, (See Screenshot) \Except when I launch Minecraft from .ftba/bin it works.
We have a proc that we call that launches it in the background then closes it again to generate the json.
I think this may be something related to some of the filesystem issues we've been finding recently (Java seems to dislike working across multiple file systems, and as the ftbapp 'image' is technically it's own filesystem, I'm gonna guess it's complaining because of it, alternatively, it's just the launch code not working on mac, but it was tested, but has been changed since then to allow for alternate storage locations)
I'll get someone on it ASAP, it'll likely be solved for the next preview release which we're hoping to have available this coming Wednesday, if it isn't, it'll be the next Wednesday after.
Thank you so much, It has been such a pain, I hope it gets fixed soon!😋
Can you try this build? It won't work, but it has extra logging (hopefully)
Please note that the launcher_profiles.json will need to not exist in order to get any useful logging as to what might be going wrong.
First I deleted .ftba and settings by running
rm -r .ftba
rm -r Library/Application\ Support/ftb-app
then I started your development build and tried to install a mod pack. Unfortunately I got stuck at "Creating environment..." (Log).
Here is a screenshot of the GUI:
Did I forget to delete some previously created files?
Edit
After closing the electron GUI, the downloaded Minecraft Launch dmg appeared in .ftba/bin
and was mounted (Log).
Somehow it is crashing earlier in the process than even doing anything with the Vanilla launcher, and providing no useful logging.
I've added more logging and catching of some exceptions in this build. Can you try it out for me?
Sure. Deleted settings again and tried to install a mod pack (Log). Again stuck on "Creating environment...".
A folder with random uuid is created in .ftba/instances
and it contains the art.png and instance.json.
The only file .ftba/bin
is settings.json.
I started the FTB App manually by running java -jar launcher-202007171659-61bb7d85f0-debug-200-all.jar
in /Applications/FTBApp.app/Contents/Resources/app
. I tried to install a mod pack again and got stuck. After closing the app the following log appeared in my shell as well as in launcher.log file.
Jul 17, 2020 6:47:20 PM net.creeperhost.creeperlauncher.CreeperLogger error
SEVERE: Not a valid instance '.localCache', skipping...
Jul 17, 2020 6:47:20 PM net.creeperhost.creeperlauncher.CreeperLogger info
INFO: Loaded 0 out of 1 instances.
Jul 17, 2020 6:49:49 PM net.creeperhost.creeperlauncher.CreeperLogger info
INFO: closed /127.0.0.1:51928 with exit code 1001 additional info:
Jul 17, 2020 6:49:49 PM net.creeperhost.creeperlauncher.CreeperLogger info
INFO: Starting stage INIT
Jul 17, 2020 6:49:49 PM net.creeperhost.creeperlauncher.CreeperLogger info
INFO: FTB Interactions 5 87
Jul 17, 2020 6:49:49 PM net.creeperhost.creeperlauncher.CreeperLogger info
INFO: Starting stage VANILLA
Jul 17, 2020 6:49:49 PM net.creeperhost.creeperlauncher.CreeperLogger info
INFO: Starting download of the vanilla launcher
Jul 17, 2020 6:49:49 PM net.creeperhost.creeperlauncher.CreeperLogger warning
WARNING: Vanilla already exists.
Jul 17, 2020 6:49:51 PM net.creeperhost.creeperlauncher.CreeperLogger info
INFO: Launching Vanilla launcher and closing - path and args: /Users/daniel/.ftba/bin/Minecraft.app/Contents/MacOS/launcher --workDir /Users/daniel/.ftba/bin
Hi there. Same issues under macOS Just tried debug version of a launcher (https://github.com/CreeperHost/modpacklauncher/issues/14#issuecomment-660188970) (Log) It seems stuck on trying to run vanilla launcher. But then i've tried to run launcher manually
vhd@wsh09729 .ftba % ./bin/Minecraft.app/Contents/MacOS/launcher --workDir /Users/vhd/.ftba/bin
2020-07-21 20:40:09.797 launcher[6276:465951] Claimed it found a path: /Users/vhd/.ftba/./bin/Minecraft.app/Contents/MacOS/launcher (/Users/vhd/.ftba/bin/Minecraft.app/Contents/MacOS/launcher) 4096
https://launchermeta.mojang.com/v1/products/launcher/022631aeac4a9addbce8e0503dce662152dc198d/mac-os.json
2020-07-21 20:40:10.193 nativeUpdater[6277:466012] Found executable path: /Users/vhd/.ftba/bin/Minecraft.app/Contents/MacOS/launcher
2020-07-21 20:40:10.207 nativeUpdater[6277:466012] Found executable path: /Users/vhd/.ftba/bin/Minecraft.app/Contents/MacOS/launcher
https://launchermeta.mojang.com/v1/products/launcher/022631aeac4a9addbce8e0503dce662152dc198d/mac-os.json
OK
OK
And now it kinda works?.. Except i'm unable to launch any of installed packs.
I have copied the vanilla launcher files from my normal Minecraft to the folder in Library, but that doesn't even work. It gets past installing but then doesn't launch at all.
I got the error that launcher_profiles.json
did not exist in the bin file, after adding it and a restart it started installing! After that, I had to open Minecraft client once, reinstall the mod pack and it started to work. I still can't launch from the client but I can using the command ...@....-MBP .ftba % ./bin/Minecraft.app/Contents/MacOS/launcher --workDir /Users/.../.ftba/bin
Hi, I just tried with a fresh install of the current preview (202012101145-0e92584e6c-preview) and installation of modpacks on macOS Catalina (10.15.7) works now. Thank you!
I am using App Version 202006271817-a3b3b73d4cd46fc91f731c0a18f918d9eadda1a8-release on macOS Catalina 10.15.6.
Trying to install a mod pack (with freshly installed FTB App) gets stuck on step 'Installing vanilla launcher' (Log file). After digging in the code and finding this line https://github.com/CreeperHost/modpacklauncher/blob/a3b3b73d4cd46fc91f731c0a18f918d9eadda1a8/src/main/java/net/creeperhost/creeperlauncher/minecraft/GameLauncher.java#L56 I checked my data folder under
~./ftba/bin
and no filelauncher_profiles.json
was created. So I copied over this JSON file from my vanilla Minecraft installation.After this the installation of the mod pack continued and finished (Log file). So I tried starting the freshly installed mod pack which had no visible effect and didn't start the Minecraft Launcher (Log file).
So I tried starting it myself manually from the shell by running in my data directory
./Minecraft.app/Contents/MacOS/launcher --workDir /Users/daniel/.ftba/bin
. This started the Minecraft Launcher and the mod pack profile was visible and I was able to play.I am suspecting that the installation of the Minecraft Launcher got stuck, because the Minecraft Launcher was never started and therefore
launcher_profiles.json
was never created.TL;DR For some reason on macOS starting the Minecraft Launcher from the FTB App fails.