Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot proceed using dummy directories/launcher_profiles.json with MultiMC through command line #1115

Open
sedrosken opened this issue Dec 19, 2022 · 1 comment

Comments

@sedrosken
Copy link

sedrosken commented Dec 19, 2022

Per issue 761 I've created the requisite dummy directories and launcher_profiles.json under D:\Games\MultiMC so Amidst will recognize it as a valid .minecraft folder. Upon realizing I needed to specify the jar and json from their normal directories under the MultiMC folder, I can get Amidst to launch, but it fails to retrieve a profile list presumably due to the empty launcher_profiles.json. I'm unable to proceed any further. What would I need to put in that json to get a "default" profile that I could use to proceed?

Command line is thus:

java -jar .\amidst-v4-7.jar -mcjar D:\MultiMC\libraries\com\mojang\minecraft\1.1\minecraft-1.1-client.jar -mcjson D:\MultiMC\meta\net.minecraft\1.1.json -mcpath D:\Games\MultiMC

@sedrosken sedrosken changed the title Crash when using release 1.1 jar/json and dummy MultiMC directories Cannot proceed using dummy directories/launcher_profiles.json with MultiMC through command line Dec 19, 2022
@lightchao0
Copy link

Having the same issue, running from .bat since I am command line illiterate.
.bat is as follows
java -jar E:/Minecraft/Amidst/amidst-v4-7.jar -mcpath E:\Minecraft\MultiMC
the following error is given as well
[error] Error reading launcher_profiles.json [error] amidst.parsing.FormatException: result was null at amidst.parsing.json.JsonReader.read(JsonReader.java:46) at amidst.parsing.json.JsonReader.readLocation(JsonReader.java:26) at amidst.mojangapi.file.service.DotMinecraftDirectoryService.readLauncherProfilesFrom(DotMinecraftDirectoryService.java:95) at amidst.mojangapi.file.MinecraftInstallation.readLauncherProfiles(MinecraftInstallation.java:65) at amidst.gui.profileselect.ProfileSelectWindow.scanAndLoadProfiles(ProfileSelectWindow.java:129) at amidst.threading.WorkerExecutor.lambda$run$15(WorkerExecutor.java:90) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants