So I am having an issue with mcPatcher and I think it's a bug with CIT implementation but I wanted to be sure so I'm posting it here. I know development on mcPatcher seems to have ground to a halt so I'm not holding out much hope of this being fixed if it is a bug but I have to post it somewhere so here goes...
I'm trying to use custom overlay graphics for armour icons to indicate what their enchants are. A small arrow in the bottom left of the Helm icon to represent projectile protection for example. Below is a screenshot example of what I mean.
From top to bottom it shows Projectile Protection, Fire Protection, Blast Protection.
Now this all looks fine and dandy but when I equip the items, the icons appear in seemingly random places overlayed on the actual worn armour, like in the case of blast protection on my legs and back as can be seen below:
The code I'm using for the icons is below:
type=enchantment
items=310 #Item ID for Diamond Helm
texture=/cit/Armour/blast #Directory location for blast icon file
enchantmentIDs=3 #ID of Blast Protection Enchant
blend=replace
speed=0
rotation=0
layer=6
duration=0
I've tried practically everything I can think of to get this working but it seems as though it's a fundamental problem with the way CIT is implemented. I have correctly used "type=enchantment" however this seems to be incorrectly utilising some form of bugged version of "type=armor" which is the type you need to use to replace the worn armour graphic.
Anyway I hope this makes sense to anybody and I am just doing something wrong here. If anyone can shed any light on this or help in any way then I'd be grateful.
MCPatcher version is 5.0.0_02 OS: Windows 10 10.0 x86 JVM: Oracle Corporation 1.8.0_131 (32 bit) Classpath: C:\Users\cayde\Downloads\MCPatcher-1.8.1.exe 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 80 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 80 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)
MCPatcher wont work.... Using the GLSL shaders mod
It cant find the versions
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.
When I open up mcpatcher it says: (look at my Attachment) How do I fix this, also I am not going to use optifine because I don't know how to use optifine with Minecraft beta 1.4_01
i also got the same issue :/ idk how to fix it too
So I am having an issue with mcPatcher and I think it's a bug with CIT implementation but I wanted to be sure so I'm posting it here. I know development on mcPatcher seems to have ground to a halt so I'm not holding out much hope of this being fixed if it is a bug but I have to post it somewhere so here goes...
I'm trying to use custom overlay graphics for armour icons to indicate what their enchants are. A small arrow in the bottom left of the Helm icon to represent projectile protection for example. Below is a screenshot example of what I mean.
From top to bottom it shows Projectile Protection, Fire Protection, Blast Protection.
Now this all looks fine and dandy but when I equip the items, the icons appear in seemingly random places overlayed on the actual worn armour, like in the case of blast protection on my legs and back as can be seen below:
The code I'm using for the icons is below:
I've tried practically everything I can think of to get this working but it seems as though it's a fundamental problem with the way CIT is implemented. I have correctly used "type=enchantment" however this seems to be incorrectly utilising some form of bugged version of "type=armor" which is the type you need to use to replace the worn armour graphic.
Anyway I hope this makes sense to anybody and I am just doing something wrong here. If anyone can shed any light on this or help in any way then I'd be grateful.
Thanks
MCPatcher version is 5.0.0_02 OS: Windows 10 10.0 x86 JVM: Oracle Corporation 1.8.0_131 (32 bit) Classpath: C:\Users\cayde\Downloads\MCPatcher-1.8.1.exe 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 80 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 80 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)
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.
Sad, 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
When I open up mcpatcher it says: (look at my Attachment) How do I fix this, also I am not going to use optifine because I don't know how to use optifine with Minecraft beta 1.4_01
Thanks yuio9