MMh, perhaps I am doing something wrong, but when I select a folder the main window blink or refresh and what I picked is nowhere to be seen.
MMh, perhaps I am doing something wrong, but when I select a folder the main window blink or refresh and what I picked is nowhere to be seen.
Can't select folder on v0.1.2
\CK2Events\resources\app\bin\userSettings.json
{"userSettings":{"gameDirectory":"C:/path/to/folder/Crusader kings 2","bundleEdges":false}}
{"userSettings":{"gameDirectory":"C:\\path\\to\\folder\\Crusader kings 2","bundleEdges":false}}
I've released v0.1.3
Hush you, uploading takes timeI'd say that no, you haven't. As I don't see it in the first post.![]()
Looks very good. Can you build it for linux?
Here's a build just for you. Completely untested and built on windows so permissions might be broken.
I'll add linux into my build scripts so I'll have real builds going forwards.
Thank you. i am set executre permision to /CK2Events/CK2Events and /CK2Events/resources/app/bin/CK2 Events
When i load "Localisations" programm return error:
(Strict pass, # rows added, error)
(False, 566, Couldn't parse row 503 according to schema: Expected 15 columns, got 16)
And more. https://i.imgur.com/ndwNb5t.png
What went wrong?
My parser is pretty much lossless (keeps comments, loses formatting), so it can output event files again. It could add/modify nodes and write them to files with a few minor tweaks. The hard bit is making those edits in a sensible way!Ok, are you a mind reader or is this a brilliant minds think alike kinda thing? I have been building a program too, that does the same from the exact opposite direction - I was making an event builder, that I would later figure out how to parse existing events with and provide a visual interface.![]()
Heh, I took a different approach indeed. I myself started with a simple domain for the event structure (excuse me for the untidy Astah)My parser is pretty much lossless (keeps comments, loses formatting), so it can output event files again. It could add/modify nodes and write them to files with a few minor tweaks. The hard bit is making those edits in a sensible way!
If there's demand I'd be happy to pull the parser out and publish it as a library, could probably build a shared modfile toolkit of some kind. I'd have to tidy it up a fair bit first though![]()
Heh, I took a different approach indeed. I myself started with a simple domain for the event structure (excuse me for the untidy Astah)
It's simple at this point, using a lot of Strings that I want to replace by enums in the end, so you can only add commands in places where you are supposed to add them, taking scope into account, but Strings work for now.
Which I tried writing a Antler4 parser for too, but I couldn't figure out how to make it parse elements (such as rules) regardless of the order in which they appear ;_; I'd love to look at your parser![]()
How exactly does the bundle edges work, or what does it do? I don't think I'm seen any differences.
I check the bundle edge box, save, select the event file and I see the same thing as before. I click on setting and the edge box is unchecked.
But I do not seriously expect this spaghetti to be fix-able. It is a real web of 30 events referring to each others all the time with other event chains interacting with it.