-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Expected exactly 1 fields, but got 0" #8
Comments
Can you share item_kinds1.txt for that module? |
Sorry for the late response mate |
I don't know it'll helped but i had the same problem with Perisno 1.20 and it worked when i restarted my pc. |
So this is kind of a broken-by-design issue... When I wrote the parser for those files, I mostly reverse-engineered it from the files themselves using Native module as a reference (and to some extent also by looking at https://github.com/Kushulain/MnBSaveGameEditor). They seemed like they have meaningful line breaks, with multiple lines per record, but of well-defined structure in terms of those breaks that clearly identifies the records. This is nice, because it means that the parser doesn't have to understand each record entirely - only the fields that the app needs. So that's how I coded it. After carefully reading the Now, it just so happened that in Native, the ad-hoc scheme that I devised around using line breaks to parse records worked - largely by accident. On the other hand, in this module (and, presumably, any other that is affected), some slight difference made it so that a line break is inserted at one point where it never occurred in Native. And so, here we are. Unfortunately I don't see any easy hack here that might make it work "good enough" with the current implementation. It just needs to be redone - Basically, one has to strictly follow the logic in the corresponding This is one of those things that I will try to gradually fix when I have time to spare. But, given Bannerlord, maintaining https://github.com/int19h/csx is a priority for me, so it probably won't be done anytime soon. If someone wants to take a crack at it to fix it sooner, I will be happy to help them figure out the codebase and do a pull request. |
Hi, is this issue still being worked on? I have the same issue with the Between Empires mod. |
Not at the moment, no. I'll happily accept pull requests to fix this, though. |
Hello
I recently downloaded this editor and i tried to use it on a modded module but right after i select the savegame and the module.ini the following error pops up:
https://imgur.com/a/fx5fiKH
I was hoping to get a little help, thanks in advance
The text was updated successfully, but these errors were encountered: