Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Parker147

Pages: [1] 2 3 ... 13
1
I've done a little research and it sounds like WinForms for Mono still has minor bugs here and there, which I don't really want to risk running into and having to work around. Other GUI frameworks for Mono don't sound very promising either. Qt on the other hand is much better supported. I've never touched Qt so development will be slow, but in the long run I think it will produce a better program.

2
I'm aware of the script and even put together the code needed to parse the XML it generates. When I started thinking about what I all want to fix by rewriting LegendsViewer the exported files were the first thing I wanted to tackle. The XML files are incredibly bulky and pulling data from two XML files and the history/sites text files then weaving all the data together makes things more confusing than they need to be. I tried getting around some of the bulkiness issues by compressing the exports which makes the size reasonable, but increases processing time and adds another step to that has to be considered when weaving everything together. I can fix all that by using DFHack and Protocol Buffers to create an export that is smaller, unified, faster to read/write, and doesn't require me to write code to parse it.

Once that is done I'm really wanting to see if I can make LegendsViewer cross-platform which I know a lot of people have wanted for a long time. I think doing that is going to involve moving away from C# and its niceties to C++.

3
Right, it would now require DFHack to export the data. I'm still planning to export the data to files so that DF doesn't have to be running concurrently to view that data though.

4
I haven't spent any time lately trying to fix things with LegendsViewer. I've been thinking about rewriting a lot of it and part of that would involve utilizing DFHack to get more information out of the game that isn't included in the XML export currently, like the untranslated names. So I've been spending some time investigating what I can all do with DFHack and have figured out some cool things. DFHack has the capability to export data with Google's Protocol Buffers, which allows for a way to export data and then generate the code needed to load that data. It does it in a way that would hopefully be much easier, faster, and take up less space than the current XML. Once completed it would allow LegendsViewer to access a lot more data from DF as well as make it really easy for anyone else who want to make applications to read legends data. So that has been taking up most of my free time.

5
Think I got it fixed, give the new version a shot.

6
So, Im experimenting with documenting a world and I stumbled across a curious bit that legends view doesn't do well.
http://www.bay12forums.com/smf/index.php?topic=146274.msg5887192#msg5887192

In the year 100, scant 2 months after the worldgen proper ends, the necromancer tower of Poisonbee was attacked by goblins.  They took the place for themselves, after facing resistance from a seemingly unrelated criminal.  The whole of the necromancers were slaughtered by one character, who herself died to  zombie after.  None of the entities or figures involved in the incident load in legendsviewer, giving me a prompt to quit the process every time.

I dont know if its reported or not, but here.

Do you have the exported files that I could take a look at?

7
I tried to use LV to find a vampire to drink blood from, but the Historical Figures list is empty when I mark the "Vampire" condition. A bug? Or something wrong with my world?

Thanks for this awesome tool!

Looks like a bug with Legends Viewer. If you can navigate my crappy advanced search you, select Historical Figures, with a search criteria of Active Interactions > Value > Contains > Vampire, and that will bring them up.

8
Hmm, do you think that counts as a Dwarf Fortress bug to be corrected or a suggestion? I suppose it wouldn't hurt to try a bug report if I can find a good, unmodded, save that shows it well.

It's a bug. I logged a bug report years ago with all the various missing data, assuming it is in the bug tracker still.

9
This is truly a fine piece of art and engineering, and my love for Legends Mode has been refurbished through this since the 0.34 days.

I wanted to ask, does the current version reflect all the changes and stuff that operate at 40.19?

I haven't loaded up some of the newest versions to check if anything else was added to the exported files. The output log usually says if some sort of new data isn't recognized though.

10
First I must say this is a lovely utility that is a pleasure to use and very handy.

If I could ask for more it would be to polish the xml interpretation a bit more. The specific problem that I have just noticed is with site ownership conflicts. It seems that when an adventurer takes over a site the 'actually owned by ...' detail is correct, but it isn't reflected in the civilization itself.

It should list something like ...

The Narrow Group founded Flankedmasters 1 taken over 52 by The Early Thorns of The Obeisant Orange
but instead the taken over event is not shown.  In the site detail itself the last part is ...

In 52, midsummer, (Malachite, 14) UNKNOWN HISTORICAL FIGURE linked to Tellwealthy.

In 52, midsummer, (Malachite, 14) UNKNOWN HISTORICAL FIGURE linked to Tellwealthy.

I think that's where the actual taking over happened.

That data isn't in the exported XML. Mason11987 created a script to pull all that missing data via DFHack. I was part way working through getting LegendsViewer to import that data, but kinda got sidetracked and didn't come back to finish it up. I'll see if I can find some time to create the functionality to import the rest of it.

11
Hi!

I've also been experiencing problems with XML file. I did download the 13.22 version though.



Here's the error log
Spoiler (click to show/hide)


Here's the world-legends.xml

https://mega.co.nz/#!IA10jIQQ!mHuityp1kV2AtwgL9vP_C2Vo7cSb1VOZ8ioMJX3YOsA

You didn't include the other exported files, but I think I got the issue fixed and uploaded it

12
Looks like both of you were getting the same error. I've uploaded a fixed version.

13
It will be a few days before I can look at those bugs for you guys.

Please feel free to contribute. Its on GitHub for that reason :)

14
I don't think you are doing anything wrong. In game battles are very different from historical battles. When you generate a world history those historical battles are generated in a very dumbed down manner that makes them easy to create a historical record of. In-game battles are completely different so making a nice little historical record isn't as easy and just a flaw of dwarf mode, so there isn't anything that can be done about it unfortunately.

15
I just fixed this issue (i encountered the same while opening legends of one of my saves), this is caused by some battles and other events not having "parent" wars.

you can pick the fixed version here https://ci.appveyor.com/api/buildjobs/02exws6bq39bw2c3/artifacts/Full%20Release.zip untill the maintainer integrates the fixes I submitted.
this is a build process put in place by Parker147 that automatically builds his github project , which is nice. and even nicer, it also builds submitted pull requests :)

Thanks for the bug fixes, I merged it and uploaded it to the download page

Pages: [1] 2 3 ... 13