Fell Seal: Arbiter's Mark

Fell Seal: Arbiter's Mark

View Stats:
[Solved] Xml parsing error on Abilities.xml
Hey guys, the update that launched today is looking amazing, and I couldn't wait to play it. Problem is, I have a few mods installed on my customdata folder, all working normally, until today after I updated the game. Now when I open it, the game shows an error saying there was a xml parsing error on the Abilities.xml file, and inside the game all custom abilities show as "Missing" and don't work at all. Anyone has any idea of what could be the problem?
Last edited by Depressed Hero; May 6, 2020 @ 3:09pm
Originally posted by 6 Eyes Studio:
Those values were not supposed to be used that way. It's a weird C# issue.
Anyways, the values that would produce the same result are simply the real value you're trying to use.

For example, the effect that used "kAllCount" should have been using: kfRoot kfBlind kfBleed kfPoison
instead most likely. I think that's what it was trying to do at least.

kAdvancedCount would have been the same as kfMute kfBleed
I believe.

Anyways, these previous values "happened" to have the same numerical value as combining other effects together so were equivalent. But that caused other issues, so they got removed to clean up stuff.

Our next game will have our own parser (json rather than xml), so having wrong values like this won't explode the whole xml file anymore, just the currently parsed field. It will also be more tolerant of errors (like capitalization). Glorious days are ahead ^^
< >
Showing 1-15 of 16 comments
6 Eyes Studio  [developer] May 6, 2020 @ 1:35pm 
The "My Documents\Fell Seal" folder will have an error log file in it. It should have more detailed information about the exact error.

The author of the mod is probably the best person to check with about getting this resolved, but you could send me your mod folder and I can take a look at it. The Abilities.xml file hasn't had significant changes all in all, so it's probably something pretty small.
Depressed Hero May 6, 2020 @ 2:12pm 
Indeed there is the file with the error details. Since I have almost none programming knowledge I would need help. And I only asked here for help because most mods I use were discontinued :/ Anyway, here is the error:

Error: Warning
Condition: There was an error parsing file: C:\Users\user\Documents\Fell Seal/customdata/Abilities.xml with exception: System.InvalidOperationException: There is an error in XML document. ---> System.InvalidOperationException: 'kAdvancedCount' is not a valid value for Game.Data.Abilities.NegativeEffects.
at System.Xml.Serialization.EnumMap.GetEnumName (System.String typeName, System.String xmlName) [0x00000] in <00000000000000000000000000000000>:0
at System.Xml.Serialization.XmlSerializationReaderInterpreter.GetEnumValue (System.Xml.Serialization.XmlTypeMapping typeMap, System.String val) [0x00000] in <00000000000000000000000000000000>:0
at System.Xml.Serialization.XmlSerializationReaderInterpreter.GetValueFromXmlString (System.String value, System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlTypeMapping typeMap) [0x00000] in <00000000000000000000000000000000>:0
at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadAttributeMembers (System.Xml.Serialization.ClassMap map, System.Object ob, System.Boolean isValueList) [0x00000] in <00000000000000000000000000000000>:0
at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadMembers (System.Xml.Serialization.ClassMap map, System.Object ob, System.Boolean isValueList, System.Boolean readBySoapOrder) [0x00000] in <00000000000000000000000000000000>:0
at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadClassInstanceMembers (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob) [0x00000] in <00000000000000000000000000000000>:0
at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadClassInstance (System.Xml.Serialization.XmlTypeMapping typeMap, System.Boolean isNullable, System.Boolean checkType) [0x00000] in <00000000000000000000000000000000>:0
at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadObject (System.Xml.Serialization.XmlTypeMapping typeMap, System.Boolean isNullable, System.Boolean checkType) [0x00000] in <00000000000000000000000000000000>:0
at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadObjectElement (System.Xml.Serialization.XmlTypeMapElementInfo elem) [0x00000] in <00000000000000000000000000000000>:0
at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadListElement (System.Xml.Serialization.XmlTypeMapping typeMap, System.Boolean isNullable, System.Object list, System.Boolean canCreateInstance) [0x00000] in <00000000000000000000000000000000>:0
at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadMembers (System.Xml.Serialization.ClassMap map, System.Object ob, System.Boolean isValueList, System.Boolean readBySoapOrder) [0x00000] in <00000000000000000000000000000000>:0
at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadClassInstanceMembers (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob) [0x00000] in <00000000000000000000000000000000>:0
at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadClassInstance (System.Xml.Serialization.XmlTypeMapping typeMap, System.Boolean isNullable, System.Boolean checkType) [0x00000] in <00000000000000000000000000000000>:0
at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadObject (System.Xml.Serialization.XmlTypeMapping typeMap, System.Boolean isNullable, System.Boolean checkType) [0x00000] in <00000000000000000000000000000000>:0
at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadRoot (System.Xml.Serialization.XmlTypeMapping rootMap) [0x00000] in <00000000000000000000000000000000>:0
at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadRoot () [0x00000] in <00000000000000000000000000000000>:0
at System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.Serialization.XmlSerializationReader reader) [0x00000] in <00000000000000000000000000000000>:0
at System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.XmlReader xmlReader) [0x00000] in <00000000000000000000000000000000>:0
at System.Xml.Serialization.XmlSerializer.Deserialize (System.IO.TextReader textReader) [0x00000] in <00000000000000000000000000000000>:0
at ApEngine.XmlLoader.LoadFromFile[T] (System.String file) [0x00000] in <00000000000000000000000000000000>:0
at ApEngine.XmlLoader.LoadFromFile[T] (System.String file, ApEngine.IFileSystem fileSystem) [0x00000] in <00000000000000000000000000000000>:0
at Game.Data.Abilities.LoadExtraAbilities (ApEngine.IFileSystem fileSystem, System.String customAbilities, System.Boolean disableTelemetry, Game.TermsDictionary terms) [0x00000] in <00000000000000000000000000000000>:0
at Game.Data.Abilities.Load () [0x00000] in <00000000000000000000000000000000>:0
at Game.Data.Abilities..ctor () [0x00000] in <00000000000000000000000000000000>:0
at Game.Data.Database..ctor () [0x00000] in <00000000000000000000000000000000>:0
at Game.Data.Database.CreateInstance () [0x00000] in <00000000000000000000000000000000>:0
at MainLoop.Init3 () [0x00000] in <00000000000000000000000000000000>:0
at MainLoop.Update () [0x00000] in <00000000000000000000000000000000>:0
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.Serialization.XmlSerializationReader reader) [0x00000] in <00000000000000000000000000000000>:0
at System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.XmlReader xmlReader) [0x00000] in <00000000000000000000000000000000>:0
at System.Xml.Serialization.XmlSerializer.Deserialize (System.IO.TextReader textReader) [0x00000] in <00000000000000000000000000000000>:0
at ApEngine.XmlLoader.LoadFromFile[T] (System.String file) [0x00000] in <00000000000000000000000000000000>:0
at ApEngine.XmlLoader.LoadFromFile[T] (System.String file, ApEngine.IFileSystem fileSystem) [0x00000] in <00000000000000000000000000000000>:0
at Game.Data.Abilities.LoadExtraAbilities (ApEngine.IFileSystem fileSystem, System.String customAbilities, System.Boolean disableTelemetry, Game.TermsDictionary terms) [0x00000] in <00000000000000000000000000000000>:0
at Game.Data.Abilities.Load () [0x00000] in <00000000000000000000000000000000>:0
at Game.Data.Abilities..ctor () [0x00000] in <00000000000000000000000000000000>:0
at Game.Data.Database..ctor () [0x00000] in <00000000000000000000000000000000>:0
at Game.Data.Database.CreateInstance () [0x00000] in <00000000000000000000000000000000>:0
at MainLoop.Init3 () [0x00000] in <00000000000000000000000000000000>:0
at MainLoop.Update () [0x00000] in <00000000000000000000000000000000>:0
Last edited by Depressed Hero; May 6, 2020 @ 2:13pm
Depressed Hero May 6, 2020 @ 3:08pm 
Ok, i messed around with my little knowlege and got it to work! I just had to remove the kAdvancedCount and the kAllCount effects from the file and everything worked again. Thank you for pointing ou the error log!
Cartmann May 6, 2020 @ 6:05pm 
So those 2 negative effects were working prior to the patch, I'm not sure what they mean but whatever they were either the keywords for the 2 effects has changed, or some old unused effects were removed.

I've done the same as the poster who's raised this, though I've no idea what will happen as a result
The author of this thread has indicated that this post answers the original topic.
6 Eyes Studio  [developer] May 6, 2020 @ 7:21pm 
Those values were not supposed to be used that way. It's a weird C# issue.
Anyways, the values that would produce the same result are simply the real value you're trying to use.

For example, the effect that used "kAllCount" should have been using: kfRoot kfBlind kfBleed kfPoison
instead most likely. I think that's what it was trying to do at least.

kAdvancedCount would have been the same as kfMute kfBleed
I believe.

Anyways, these previous values "happened" to have the same numerical value as combining other effects together so were equivalent. But that caused other issues, so they got removed to clean up stuff.

Our next game will have our own parser (json rather than xml), so having wrong values like this won't explode the whole xml file anymore, just the currently parsed field. It will also be more tolerant of errors (like capitalization). Glorious days are ahead ^^
Depressed Hero May 7, 2020 @ 4:13am 
That's amazing! Thank you for the detailed explanation, I will change the values to what they should be on the first place, as you said. But again, thank you for everything.
Cartmann May 7, 2020 @ 7:13am 
Thanks guys, appreciate the hard work and thanks for letting us know :D
dFour May 8, 2020 @ 2:29pm 
Abilities.xml broken after update.
So I have played the game for a bit now and am absolutely in love with it. But since I had my fair share of good Tactic games, I wanted to go in modded for this one.
After the quality of life update dropped, the most popular mod on nexus https://www.nexusmods.com/fellsealarbitersmark/mods/1 doesn´t work anymore. The game apperently cant read the Abilities.xml file anymore. I tried importing the Lines in the example XML to the modded one, which didnt work.
Originally posted by dFour:
Abilities.xml broken after update.
So I have played the game for a bit now and am absolutely in love with it. But since I had my fair share of good Tactic games, I wanted to go in modded for this one.
After the quality of life update dropped, the most popular mod on nexus https://www.nexusmods.com/fellsealarbitersmark/mods/1 doesn´t work anymore. The game apperently cant read the Abilities.xml file anymore. I tried importing the Lines in the example XML to the modded one, which didnt work.

[Moderator Action] merging thread of same topic.

Hey dFour-

See this thread as it has the solution which you're looking for.
dFour May 8, 2020 @ 2:49pm 
Much appreciated, i'll try to resolve this on my own pace! Not much of a coder lol.
LivingLegend May 14, 2020 @ 5:32pm 
Am Struggling here with same issue.
I have removed the kAdvancedCount and the kAllCount and am still getting the parse XML error for the abilities.
It doesnt seem to be making an error report so I can't find out whats wrong.
Someone else reported that removing the following helped them:

document. ---> System.InvalidOperationException: 'kAffinity_StartIndex' is not a valid value for Game.Data.Abilities.PositiveEffects.

this "kAffinity_StartIndex" is also something that is inside the "Effects=" area of an ability - just like the ones pointed out in the Steam discussion. so I'm assuming its also something that should not be used as something like that in my instance, for reasons beyond my understanding lol

seemingly its pointing to an effect that doesnt exist according to the game
yay, no more XML parsing error on startup!
LivingLegend May 14, 2020 @ 5:57pm 
That was it!
Thank you so much!
Lueluk Jun 11, 2020 @ 6:27am 
somone pls explain how to fix the abilit.xml error
Last edited by Lueluk; Jun 11, 2020 @ 6:50am
Depressed Hero Jun 11, 2020 @ 6:49am 
What error exactly shows up on the error log? You can find this error log on the Documents\Feel Seal folder.
< >
Showing 1-15 of 16 comments
Per page: 1530 50