amidst icon indicating copy to clipboard operation
amidst copied to clipboard

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

Open sedrosken opened this issue 3 years ago • 1 comments

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 avatar Dec 19 '22 18:12 sedrosken

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)

lightchao0 avatar Feb 26 '23 02:02 lightchao0