Whenever I start up the MCPatcher it gives the same alert, with the same log shown below. I've deleted my .minecraft and got it back by starting up the game. Anyway to get this to work
java.io.IOException: Could not get list of launcher profiles
[spoiler]MCPatcher version is 5.0.3OS: Windows 8.1 6.3 amd64JVM: Oracle Corporation 1.7.0_60 (64 bit)Classpath: C:\Users\Chris Easter\Downloads\mcpatcher-5.0.3 (1).exeFetching https://s3.amazonaws.com/Minecraft.Download/versions/versions.json...com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 37 column 20 at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:176) at com.google.gson.Gson.fromJson(Gson.java:803) at com.google.gson.Gson.fromJson(Gson.java:741) at com.prupe.mcpatcher.JsonUtils.parseJson(JsonUtils.java:36) at com.prupe.mcpatcher.JsonUtils.parseJson(JsonUtils.java:21) at com.prupe.mcpatcher.launcher.profile.ProfileList.getProfileList(ProfileList.java:20) at com.prupe.mcpatcher.ProfileManager.rebuildProfileList(ProfileManager.java:175) at com.prupe.mcpatcher.ProfileManager.refresh(ProfileManager.java:69) at com.prupe.mcpatcher.MainForm$19.runImpl(MainForm.java:605) at com.prupe.mcpatcher.MainForm$UIWorker.run(MainForm.java:1095)Caused by: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 37 column 20 at com.google.gson.stream.JsonReader.nextString(JsonReader.java:821) at com.google.gson.internal.bind.TypeAdapters$13.read(TypeAdapters.java:358) at com.google.gson.internal.bind.TypeAdapters$13.read(TypeAdapters.java:346) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172) ... 9 morejava.io.IOException: Could not get list of launcher profiles at com.prupe.mcpatcher.ProfileManager.rebuildProfileList(ProfileManager.java:177) at com.prupe.mcpatcher.ProfileManager.refresh(ProfileManager.java:69) at com.prupe.mcpatcher.MainForm$19.runImpl(MainForm.java:605) at com.prupe.mcpatcher.MainForm$UIWorker.run(MainForm.java:1095)Fetching https://s3.amazonaws.com/Minecraft.Download/versions/versions.json...com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 38 column 20 at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:176) at com.google.gson.Gson.fromJson(Gson.java:803) at com.google.gson.Gson.fromJson(Gson.java:741) at com.prupe.mcpatcher.JsonUtils.parseJson(JsonUtils.java:36) at com.prupe.mcpatcher.JsonUtils.parseJson(JsonUtils.java:21) at com.prupe.mcpatcher.launcher.profile.ProfileList.getProfileList(ProfileList.java:20) at com.prupe.mcpatcher.ProfileManager.rebuildProfileList(ProfileManager.java:175) at com.prupe.mcpatcher.ProfileManager.refresh(ProfileManager.java:69) at com.prupe.mcpatcher.MainForm$19.runImpl(MainForm.java:605) at com.prupe.mcpatcher.MainForm$UIWorker.run(MainForm.java:1095)Caused by: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 38 column 20 at com.google.gson.stream.JsonReader.nextString(JsonReader.java:821) at com.google.gson.internal.bind.TypeAdapters$13.read(TypeAdapters.java:358) at com.google.gson.internal.bind.TypeAdapters$13.read(TypeAdapters.java:346) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172) ... 9 morejava.io.IOException: Could not get list of launcher profiles at com.prupe.mcpatcher.ProfileManager.rebuildProfileList(ProfileManager.java:177) at com.prupe.mcpatcher.ProfileManager.refresh(ProfileManager.java:69) at com.prupe.mcpatcher.MainForm$19.runImpl(MainForm.java:605) at com.prupe.mcpatcher.MainForm$UIWorker.run(MainForm.java:1095)Fetching https://s3.amazonaws.com/Minecraft.Download/versions/versions.json...com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 38 column 20 at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:176) at com.google.gson.Gson.fromJson(Gson.java:803) at com.google.gson.Gson.fromJson(Gson.java:741) at com.prupe.mcpatcher.JsonUtils.parseJson(JsonUtils.java:36) at com.prupe.mcpatcher.JsonUtils.parseJson(JsonUtils.java:21) at com.prupe.mcpatcher.launcher.profile.ProfileList.getProfileList(ProfileList.java:20) at com.prupe.mcpatcher.ProfileManager.rebuildProfileList(ProfileManager.java:175) at com.prupe.mcpatcher.ProfileManager.refresh(ProfileManager.java:69) at com.prupe.mcpatcher.MainForm$19.runImpl(MainForm.java:605) at com.prupe.mcpatcher.MainForm$UIWorker.run(MainForm.java:1095)Caused by: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 38 column 20 at com.google.gson.stream.JsonReader.nextString(JsonReader.java:821) at com.google.gson.internal.bind.TypeAdapters$13.read(TypeAdapters.java:358) at com.google.gson.internal.bind.TypeAdapters$13.read(TypeAdapters.java:346) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172) ... 9 morejava.io.IOException: Could not get list of launcher profiles at com.prupe.mcpatcher.ProfileManager.rebuildProfileList(ProfileManager.java:177) at com.prupe.mcpatcher.ProfileManager.refresh(ProfileManager.java:69) at com.prupe.mcpatcher.MainForm$19.runImpl(MainForm.java:605) at com.prupe.mcpatcher.MainForm$UIWorker.run(MainForm.java:1095)
Any ideas how to get MCPatcher working with the *new* launcher for *old* versions of minecraft? I want to patch up minecraft 1.5.2, but MCPatcher seems to throw a fit with the new launcher.
Okay, I actually got this to work. Sadly this will only work for people who already had profiles in the older launcher, but there will be a backup of the launcher_profiles.json file. Rename the new one to something else, and then rename the old one to launcher_profiles.json. Assuming you have a profile with the same name in the backup and in your new launcher profiles, you can then use MCPatcher to modify that profile as normal. Now rename the launcher_profiles files back to how they were.
MCPatcher version is 5.0.3
OS: Mac OS X 10.12.6 x86_64
JVM: Oracle Corporation 1.8.0_144 (64 bit)
Classpath: /Users/gdavid/Downloads/mcpatcher-5.0.3.jar
Fetching https://s3.amazonaws.com/Minecraft.Download/versions/versions.json...
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 125 column 20
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:176)
at com.google.gson.Gson.fromJson(Gson.java:803)
at com.google.gson.Gson.fromJson(Gson.java:741)
at com.prupe.mcpatcher.JsonUtils.parseJson(JsonUtils.java:36)
at com.prupe.mcpatcher.JsonUtils.parseJson(JsonUtils.java:21)
at com.prupe.mcpatcher.launcher.profile.ProfileList.getProfileList(ProfileList.java:20)
at com.prupe.mcpatcher.ProfileManager.rebuildProfileList(ProfileManager.java:175)
at com.prupe.mcpatcher.ProfileManager.refresh(ProfileManager.java:69)
at com.prupe.mcpatcher.MainForm$19.runImpl(MainForm.java:605)
at com.prupe.mcpatcher.MainForm$UIWorker.run(MainForm.java:1095)
Caused by: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 125 column 20
at com.google.gson.stream.JsonReader.nextString(JsonReader.java:821)
at com.google.gson.internal.bind.TypeAdapters$13.read(TypeAdapters.java:358)
at com.google.gson.internal.bind.TypeAdapters$13.read(TypeAdapters.java:346)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172)
... 9 more
java.io.IOException: Could not get list of launcher profiles
at com.prupe.mcpatcher.ProfileManager.rebuildProfileList(ProfileManager.java:177)
at com.prupe.mcpatcher.ProfileManager.refresh(ProfileManager.java:69)
at com.prupe.mcpatcher.MainForm$19.runImpl(MainForm.java:605)
at com.prupe.mcpatcher.MainForm$UIWorker.run(MainForm.java:1095)
Okay, I actually got this to work. Sadly this will only work for people who already had profiles in the older launcher, but there will be a backup of the launcher_profiles.json file. Rename the new one to something else, and then rename the old one to launcher_profiles.json. Assuming you have a profile with the same name in the backup and in your new launcher profiles, you can then use MCPatcher to modify that profile as normal. Now rename the launcher_profiles files back to how they were.
will this ever be updated to work for the new launcher?
I already asked that but the Minecraft Forum/Twitch Staff warned me. Apparently they don't like people asking for updates. They want us to wait for the mod creator to finish sleeping. That's very sad but the rules are the rules.
Whenever I start up the MCPatcher it gives the same alert, with the same log shown below. I've deleted my .minecraft and got it back by starting up the game. Anyway to get this to work
java.io.IOException: Could not get list of launcher profiles
I'm running 1.12
That explains it. Thanks for helping out!
Any ideas how to get MCPatcher working with the *new* launcher for *old* versions of minecraft? I want to patch up minecraft 1.5.2, but MCPatcher seems to throw a fit with the new launcher.
Okay, I actually got this to work. Sadly this will only work for people who already had profiles in the older launcher, but there will be a backup of the launcher_profiles.json file. Rename the new one to something else, and then rename the old one to launcher_profiles.json. Assuming you have a profile with the same name in the backup and in your new launcher profiles, you can then use MCPatcher to modify that profile as normal. Now rename the launcher_profiles files back to how they were.
Good luck!
"Couldn't get a list of launcher profiles"
You can still download the old launcher at https://minecraft.net/en-us/download/alternative
You need to open the old minecraft launcher and then mcpatcher because it can't recognize the new launcher's files.
will this ever be updated to work for the new launcher?
I already asked that but the Minecraft Forum/Twitch Staff warned me. Apparently they don't like people asking for updates. They want us to wait for the mod creator to finish sleeping. That's very sad but the rules are the rules.
Kahr hasn't been active for 3 years, an update is never going to happen, optifine is now your best bet.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumSad, but true.
MCPathcher and new launcher with older versions of MineCraft
This seems to work
change folder names to suit
http://www.sargunster.com/btwforum/viewtopic.php?f=9&t=9569