Open SalvagedPickle opened 2 years ago
The mod.json file in the release pack is badly formatted. Looks like it has a repeat.
Manually remove line 5 ("<<<<<<< Updated upstream") and everything after and including line 104 ("=======")
This lets it load, but I haven't tested to see if it is working.
ModTek v0.8.0 -- 1/6/2022 5:05:59 PM Loaded config from path: E:\Steam\steamapps\common\BATTLETECH\Mods\ModTek\config.json Error: Caught exception while parsing mod.json at path E:\Steam\steamapps\common\BATTLETECH\Mods\PanicSystem\mod.json Newtonsoft.Json.JsonReaderException: Invalid property identifier character: <. Path 'Hidden', line 5, position 0. at Newtonsoft.Json.JsonTextReader.ParseProperty () [0x00077] in:0
at Newtonsoft.Json.JsonTextReader.ParseObject () [0x000d8] in :0
at Newtonsoft.Json.JsonTextReader.Read () [0x00053] in :0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x0028f] in :0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0015c] in :0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0006d] in :0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000db] in :0
at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00053] in :0
at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in :0
at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in :0
at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in :0
at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value) [0x00000] in :0
at ModTek.ModDefEx.CreateFromPath (System.String path) [0x00006] in <04a9e173063f444683f429bf9b7ee148>:0
at ModTek.ModTek+d__167.MoveNext () [0x000c0] in <04a9e173063f444683f429bf9b7ee148>:0