XML dump is incomplete! Anywhere that there are details left out I noted with "UNKNOWN" however if you see any "INVALID" then its a bug that needs to be fixed.If you export the data with DFHacks' `exportlegends info` a lot of additional data is available and you will get less "UNKNOWN" information.
Do you think it'd be possible to run it under Mono?
Odd entry in Legends Viewer for a world I just generated. I'm using a modded in race of minotaurs, but I don't think that'd cause this:
"In 258, early summer, (Hematite, 15) the hydra Cavere Largespecial the Growth of Blisters fought with Ingiz. While defeated, the latter escaped unscathed. In The 2nd rampage of Cavere Largespecial the Growth of Blisters in Gemwondered as part of a competition."
Awesome that the 1 year old Ingiz Gildrush survived a hydra attack. Odd that it was part of a competition...!
DF Legends mode records the attack, but not as a competition.
Interestingly, Ingiz went on to become a farmer, then suddenly at the age of 19 began worshiping rocs. 4 of them at first. A couple of years later she became queen and added another roc to her God list. She worships a hydra on the side too (not the one that tried to eat her as a child).
Where I can see ceremonies and other new events? I can't find them in program. Using with 42.03 DF.
Changelog 1.14.02:Spoiler (click to show/hide)
Changelog 1.14.01:Spoiler (click to show/hide)
Changelog 1.14.00:Spoiler (click to show/hide)
OK tried this out now. It's nice. But you've made it incompatible with mods.
Legends Viewer is good because it throws up information about whatever you mod into it. It's great and flexible that way.
I've got a fairly normal world which I've modded an extra race of minotaurs into.
But in new Legends Viewer:
Minotaurs don't show up on the opening graph.
Each Minotaur civ is listed as having no original race members left (lie)
The civilized population of one of my Minotaurs civs apparently consists of Dwarves, Elves, Humans and goblins (despite the population of 8764 minotaurs, who I'm pretty sure are civilized in their own misguided way)
I like the 'was slowly repopulated' information. That's good to know.
Also the what's the top graph total number calculated from? It doesn't match Site Populations. Is it including outcasts?
My main goal with this release was essentially to get a good overview of all this things without having to navigate through a lot of pages.
Instead of only a list of civilization names you now get more detailed information on top of the world stats page.
The total numbers in the chart come from the regionx-xxxx-xx-xx-world_sites_and_pops.txt file.Interesting. Where does the 'Site Poulations' section get it's numbers from? It's only a very small difference when you add in outcasts and prisoners. Maybe wandering historical figures aren't counted as belonging to any site?
Where I can see ceremonies and other new events? I can't find them in program. Using with 42.03 DF.
The total numbers in the chart come from the regionx-xxxx-xx-xx-world_sites_and_pops.txt file.Interesting. Where does the 'Site Poulations' section get it's numbers from? It's only a very small difference when you add in outcasts and prisoners. Maybe wandering historical figures aren't counted as belonging to any site?
Sure, I'll upload something when I get back from work later.
I really like the new features. Get them working for modded civs and it'll be near-perfect (besides DFhack only features).
regionx-xxxxx-xx-xx-legends.xml
regionx-xxxxx-xx-xx-world_history.txt
regionx-xxxxx-xx-xx-world_map.bmp
regionx-xxxxx-xx-xx-world_sites_and_pops.txt
I'd like to add a small feature request if I may, something that's been bothering me since the beginning. Legends Viewer only loads one map, and doesn't allow for more than one alternate map (which needs to be loaded manually). Furthermore, it's very frustrating that when navigating away from the map page, the alternate map gets unloaded. It'd be super useful for LV to load all the maps it can find, and also allow for loading other maps (for example, my Satellite Map Maker (http://www.bay12forums.com/smf/index.php?topic=137076.0), or the Fantasy Map Maker maps), which would not then unload after clicking on something.
So I noticed that the checkboxes for vampires and werebeasts were not working, which is a shame because I need to know how many vampire leaders there are in my large sized 400 year old world. As such I fixed it and made a pull request: https://github.com/Kromtec/Legends-Viewer/pull/1
Additionally I just made a quick jsbin demo of an idea I had for the skills display, in particular skills can take up a lot of room vertically, so I decided it might look nicer with an inline block display with colour coding and hover over: http://jsbin.com/yapaxadaqe
Any thoughts? I can work on this and submit a pull request if it looks promising.
Thank you for the vampire and werebeast bugfix, I already merged it into the branch! :)
I like your idea for the skill display. It looks a lot better than the simple list, but I am not entirely sure about the color coding.
Skills are already associated with certain colors of their profession.
For example fish cleaner, fish dissector, fisherdwarf have the dark blue color of their parent profession fishery worker.
http://dwarffortresswiki.org/index.php/DF2014:Skill#Skills (http://dwarffortresswiki.org/index.php/DF2014:Skill#Skills)
In Dwarf Therapist the skill level is represented with a growing square and a diamond symbol for legendary.
If you could manage that the skill list looks like in your demo but with their profession color instead of a level color and a level symbol like in DT next to their name it would be perfect!
Windows doesn't let me open the latest version and my antivirus found a virus in it.
(http://i.imgur.com/ZP2Lzgv.png)
Didn't happen with 1.14.01
Got any explanations?
I'd like to add a small feature request if I may, something that's been bothering me since the beginning. Legends Viewer only loads one map, and doesn't allow for more than one alternate map (which needs to be loaded manually). Furthermore, it's very frustrating that when navigating away from the map page, the alternate map gets unloaded. It'd be super useful for LV to load all the maps it can find, and also allow for loading other maps (for example, my Satellite Map Maker (http://www.bay12forums.com/smf/index.php?topic=137076.0), or the Fantasy Map Maker maps), which would not then unload after clicking on something.
I'd like to add a small feature request if I may, something that's been bothering me since the beginning. Legends Viewer only loads one map, and doesn't allow for more than one alternate map (which needs to be loaded manually). Furthermore, it's very frustrating that when navigating away from the map page, the alternate map gets unloaded. It'd be super useful for LV to load all the maps it can find, and also allow for loading other maps (for example, my Satellite Map Maker (http://www.bay12forums.com/smf/index.php?topic=137076.0), or the Fantasy Map Maker maps), which would not then unload after clicking on something.
I'd say looking at the code for maps this should be possible, I'm going to spend some time working on the map code and I'll try to implement this as I go.
I'd like to add a small feature request if I may, something that's been bothering me since the beginning. Legends Viewer only loads one map, and doesn't allow for more than one alternate map (which needs to be loaded manually). Furthermore, it's very frustrating that when navigating away from the map page, the alternate map gets unloaded. It'd be super useful for LV to load all the maps it can find, and also allow for loading other maps (for example, my Satellite Map Maker (http://www.bay12forums.com/smf/index.php?topic=137076.0), or the Fantasy Map Maker maps), which would not then unload after clicking on something.
I'd say looking at the code for maps this should be possible, I'm going to spend some time working on the map code and I'll try to implement this as I go.
I already put in the part where the alternate map and the opacity setting is remembered during a session.
If you could take a look into how to load more than one alternate map it would be awesome.
I think the best option is to rewrite a large section of the map code, The design is not incompatible with multiple alternate maps, but it would be a duct tape style solution. I'd rather just create a more modular pattern for maps and map features, so I'm going to take a stab at that method. In the mean time I have some other smaller ideas I'd also like to work on, so I'll probably split the time I work on this 50/50 over working on maps and some other small changes. Parker talked about rewriting maps, charts, and figuring out a winforms solution to legend pages, none of which are small changes. I feel like maps needs the least amount of work to become fully modular, so it seems like the best place to start.
I think the best option is to rewrite a large section of the map code, The design is not incompatible with multiple alternate maps, but it would be a duct tape style solution. I'd rather just create a more modular pattern for maps and map features, so I'm going to take a stab at that method. In the mean time I have some other smaller ideas I'd also like to work on, so I'll probably split the time I work on this 50/50 over working on maps and some other small changes.Yeah a map overhaul would be great! If you take this into your hands I'll stay away from this part.
Parker talked about rewriting maps, charts, and figuring out a winforms solution to legend pages, none of which are small changes. I feel like maps needs the least amount of work to become fully modular, so it seems like the best place to start.I am not so sure if changing everything into WinForms is still a good idea. WinForms is (except for a few bugfixes) abandoned by Microsoft for years.
I think the best option is to rewrite a large section of the map code, The design is not incompatible with multiple alternate maps, but it would be a duct tape style solution. I'd rather just create a more modular pattern for maps and map features, so I'm going to take a stab at that method. In the mean time I have some other smaller ideas I'd also like to work on, so I'll probably split the time I work on this 50/50 over working on maps and some other small changes.Yeah a map overhaul would be great! If you take this into your hands I'll stay away from this part.Parker talked about rewriting maps, charts, and figuring out a winforms solution to legend pages, none of which are small changes. I feel like maps needs the least amount of work to become fully modular, so it seems like the best place to start.I am not so sure if changing everything into WinForms is still a good idea. WinForms is (except for a few bugfixes) abandoned by Microsoft for years.
As some of you may have already seen. I released Version 1.14.02 today!
...
Changelog 1.14.02:
# World Stats + Populations + Artifacts
### World Stats
* Added a chart for civilized world populations
* Split civ-list into current and fallen civilizations
* Added population and site count information for each civilization
This looks really cool Kromtec, nicely done!
I recognize that you're quick to give credit to Parker147, but thanks for continuing this Kromtec!
In regards to the program, I keep getting script errors. I'm positive it's because I don't have IE anything installed and you clearly state, "To display the new population chart correctly you will need IE9+ rather than IE7+ as previously."
It still works well enough (I just don't get the fancy graphs, etc), but I hope there is a way to turn off the script error from popping up every time I navigate to a page in the program. Most of the instructions I've read point me to turn it off in IE (not installed) and I did "Disable script debugging (Other)" under Internet Properties > Advanced > Browsing to no effect.
It's a minor annoyance to an otherwise great program.
Thanks again regardless!
Fixed in the next version by suppressing script errors for the WebBrowser control.
Now that was a big one! Version 1.15.00 is released! :D
Skills with square boxes is kind of weird. It's pretty confusing for anyone not familiar with dwarf therapist. How big is good? How big do boxes get? Talented, skilled, grandmaster, etc is surely more informative? Color coding is nice though.
Excellent! Much better breakdown of my slightly modded world with this new version. OP Minotaurs rule the planet while goblins and humans struggle for second place.The errors in the DFHack console window don't seem to harm the generated xml. But in some rare cases such a vector value finds its way into the xml.
Got a big bunch of errors when exporting legends_plus file mentioning vector<int32_t but waited a while and it seemed to work. There don't seem to be any lines in the xml with that in it though. Loads OK with no extra work.
The rescue of my prisoners doesn't show up in my adventurers event log. Is that just something legends can't export yet?I loaded lots and lots of worlds and tried to put every information I found into the program. But I am sure that in worlds played in adventure mode and in old fortresses there are plenty of events I haven't encountered in my tests.
Also, minor detail, but Legends Mode mentions that a prisoner 'escaped' from her prison, but in Legends Viewer says she was 'released'. Also her goal is apparently 'maintain entity status'. What does that mean!?
Skills with square boxes is kind of weird. It's pretty confusing for anyone not familiar with dwarf therapist. How big is good? How big do boxes get? Talented, skilled, grandmaster, etc is surely more informative? Color coding is nice though.
Excellent work so far. I use Legends Viewer a lot in planning my DF campaigns, so really enjoy the updates!
I agree with this sentiment. I am not a user of Dwarf Therapist although I would guess that the bigger the box the better. The organization is nice, but the boxes are meaningless outside of a Therapist user.
I see you can painstakingly mouse over each skill for more detail, but at a glance the size of the box doesn't parse efficiently (again, unless you are familiar with Therapist). As Shonai_Dweller mentioned, how small is Dabbling? How large is Legendary? Even with a size legend of sorts, why force the user to conform to a method the game doesn't even use?
Describing the skill just like the game does has more universal appeal, since no matter how you play the game or what external tools you use or don't use that is how the skills read in the game. Not to mention you could see the entire skill set levels at once without having to mouse over each one (Ack!).
To curb my criticism, thank you once again for all of the hard work. Sincerely.
System.ArgumentException: Path is empty
at System.IO.Path.Validate (System.String path, System.String parameterName) <0xb55659b0 + 0x000cd> in <filename unknown>:0
at System.IO.Path.Validate (System.String path) <0xb5565970 + 0x00027> in <filename unknown>:0
at System.IO.Directory.ValidateDirectoryListing (System.String path, System.String searchPattern, System.Boolean& stop) <0xb5555510 + 0x0002d> in <filename unknown>:0
at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) <0xb5555780 + 0x00061> in <filename unknown>:0
at System.IO.Directory.GetFiles (System.String path, System.String searchPattern) <0xb5554bb0 + 0x00034> in <filename unknown>:0
at System.IO.Directory.GetFiles (System.String path) <0xb5554b70 + 0x00027> in <filename unknown>:0
at LegendsViewer.FileLoader.LocateOtherFiles (System.String xmlFile) <0xaefaab08 + 0x002c7> in <filename unknown>:0
at LegendsViewer.FileLoader.AttemptLoadFrom (System.String file) <0xaefaaa20 + 0x0006b> in <filename unknown>:0
at LegendsViewer.FileLoader.XMLClick (System.Object sender, System.EventArgs e) <0xaefa9ea8 + 0x0002b> in <filename unknown>:0
at System.Windows.Forms.Control.OnClick (System.EventArgs e) <0xb1b050e0 + 0x00056> in <filename unknown>:0
at System.Windows.Forms.Button.OnClick (System.EventArgs e) <0xb1b05070 + 0x0004b> in <filename unknown>:0
at System.Windows.Forms.ButtonBase.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) <0xb1b65d88 + 0x00118> in <filename unknown>:0
at System.Windows.Forms.Button.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) <0xb1b65d60 + 0x00017> in <filename unknown>:0
at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m) <0xb1b65b38 + 0x00124> in <filename unknown>:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) <0xb3197660 + 0x001c3> in <filename unknown>:0
at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message& m) <0xb1ba4050 + 0x0005f> in <filename unknown>:0
at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m) <0xb1ba4028 + 0x00017> in <filename unknown>:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) <0xb3197640 + 0x0001d> in <filename unknown>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) <0xb3197610 + 0x0002b> in <filename unknown>:0
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) <0xb3196248 + 0x002cb> in <filename unknown>:0
I just added a ton of issues to the Github page Kromtec. Some are bugs and some are feature requests. Please take a look when you have time. :D
Thanks for continuing the development of Legends Viewer, but I have a major bug when running the app using Mono under Linux.
Noticed this while browsing competitions:I try to fix this bug in the next version. Thanks for reporting!
The history of Itni Dashedorgan - competitive bard:Spoiler (click to show/hide)
I didn't notice the second line at first and thought it was pretty funny that Itni was beaten repeatedly by his apprentice and finally got rid of him. Checking Legends reveals that in 49 Itni actually ceased being the apprentice of Thudu Strifeulnourished, not the master.
Competition is 'involving the Berry of Lyrics" according to Legends. Is it possible to get the poetic and musical forms yet? Everything's listed as "UNKNOWN POETIC CONTENT" right now. Some, but not all of the books are "UNKNOWN CONTENT" too for some reason (using Dfhack legends-plus xml)Recently Karater (http://www.bay12forums.com/smf/index.php?action=profile;u=114278) did an outstanding job in expanding the exportlegends script with additional information for the legends_plus.xml.
Is there any way to parse relationship information (mothers, fathers, brothers, sisters, friends, acquaintances, enemies, etc)?Some of this information already gets parsed and is displayed. But if the related person is not a historical figure (hasn't an entry in DF legends mode) the information is simply not available.
Hi there.
There was interesting discusion on reddit today about how great it would be to have family tree to keep track who is related to who. Since legend viewer already tracks this information do you think it would be possible to add function like this to it?
This is incredible. I don't have the chance to test this now, but does this include sitemaps yet?
### Site Maps
* Read site maps if exported with DFHacks' `exportlegends all`.
* They are loaded when navigating to the page of the site not at startup.
* They have to be in the same folder as the XMLs (Archive not supported)
I understand why the size of the site map thumbnail matches the other two images when they are displayed together, but wouldn't the site maps be more useful if they actually lead to the file's original resolution? Right now it just leads to the default map just like the other two. I'm not sure I see the point of viewing a 50x50 pixel image of the site map when the image is 816x816 at it's largest.
They are displayed in 250x250 pixel ;)
I will enhance the sitemap behaviour in a future release.
Hi. Just wanted to say thanks for making the changes. I've actually been maintaining my own version locally for a while and have merged in most of the recent changes as you have been updating it recently.
I was doing some work with ObjectListView to have a better list control for filtering and sorting. I also did my own legends_plus xml merging. Quite a bit is incompatible with the current release so the merging work is getting to be quite a bit.
Anyway I'm just making you aware of it if you are interested in merging it in. The change history is not really useful since I was maintaining it for myself but felt I should at least post it back to see if you are interested. Also helps me if merges are less painful in the future. Some of my approaches to events and strings may be less error prone and useful but I'll let you determine that for yourself since you seem to know what you are doing.
Additional Information:Spoiler (click to show/hide)
New Release 1.16.02!
Now that DFHack has released an alpha version for 0.42.05 it wont be long till the LazyNewbPack catches up.
Basics are in, I added the ObjectListView to entities and regions too and will continue for all other tabs and subtabs over the next days.
I didn't have the time to go through your other xml parse / event improvements today but thats also on my list.
If you have the time, I would appreciate it if you could fork my branch and help me to incorporate more of your code. :)
I'd be happy to help when I have more time but alas not until next wednesday i think at the earliest if I'm lucky. But thanks for trying (or succeeding since you had other changes merged).
The only thing that I would really like is not to have to have an internet connection for the code to work correctly. I couldn't figure out how to embedded the css files and make them actually work I guess more needed there. Maybe there is a way to intercept the webbrowser download and supply a local version. Anyway, thanks for our work.
I cant seem to make Legends Viewer work. Every time i try to load xml i get this error ->
(http://s29.postimg.org/x7wccr18j/problem.jpg) (http://postimg.org/image/x7wccr18j/)
I am playing Dark Ages II.
I'm also having trouble getting this to work with Dark Ages II (more detail here http://www.bay12forums.com/smf/index.php?topic=72702.msg6967161#msg6967161 (apologies if I posted in the wrong thread!)). Legends Browser and World Viewer don't seem to have any issue with the same files, though.The problem appears to be with the world map. Was that exported from Legends mode? Otherwise it might be corrupted or something and possibly the other versions dont use it so dont have problems. Maybe its name doesn't match the prefix expected.
I cant seem to make Legends Viewer work. Every time i try to load xml i get this error ->
(http://s29.postimg.org/x7wccr18j/problem.jpg) (http://postimg.org/image/x7wccr18j/)
I am playing Dark Ages II.
I'm also having trouble getting this to work with Dark Ages II (more detail here http://www.bay12forums.com/smf/index.php?topic=72702.msg6967161#msg6967161 (apologies if I posted in the wrong thread!)). Legends Browser and World Viewer don't seem to have any issue with the same files, though.
regionx-xxxxx-xx-xx-legends.xml
regionx-xxxxx-xx-xx-legends_plus.xml (if you exported this file using DFHack)
regionx-xxxxx-xx-xx-world_history.txt
regionx-xxxxx-xx-xx-world_map.bmp
regionx-xxxxx-xx-xx-world_sites_and_pops.txt
# Occasions + Relationships + new 0.43.XX infos + Bugfixes
### Occasion Information
* display name and type of occasions
* read schedule and feature infos
### Historical Figure Relationships
* display related historical figures
* show type (friendly, buddy, bully, grudge, ...)
* and strenght of relationship
### Site Information
* read and print new 0.43.XX rectangle information (Position + Size)
* show link to region in which the site is located (also for mountain peaks)
* also find sitemaps if processed with legendexport compress and sort script (extracted to .\site_maps\*.png)
### Region Information
* show list of sites and mountain peaks located in this region
### Structure Information
* Temples: Deity and Religion
* Inhabitants
### Various Enhancements
* added writtencontent types for musical composition and choreography
* added scheduletype musical competition
* added death cause heat
### Bugfixes
* fixed crash when creating population chart if only one member of a race was left
* special char in custom dwarf names led to empty familygraph
* site event tab was not filled with event types
* temporary work-around for invalid "important location" and "advmode camp" information
* correct texts for site retire/unretire
### Tweaks
* proper gender for noble positions
* find correct noble position in some cases if xml_plus not present
* removed historicalfigure caste from tooltip if "Default"
* removed historicalfigure caste + type from historical figure page if "Default" or "Standard"
* Site founded display in siteprinter (-1 => in a time before time)
* splitted deities and other related historical figure lists on Historical Figure pages
* sorted worshipped deities list by strength of worship
* special text for historical figures that came back from the dead more than once
* more detailed "unknown property" reports
**Note:**
_The new legends_plus.xml features require [DFHack](https://github.com/DFHack/dfhack/releases) which is usually included in [Lazy Newb Pack](http://lazynewbpack.com/) for exporting the additional XML file!_
_To display the population chart and family trees correctly you will need IE9+ rather than IE7+ as previously._
# Familygraph Overhaul + Performance
### Familygraph
* new layout for the familygraph to make it a real familytree (nodes in the same generation are on the same level)
* special styles, shapes and icons in familygraph for vampires, werebeasts, necromancers, ghosts
* track the lineage of leaders, they are highlighted by a crown symbol and their node is octagon shaped
### Performance
* limit for visible ancestors in the familytree to ensure performance on weaker systems or old worlds
* you can of course go further back in the familytree but you have to navigate through the pages of the ancestors
* site page - only show short summary if more than 100 beast attacks or more than 100 deaths instead of the whole list
* regions and undergroundregions - only show short summary if more than 100 deaths instead of the whole list
* limit eventlog on all pages to 500, use filter in the eventstab if log exceeds this limit
* lots and lots of small performance and memoryusage improvements to the hot path of the code
### Various Enhancements
* you can now search for necromancers in the historical figures tab
* you can now search for animated corpse in the historical figures tab
* added writtencontent reference type for sphere
* added entity reputations for hero and hunter
* added death cause "vanished" and "encased in cooling magma"
### Bugfixes
* prevent itemstolen event to be doubled per site
* animated corpse were incorrectly classified as necromancers
* fix for UsedIdentity crash
### Tweaks
* Leader Position in Tooltip of Historical Figures
* Show duration for loading the world instead of start and end time
**Note:**
_The new legends_plus.xml features require [DFHack](https://github.com/DFHack/dfhack/releases) which is usually included in [Lazy Newb Pack](http://lazynewbpack.com/) for exporting the additional XML file!_
_To display the population chart and family trees correctly you will need IE9+ rather than IE7+ as previously._
Thanks for the great tool!
I tried to run it under Linux using mono, but it seems that the program is making calls to Windows native libraries (user32.dll), that are not replaced by mono.
Anyone had the same problem?Spoiler (click to show/hide)
Glad this is still being worked on. Looks like when the artifact release comes out, there's gonna be a lot more work to do!
Yeah, I look forward to that! Will be really cool to flesh out the artifact pages.
I am especially excited about the whole myth generator stuff. It will open lots and lots of new content to discover in legends mode.
BrowserScrollPosition = HTMLBrowser.Document.Body.ScrollTop;
BrowserScrollPosition = HTMLBrowser.Document.GetElementsByTagName("HTML")[0].ScrollTop;
Basics are in, I added the ObjectListView to entities and regions too and will continue for all other tabs and subtabs over the next days.
I didn't have the time to go through your other xml parse / event improvements today but thats also on my list.
If you have the time, I would appreciate it if you could fork my branch and help me to incorporate more of your code. :)
Sorry I missed this also have been very busy and will continue to be so for another week. I did actually merge in your branch. I figured that git would sort out that they both derived from same repo and handle a merge more gracefully since I merged in your master multiple times. I guess not.
I'd be happy to help when I have more time but alas not until next wednesday i think at the earliest if I'm lucky. But thanks for trying (or succeeding since you had other changes merged).
The only thing that I would really like is not to have to have an internet connection for the code to work correctly. I couldn't figure out how to embedded the css files and make them actually work I guess more needed there. Maybe there is a way to intercept the webbrowser download and supply a local version. Anyway, thanks for our work.
New Release 1.17.01!
I put up a pull request on github for that issue (and a few more). So figment, keep the design enhancements coming, i added a local mini webserver.I did figure out how to load CSS and JS into the webbrowser for another project so next time I work on this I'll update my fork to use those changes. Given that I'm currently working on dfhack and just finished updating my TWBT, the next thing for me is usually exportlegends followed by the Legends Viewer. Unfortunately, I had a harddrive fail and while it was only games and therefore nothing really unrecoverable and thus why not backed up I realized that my DF lua scripts were lost and now I have rewrite most of my hack scripts that go along with my use of the viewer. Anyway, possible updates from me in the future (dont count on it as I'm terribly unreliable).
I cant seem to make Legends Viewer work. Every time i try to load xml i get this error ->
(http://s29.postimg.org/x7wccr18j/problem.jpg) (http://postimg.org/image/x7wccr18j/)
I am playing Dark Ages II.
I cant seem to make Legends Viewer work. Every time i try to load xml i get this error ->
(http://s29.postimg.org/x7wccr18j/problem.jpg) (http://postimg.org/image/x7wccr18j/)
I am playing Dark Ages II.
I had the same error when loading an XML. I tried to change my graphic pack and export again and this time it worked.
The XML that didn't work was with Meph 32px graphic pack and the working one was with Phoebus 16px graphic pack.
Please upload a zip from a world with this error, that contains these files:Code: [Select]regionx-xxxxx-xx-xx-legends.xml
regionx-xxxxx-xx-xx-legends_plus.xml (if you exported this file using DFHack)
regionx-xxxxx-xx-xx-world_history.txt
regionx-xxxxx-xx-xx-world_map.bmp
regionx-xxxxx-xx-xx-world_sites_and_pops.txt
You can upload it to Dwarf Fortress File Depot (http://dffd.bay12games.com/index.php).
[HKEY_CURRENT_USER\HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION]
"LegendsViewer.exe"=dword:00002710
don't know if there is something missing because of this, but on win10 a registry key ist generated one level to deep:Code: [Select][HKEY_CURRENT_USER\HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION]
"LegendsViewer.exe"=dword:00002710
Hi, I'd just like to say that to me this has become my most important external utility for enjoying DF even compared to DFhack and DT. :DThanks! :D
Considering the title says "unofficial", I'm unsure if this is the right place, but the one feature I think would enhance this utility greatly would be a bookmark feature. If it could carry over several xml dumps of the same world it would be especially great, but even without it it would be awesome to have a quick list of bookmarked pages you want to keep track of, even if it is just some kind of raw text you can then search for in later dumps of the same world. Obviously I have no technical knowledge of how difficult this would be to implement.I submitted your idea to my Legends Viewer Github page (https://github.com/Kromtec/Legends-Viewer/issues/21). I hope to find time during the holidays to look into some of the issues I want to finish before releasing the next version.
Hi, I've been having issues where if a creature's plural name/caste name doesn't end with "s", it isn't counted as a part of civilized population. Is this a bug, or is there a problem with plurals of creature names not ending with an "s"?
snipI see. Thank you for the quick reply. That's unfortunate, but I'll go to making plurals end in "s" to compensate. Thanks again.
# Warfare Graph and Charts + lots of minor improvements
### Features
- battle graph on entity page that visualizes the battles fought against other entities
- warfare victory / defeat chart for entities on their page
- war charts for all races and civilisations on the summary page (based on @leacasas initial concept)
- local mini http server to provide images, css and fonts (THX to @Algorithman)
- remember position on page when navigating back or forward
- eventlog on all pages now use jquery datatables and are thereby search and sortable
- group of dwarfs, fortresses and adventurers created by the player are linked on top of the summary page
- religious groups, their origin structures and their deities linked together
- show related entities on the entity page
- show related historical figures on site page
- added tabs for dance, musical and poetic forms - all artforms now have dedicated pages
### Performance
- Speedup for already calculated pages (THX to @Algorithman)
### Enhancements
- switching tabs also performs an initial search, so you don't have to click "search" on every tab to see results
- added types of written content (Comparative Biography, Cultural History, Cultural Comparison, Atlas, Treatise On Technological Evolution, Alternate History, Star Chart, Star Catalogue, Dictionary, Genealogy, Encyclopedia, Biographical Dictionary)
- added "agreement rejected" event
- you do not have to switch back to the summary tab to go to the world map etc., you can now use the short cut buttons in the navigation panel of the page
- historical figure page shows previous race for historical figures that changed type
- site maps (exported with DFHacks 'exportlegends all') are now opened externally in your standard image viewer when you click them
### Bugfixes
- fixed a crash in the chartpanel
- fixed crash when navigating to the world map with ctrl+click
- window title no longer shows the world name twice
- fix for emoji icons in readme page
### Tweaks
- use of the bootstrap grid feature on various pages to make the page more compact on big screens
- sites, structures and world constructions can now be found under the infrastructure tab
- artifacts, written content and art forms can now be found under the art & crafts tab
- the region list now shows the area of the region in square tiles and can be sorted by that
- elven deities "force of nature" have now "force" as their race instead of "unknown"
- changed the style of the chart panel to be closer to the rest of the pages
- show structure instead of id in "razed structure" event if xmlplus is loaded
- revised eventcollection information in event description texts
- found more reliable ways to determine the beast in beastattacks
- lots of refactoring and library updates
**Note:**
_Use 'exportlegends info' or 'exportlegends all' of [DFHack](https://github.com/DFHack/dfhack/releases) to get lots and lots more info and less UNKNOWN data. The new legends_plus.xml features require [DFHack](https://github.com/DFHack/dfhack/releases) which is usually included in [Lazy Newb Pack](http://lazynewbpack.com/) for exporting the additional XML file!_
Looking forward to the next update, if any is planned.
Woohoo!Looking forward to the next update, if any is planned.
Yeah, I will try to release a new version today. :D
# Support for DF 0.44.xx content
### Features
- Improved generated icons for civilizations
- The generated icon of a civilization stays the same across multiple exports
- Artifact tab hides written content as default
- you can check "Show Written Content" to get all artifacts
- new DF 0.44.xx Events
- hfs formed reputation relationship
- hf recruited unit type for entity
- hf prayed inside structure
- hf viewed artifact
- artifact given
- artifact claim formed
- artifact copied
- artifact recovered
- artifact found
- sneak into site
- spotted leaving site
- new Event Collection
- Raid
- Artforms
- Description
- Libraries
- list of copied artifact written content
- Reputations
- Treasure Hunter
- Knowledge Preserver
- Moods
- Macabre
- Secretive
- Insane
- Possessed
- Berserk
- Fey
- Melancholy
- Fell
- Catatonic
- Death Causes
- vehicle
- suicide drowned
- suicide leaping
### Enhancements
- updated Events
- artifact destroyed
- artifact recovered
- artifact possessed
- item stolen
**Note:**
_Use 'exportlegends info' or 'exportlegends all' of [DFHack](https://github.com/DFHack/dfhack/releases) to get lots and lots more info and less UNKNOWN data. The new legends_plus.xml features require [DFHack](https://github.com/DFHack/dfhack/releases) which is usually included in [Lazy Newb Pack](http://lazynewbpack.com/) for exporting the additional XML file!_
Thanks for the update!
One thing I noticed however, the viewer doesn't seem to identify what each legendary artifacts are. Except that they are "legenday item"s.
Any chance of that in the relatively near future?
Kromtec, thanks once again for working on Legends Viewer!
I recently experienced a crash when looking at a specific historical figure. What information do you need from me to help you troubleshoot this?
In the meantime, here are the relevant files (http://burnedfx.com/DF/df_44_02_win_Legends_kromtec.zip).
I've had two or three worlds fail to load and one blank historical figure page (amongst many other worlds with no issues). I assume it's part of the ongoing worldgen/histfig crash issues in vanilla so not much to be done. But if you'd like to check some crashing worlds I can post some.
# Artifact location map + crash hotfix
### Bugfix
- fixed a crash when loading a historical figure page of a historical figure that is married
### Features
- artifact page shows its current location on the map if available
### Enhancements
- updated Events
- artifact lost
- artifact stored
**Note:**
_Use 'exportlegends info' or 'exportlegends all' of [DFHack](https://github.com/DFHack/dfhack/releases) to get lots and lots more info and less UNKNOWN data. The new legends_plus.xml features require [DFHack](https://github.com/DFHack/dfhack/releases) which is usually included in [Lazy Newb Pack](http://lazynewbpack.com/) for exporting the additional XML file!_
New Release 1.19.02! . . . /snip
Hey Kromtec, great update! Do you happen to have a world you can share that has these two events:They're both off-site squad events, aren't they?
- sneak into site
- spotted leaving site
I generated a bunch of world and never spotted these. Thanks!
Hey Kromtec, great update! Do you happen to have a world you can share that has these two events:
- sneak into site
- spotted leaving site
I generated a bunch of world and never spotted these. Thanks!
They're both off-site squad events, aren't they?
# Raid tab + new event + tweaks and bugfixes
### Features
- new tab under warfare for raids
- with map where the raid took place
- eventlog for all events during the raid
- added new entity searched site event
- new reputationtype Protector of the Weak
- new death cause Chasm
### Enhancements
- updated Events
- entity searched site (result)
- artifact given (reason)
- item stolen (get site from raid info if event was part of a raid)
### Bugfix
- fixed a bug where the waroverview could not find the color for an entity (made more robust for modded entities)
**Note:**
Use 'exportlegends info' or 'exportlegends all' of [DFHack](https://github.com/DFHack/dfhack/releases) to get lots and lots more info and less UNKNOWN data.
The new legends_plus.xml features require [DFHack](https://github.com/DFHack/dfhack/releases) which is usually included in [Lazy Newb Pack](http://lazynewbpack.com/) for exporting the additional XML file!
This world won't load in 1.19.02Thanks Shonai_Dweller, the new release can now load this world too.
http://dffd.bay12games.com/file.php?id=13245
All sorts of raw tweaking included.
They're pretty much the same as my tweaks from 43.05 which always worked in Legends Viewer but with some new ANIMAL tags too.
I don't know if this is the rigth place to ask, but I have a question about Legend Viewer:
there is a way to have a "real time" Legend Viewer?
For example: every in-game year the tool automatically export a new XML file of the current word (deleting the old one to save memory) so you can read also about new historical figures/artifacts/beast/events.
P.S: This is a great tool, I love to explore in detail the history of every world!
I don't know if this is the rigth place to ask, but I have a question about Legend Viewer:
there is a way to have a "real time" Legend Viewer?
For example: every in-game year the tool automatically export a new XML file of the current word (deleting the old one to save memory) so you can read also about new historical figures/artifacts/beast/events.
P.S: This is a great tool, I love to explore in detail the history of every world!
Yes, there is an awesome DFHack script that lets you explore legends mode during regular fortress play.
open-legends (http://dfhack.readthedocs.io/en/stable/docs/_auto/base.html#open-legends)
Has been known to rip the world open letting forth screaming hordes of circus fun on occasion. Not to mention save corruption. But...I guess that..might be fixed now. Keep a backup. :)I don't know if this is the rigth place to ask, but I have a question about Legend Viewer:
there is a way to have a "real time" Legend Viewer?
For example: every in-game year the tool automatically export a new XML file of the current word (deleting the old one to save memory) so you can read also about new historical figures/artifacts/beast/events.
P.S: This is a great tool, I love to explore in detail the history of every world!
Yes, there is an awesome DFHack script that lets you explore legends mode during regular fortress play.
open-legends (http://dfhack.readthedocs.io/en/stable/docs/_auto/base.html#open-legends)
Thank you very much!!! :)
A rather minor issue uncovered in another thread: Legends Viewer 1.19.03 lists Blizzard Men as Animal People, while it was pointed out that they are slow learners, and thus ought to join trolls and ogres in the "animals" category.
Thanks for explaining the reason.A rather minor issue uncovered in another thread: Legends Viewer 1.19.03 lists Blizzard Men as Animal People, while it was pointed out that they are slow learners, and thus ought to join trolls and ogres in the "animals" category.
I don't have the information what really counts as animal people. Categorizing a race as animal people only depends on the string ending with "... Men" at the moment. Without additionally parsing the raws or hardcoding every DF race, there is no chance of making this decision. :-\
Anybody else not see any buttons to import legends files?...
Windows 10 64-Bit (Up to Date)
Dual Monitor
Main -- 2560x1600
Side -- 900x1440 in portrait mode
Not sure about DPI?... I have a Custom Scaling factor of 113%
# Support for DF Hack 0.44.01-beta1
### Features
- support for DF Hack 0.44.01-beta1
- performance improvements historical figures ToLink()
### Enhancements
- better readability for written content type in navigation table
### Bugfix
- fix for custom scaling DPI
- fixed duplicated structures when loading legends_plus.xml
- object of worship sometimes not found if it is a force of nature
**Note:**
Use 'exportlegends info' or 'exportlegends all' of [DFHack](https://github.com/DFHack/dfhack/releases) to get lots and lots more info and less UNKNOWN data.
The new legends_plus.xml features require [DFHack](https://github.com/DFHack/dfhack/releases) which is usually included in [Lazy Newb Pack](http://lazynewbpack.com/) for exporting the additional XML file!
I was going to report a crash, then I saw this new version, the crash is gone ;).Does that include the huge wave of visitors that showed up shortly after you retired?
But what it tells me about my fortress can not be true: 131 losses in a battle that's supposedly happened while I was gone with my adventurer; bringing my population count down to 79, which is only off by 60...
I did "exportlegends info" on 44.03 with the new dfhack via "open-legends"
Generating several worlds testing a mod civilisation. Using Legends Viewer to see what's going on in them, see if my changes are having any effect. Found this gem in one world:
(https://i.imgur.com/HHS5LbW.png)
???
Generating several worlds testing a mod civilisation. Using Legends Viewer to see what's going on in them, see if my changes are having any effect. Found this gem in one world:
(https://i.imgur.com/HHS5LbW.png)
???
Pado mellowed out after becoming an inn keeper. After reuniting with his undead nemesis 30 years on, they drunk together until dawn and discovered a newfound respect for one another. How sweet. :)
I did "exportlegends info" on 44.03 with the new dfhack via "open-legends"I didn't even know you can "exportlegends" during "open-legends". It looks like "open-legends" retires the fortress in the background and every vacant noble position got filled with a dwarf of my starting seven in my test run.
Oh well take all that with a grain of salt... My game is just weird AF. That battle can never have happened, the ennemy has to many kills and I'm missing too little people. But even weirder:After retiring a fortress, DF might make some weird choices but I don't think these are bugs.
I got nobles, something I did not have before retiring, but here is the weird part: 2 of them I assume are procedural and chosen out of a general population because they have no history prior to becoming noble in some far away thing that barely isn't a ruin. But one of the new nobles lived here prior to that, and he is now also baron of some far away hillocks. Except that my civ only rules over my fortress and the place my adventurer comes from.
Oh yeah the place my adventurer comes from is ruled by a subgovernement my starting 7 consider to be a criminal organisation if all that wasn't weird enough.
Generating several worlds testing a mod civilisation. Using Legends Viewer to see what's going on in them, see if my changes are having any effect. Found this gem in one world:Haha, this is awesome! :DSpoiler (click to show/hide)
???
Let me know if you want a save or DFhack exported xml.
regionx-xxxxx-xx-xx-legends.xml
regionx-xxxxx-xx-xx-legends_plus.xml
regionx-xxxxx-xx-xx-world_history.txt
regionx-xxxxx-xx-xx-world_map.bmp
regionx-xxxxx-xx-xx-world_sites_and_pops.txt
OK. Updated the files attached at DFFD.
http://dffd.bay12games.com/file.php?id=13452
I doubt it's being labelled wrongly as a civ.
Like I said, DF Legends Mode calls it a civ and has a full history for it, including appointment of civ level positions.
(WorldViewer is also happy to list it as a civ - in both regular extracted XML and XML extracted with DFHack).
# new hf freed event + tweaks and bugfixes
### Features
- added new historical figure freed event
- added changehfstate reason (lack of sleep)
### Enhancements
- made history and sitepops parsers more robust
### Bugfix
- fixed a bug when the name of an entity was duplicated
- population correctly passed to parent entities
- fix event assumeidentity crash if target is null
- assume identity typo
**Note:**
Use 'exportlegends info' or 'exportlegends all' of [DFHack](https://github.com/DFHack/dfhack/releases) to get lots and lots more info and less UNKNOWN data.
The new legends_plus.xml features require [DFHack](https://github.com/DFHack/dfhack/releases) which is usually included in [Lazy Newb Pack](http://lazynewbpack.com/) for exporting the additional XML file!
When do hf's suffer lack of sleep? :)
{hf} was striken by melancholy in {site} due to lack of sleep.
A cat fell into a deep chasm. (personal favorit ;D)
{hf} was encased in cooling magma.
{hf} was fed to beasts.
{hf} was killed by a vehicle.
...
I've gotten exceptions for some visiting characters when I've tried to do background checks on them. I would guess you'd like to look at what's causing that, so I've provided the exported legends here:
https://www.dropbox.com/s/daygb4xsurm8mwb/Exported%20Legend.zip?dl=0 (https://www.dropbox.com/s/daygb4xsurm8mwb/Exported%20Legend.zip?dl=0)
I've tried it with the latest version (1.19.05) after it failed with the one in the LNP. The DF version is 0.44.05 with the world generated with the same version, and the character I was looking for was Zulur Segokxem/Ochremyths.
The character is listed, but an exception box is brought up when I try to get details on him.
Very useful utility (although I did actually manage to do the check using Legends Mode, but that's an undesired fallback option).
I'm getting an exception when I try to view my adventurer, Udib Lashedraked. The XML looks fine to me (as far as I can tell), and there are no errors or missing things in the DF legends mode. (Note: When Udib's pages is clicked on from the search bar, it causes an exception, when it's opened from a link, it's just blank)
Here's the file: http://dffd.bay12games.com/file.php?id=13471
I'm using v1.19.04, I don't know yet if it crashes in v1.19.05
# Hotfix
### Bugfix
- null reference crash fix for battles with no attacker entity
**Note:**
Use 'exportlegends info' or 'exportlegends all' of [DFHack](https://github.com/DFHack/dfhack/releases) to get lots and lots more info and less UNKNOWN data.
The new legends_plus.xml features require [DFHack](https://github.com/DFHack/dfhack/releases) which is usually included in [Lazy Newb Pack](http://lazynewbpack.com/) for exporting the additional XML file!
Thanks for looking into it. My starting guess would be that since the world was generated with culling of unimportant hist figs, this might cause references to them to be null when exported.
Battle statistics for "Kills" are reversed on the map.
Open up a battle for the detailed breakdown showing total combatants, then click on the mini-map. When you hover the mouse over the battle location, the combatants / kills are shown but the kills are the reverse of what they should be.
So for example (looking at the battle in front of me): "The Crazed Sieges" was fought between "The Impunity of Hawks (Attacker) 1097 members, 33 losses" and "The Roar of Fortune (Defender) 980 members, 980 losses.
Decisive victory for Minotaurs over Elves and their grizzly bears.
The map (on mouseover) shows the info: The Crazed Sieges (Battle) > Combatants: 1097/980 Kills: 980/33. It should be 33/980 of course.
# new and updated events + tweaks and bugfixes
### Features
- added tactical situation event
- added squad vs squad event
### Enhancements
- updated plunder site event
- updated hffreed event
- updated merchants event
- updated agreement events (tribute topic)
- updated sitetributeforced event (season)
### Bugfix
- various advanced search fixes
- artifact lost in region fix
**Note:**
Use 'exportlegends info' or 'exportlegends all' of [DFHack](https://github.com/DFHack/dfhack/releases) to get lots and lots more info and less UNKNOWN data.
The new legends_plus.xml features require [DFHack](https://github.com/DFHack/dfhack/releases) which is usually included in [Lazy Newb Pack](http://lazynewbpack.com/) for exporting the additional XML file!
Feature request time! Ignore me if this is unfeasible... it would be nice if we could export the world map with the programs overlays, such as civ placements and sites. For pocket maps I can usually just take a screenshot, but large maps are simply too large for it.I added it to the idea list on the github page. here (https://github.com/Kromtec/Legends-Viewer/issues/34) THX
Hi! In advance search when I try to search or order by Notable kill i get an exception.Thanks for reporting. I neglected the advanced search feature for a long time. :) All crashes should be gone now.
I try to build other worlds, but always failed.
I'am using the 1.19.06 version and i get the xml file by DFHack.
Minor artifact info bug (1.19.06):You are absolutely right!
The artifact Hairheat is claimed to have been lost at Newhope the Future of Knowledge (my fortress) at 0169-01-01 and again at 0192-01-01, well before the fortress was founded in 400. DF Legends Mode claims it was lost in 169 in the Elevated Forests and in The Competitive Hills in 192.
The Competitive Hills is a region, rather than a fortress, and so is The Elevated Forests. Interestingly, the entries after the loss ones are about unknown creatures (cull unimportant histfigs) recovering them in the regions they actually were lost in.
There is a later entry about it being lost in an actual fortress, which is correctly identified, so it seems the loss of an item in a region isn't interpreted properly.
So I genned a 1,000-year, Medium-region world. When I try to load it, Legends Viewer throws a "Out of Memory" exception.You need to provide more information:
The Legends XML is 651 MB, Legends-Plus XML is 198. No other programs running.
Is there anything I could do to fix this, or is the world just too big to load?
I get a blank screen when I try to click on a destroyed (by user sent squads) necro tower site. If I do a search of the necromancers by name I get an exception.Have you tried to look at it in the "raw" Legends Mode to see if the info is shown correctly there?
Long: I played as a civ whose first queen turned a necromancer. I built a fortress to attack the tower she was in, according to Legends. My squads succeeded and destroyed the site, killing all necromancers. I retired then and exported the xml to read the details offgame, but that event didn't show / caused the crash.
I guess the possibility of destroying sites is not supported yet? It's just normal, it's a recent feature. I can provide the xml, if you are curious.
I get a blank screen when I try to click on a destroyed (by user sent squads) necro tower site. If I do a search of the necromancers by name I get an exception.
Long: I played as a civ whose first queen turned a necromancer. I built a fortress to attack the tower she was in, according to Legends. My squads succeeded and destroyed the site, killing all necromancers. I retired then and exported the xml to read the details offgame, but that event didn't show / caused the crash.
I guess the possibility of destroying sites is not supported yet? It's just normal, it's a recent feature. I can provide the xml, if you are curious.
regionx-xxxxx-xx-xx-legends.xml
regionx-xxxxx-xx-xx-legends_plus.xml
regionx-xxxxx-xx-xx-world_history.txt
regionx-xxxxx-xx-xx-world_map.bmp
regionx-xxxxx-xx-xx-world_sites_and_pops.txt
Here's the save.
Hope it helps you.
https://www.dropbox.com/s/dirk45t4u9lxxka/DF%20save.rar?dl=0 (https://www.dropbox.com/s/dirk45t4u9lxxka/DF%20save.rar?dl=0)
Also, let me know if the link doesn't work. I managed to screw these kind of things before.
Curious, the reports said "destroyed". But guess it's more like "the group there fled".
Glad to be of any help for improving the Viewer. Is there a donation button somewhere? This software is for me even more enjoyable than Therapist and other utility wonders. ¿How do I pay you a coffee?
# export map feature + new and updated events
### Features
- export map with all currently displayed overlays
- added agreement void event
- added entity rampaged in site event
- added entity fled site event
### Enhancements
- updated site conquered event collection
- updated destroyed site event
- updated agreement formed event
### Bugfix
- entity page - battles where attacker or defender is null caused crash
**Note:**
Use 'exportlegends info' or 'exportlegends all' of [DFHack](https://github.com/DFHack/dfhack/releases) to get lots and lots more info and less UNKNOWN data.
The new legends_plus.xml features require [DFHack](https://github.com/DFHack/dfhack/releases) which is usually included in [Lazy Newb Pack](http://lazynewbpack.com/) for exporting the additional XML file!
IYour work is great and you're bringing happiness to the world.
region4410b_Wetsalve-00250-01-15-legends.xml
region4410b_Wetsalve-00250-01-15-world_history.txt
region4410b_Wetsalve-00250-01-15-world_map.bmp
region4410b_Wetsalve-00250-01-15-world_sites_and_pops.txt
region4410b_Wetsalve_LEGENDS_250-00250-01-15-legends_plus.xml
region4410b_Wetsalve_LEGENDS_250-world_gen_param.txt
I've checked with ProcMon that LegendsViewer expects the legends plus file to be named "region4410b_Wetsalve-00250-01-15-legends_plus.xml" (so I renamed it, and have no errors now). Apparently either DFHack or LegendsViewer names the file wrongly. Which one is that?
... how to enable the family view? I see empty space instead of graphs. May it be to some limitations of my hardware or software? I can see the maps (including overlays) and charts seemingly fine.
... are event logs supposed to have some sort of text information? The charts alone don't impart much themselves(I am also not seeing graphs of battle summaries or family trees, using current versions of all three; dfhack, lviewer, and df.)I just checked with DF 0.44.10 + DFHack 0.44.10-beta1 + LegendsViewer 1.19.08 and everything works fine for me. What OS do you use?
Is there any possibility that Historical figures/Artifacts will get their physical descriptions in the viewer, or is it simply impossible to add?Sorry, but that is not possible as long as this information is not exported by DF or DFHack.
Initially I had a problem with program not finding the legends plus file. I have a directory/world named "region4410b_Wetsalve_LEGENDS_250". Export with DFHack ('exportlegends info') creates such files:This seems to be a DFHack and or DF issue. I just tried it with exactly your world name "region4410b_Wetsalve_LEGENDS_250" and get the same result. Maybe the name is too long or a special case when there are more than one underscore characters in it. I don't know.Code: [Select]region4410b_Wetsalve-00250-01-15-legends.xml
I've checked with ProcMon that LegendsViewer expects the legends plus file to be named "region4410b_Wetsalve-00250-01-15-legends_plus.xml" (so I renamed it, and have no errors now). Apparently either DFHack or LegendsViewer names the file wrongly. Which one is that?
region4410b_Wetsalve-00250-01-15-world_history.txt
region4410b_Wetsalve-00250-01-15-world_map.bmp
region4410b_Wetsalve-00250-01-15-world_sites_and_pops.txt
region4410b_Wetsalve_LEGENDS_250-00250-01-15-legends_plus.xml
region4410b_Wetsalve_LEGENDS_250-world_gen_param.txt
<worldname>-<year>-<month>-<day>-legends.xml
<worldname>-<year>-<month>-<day>-world_history.txt
<worldname>-<year>-<month>-<day>-world_map.bmp
<worldname>-<year>-<month>-<day>-world_sites_and_pops.txt
<worldname>-<year>-<month>-<day>-legends_plus.xml
<worldname>-world_gen_param.txt
I just checked with DF 0.44.10 + DFHack 0.44.10-beta1 + LegendsViewer 1.19.08 and everything works fine for me. What OS do you use?
This seems to be a DFHack and or DF issue. I just tried it with exactly your world name "region4410b_Wetsalve_LEGENDS_250" and get the same result. Maybe the name is too long or a special case when there are more than one underscore characters in it. I don't know.
LegendsViewer has nothing to do with exporting the files but it expects the files to have this naming scheme:Code: [Select]<worldname>-<year>-<month>-<day>-legends.xml
<worldname>-<year>-<month>-<day>-world_history.txt
<worldname>-<year>-<month>-<day>-world_map.bmp
<worldname>-<year>-<month>-<day>-world_sites_and_pops.txt
<worldname>-<year>-<month>-<day>-legends_plus.xml
<worldname>-world_gen_param.txt
# XML parsing progress info, improvements and bugfixes
### Features
- parsing step info during loading
### Enhancements
- better tooltips for entities
- improvements to site owner history - especially vaults
- improvements to ambiguous entity and historicalfigure name handling
- better links between art forms and occasion events
- updated squad vs squad event
- added 'great deal of stress' as a new reason for historical figure state change
- updated body abused event - types for impaled, flayed, piled, hung, multilated, animated
- updated tactical situation event
### Bugfix
- crash fix if AddHFEntityLink event has missing information
- crash fix in siteprinter
**Note:**
Use 'exportlegends info' or 'exportlegends all' of [DFHack](https://github.com/DFHack/dfhack/releases) to get lots and lots more info and less UNKNOWN data.
The new legends_plus.xml features require [DFHack](https://github.com/DFHack/dfhack/releases) which is usually included in [Lazy Newb Pack](http://lazynewbpack.com/) for exporting the additional XML file!
Error on world load.https://drive.google.com/drive/folders/1ddcXNUZ-gGT_dRNGgIMSShWcrcOqB0k6Spoiler (click to show/hide)
Will celebrations/festivals/similar events, ever have their own category?They might get their own category but at the moment i am not sure if there is enough interesting information about them.
Also for historical figures, will titans and forgotten beasts get their own filter, and is it possible to add their descriptions to their pages?
I notice that wars don't list the reason that they were started, is it possible that this can be added as well?In contrast to vampires, werebeasts, necromancers, ... titans and forgotten beasts can be filtered by selecting them from the race drop down.
Lastly, it seems like there was some sort of memory leak while I was using the Legends viewer, I had been using it for over thirty min, and my PC informed me that I was over my memory limit, and checking my task manager showed the legends viewer had gotten to using almost all my cpu and physical memory.I'll look into it, thanks!
Hi
I had/have a problem.
I have Win 10 1803. After updating with KB4343909 Legends Viewer opens and immediately closes.
After removing patch KB4343909 it works OK.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at LegendsViewer.Legends.Parser.SitesAndPopulationsParser.ReadParentCiv()
at LegendsViewer.Legends.Parser.SitesAndPopulationsParser.Parse()
at LegendsViewer.Legends.World..ctor(BackgroundWorker worker, String xmlFile, String historyFile, String sitesAndPopulationsFile, String mapFile, String xmlPlusFile)
at LegendsViewer.FileLoader.BackgroundWorkerOnDoWork(Object sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
LegendsViewer
Assembly Version: 1.19.9.341
Win32 Version: 1.19.09.341
CodeBase: file:///C:/Users/leatra/DOWNLO~1/PERIDE~1.12-/LNP/Utilities/Legends%20Viewer/LegendsViewer.exe
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
ObjectListView
Assembly Version: 2.9.1.1072
Win32 Version: 2.9.1.0
CodeBase: file:///C:/Users/leatra/DOWNLO~1/PERIDE~1.12-/LNP/Utilities/Legends%20Viewer/ObjectListView.DLL
----------------------------------------
WFC
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/leatra/DOWNLO~1/PERIDE~1.12-/LNP/Utilities/Legends%20Viewer/WFC.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
SevenZipSharp
Assembly Version: 0.64.3890.29348
Win32 Version: 0.64.3890.29348
CodeBase: file:///C:/Users/leatra/DOWNLO~1/PERIDE~1.12-/LNP/Utilities/Legends%20Viewer/SevenZipSharp.DLL
----------------------------------------
CommonMark
Assembly Version: 0.1.0.0
Win32 Version: 0.1.0.0
CodeBase: file:///C:/Users/leatra/DOWNLO~1/PERIDE~1.12-/LNP/Utilities/Legends%20Viewer/CommonMark.DLL
----------------------------------------
Microsoft.mshtml
Assembly Version: 7.0.3300.0
Win32 Version: 7.0.3300.0
CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Error on loading a world.
Other worlds worked fine so this must be specific to this particular world.
...
Thank you for answer. The naming issue is minor, and apparently on the DFHacks side anyway. I renamed the world_gen_param too, just in case it is used (is it?).The naming issue is DF's fault - DF truncates region names in filenames to a certain number of characters, while DFHack does not. It's probably easier to fix on DFHack's side, though.
I loaded in the program a legends plus file yet it doesn't show the Unknown Characters name. In the Masterworks Legends version it shows, using the same file. What am I doing wrong?
Edit: I am using DFHack
regionx-xxxxx-xx-xx-legends.xml
regionx-xxxxx-xx-xx-legends_plus.xml
regionx-xxxxx-xx-xx-world_history.txt
regionx-xxxxx-xx-xx-world_map.bmp
regionx-xxxxx-xx-xx-world_sites_and_pops.txt
There may be some rare events with "UNKNOWN" texts, even with the legends plus file. But almost all of it should be fixed if you have exported the files properly.
Some discrepancies noted when getting down to raiding (v1.19.09):
- I've conquered two sites, and in both cases the map showed the site as belonging to the goblins I took it from at the end of the year of conquest (I export Legends info once per year, using DFHack so the extra data is exported as well). When looking at the site itself it correctly notes that it has been conquered. It's not unlikely it's a matter of DF exporting inconsistent info, of course.
- Similarly, I've been stealing books from a necro tower, and the events of the books being stolen are recorded, but at the top of the site entry it says (created, stored) for them (I haven't checked everyone, only two, but the number remaining is far less than the number listed, and one of the books was stolen in the first raid during the previous year). Again, I wouldn't be surprised if it's caused by inconsistent exported info.
I hope I've managed to explain the issues. If not, please request clarifications.
# New events, improvements and bugfixes
### Features
- added new event "entity expels hf"
- added new event "site surrendered"
### Enhancements
- improvements to related artifact state info
- improvements to states of related artifacts on site and historical figure pages
- various tweaks for site ownership icons on world map
### Bugfix
- history parser - read civ deities/leaders crash fix
- nullreference fix in "plundered site" event
**Note:**
Use 'exportlegends info' or 'exportlegends all' of [DFHack](https://github.com/DFHack/dfhack/releases) to get lots and lots more info and less UNKNOWN data.
The new legends_plus.xml features require [DFHack](https://github.com/DFHack/dfhack/releases) which is usually included in [Lazy Newb Pack](http://lazynewbpack.com/) for exporting the additional XML file!
I encountered an exception when trying to look up a hist fig (everything else I've looked has has worked OK).
The hist fig in question is "Stozu Witchsweats" in this Legends export: https://www.dropbox.com/s/r27u39a1u3sw9xb/Newhope%20legend.zip?dl=0.
Trying to get at the character via "The Oceans of Hatred" resulted in an empty screen, but no exception (again, the other members I looked at were fine).
I don't know if this has already been talked about, but two potential features I think would be neat to see are
1. Allowing us to see misc kills by hist figs. Sometimes one might kill only 5 historical figures and then like a few dozen unnamed ones, and we'd never know it unless we went into actual legends mode.
2. Reasons for why wars were fought. Not really high priority (neither is the other one really) but it might be neat to easily understand why people fight each other.
3. Ability to see who's in charge of bandit gangs, mostly for adventure mode quest purposes since you get a lot of orders to kill them.
Regardless though I'm definitely a fan and I've been using this for awhile, good luck with future updates.
Just noticed, there's no sewer option in the structures filter. Sewers are marked in the list as "dungeon".
Actual description shows a sewer though.
Great, thanks!Just noticed, there's no sewer option in the structures filter. Sewers are marked in the list as "dungeon".
Actual description shows a sewer though.
Thanks! Sewers and catacombs are handled as a subtype of dungeons by DF. If it is set, I now show this subtype instead of the regular type in the filter dropdown and the navigation list.
This change will be in the next version of LegendsViewer, which will come shortly after the villain update.
Legends Viewer isn't detecting several modded-in human civs and I can't figure out why. Their settlements appear on the map but their governments aren't listed on the summary page and they're white or grey in civ events.
EDIT: The modded civs might be transposed or superposed due to a mistake I made, but I don't know how. They all have unique entity IDs.
Legends Viewer seems to be having some trouble reading my modded world correctly. It usually does OK, this is the first time I've seen this happen.
It's a large world so I can post a save or Legends file but they'll be pretty big.
Basically the world has two groups, both named "The Froths of Severity". One is a Minotaur civilization, the other is a minotaur bandit gang.
The civilization isn't showing in the list of Minotaur civs in my world on the summary screen. I guess it's because of the name duplicate, but can something be done about it?
That's the main screen I use for a quick look at the world before playing.
Searching brings up both groups. Although the non-Dfhack version describes both as "The Frosts of Severity are a group." Handy...
DFHack version has the correct descriptions but still doesn't list the civilization in the civilization list.
No problem. I know you said you won't be updating until after Villains release.Legends Viewer isn't detecting several modded-in human civs and I can't figure out why. Their settlements appear on the map but their governments aren't listed on the summary page and they're white or grey in civ events.
EDIT: The modded civs might be transposed or superposed due to a mistake I made, but I don't know how. They all have unique entity IDs.
Look in the xxx-world_sites_and_pops.txt file if they are listed under "Civilized World Population". If they are, then it is a problem mapping their race name from the XML (singular) to one of the civilized races in this file (plural).
Or is their race "Human/Humans", in this case it should definitely work.Legends Viewer seems to be having some trouble reading my modded world correctly. It usually does OK, this is the first time I've seen this happen.
It's a large world so I can post a save or Legends file but they'll be pretty big.
Basically the world has two groups, both named "The Froths of Severity". One is a Minotaur civilization, the other is a minotaur bandit gang.
The civilization isn't showing in the list of Minotaur civs in my world on the summary screen. I guess it's because of the name duplicate, but can something be done about it?
That's the main screen I use for a quick look at the world before playing.
Searching brings up both groups. Although the non-Dfhack version describes both as "The Frosts of Severity are a group." Handy...
DFHack version has the correct descriptions but still doesn't list the civilization in the civilization list.
Could be a similar problem to Flying Teasets' issue. I always have a hard time combining the infos from the xxx-world_sites_and_pops.txt file to the infos of the XML files.
The xxx-world_sites_and_pops.txt file has no IDs for the entities and in larger worlds, duplicated names are very common.
Maybe I can improve the way it is handled in your cases if you post the zipped legend files.
I am sorry that I have long response times at the moment but I am currently moving. It is a little bit hectic until May, I read the forums but I rarely have time to look into details. :D
No problem. I know you said you won't be updating until after Villains release.
Here's a zip of the Legends files. It's pretty huge, sorry. 365 year old large region. 52 civilizations (well, 53 and perhaps others if I've missed any which didn't show in the list), 19 civ types (15 surviving).
http://dffd.bay12games.com/file.php?id=14332
Please use for any other analysis you feel like to make Legends Viewer even better!
That's good. Yes, hopefully we'll keep getting a little more out of vanilla exports with each release. Would be good to know if Toady thinks of Legends exports as a priority for the Steam "User Friendliness" update.No problem. I know you said you won't be updating until after Villains release.
Here's a zip of the Legends files. It's pretty huge, sorry. 365 year old large region. 52 civilizations (well, 53 and perhaps others if I've missed any which didn't show in the list), 19 civ types (15 surviving).
http://dffd.bay12games.com/file.php?id=14332
Please use for any other analysis you feel like to make Legends Viewer even better!
Thanks, every time I changed the code it took ~10 min to load in debug mode, because as you said, your world is REALLY huge. :D
But in the end I found a solution where every civilisation is listed correctly on the summary page as long as you have the additional legends_plus.xml from the dfhack export.
With the vanilla infos it might detect some more connections but I think it will be more or less the same as before.
I hope Toady will add more of the missing information to the vanilla export files with the villain update! There is a lot that can only be displayed, if DFHacks' exportlegends script was used for the export.
With the upcoming steam release the vanilla export might increase in importance...
Hey guys. I had this problem a while ago and gave up on Legends Viewer, and now I've decided to try it again, but the problem persists. I never see any events in the event logs. I always follow the exact instructions given by the software (exportlegends info via dfhack.. even tried exportlegends all even though I knew it wasn't necessary), and I always make sure all exported files are in the same folder and loaded correctly, including the PLUS file. It is also not a problem of undiscovered legends, since I can see all events in the game's native legends mode. What am I missing here?The most important thing missing is what "this problem" is...
thanks for the hard work!
Hey guys. I had this problem a while ago and gave up on Legends Viewer, and now I've decided to try it again, but the problem persists. I never see any events in the event logs. I always follow the exact instructions given by the software (exportlegends info via dfhack.. even tried exportlegends all even though I knew it wasn't necessary), and I always make sure all exported files are in the same folder and loaded correctly, including the PLUS file. It is also not a problem of undiscovered legends, since I can see all events in the game's native legends mode. What am I missing here?The most important thing missing is what "this problem" is...
thanks for the hard work!
Can you post a screenshot?Hey guys. I had this problem a while ago and gave up on Legends Viewer, and now I've decided to try it again, but the problem persists. I never see any events in the event logs. I always follow the exact instructions given by the software (exportlegends info via dfhack.. even tried exportlegends all even though I knew it wasn't necessary), and I always make sure all exported files are in the same folder and loaded correctly, including the PLUS file. It is also not a problem of undiscovered legends, since I can see all events in the game's native legends mode. What am I missing here?The most important thing missing is what "this problem" is...
thanks for the hard work!
Sorry if I wasn't very clear. The problem is: "I never see any events in the event logs." That is, the event logs are always empty, even though I can see these events in the in-game Legends Mode.
Can you post a screenshot?Hey guys. I had this problem a while ago and gave up on Legends Viewer, and now I've decided to try it again, but the problem persists. I never see any events in the event logs. I always follow the exact instructions given by the software (exportlegends info via dfhack.. even tried exportlegends all even though I knew it wasn't necessary), and I always make sure all exported files are in the same folder and loaded correctly, including the PLUS file. It is also not a problem of undiscovered legends, since I can see all events in the game's native legends mode. What am I missing here?The most important thing missing is what "this problem" is...
thanks for the hard work!
Sorry if I wasn't very clear. The problem is: "I never see any events in the event logs." That is, the event logs are always empty, even though I can see these events in the in-game Legends Mode.
Hard to figure out what you mean by empty "event logs". Are you even seeing the site/historical figure lists at all?
I sure can. Here it is: https://imgur.com/a/NkD3pJh (https://imgur.com/a/NkD3pJh)
This is from a world generated with 1050 years of history, and no site/historical figure/whatever has a single entry in the Event Log. I always had this problem with Legends Viewer. Before I used to just view my legends on Legends Browser, but this particular world is too big for the Legends Browser to handle. Another related problem is that all family trees are empty, even for characters with many children.
Other than that, everything works as it should. All entities as listed, I just cannot see the text for any events on the Event Log (bottom of the screen).
EDIT: providing more information
I sure can. Here it is: https://imgur.com/a/NkD3pJh (https://imgur.com/a/NkD3pJh)
This is from a world generated with 1050 years of history, and no site/historical figure/whatever has a single entry in the Event Log. I always had this problem with Legends Viewer. Before I used to just view my legends on Legends Browser, but this particular world is too big for the Legends Browser to handle. Another related problem is that all family trees are empty, even for characters with many children.
Other than that, everything works as it should. All entities as listed, I just cannot see the text for any events on the Event Log (bottom of the screen).
EDIT: providing more information
The Windows Forms WebBrowser control uses Internet Explorer internally. When you upgrade to the newest IE version, you should see all the charts and logs. What operating system do you use?
Using Chrome (windows 10). Works perfectly. Always has.I sure can. Here it is: https://imgur.com/a/NkD3pJh (https://imgur.com/a/NkD3pJh)
This is from a world generated with 1050 years of history, and no site/historical figure/whatever has a single entry in the Event Log. I always had this problem with Legends Viewer. Before I used to just view my legends on Legends Browser, but this particular world is too big for the Legends Browser to handle. Another related problem is that all family trees are empty, even for characters with many children.
Other than that, everything works as it should. All entities as listed, I just cannot see the text for any events on the Event Log (bottom of the screen).
EDIT: providing more information
The Windows Forms WebBrowser control uses Internet Explorer internally. When you upgrade to the newest IE version, you should see all the charts and logs. What operating system do you use?
Ha! That's it. Since I never use IE (who still does, by the way?), I didn't realize mine had been uninstalled a long time ago. It's a pity that we need to install some useless piece of software (sorry, Microsoft) to be able to use this...
Anyway, thanks for the help! Much appreciated.
Using Chrome (windows 10). Works perfectly. Always has.I sure can. Here it is: https://imgur.com/a/NkD3pJh (https://imgur.com/a/NkD3pJh)
This is from a world generated with 1050 years of history, and no site/historical figure/whatever has a single entry in the Event Log. I always had this problem with Legends Viewer. Before I used to just view my legends on Legends Browser, but this particular world is too big for the Legends Browser to handle. Another related problem is that all family trees are empty, even for characters with many children.
Other than that, everything works as it should. All entities as listed, I just cannot see the text for any events on the Event Log (bottom of the screen).
EDIT: providing more information
The Windows Forms WebBrowser control uses Internet Explorer internally. When you upgrade to the newest IE version, you should see all the charts and logs. What operating system do you use?
Ha! That's it. Since I never use IE (who still does, by the way?), I didn't realize mine had been uninstalled a long time ago. It's a pity that we need to install some useless piece of software (sorry, Microsoft) to be able to use this...
Anyway, thanks for the help! Much appreciated.
--Edit
Oh. It's using IE anyhow? Hmm. Bit of an issue there.
"Forget IE for a moment - does it actually play nicely with Edge?" I sometimes wonder.
Using Chrome (windows 10). Works perfectly. Always has.I sure can. Here it is: https://imgur.com/a/NkD3pJh (https://imgur.com/a/NkD3pJh)
This is from a world generated with 1050 years of history, and no site/historical figure/whatever has a single entry in the Event Log. I always had this problem with Legends Viewer. Before I used to just view my legends on Legends Browser, but this particular world is too big for the Legends Browser to handle. Another related problem is that all family trees are empty, even for characters with many children.
Other than that, everything works as it should. All entities as listed, I just cannot see the text for any events on the Event Log (bottom of the screen).
EDIT: providing more information
The Windows Forms WebBrowser control uses Internet Explorer internally. When you upgrade to the newest IE version, you should see all the charts and logs. What operating system do you use?
Ha! That's it. Since I never use IE (who still does, by the way?), I didn't realize mine had been uninstalled a long time ago. It's a pity that we need to install some useless piece of software (sorry, Microsoft) to be able to use this...
Anyway, thanks for the help! Much appreciated.
--Edit
Oh. It's using IE anyhow? Hmm. Bit of an issue there.
Yeah, sadly it uses IE, regardless of what is your default browser. This cannot be changed, Windows Forms WebBrowser control is restricted to IE. There are thirdparty controls like CEFSharp that use a version of Chrome, but using these would mean that instead of being ~2.5MB, LegendsViewer would have to bundle all the necessary Chromium Embedded Framework files and would get as big as ~80MB if I remember correctly. :-\
************* Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at LegendsViewer.Controls.HTML.HistoricalFigureHtmlPrinter.PrintRelatedArtifacts()
at LegendsViewer.Controls.HTML.HistoricalFigureHtmlPrinter.Print()
at LegendsViewer.Controls.HTML.HtmlPrinter.GetHtmlPage()
at LegendsViewer.Controls.HTML.HtmlControl.GetControl()
at LegendsViewer.Controls.DwarfTabPage.LoadPageControl()
at LegendsViewer.Controls.DwarfTabPage.NewPageControl(PageControl pageControl)
at LegendsViewer.Controls.DwarfTabControl.Navigate(ControlOption control, Object navigateObject)
at LegendsViewer.Controls.Tabs.BaseSearchTab.ListSearch_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ListView.OnSelectedIndexChanged(EventArgs e)
at BrightIdeasSoftware.ObjectListView.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
LegendsViewer
Assembly Version: 1.19.10.352
Win32 Version: 1.19.10.352
CodeBase: file:///D:/Games/mdf%20new/MasterworkDwarfFortress/Utilities/LegendsViewer/LegendsViewer.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ObjectListView
Assembly Version: 2.9.1.1072
Win32 Version: 2.9.1.0
CodeBase: file:///D:/Games/mdf%20new/MasterworkDwarfFortress/Utilities/LegendsViewer/ObjectListView.DLL
----------------------------------------
WFC
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/Games/mdf%20new/MasterworkDwarfFortress/Utilities/LegendsViewer/WFC.DLL
----------------------------------------
SevenZipSharp
Assembly Version: 0.64.3890.29348
Win32 Version: 0.64.3890.29348
CodeBase: file:///D:/Games/mdf%20new/MasterworkDwarfFortress/Utilities/LegendsViewer/SevenZipSharp.DLL
----------------------------------------
CommonMark
Assembly Version: 0.1.0.0
Win32 Version: 0.1.0.0
CodeBase: file:///D:/Games/mdf%20new/MasterworkDwarfFortress/Utilities/LegendsViewer/CommonMark.DLL
----------------------------------------
Microsoft.mshtml
Assembly Version: 7.0.3300.0
Win32 Version: 7.0.3300.0
CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll
----------------------------------------
Jdenticon
Assembly Version: 1.0.1.0
Win32 Version: 1.0.1.0
CodeBase: file:///D:/Games/mdf%20new/MasterworkDwarfFortress/Utilities/LegendsViewer/Jdenticon.DLL
----------------------------------------
Jdenticon.Gdi
Assembly Version: 1.0.1.0
Win32 Version: 1.0.1.0
CodeBase: file:///D:/Games/mdf%20new/MasterworkDwarfFortress/Utilities/LegendsViewer/Jdenticon.Gdi.DLL
----------------------------------------
Legends viewer seems not play well with custom-made sites in Adventure mode. I made a site and retired my adventurer, and both the page for the adventurer himself and his created camp do not work. Here's the message:Code: [Select]************* Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at LegendsViewer.Controls.HTML.HistoricalFigureHtmlPrinter.PrintRelatedArtifacts()
at LegendsViewer.Controls.HTML.HistoricalFigureHtmlPrinter.Print()
at LegendsViewer.Controls.HTML.HtmlPrinter.GetHtmlPage()
at LegendsViewer.Controls.HTML.HtmlControl.GetControl()
at LegendsViewer.Controls.DwarfTabPage.LoadPageControl()
at LegendsViewer.Controls.DwarfTabPage.NewPageControl(PageControl pageControl)
at LegendsViewer.Controls.DwarfTabControl.Navigate(ControlOption control, Object navigateObject)
at LegendsViewer.Controls.Tabs.BaseSearchTab.ListSearch_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ListView.OnSelectedIndexChanged(EventArgs e)
at BrightIdeasSoftware.ObjectListView.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
LegendsViewer
Assembly Version: 1.19.10.352
Win32 Version: 1.19.10.352
CodeBase: file:///D:/Games/mdf%20new/MasterworkDwarfFortress/Utilities/LegendsViewer/LegendsViewer.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ObjectListView
Assembly Version: 2.9.1.1072
Win32 Version: 2.9.1.0
CodeBase: file:///D:/Games/mdf%20new/MasterworkDwarfFortress/Utilities/LegendsViewer/ObjectListView.DLL
----------------------------------------
WFC
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/Games/mdf%20new/MasterworkDwarfFortress/Utilities/LegendsViewer/WFC.DLL
----------------------------------------
SevenZipSharp
Assembly Version: 0.64.3890.29348
Win32 Version: 0.64.3890.29348
CodeBase: file:///D:/Games/mdf%20new/MasterworkDwarfFortress/Utilities/LegendsViewer/SevenZipSharp.DLL
----------------------------------------
CommonMark
Assembly Version: 0.1.0.0
Win32 Version: 0.1.0.0
CodeBase: file:///D:/Games/mdf%20new/MasterworkDwarfFortress/Utilities/LegendsViewer/CommonMark.DLL
----------------------------------------
Microsoft.mshtml
Assembly Version: 7.0.3300.0
Win32 Version: 7.0.3300.0
CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll
----------------------------------------
Jdenticon
Assembly Version: 1.0.1.0
Win32 Version: 1.0.1.0
CodeBase: file:///D:/Games/mdf%20new/MasterworkDwarfFortress/Utilities/LegendsViewer/Jdenticon.DLL
----------------------------------------
Jdenticon.Gdi
Assembly Version: 1.0.1.0
Win32 Version: 1.0.1.0
CodeBase: file:///D:/Games/mdf%20new/MasterworkDwarfFortress/Utilities/LegendsViewer/Jdenticon.Gdi.DLL
----------------------------------------
This isn't too much of a problem because it doesn't crash the whole program, and other objects that are tangentially related to the site (artifacts stored there for example) work fine, but the viewer is so much better than the in-game legends that it's a bit annoying having to switch between them.
regionx-xxxxx-xx-xx-legends.xml
regionx-xxxxx-xx-xx-legends_plus.xml
regionx-xxxxx-xx-xx-world_history.txt
regionx-xxxxx-xx-xx-world_map.bmp
regionx-xxxxx-xx-xx-world_sites_and_pops.txt
Hey, I notice you don't have an email. Could be tricky, because I am willing to provide exported files if I knew where to send them, basically:
...as it happens, am slightly uncertain if this would turn out to be an XML (and therefore Toady) thing, or LV thing, but there seems to be an overuse of the plural form when the singular ought to be used (*examples in the Sabre of Taxing or the Pale Hale Hame) Not sure how far it extends, at least for this world. Furthermore, over in Arts and Crafts, things seem uncomfortably thin on the ground WRT the apparent interrelationship of music and poetry, at least in the current DF version (EX: 'dance is accompanied by any composition of YYYY' Me: "ok, let's see what YYYY is....damn, no hyperlink!")
*NPC forts, for which it's presumed you'd need data. Unfortunately, much like Toady doesn't Reddit, I don't Github. Yet, anyway.
regionx-xxxxx-xx-xx-legends.xml
regionx-xxxxx-xx-xx-legends_plus.xml
regionx-xxxxx-xx-xx-world_history.txt
regionx-xxxxx-xx-xx-world_map.bmp
regionx-xxxxx-xx-xx-world_sites_and_pops.txt
Hi! You can upload your exported files to the Dwarf Fortress File Depot (DFFD) (http://dffd.bay12games.com/index.php) and contact me in this thread here.
There sometimes may be long response times in between major releases of DF, but close to the releases I am very active and read the forums regularly. :)
The files that I need to test things are:Code: [Select]regionx-xxxxx-xx-xx-legends.xml
regionx-xxxxx-xx-xx-legends_plus.xml
regionx-xxxxx-xx-xx-world_history.txt
regionx-xxxxx-xx-xx-world_map.bmp
regionx-xxxxx-xx-xx-world_sites_and_pops.txt
It may have taken a while, but the work is done. (http://dffd.bay12games.com/file.php?id=14550) Also, similarly, any deity name starting with "The" just gets chopped off in the description and listing of events. Ex: The Aquamarine Silks
Is a deity that occurs in the myths of The Realm of Channeling. The is most often depicted as a female human. or In 20, midspring, (15th of Slate) The cursed the goblin werebeast Nako Blackirons to assume the form of a skink-like monster every full moon in Scratchsugar.
...as it happens, am slightly uncertain if this would turn out to be an XML (and therefore Toady) thing, or LV thing, but there seems to be an overuse of the plural form when the singular ought to be used (*examples in the Sabre of Taxing or the Pale Hale Hame) Not sure how far it extends, at least for this world.
Do you mean in the populations lists? Example "1 ducks", "1 sparrow men", ...Yeah, that seems to be the case. Hang on, is there supposed to be a "KnowledgeScholarFlag: 0" in the References field of a written work, or do we have another bug here? (Suspect: The Book of the Light of Day, by a Thalu Dabblinghoof, elven hobbyist astronomer.) Also noting the general shortness - nigh-complete absence, to be precise - of description on written works in general (as in "reduced to what appears to be bare bones technicalities") versus Legends Mode - XML again?
I only get the plural form from the XML.
Do you mean in the populations lists? Example "1 ducks", "1 sparrow men", ...Yeah, that seems to be the case. Hang on, is there supposed to be a "KnowledgeScholarFlag: 0" in the References field of a written work, or do we have another bug here? (Suspect: The Book of the Light of Day, by a Thalu Dabblinghoof, elven hobbyist astronomer.) Also noting the general shortness - nigh-complete absence, to be precise - of description on written works in general (as in "reduced to what appears to be bare bones technicalities") versus Legends Mode - XML again?
I only get the plural form from the XML.
(LV example: A cheerful, self indulgent, Cheerful, SelfIndulgent manual written by the elf Thalu Dabblinghoof.)
EDIT: Almost forgot - yes, you have permission to credit my username for this in the next update if you'd rather! :)
<site>
<civ_id>25</civ_id>
<cur_owner_id>1122</cur_owner_id>
<id>11</id>
<structures>
<structure>
<id>0</id>
<type>inn_tavern</type>
<name>The Mint Harvester</name>
<name2>Gitnukud</name2>
</structure>
<structure>
<id>1</id>
<type>inn_tavern</type>
<name>The Sweet Snacks</name>
<name2>Xospogud</name2>
<inhabitant>3959</inhabitant>
<inhabitant>10903</inhabitant>
<inhabitant>22732</inhabitant>
<inhabitant>31956</inhabitant>
<inhabitant>38921</inhabitant>
</structure>
</structures>
</site>
How can i find info about fistly position this site on global map - and, secondly -info about proper position of this tavern in map tile.Question about legends_plus. I want to find info about all important sites and buildings to auto generate signatures for my map.
I find where things like
Code: [Select]<site>
How can i find info about fistly position this site on global map - and, secondly -info about proper position of this tavern in map tile.
<civ_id>25</civ_id>
<cur_owner_id>1122</cur_owner_id>
<id>11</id>
<structures>
<structure>
<id>0</id>
<type>inn_tavern</type>
<name>The Mint Harvester</name>
<name2>Gitnukud</name2>
</structure>
<structure>
<id>1</id>
<type>inn_tavern</type>
<name>The Sweet Snacks</name>
<name2>Xospogud</name2>
<inhabitant>3959</inhabitant>
<inhabitant>10903</inhabitant>
<inhabitant>22732</inhabitant>
<inhabitant>31956</inhabitant>
<inhabitant>38921</inhabitant>
</structure>
</structures>
</site>
Can i find this info somewhere in legends_export or legends export_plus?
Can dfhack get this info then this place is loaded in memory?
<site>
<id>6</id>
<type>fortress</type>
<name>ringedcats</name>
<coords>45,31</coords>
<rectangle>722,503:724,505</rectangle>
<structures>
<structure>
<local_id>0</local_id>
<type>inn tavern</type>
<name>the fruity harvest</name>
</structure>
</structures>
</site>
legends_plus.xml:<site>
<civ_id>63</civ_id>
<cur_owner_id>64</cur_owner_id>
<id>6</id>
<structures>
<structure>
<id>0</id>
<type>inn_tavern</type>
<name>The Fruity Harvest</name>
<name2>Dozebgolud</name2>
<inhabitant>19998</inhabitant>
</structure>
</structures>
</site>
Red signatures is from info in "coords" tagSpoiler (click to show/hide)
Green - from rectangle. (it's placed in middle of it)
And they all seriously incorrect.
I even don't really understand how correctly convert one to other - firstly i think that green must be more accurate, but now i don't sure...
And ofc, if somebody knows how to get totally accurate coords - it would be super fine.
If anybody knows how it work better, i will be glad any help.
Ohh I am happy, I got it working on Manjaro using wine. So far everything i tested worked besides family trees and the pie chart in the summary. Family trees are just a blank space. Maybe i still need to install an additional component for wine? Also i am getting some visual artifacts like shown in the picture but that's alright with me. Maybe someone else knows how to get the family trees and pie chart working?
Edit: while family trees dont work, the lineage for werebeast curses works.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at LegendsViewer.Legends.Parser.SitesAndPopulationsParser.ReadParentCiv()
at LegendsViewer.Legends.Parser.SitesAndPopulationsParser.Parse()
at LegendsViewer.Legends.World..ctor(BackgroundWorker worker, String xmlFile, String historyFile, String sitesAndPopulationsFile, String mapFile, String xmlPlusFile)
at LegendsViewer.FileLoader.BackgroundWorkerOnDoWork(Object sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
Trying to load a 1050 year world results in this error, consistently occurring right after Legends Viewer attempts to read the sites. I read earlier in the thread a similar issue was being caused by duplicate named entities. Tediously, I started checking for duplicate civ names, site names, and group names. The only result was finding two sites with the same dwarven name "Berduthnur" one being Earthguarded and the other being Earthenguarded. Changing the name yielded nothing. I'd love to hear as to how to proceed from hear.The duplicated names of entities did not result in a crash, but in wrong connections between data, so I don't think your problem is related.
regionx-xxxxx-xx-xx-legends.xml
regionx-xxxxx-xx-xx-legends_plus.xml
regionx-xxxxx-xx-xx-world_history.txt
regionx-xxxxx-xx-xx-world_map.bmp
regionx-xxxxx-xx-xx-world_sites_and_pops.txt
Trying to load a 1050 year world results in this error, consistently occurring right after Legends Viewer attempts to read the sites. I read earlier in the thread a similar issue was being caused by duplicate named entities. Tediously, I started checking for duplicate civ names, site names, and group names. The only result was finding two sites with the same dwarven name "Berduthnur" one being Earthguarded and the other being Earthenguarded. Changing the name yielded nothing. I'd love to hear as to how to proceed from hear.The duplicated names of entities did not result in a crash, but in wrong connections between data, so I don't think your problem is related.
Did you use LegendsViewer 1.19.10?
If you used the most recent version of Legends Viewer and the error still happens, then please upload your exported files to the Dwarf Fortress File Depot (DFFD) (http://dffd.bay12games.com/index.php).
The files that I need to test things are:Code: [Select]regionx-xxxxx-xx-xx-legends.xml
regionx-xxxxx-xx-xx-legends_plus.xml
regionx-xxxxx-xx-xx-world_history.txt
regionx-xxxxx-xx-xx-world_map.bmp
regionx-xxxxx-xx-xx-world_sites_and_pops.txt
Trying to load a 1050 year world results in this error, consistently occurring right after Legends Viewer attempts to read the sites. I read earlier in the thread a similar issue was being caused by duplicate named entities. Tediously, I started checking for duplicate civ names, site names, and group names. The only result was finding two sites with the same dwarven name "Berduthnur" one being Earthguarded and the other being Earthenguarded. Changing the name yielded nothing. I'd love to hear as to how to proceed from hear.The duplicated names of entities did not result in a crash, but in wrong connections between data, so I don't think your problem is related.
Did you use LegendsViewer 1.19.10?
If you used the most recent version of Legends Viewer and the error still happens, then please upload your exported files to the Dwarf Fortress File Depot (DFFD) (http://dffd.bay12games.com/index.php).
The files that I need to test things are:Code: [Select]regionx-xxxxx-xx-xx-legends.xml
regionx-xxxxx-xx-xx-legends_plus.xml
regionx-xxxxx-xx-xx-world_history.txt
regionx-xxxxx-xx-xx-world_map.bmp
regionx-xxxxx-xx-xx-world_sites_and_pops.txt
I am indeed using 1.19.10.
http://dffd.bay12games.com/file.php?id=14629
On linux run "java -jar legendsbrowser-x.x.x.jar"which is the usual way to run a jar file on linux. Use the above thread if more help is needed.
System.NullReferenceException: Object reference not set to an instance of an object.
at System.Object.GetType()
at LegendsViewer.Controls.AppHelpers.GetDescription(Object enumerationValue)
at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)
at System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count)
at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at LegendsViewer.Controls.Query.CriteriaLine.GetValueOptions()
at LegendsViewer.Controls.Query.PropertyBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
at System.Windows.Forms.ComboBox.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Not sure if known quantity, but...
Just found buggish weirdness, reproducible (in this instance, uncertain if valid via other parameters) via Adv. Search > Artifacts + Sub Types, which generatesCode: [Select]System.NullReferenceException: Object reference not set to an instance of an object.
at System.Object.GetType()
at LegendsViewer.Controls.AppHelpers.GetDescription(Object enumerationValue)
at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)
at System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count)
at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at LegendsViewer.Controls.Query.CriteriaLine.GetValueOptions()
at LegendsViewer.Controls.Query.PropertyBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
at System.Windows.Forms.ComboBox.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Thoughts?
Using Legendsviewer to look up some of the events in my fortress.
Found that a were-lizard that attacked my fort, was actually a reptile man cursed to assume the form of a lizard-like monster...
That's... not really that much of a curse, lol
Hello, I have a problem that is frustrasting me since yesterday. I extracted the Legends Viewer .zip file into both my game folder and a new folder, and problems persists in both of these. Whenever I start the .exe, I get a loading circle next to my cursor for a second or so and then nothing happens. I tried restarting, reinstalling to no avail.
Sure, how do I do that?Hello, I have a problem that is frustrasting me since yesterday. I extracted the Legends Viewer .zip file into both my game folder and a new folder, and problems persists in both of these. Whenever I start the .exe, I get a loading circle next to my cursor for a second or so and then nothing happens. I tried restarting, reinstalling to no avail.
I can look into it if you upload your zip-file. :)
Did you use LegendsViewer 1.19.10?
If you used the most recent version of Legends Viewer and the error still happens, then please upload your exported files to the Dwarf Fortress File Depot (DFFD) (http://dffd.bay12games.com/index.php).
The files that I need to test things are:Code: [Select]regionx-xxxxx-xx-xx-legends.xml
regionx-xxxxx-xx-xx-legends_plus.xml
regionx-xxxxx-xx-xx-world_history.txt
regionx-xxxxx-xx-xx-world_map.bmp
regionx-xxxxx-xx-xx-world_sites_and_pops.txt
http://dffd.bay12games.com/file.php?id=14670 There you goDid you use LegendsViewer 1.19.10?
If you used the most recent version of Legends Viewer and the error still happens, then please upload your exported files to the Dwarf Fortress File Depot (DFFD) (http://dffd.bay12games.com/index.php).
The files that I need to test things are:Code: [Select]regionx-xxxxx-xx-xx-legends.xml
regionx-xxxxx-xx-xx-legends_plus.xml
regionx-xxxxx-xx-xx-world_history.txt
regionx-xxxxx-xx-xx-world_map.bmp
regionx-xxxxx-xx-xx-world_sites_and_pops.txt
http://dffd.bay12games.com/file.php?id=14670 There you goDid you use LegendsViewer 1.19.10?
If you used the most recent version of Legends Viewer and the error still happens, then please upload your exported files to the Dwarf Fortress File Depot (DFFD) (http://dffd.bay12games.com/index.php).
The files that I need to test things are:Code: [Select]regionx-xxxxx-xx-xx-legends.xml
regionx-xxxxx-xx-xx-legends_plus.xml
regionx-xxxxx-xx-xx-world_history.txt
regionx-xxxxx-xx-xx-world_map.bmp
regionx-xxxxx-xx-xx-world_sites_and_pops.txt
I'm using Windows 8.1. I already have installed the .NET 4.0 and yes I do have IE 11. The thing that baffles me is that it worked before, but now it doesn't.
Will this get updated to the new version?
I am currently on vacation, without access to a computer.
Work on the updated version of Legends Viewer will start on Sunday, but there are already some unreleased features and bugfixes that I implemented in the last few month. ;)
I am excited to see all the cool new additions the update brought to legends mode!
Just wanted to take the time to say that i really appreciate the work yourself, and others have put into these 3rd party tools.
I think for me and a lot of new players, it would be a lot harder to enjoy the game without them!
I got into Dwarf fortress only 6 months ago and have used your tool a whole bunch already. one of the best parts of this game is the simulation, and it's SO hard to view that information normally.
(I like my eyes, thank you very much)
Anyways, seeing as i've had this forum account for a little while, figured i should use it for something worthwhile.
And now 0.47.02 is out and fixes lots of issues with corrupted XML structure and unidentifiable events! The first export I made in this new version, fixed and revealed almost as many new things as I finished from the 0.42.01 release, haha.
Very glad to hear that you're already working on an update! Thank you for all your hard work--Legends Viewer is a fantastic tool that adds so much to the DF experience for me.
Very glad to hear that you're already working on an update! Thank you for all your hard work--Legends Viewer is a fantastic tool that adds so much to the DF experience for me.
This.That is exactly why I work on Legends Viewer, I love the rich history DF creates. I am fascinated by the details, how everything comes together and forms all these great little and big stories!
This tool is probably my most relied on piece of supplementary software for the game, even more than dwarf therapist. You do great work and I am glad you are continuing! Thanks for all the effort!
PTW.Without making breakpoints in the code and cross-referencing already partially resolved IDs (to historical figures, entities, sites and so on) and dates with the exact lines in DF legends mode, you wont find the related events there. But thanks for asking! :)
I realized as sly_urist said, that I rely on this tool even more than Dwarf Therapist. I can at least play small forts and under-managed/unoptimized forts without dwarf therapist. Without Legends Viewer, I find legends mode (almost) completely impenetrable.
I also wanted to chime in and add that if there are any tasks or help you need that is simple to explain and can be done in parallel in small pieces (churning out new world in worldgen and then searching through the xml dumps for examples of a particular string, for example), I can spare some time to help out, and I am sure you could find more volunteers. Apologies if you've already mentioned such things earlier in the thread, I only read the first page and last two pages.
:Well, it's possible to do at least some of it with DFHack tools, even though the mapping of the structures are still incomplete, and so can cause crashes (and definitely aren't ready for use during play).
Without making breakpoints in the code and cross-referencing already partially resolved IDs (to historical figures, entities, sites and so on) and dates with the exact lines in DF legends mode, you wont find the related events there. But thanks for asking! :)
:
# Support for DF 0.47.xx content + timestamp accurate creature types + more charts
### Features
- timestamp accurate creature types in event descriptions
- displayed race for turned creatures according to date in event descriptions
- in event descriptions, a turned creature will show its new race not until it was turned
- in events before the transformation the old race will be displayed
- population charts for entities and sites
- event chart on top of every event table
- event overview for entities, sites, historical figures, ...
- new DF 0.47.xx Events
- remove hf hf link
- holy city declaration
- hf performed horrible experiments
- entity incorporated
- gamble
- trade
- hf equipment purchase
- entity overthrown
- failed frame attempt
- hf convicted
- failed intrigue corruption
- hfs formed intrigue relationship
- entity alliance formed
- entity dissolved
- add hf entity honor
- entity breach feature layer
- entity equipment purchase
- hf ransomed
- hf preach
- modified building
- hf interrogated
- entity persecuted
- building profile acquired
- hf enslaved
- hf asked about artifact
- hf carouse
- new Event Collection
- persecution
- entity overthrown
- new structure types
- tower
- counting house
- new site types
- monastery
- fort
- castle
- new site properties
- ownership of houses and structures
- new entity honors
- various honor titles in mercenary groups
- based on requirements the historical figure has to fulfill
### Enhancements
- show moods in world overview
- connected some art forms with writtencontent
- article handling in various situations
- icons on every page title
- handling of zombies (race string, filter)
- updated various old events
- merchant event - texts for lost value and hardship
- show structure subtype in navigation
- find civs more accurate if legends_plus is present
### Bugfixes
- fix for duplicated styles of written content
- fix for writtencontent with no name for example 'an untitled letter'
- fix for deity short names (reported by @Silverwing235 THX)
- nullreference fix when printing related artifacts
- SpottedLeavingSite event - nullreference fix
- Fixed a bug where Entity icons would appear regardless of current year. (fixed by @minalear THX)
**Note:**
Use 'exportlegends info' or 'exportlegends all' of [DFHack](https://github.com/DFHack/dfhack/releases) to get lots and lots more info and less UNKNOWN data.
The new legends_plus.xml features require [DFHack](https://github.com/DFHack/dfhack/releases) which is usually included in Lazy Newb Pack for exporting the additional XML file!
Good stuff!
There's also a new Guildhall structure type, by the way.
Are "Relationships" and "Vague Relationships" the wrong way around?
Under vague relationships you've got definite new relationship types like "War Buddy" and "Childhood friend".
While under "relationships" you've got some pretty obscure stuff like "(Visual) Trust -50".
Is the lack of Experiment names (Hfexp58691E Hum 1, etc.) something only DFhack can fix?I already filed an issue (http://www.bay12games.com/dwarves/mantisbt/view.php?id=11327) about that. DFHack definetly makes things with the races clearer, but I hope Toady exports race names (singular and plural) in a separate section of the XML.
Also, Night Trolls (and I guess Bogeymen in there somewhere?) are referred to as "night creature" in the historical figures filter list. But experiments are "night creatures" too and they are listed separately (under code names mentioned above). Maybe want to rename this category?
Finally, "hired as a scout" is missing for historical figures (requires DFHack?).I think that comes from the additions to the "battle" event collection. DF Legends Mode has event entries related to battles that are not exported as typical events.
Oh. did I mention, I think I did, that Legends Viewer is my absolute favorite DF util? Just thought I'd better mention that again as I start listing criticisms. :)Thanks! Always glad to hear that! :D
regionx-xxxxx-xx-xx-legends.xml
regionx-xxxxx-xx-xx-legends_plus.xml (optional, as soon as DFHack is updated)
regionx-xxxxx-xx-xx-world_history.txt
regionx-xxxxx-xx-xx-world_map.bmp
regionx-xxxxx-xx-xx-world_sites_and_pops.txt
What could cause my modded species to be displayed under "Other Populations" instead of "Civilized Populations" in their own civ screens? They have [INTELLIGENT] and [BENIGN] and all.
It used to be that only the civ building races showed up there, while animal peoples, gorlaks, etc. showed up under other. I haven't tried the later versions (because I haven't played at all), but assume that to remain the case.It is exactly the same problem as stated in my reply to Shonai_Dweller. I have no reliable way to map the Civilized World Population list to the race identifiers in the XML file and I have no information about tags like [INTELLIGENT] or any others in the exported files.
Note that "I've modded stuff and now things don't work as I expect" questions are better asked to modders than to tool providers who may have enough trouble keeping up with vanilla, and then you'd presumably have to provide the whole modded part so they have a chance to find the mistake/issue.
Once you and/or your friendly modder support has figured out a probably reason for why it doesn't work and you think that's a tool bug/deficiency, you can come back to the tool provider with an exact description of what doesn't work (and why it ought to, if it isn't obvious to non modders as well).
Civilized World Population
9385 Dwarves
17448 Humans
11963 Elves
75109 Goblins
278 Kobolds
Total: 114183
<historical_figure>So i have to connect that DWARF is related to Dwarves, which is simple for a human but is not so trivial in code.
<id>93</id>
<name>etur</name>
<race>DWARF</race>
<caste>FEMALE</caste>
...
Sounds like the set of races to be considered civilized and potentially civilized (i.e. in the entity_defaults and potential heroes [if I remember correctly], respectively) ought to be candidates for the DFHack plus XML set, which ought to contain both the singular term used in the regular XML and the plural needed for the summary (I believe both are easily available from the creature data structure, with the first being the creature_id and the second being the plural index of the name, and while at it I'd suggest exporting the singular string as well, for potential future use).Exactly, a combination of these three properties (identifier, singular and plural string) would be awesome!
What do you think about this? I simply exported every creature_raw with id, names, and all flags ('cause it's easy to iterate over all of them, and it saves the task of picking the ones needed, and adding missed ones later).
I placed it before sites as the data is sort of world gen ("sort of", as I suspect failed experiments are actually generated during history).Spoiler (click to show/hide)
The complete file is too large to be posted, so I just provide the section before (unchanged) and the proposed new stuff.
Not yet... The script relies on a field that happened to get lost during mapping (and it has moved anyway), but has been recovered as the result of a bug report. The bug fix for that was accepted an hour ago or so, but with that fixed the script ran on my system, both with and without my addition. Thus, it should work with the next DFHack build.
I haven't made a pull request for the script change, as I wanted to hear your "review" comments first, and the script hasn't been modified for new things in 0.47.X. I'll make a pull request for a script change shortly, but adding new things is a bit beyond me, as I don't know what needs to be added and where the standard XML export is sufficient.
Hey I wanted to ask what the percentages after certain entries mean. For example stuff like Related Entities: The Holy Coal of The Boat of Sweltering (Member 1%) or Worshipped Deities: the dwarf deity The Lavender Mother, Deity (99%). I assume it has something to do with the closeness of the relationship, but where is the percentage coming from exactly?
Is it another variable from the export you don't know the exact meaning of?Exactly! ;D
By the way, another modded species *does* appear as civilized and shows up normally.
It is exactly the same problem as stated in my reply to Shonai_Dweller. I have no reliable way to map the Civilized World Population list to the race identifiers in the XML file and I have no information about tags like [INTELLIGENT] or any others in the exported files.
For Example:Code: [Select]Civilized World Population
9385 Dwarves
17448 Humans
11963 Elves
75109 Goblins
278 Kobolds
Total: 114183
From this part of the export is my information about which races are "civilized".
The problem is that these race names are in plural and in the XML a definition of a historicalfigure looks like this:Code: [Select]<historical_figure>
So i have to connect that DWARF is related to Dwarves, which is simple for a human but is not so trivial in code.
<id>93</id>
<name>etur</name>
<race>DWARF</race>
<caste>FEMALE</caste>
...
And as soon as there are races like CAMEL_1_HUMP_MAN, it is impossible to automatically connect to a human readable string (that is additionally in plural) without hardcoding every relation.
That is why I filed this issue (http://www.bay12games.com/dwarves/mantisbt/view.php?id=11327) in the bugtracker and hope that Toady puts the races with singular/plural and identifier somewhere in the exported XML.
# Support for new DFHack features: creature raws, secret identities, rivers
### Features
- read creature raws from legends_plus.xml (THX @PatrikLundell)
- use creature raws for correct singular and plural names of races (like the new horrible experiments and various others)
- read secret identities of historical figures from legends_plus.xml
- show identity in "assume identity" event
- show list of secret identities on historical figure pages
- read information of rivers from legends_plus.xml
- new tab in the Geography tab, with a list of the rivers of this world
- a page for each river that shows its name and the location on the map
- new DF 0.47.xx Events
- sabotage
- battle fought
- new entity types
- guild
- militaryunit
- merchantcompany
### Enhancements
- updated old events
- artifact found
- added new "religious" link between entities
### Bugfixes
- updated README.md, start page and various other locations and removed a hyperlink that led previously to a site where the lazy newb pack was hosted and leads now to a phishing site :grimacing:
**Note:**
_Use 'exportlegends info' or 'exportlegends all' of [DFHack](https://github.com/DFHack/dfhack/releases) to get lots and lots more info and less UNKNOWN data. The new legends_plus.xml features require [DFHack](https://github.com/DFHack/dfhack/releases) which is usually included in the Lazy Newb Pack for exporting the additional XML file!_
Was this world created with 0.47.03 or is it older?47.03 world.
I ask because there was a bug (http://www.bay12games.com/dwarves/mantisbt/view.php?id=11344) in the .01 and .02 versions that led to lots and lots of battles and huge amounts of deaths. Resolving all these events was a big performance issue when parsing the XMLs, especially the battle event collections.
Loading an export from 0.47.03 will be slower than from < 0.44.xx versions, because there is a lot more information now, but it should not be that drastically slower as you described.
47.03 world.
Up until this world I hadn't noticed much loading speed difference. I've made quite a few 47.03 worlds now. This was the first one I tried with Dfhack though since 44.12.
System.NullReferenceException: Object reference not set to an instance of an object.
at LegendsViewer.Legends.EventCollections.Battle.<>c__DisplayClass155_0.<.ctor>b__8(HistoricalFigure attacker) in C:\Users\Thomas Svoboda\source\repos\Kromtec\LegendsViewer\LegendsViewer\Legends\EventCollections\Battle.cs:line 231
at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source, Func`2 predicate)
at LegendsViewer.Legends.EventCollections.Battle..ctor(List`1 properties, World world) in C:\Users\Thomas Svoboda\source\repos\Kromtec\LegendsViewer\LegendsViewer\Legends\EventCollections\Battle.cs:line 231
at LegendsViewer.Legends.Parser.XmlParser.AddEventCollection(String type, List`1 properties) in C:\Users\Thomas Svoboda\source\repos\Kromtec\LegendsViewer\LegendsViewer\Legends\Parser\XMLParser.cs:line 746
at LegendsViewer.Legends.Parser.XmlParser.AddItemToWorld(List`1 properties) in C:\Users\Thomas Svoboda\source\repos\Kromtec\LegendsViewer\LegendsViewer\Legends\Parser\XMLParser.cs:line 225
at LegendsViewer.Legends.Parser.XmlParser.ParseSection() in C:\Users\Thomas Svoboda\source\repos\Kromtec\LegendsViewer\LegendsViewer\Legends\Parser\XMLParser.cs:line 139
at LegendsViewer.Legends.Parser.XmlParser.Parse() in C:\Users\Thomas Svoboda\source\repos\Kromtec\LegendsViewer\LegendsViewer\Legends\Parser\XMLParser.cs:line 69
at LegendsViewer.Legends.World..ctor(BackgroundWorker worker, String xmlFile, String historyFile, String sitesAndPopulationsFile, String mapFile, String xmlPlusFile) in C:\Users\Thomas Svoboda\source\repos\Kromtec\LegendsViewer\LegendsViewer\Legends\World.cs:line 93
at LegendsViewer.FileLoader.BackgroundWorkerOnDoWork(Object sender, DoWorkEventArgs e) in C:\Users\Thomas Svoboda\source\repos\Kromtec\LegendsViewer\LegendsViewer\FileLoader.cs:line 437
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
..followed by a complete and utter stop while parsing Event Collections. No idea what's going on beyond that. EDIT: Addendum. (http://dffd.bay12games.com/file.php?id=14854)
Ah, thanks, but it was a pretty massive world. I may be misremembering how much longer Dfhack Legendsplus files take to load. If something weird comes up again I'll post some files.47.03 world.
Up until this world I hadn't noticed much loading speed difference. I've made quite a few 47.03 worlds now. This was the first one I tried with Dfhack though since 44.12.
If you provide the zipped export files, I can try to look into what causes the long loading times.
************** Texte de l'exception **************
System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.
à LegendsViewer.Legends.WorldObjects.Artifact..ctor(List`1 properties, World world) dans C:\Users\Thomas Svoboda\source\repos\Kromtec\LegendsViewer\LegendsViewer\Legends\WorldObjects\Artifact.cs:ligne 44
à LegendsViewer.Legends.Parser.XmlParser.AddFromXmlSection(Section section, List`1 properties) dans C:\Users\Thomas Svoboda\source\repos\Kromtec\LegendsViewer\LegendsViewer\Legends\Parser\XMLParser.cs:ligne 282
à LegendsViewer.Legends.Parser.XmlParser.AddItemToWorld(List`1 properties) dans C:\Users\Thomas Svoboda\source\repos\Kromtec\LegendsViewer\LegendsViewer\Legends\Parser\XMLParser.cs:ligne 221
à LegendsViewer.Legends.Parser.XmlParser.ParseSection() dans C:\Users\Thomas Svoboda\source\repos\Kromtec\LegendsViewer\LegendsViewer\Legends\Parser\XMLParser.cs:ligne 139
à LegendsViewer.Legends.Parser.XmlParser.Parse() dans C:\Users\Thomas Svoboda\source\repos\Kromtec\LegendsViewer\LegendsViewer\Legends\Parser\XMLParser.cs:ligne 69
à LegendsViewer.Legends.World..ctor(BackgroundWorker worker, String xmlFile, String historyFile, String sitesAndPopulationsFile, String mapFile, String xmlPlusFile) dans C:\Users\Thomas Svoboda\source\repos\Kromtec\LegendsViewer\LegendsViewer\Legends\World.cs:ligne 93
à LegendsViewer.FileLoader.BackgroundWorkerOnDoWork(Object sender, DoWorkEventArgs e) dans C:\Users\Thomas Svoboda\source\repos\Kromtec\LegendsViewer\LegendsViewer\FileLoader.cs:ligne 437
à System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
à System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
https://drive.google.com/open?id=1vb9CbD4S4D-0d0NGSP4Rv-jYK-GMTwY2# Bugfixes + some updated event texts
### Enhancements
- updated "assume identity" event
- updated "hfs formed reputation relationship" event
- updated "artifact claim formed" (THX Shonai_Dweller)
- since 0.47.01 there are lots and lots of battles in every world, what causes long loading times
- I started to clean up the code that parses this "battle" event collection data, so it should be at least a little bit faster
### Bugfixes
- crash fix for books with no author and site (THX Evilguards)
- crash fix when reading battle event collection data (THX clinodev and Silverwing235)
**Note:**
Use 'exportlegends info' or 'exportlegends all' of [DFHack](https://github.com/DFHack/dfhack/releases) to get lots and lots more info and less UNKNOWN data. The new legends_plus.xml features require [DFHack](https://github.com/DFHack/dfhack/releases) which is usually included in the Lazy Newb Pack for exporting the additional XML file!
And also in my current world, a raised undead lieutenant's top description line says "born in 150, died in 180 (old age)".
But in fact, this character died of old age in 174 (it's a very short-lived race), was raised as an undead lieutenant, fought in various battles and was finally struck down by a mouse brute in 180.
So, it should either say "died in 174 (old age)" or "died in 180 (struck)" (or both).
Newest version doesn't seem to be working.
Loading the xml file in gives a popup saying "There was an error loading this XML file! Do you wish to attempt a repair?"
Selecting yes gives a Microsoft .NET Framework Exception: https://pastebin.com/5eTxq3EQ
If you select continue the program does nothing and never loads the legends file.
The XML files I used along with my world gen parameters can be found here if you need them: http://dffd.bay12games.com/file.php?id=14913
regionx-xxxxx-xx-xx-legends.xml
regionx-xxxxx-xx-xx-legends_plus.xml (if you have this file)
regionx-xxxxx-xx-xx-world_history.txt
regionx-xxxxx-xx-xx-world_map.bmp
regionx-xxxxx-xx-xx-world_sites_and_pops.txt
Newest version doesn't seem to be working.
Loading the xml file in gives a popup saying "There was an error loading this XML file! Do you wish to attempt a repair?"
Selecting yes gives a Microsoft .NET Framework Exception: https://pastebin.com/5eTxq3EQ
If you select continue the program does nothing and never loads the legends file.
The XML files I used along with my world gen parameters can be found here if you need them: http://dffd.bay12games.com/file.php?id=14913
Newest version doesn't seem to be working.
Loading the xml file in gives a popup saying "There was an error loading this XML file! Do you wish to attempt a repair?"
Selecting yes gives a Microsoft .NET Framework Exception: https://pastebin.com/5eTxq3EQ
If you select continue the program does nothing and never loads the legends file.
The XML files I used along with my world gen parameters can be found here if you need them: http://dffd.bay12games.com/file.php?id=14913
There was a bug in some recent DFHack builds, where exportlegends produced invalid XML data. It looks like it's been fixed (https://github.com/DFHack/dfhack/issues/1512) already, so it should work if you try a newer build.
<historical_event>
<id>1161</id>
<type>body_abused</type>
<bodies>359</bodies>
<bodies>363</bodies>
<bodies>365</bodies>
<bodies>366</bodies>
<bodies>469</bodies>
<bodies>471</bodies>
<bodies>476</bodies>
<bodies>617</bodies>
<bodies>648</bodies>
<civ>83</civ>
<histfig>-1</histfig>
<site>118</site>
<abuse_type>1</abuse_type>
--> <abuse_data><history_event_body_abusedst.T_abuse_data: 0000024565093F40></abuse_data>
</historical_event>
<historical_figure>
<id>67445</id>
<name>usmok strifeplunge</name>
:
<vague_relationship>
<childhood_friend/>
<hfid>67666</hfid>
</vague_relationship>
<vague_relationship>
<scholar_buddy/>
<hfid>4195</hfid>
</vague_relationship>
It seems Legends Viewer is rather unhappy with childhood friendships. Whenever I've tried to look at units having these there's an unhandled exception. It can be noted that war buddies work just fine. As an aside, DF itself has had issues with several such units (not this one, though), refusing to acknowledge the existence of that HF, while still showing the HF's name as a childhood friend of the other party.
Here's a snipped from the standard Legends export file from the section of one such HF. I suspect you have loads of these in the files you have available, but if not I can provide you with the files I've used (I don't think it matters, but I've also exported Legends_Plus).Code: [Select]<historical_figure>
<id>67445</id>
<name>usmok strifeplunge</name>
:
<vague_relationship>
<childhood_friend/>
<hfid>67666</hfid>
</vague_relationship>
Edit: Also issues with scholar_buddy:Code: [Select]<vague_relationship>
<scholar_buddy/>
<hfid>4195</hfid>
</vague_relationship>
Thanks for trying. I've zipped up the files here: https://www.dropbox.com/s/80taz9tl6dz108o/DF_47_04.zip?dl=0 (https://www.dropbox.com/s/80taz9tl6dz108o/DF_47_04.zip?dl=0). The files were produced using my version of exportlegends.lua, which I believe is the current one.
Edit:
An amusing entry (from the same export) :Look at Zan Gulfcloistered :) DF Legends Mode has the relations reversed...
is there a way to look up unit ids with Legends Viewer? im playing adventure mode and i kinda want to teleport straight to my target (it doesnt help that its across an ocean)I doubt that information is exported.
Historical figure IDs are exported in the vanilla export - does that help?is there a way to look up unit ids with Legends Viewer? im playing adventure mode and i kinda want to teleport straight to my target (it doesnt help that its across an ocean)I doubt that information is exported.
<historical_figures>
<historical_figure>
<id>0</id>
My understanding is that unit IDs are only meaningful in an active game, so you might not be able to get them from legends mode.
is there a way to look up unit ids with Legends Viewer? im playing adventure mode and i kinda want to teleport straight to my target (it doesnt help that its across an ocean)I doubt that information is exported.
Historical figure IDs are exported in the vanilla export - does that help?is there a way to look up unit ids with Legends Viewer? im playing adventure mode and i kinda want to teleport straight to my target (it doesnt help that its across an ocean)I doubt that information is exported.Code: [Select]<historical_figures>
My understanding is that unit IDs are only meaningful in an active game, so you might not be able to get them from legends mode.
<historical_figure>
<id>0</id>
Is anyone else seeing crazy long load times? Or possibly freezes. It doesn't seem to get past "Event Collections". This is with an exportlegends export, and the legends.xml is around 5 gigs. Which is insane, but I am under the impression that Legends Viewer can handle this.The larger the amount of text in the XML, the longer it takes to load, and then it takes time to sort out all the linkage (I assume that's what's happening). Use the task manager (or whatever your OS calls it) to see if the tool keeps allocating memory, in which case it's probably still working on it. Also note that if you're running low on physical memory the swap file will be used, at that one runs at hard disk speed, not memory speed.
Is anyone else seeing crazy long load times? Or possibly freezes. It doesn't seem to get past "Event Collections". This is with an exportlegends export, and the legends.xml is around 5 gigs. Which is insane, but I am under the impression that Legends Viewer can handle this.
I'm finding regular Legends takes a fairly long time to load but does eventually, while Legends plus Dfhack extra takes so long I've forgotten what is was I was opening it up for by the time it eventually appears.Is anyone else seeing crazy long load times? Or possibly freezes. It doesn't seem to get past "Event Collections". This is with an exportlegends export, and the legends.xml is around 5 gigs. Which is insane, but I am under the impression that Legends Viewer can handle this.
I have the same issue, it's been unable to pass the Event Collections stage on a 107mg zip file. Same thing on the unzipped version which is about 2 gigs.
The next version should be faster at loading the "event collections" section.Excellent news. Such a good util that I always I put up with the wait (even if I have finished my game and am watching TV by the time it shows up) :)
Since DF 0.47.XX the "battle" event collections have a lot more information and happen a lot more frequently, thats why it takes so long to load.
Even with the loading performance fix I made for the next version, it will take longer than with exports of older DF versions, but I hope you will see a noticable improvement.
I'm finding regular Legends takes a fairly long time to load but does eventually, while Legends plus Dfhack extra takes so long I've forgotten what is was I was opening it up for by the time it eventually appears.Is anyone else seeing crazy long load times? Or possibly freezes. It doesn't seem to get past "Event Collections". This is with an exportlegends export, and the legends.xml is around 5 gigs. Which is insane, but I am under the impression that Legends Viewer can handle this.
I have the same issue, it's been unable to pass the Event Collections stage on a 107mg zip file. Same thing on the unzipped version which is about 2 gigs.
So I made a very old, very large world with a 2 gig xml file. It takes a solid 10 minutes to load into the viewer, but after that everything tends to work... except for civilizations. I can't view larger civilizations (like, say, my current fort's civilization) at all. Looking in task manager, it's eating up like 3600 megs of RAM for like 20 minutes before it stops using much RAM at all, but it doesn't load anything, just keeps a blank screen.
Anything I can do to fix it? I wanna make statues commemorating my civilization's great deeds and conflicts.
A heads up: Yesterday the df.history.xml file was changed in a way that causes Legends Viewer to reject the plus file: The history event "hist_figure_wounded" field "part_lost" was changed from an integer to a boolean, and it appears the parser doesn't like when it's not a numeric value, but rather the text "true"/"false".Thanks, I updated the parser so it can handle integers and booleans for this property. Will be in the next version.
I verified the cause by changing the script (locally) to omit that field, and that change causes the tool to accept the file.
# Bugfixes + Performance Improvements
### Performance
- parsing event collections should be faster
- parsing historical figures should be faster
### Enhancements
- updated hf_wounded event that it can handle integers and booleans for the part_lost property
### Bugfixes
- resurrected undead are no longer falsely classified as necromancers
- crash fix for culled unimportant historical figures in family tree
- corrected the race string in curse lineage trees
- fixed crash when opening battles where the attacker or defender entity has no site
**Note:**
Use 'exportlegends info' or 'exportlegends all' of [DFHack](https://github.com/DFHack/dfhack/releases) to get lots and lots more info and less UNKNOWN data. The new legends_plus.xml features require [DFHack](https://github.com/DFHack/dfhack/releases) which is usually included in the Lazy Newb Pack for exporting the additional XML file!
LegendsViewer.Legends.CreatureInfo
rather than racial designations.Generally okay, but.....anyone else discovered major problems in the Advanced Search UI? When you search by Race, the drop down and results are full ofCode: [Select]LegendsViewer.Legends.CreatureInfo
rather than racial designations.
(the code section handtyped because copy pasting doesn't work at all, for some reason)
Thanks for the new version! And, of course there are new bug reports...Thanks, no need for uploading the XMLs in this case. I already found the problem thanks to your stack trace and fixed it for the next version. :)
System.NullReferenceException: Object reference not set to an instance of an object.
at LegendsViewer.Legends.Events.NewSiteLeader.Print(Boolean link, DwarfObject pov)
at LegendsViewer.Controls.HTML.HtmlPrinter.PrintEventLog(World world, List`1 events, List`1 filters, DwarfObject dfo)
at LegendsViewer.Controls.HTML.SitePrinter.Print()
at LegendsViewer.Controls.HTML.HtmlPrinter.GetHtmlPage()
:
trying to display a two different sites (so far: most work correctly). I guess it's culling that's the culprit. I can provide the XML files if needed, but the main one weighs in at over 4 GB (so it's a wonder anything works at all).
Is it possible for Legends Viewer to get any of the new religion data?
Right now, each civ has its gods listed, and on the civs and entities tab I can get a list of religions in the world, but there's no link between them (that I can see).
Listing the associated religions with the gods and mentioning the gods on the religion info screens would be a good start.
Also, more advanced, there is crossover of religions between civs now. Is there any data available for how much influence religions have in each civ?
In modded games where you have a civ with no native gods especially, they pick up a bunch of religions from other civs. Would be nice to get an overview of the gods my migrants are likely to be worshiping.
From what I know from poking at Legends Browser, that would require extending legends_plus.xml, the regular legends.xml barely has anything on entities (hueristics, that is, automated guesswork, needs to be done to identify a lot of entity related stuff with vanilla legends.).
If you know which fields of which DF structures you need to make the connections desired and describe that in a DFHack issue (or a post here), it shouldn't be hard to add that to the exports. It doesn't seem like the current script does much in the way of "thinking" to generate info, but just dumps data from selected structures, but I don't think there's a ban on logic for the script. However, if logic is required, a request ought to describe it.
https://github.com/Kromtec/LegendsViewer/issues/52Oh, yes, this is really annoying.
How Can I see "Advanced Search" button #52
is this still being worked on? id like to use it instead of Legends Browser because i prefer it being a normal app instead of some web thing. when i try to open it up, it gives me an error about an invalid field from hf_wounded, which is weird cause i downloaded the latest version and everything...Last updated April 2020, a long time after the latest DF release. So, yes, it's up to date and working for most people.
is this still being worked on? id like to use it instead of Legends Browser because i prefer it being a normal app instead of some web thing. when i try to open it up, it gives me an error about an invalid field from hf_wounded, which is weird cause i downloaded the latest version and everything...Can you confirm that it's version 1.20.04? Also, what DFHack version are you using? The most recent DFHack version (0.47.04, from April 24) is newer than the most recent Legends Viewer (from April 1), so it's possible that DFHack introduced some change that broke Legends Viewer.
is this still being worked on? id like to use it instead of Legends Browser because i prefer it being a normal app instead of some web thing. when i try to open it up, it gives me an error about an invalid field from hf_wounded, which is weird cause i downloaded the latest version and everything...Is it a fatal error, or just a complaint? The latest exportlegends script (in the latest DFHack release) export a number of things that Legends Viewer doesn't recognize, but that normally doesn't prevent it from processing the exported file.
is this still being worked on? id like to use it instead of Legends Browser because i prefer it being a normal app instead of some web thing. when i try to open it up, it gives me an error about an invalid field from hf_wounded, which is weird cause i downloaded the latest version and everything...
# Compatiblity with DFHack 0.47.04-r2 + updates to events
### Added information
- added new 'historical event relationship' event
- added new 'historical event relationship supplements' information
- added type of moutain peak
- added evilness and local force to regions
- added profession to secret identities
- added summary to entity page
### Enhancements
- updated 'itemstolen' event
- updated 'body abused' event
- updated 'assume identity' event
- various smaller event updates
### Bugfixes
- compatibility with changed property export of DFHack 0.47.04-r2 #55
- added TitleRaceString and changed the ObjectListView to show the name of Race rather than the name of the object - THX @JakeTrans
- fixed a crash that could happen when there was no information about the new leader in the "new_site_leader" event due to hf culling
**Note:**
Use 'exportlegends info' or 'exportlegends all' of [DFHack](https://github.com/DFHack/dfhack/releases) to get lots and lots more info and less UNKNOWN data. The new legends_plus.xml features require [DFHack](https://github.com/DFHack/dfhack/releases) which is usually included in the Lazy Newb Pack for exporting the additional XML file!
Code: [Select]### Bugfixes
- added TitleRaceString and changed the ObjectListView to show the name of Race rather than the name of the object - THX @JakeTrans
System.InvalidOperationException: The binary operator Equal is not defined for the types 'LegendsViewer.Legends.CreatureInfo' and 'System.String'.
at System.Linq.Expressions.Expression.GetEqualityComparisonOperator(ExpressionType binaryType, String opName, Expression left, Expression right, Boolean liftToNull)
at System.Linq.Expressions.Expression.Equal(Expression left, Expression right, Boolean liftToNull, MethodInfo method)
at LegendsViewer.Controls.Query.SearchInfo`1.GetComparer(Expression property)
at LegendsViewer.Controls.Query.SearchInfo`1.GetPredicate()
at LegendsViewer.Controls.Query.SearchList`1.Search(List`1 searchCriteria)
at LegendsViewer.Controls.Query.QueryControl.Search(CriteriaLine criteria)
at LegendsViewer.Controls.Query.CriteriaLine.GetValueOptions()
at LegendsViewer.Controls.Query.PropertyBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
at System.Windows.Forms.ComboBox.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
# Advanced Search Overhaul
### Advanced Search
- the advanced search feature got an complete overhaul
- now works with property attributes and is far better maintainable
- button for the advanced search was added to the top of the content pages
### Enhancements
- added structures to advanced search
- added raids to advanced search
- added written content to advanced search
- included and changed lots of allowed search properties
### Bugfixes
- lots of crash fixes related to the advanced search
**Note:**
Use 'exportlegends info' or 'exportlegends all' of [DFHack](https://github.com/DFHack/dfhack/releases) to get lots and lots more info and
less UNKNOWN data. The new legends_plus.xml features require [DFHack](https://github.com/DFHack/dfhack/releases) which is usually
included in the Lazy Newb Pack for exporting the additional XML file!
1.20.06b
# Hotfix
* supporting a changed data type of the newest DFHack that caused crashes in Legends Viewer
I'm getting the *EXACT* same issue as Lemel.Thanks for posting! It is not the exact same issue, only related and results in the same error message.
I downloaded 1.20.06, and the issue persists.
I've had the issue happen using both the native export function in DF and using DFHack.
I did get one export to load when I did it immediately after world gen but before starting a fortress. But later, when I had an active fortress, I used DFHack's open-legends to export, and got the LV error.
I uploaded both the working export and the one causing the error to DFFD here: https://dffd.bay12games.com/file.php?id=15275
I'm hoping there's a fix for this -- I love Legends Viewer and would really like to use it again!
Again, I'm not reposting the error text because Lemel already did that, and it's exactly the same.
New Release 1.20.06b!
....
Here is the hotfix release that should hopefully get rid of the last of this issues. ;D
1.20.06c
# Hotfix
* found more places in rarer events where datatypes changed from int to string
I have a similar problem, the hotfix doesn't seem to help ; there might be still some issues.
Here's the debugging messageSpoiler (click to show/hide)
I have a minor issue: when loading an xml file as per instructions, the Legends Viewer uses the first image file it finds in the directory for map image (looking in alphabetical order) rather than xxxxx-worldmap.png as it supposed to (i guess?). Also changing it manually by pressing the "..." button next to Map image text box, doesn't change the map file. My workaround is renaming the map image file to something like "!!xxxxxxx-worldmap.png", this way the Viewer sees it first, and selects it as intended. Any help?
I use the latest version (1.20.06c) that comes with the latest PeridexisErrant's Starter Pack.
Edit: This only happens with .png files, works fine with .bmp
"In 296, early spring, (15th of Granite) the dwarf deity Nekolcursed to prowl the night in search of bloodOlnir in Spearforges." instead of
"In 296, early spring, (15th of Granite) the dwarf deity Nekol cursed Olnir to prowl the night in search of blood in Spearforges."
"In 340, midsummer, (22nd of Malachite) Valiinfected with a contagious ghoulish conditionthe dwarf Knutr Chiefsspear in UNKNOWN SITE during The 7th Conquest of Firstseat as a result of The Furious Attack as part of The Swift Conflict." instead of(*from legend mode: "Vali infected the dwarf tainted thrall Knutr Chiefsspear with a contagious ghoulish condition.")
"In 340, midsummer, (22nd of Malachite) Vali infected the dwarf Knutr Chiefsspear with a contagious ghoulish condition in UNKNOWN SITE during The 7th Conquest of Firstseat as a result of The Furious Attack as part of The Swift Conflict."
"In 358, late autumn, (8th of Timber) the dwarf deity Savotcursed to assume the form of a iguana-like monster every full moonDraupnir in Boldtooth." instead of
"In 358, late autumn, (8th of Timber) the dwarf deity Savot cursed Draupnir to assume the form of a iguana-like monster every full moon in Boldtooth."
"In 473, early spring, (1st of Granite) the goblin werebitgiraffe Zamarpak Pitbane the Lonebit, passing on the giraffe monster curseAelm in Dreadpits during The 2nd rampage of Zamarpak Pitbane the Lone in Dreadpits" instead of
"In 473, early spring, (1st of Granite) the goblin werebitgiraffe Zamarpak Pitbane the Lone bit Aelm, passing on the giraffe monster curse in Dreadpits during The 2nd rampage of Zamarpak Pitbane the Lone in Dreadpits."
I was curious if anyone know why some known info in site's Beast Attacks get listed as unknown, for example:OK, so, easy ones first: In advanced worldgen, you didn't just leave 'Cull unimportants' on, did you?Spoiler (click to show/hide)
It's not a big deal but it would be cool if it's fixable.
I have no idea, but I did use advanced world gen for the first time on this world. I wouldn't have left it if I saw the option but I don't remember seeing it, so it's possible. I checked the world_gen_param.txt and it doesn't have it mentioned.
System.NullReferenceException: Nesne başvurusu bir nesnenin örneğine ayarlanmadı.
konum: LegendsViewer.Legends.Parser.SitesAndPopulationsParser.ReadParentCiv()
konum: LegendsViewer.Legends.Parser.SitesAndPopulationsParser.Parse()
konum: LegendsViewer.Legends.World..ctor(BackgroundWorker worker, String xmlFile, String historyFile, String sitesAndPopulationsFile, String mapFile, String xmlPlusFile)
konum: LegendsViewer.FileLoader.BackgroundWorkerOnDoWork(Object sender, DoWorkEventArgs e)
konum: System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
konum: System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
System.IO.IOException: The file already exists.
em System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
em System.IO.Path.InternalGetTempFileName(Boolean checkHost)
em LegendsViewer.Controls.HTML.HtmlPrinter.BitmapToHtml(Bitmap image)
em LegendsViewer.Controls.HTML.WorldStatsPrinter.PrintMap()
em LegendsViewer.Controls.HTML.WorldStatsPrinter.PrintWorldInfo()
em LegendsViewer.Controls.HTML.WorldStatsPrinter.Print()
em LegendsViewer.Controls.HTML.HtmlPrinter.GetHtmlPage()
em LegendsViewer.Controls.HTML.HtmlControl.GetControl()
em LegendsViewer.Controls.DwarfTabPage.LoadPageControl()
em LegendsViewer.Controls.DwarfTabControl.Navigate(ControlOption controlOption, Object navigateObject)
em LegendsViewer.FrmLegendsViewer.AfterLoad(World loadedWorld)
em LegendsViewer.FileLoader.BackgroundWorkerOnRunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
em System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
Got this bug, figure I may as well report it. I'm modding my game, is this due to something I messed up?
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at LegendsViewer.Legends.Parser.SitesAndPopulationsParser.ReadParentCiv()
at LegendsViewer.Legends.Parser.SitesAndPopulationsParser.Parse()
at LegendsViewer.Legends.World..ctor(BackgroundWorker worker, String xmlFile, String historyFile, String sitesAndPopulationsFile, String mapFile, String xmlPlusFile)
at LegendsViewer.FileLoader.BackgroundWorkerOnDoWork(Object sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
In my current world (made in 47.05), Legends Viewer (with Dfhack) is showing me a monastery that was founded by a merchant company and another founded by a bowers guild. Seemed strange so I checked out Legends Mode and they give the correct religions which actually founded them.Yes please, I'll try to look into it this weekend.
Issue seems to be that the goblin who built the monastery for his religion is also a member of the merchant guild that Legends Viewer thinks founded the site. Same for the dwarf who built the second monastery.
Want to check the file?
Here you go:In my current world (made in 47.05), Legends Viewer (with Dfhack) is showing me a monastery that was founded by a merchant company and another founded by a bowers guild. Seemed strange so I checked out Legends Mode and they give the correct religions which actually founded them.Yes please, I'll try to look into it this weekend.
Issue seems to be that the goblin who built the monastery for his religion is also a member of the merchant guild that Legends Viewer thinks founded the site. Same for the dwarf who built the second monastery.
Want to check the file?
Got this bug, figure I may as well report it. I'm modding my game, is this due to something I messed up?
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at LegendsViewer.Legends.Parser.SitesAndPopulationsParser.ReadParentCiv()
at LegendsViewer.Legends.Parser.SitesAndPopulationsParser.Parse()
at LegendsViewer.Legends.World..ctor(BackgroundWorker worker, String xmlFile, String historyFile, String sitesAndPopulationsFile, String mapFile, String xmlPlusFile)
at LegendsViewer.FileLoader.BackgroundWorkerOnDoWork(Object sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
Can you provide me all your exported files?
Please zip them and upload them to DFFD (https://dffd.bay12games.com/category.php?id=6), so I can take a look what happens.
Here you go:
https://dffd.bay12games.com/file.php?id=15409
You'll find (according to Legends Viewer) monasteries, Lasthoisted founded by the Hall of Mists (a merchant company) and Treatyransacked founded by the Hall of Destiny (a bowers guild).
Whereas correctly Lasthoisted was constructed by the goblin Rosmic Manyflickered for the Denomination of Caverns, and Treatyransacked was founded by the Dwarf Bim Rainsilvers for the Luxurious Sect (both religions).
(Rosmic Manyflickered is however head of the Hall of Mists, and Bim Rainsilvers is Doyenne of the Hall of Destiny so it's likely easy to get the connections confused.)
(World has a bunch of raw tweaks, new civs, etc).
Sorry for the delay, here's the stuff.
https://dffd.bay12games.com/file.php?id=15416
Ugath
Is a deity that occurs in the myth of "The Fairy Crstal". Ugath is most often depicted es a male dwarf deity.
Caste: Male
Associated Spheres: death and blight
Interaction Knowledge: SECRET_1, SECRET_2, SECRET_4, SECRET_5 [...] SECRET_48 and SECRET_51
Hi,The question relates more to DF than to Legends Viewer itself, and so might have been better asked in the gameplay questions forum (where others who are interested but don't use this extremely useful tool may see it as well).
I often use Legends Viewer to understand what the World I've created is all about and its a great tool! So first of all, thank you :)
One thing that always confuses me is, when I see "SECRET_[Nr]" in the character description of someone. Here is an example:QuoteUgath
Is a deity that occurs in the myth of "The Fairy Crstal". Ugath is most often depicted es a male dwarf deity.
Caste: Male
Associated Spheres: death and blight
Interaction Knowledge: SECRET_1, SECRET_2, SECRET_4, SECRET_5 [...] SECRET_48 and SECRET_51
Can someone tell me what these SECRETs are?
Thanks for your help!
The question relates more to DF than to Legends Viewer itself, and so might have been better asked in the gameplay questions forum (where others who are interested but don't use this extremely useful tool may see it as well).
DF currently only has a single Secret, namely the Secret of Life and Death, so all of them are about that, although the framework would allow for other secrets in the future.
The number is simply the order in which world gen generated the secrets, and the deity in the quote apparently knew a lot of them.
What I'm not certain about is why there are different instances, but it could be that each slab bestowed upon a necro is tied to a secret and that slab "uses up" that secret (this is pure speculation on my part). Another speculation is that it might also be tied to which kind(s) of intelligent undead the secret allows you to raise. Apart from having different names, they can also have different magic powers, if I understand it correctly.
Here you go:
https://dffd.bay12games.com/file.php?id=15409
You'll find (according to Legends Viewer) monasteries, Lasthoisted founded by the Hall of Mists (a merchant company) and Treatyransacked founded by the Hall of Destiny (a bowers guild).
Whereas correctly Lasthoisted was constructed by the goblin Rosmic Manyflickered for the Denomination of Caverns, and Treatyransacked was founded by the Dwarf Bim Rainsilvers for the Luxurious Sect (both religions).
(Rosmic Manyflickered is however head of the Hall of Mists, and Bim Rainsilvers is Doyenne of the Hall of Destiny so it's likely easy to get the connections confused.)
(World has a bunch of raw tweaks, new civs, etc).
Thanks, I think I managed to get it right:
On the site page
(https://i.imgur.com/sWiWNEv.jpg)
On the entity page
(https://i.imgur.com/ejh2R4N.jpg)
(the entity page now also displays the link to the event)Sorry for the delay, here's the stuff.
https://dffd.bay12games.com/file.php?id=15416
I found the issue and your world can now be loaded correctly:Spoiler (click to show/hide)
I will wait with a new version (that will contain these fixes) until DFHack has a stable release for 0.47.05 and I had the time to check if Legends Viewer works with it too.
Cool. On another note, I ran into a different bug while testing my mod, I think. With this save, legendsviewer CTDs with no error report upon trying to load the map.
https://dffd.bay12games.com/file.php?id=15425
Cool. On another note, I ran into a different bug while testing my mod, I think. With this save, legendsviewer CTDs with no error report upon trying to load the map.
https://dffd.bay12games.com/file.php?id=15425
Thanks, I fixed that too. This world had two entities named the "The Kindled League" and they where both set to be the parent entity of each other, what led to some kind of parent-child-loop. :-)
1.20.07
# Bugfixes
- fix for truncated filenames THX @alxwrd
- enumerate files to find default files THX @alxwrd
- simplify file lookup THX @alxwrd
- correctly link site ownership
- made reading and setting the parent of an entity more robust
- fixed a crash that happened when no art forms where generated and the section was empty THX @piperlolot
System.NullReferenceException: Object reference not set to an instance of an object.
at LegendsViewer.Legends.WorldObjects.Entity.SetParent(Entity parent)
at LegendsViewer.Legends.Events.SiteTakenOver..ctor(List`1 properties, World world)
at LegendsViewer.Legends.Parser.XmlParser.AddEvent(String type, List`1 properties)
at LegendsViewer.Legends.Parser.XmlParser.AddItemToWorld(List`1 properties)
at LegendsViewer.Legends.Parser.XmlParser.ParseSection()
at LegendsViewer.Legends.Parser.XmlParser.Parse()
at LegendsViewer.Legends.World..ctor(BackgroundWorker worker, String xmlFile, String historyFile, String sitesAndPopulationsFile, String mapFile, String xmlPlusFile)
at LegendsViewer.FileLoader.BackgroundWorkerOnDoWork(Object sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
1.20.08
# Bugfixes + Performance
- fix for crash if a vault was conquered (parent of the vault entity was null)
- various performance tweaks
https://dffd.bay12games.com/file.php?id=15702 - The turn before that worked fine"The Moist Closets" were the culprits of this bug, because they have no parents. :D
https://dffd.bay12games.com/file.php?id=15715 - The turn it broke on
Been getting this error. In a community game. Trying to troubleshot it but its a big file.
As of April 15 2022 - version 1.20.08
I'm not sure this tool is maintained anymore, but there are multiple problems ...
1: "open in new tab" is greyed out for every in-link and not able to be used
2: "open in new window" opens a broken Internet Explorer window ... no way to change this ( and Internet Explorer is a major security risk for my system )
.
(https://i.postimg.cc/1z8SLrFN/broken.jpg)
.
(https://i.postimg.cc/2yKFXmNW/broken2.jpg)
As of April 15 2022 - version 1.20.08
I'm not sure this tool is maintained anymore, but there are multiple problems ...
1: "open in new tab" is greyed out for every in-link and not able to be used
2: "open in new window" opens a broken Internet Explorer window ... no way to change this ( and Internet Explorer is a major security risk for my system )
.
(https://i.postimg.cc/1z8SLrFN/broken.jpg)
.
(https://i.postimg.cc/2yKFXmNW/broken2.jpg)
As of April 15 2022 - version 1.20.08That's due to the fact that there is a WebBrowser control embedded that sadly uses an IE under the hood and I do have very limited control over how the internal browser behaves.
I'm not sure this tool is maintained anymore, but there are multiple problems ...
1: "open in new tab" is greyed out for every in-link and not able to be used
2: "open in new window" opens a broken Internet Explorer window ... no way to change this ( and Internet Explorer is a major security risk for my system )
@Kromtec: Adding #3: unwanted lower case, spreading as though it were digital Covid - started w/histfig skill titles, but has also gotten into book titles (cross-checking against Legends Mode to verify, obv)Thanks for reporting! I will look into it when I find time to make another release.
That's due to the fact that there is a WebBrowser control embedded that sadly uses an IE under the hood and I do have very limited control over how the internal browser behaves.
The whole project is nearly 10 years old and I took over 2015. If I would start from scratch, Legends Viewer would be totally different, at least from a technology standpoint. ;)
That's due to the fact that there is a WebBrowser control embedded that sadly uses an IE under the hood and I do have very limited control over how the internal browser behaves.
The whole project is nearly 10 years old and I took over 2015. If I would start from scratch, Legends Viewer would be totally different, at least from a technology standpoint. ;)
You are aware that this is v. probably also a symptom of IE being generally booted into the Great Redmond Recycle Bin, right? (https://docs.microsoft.com/en-us/lifecycle/announcements/internet-explorer-11-end-of-support)
<historical_event>
<id>409560</id>
<year>243</year>
<seconds72>8400</seconds72>
<type>entity alliance formed</type>
<initiating_enid>91</initiating_enid>
<joining_enid>67</joining_enid>
<joining_enid>85</joining_enid>
</historical_event>
If you zip up the exported Legends files and make them available it might be possible to determine the cause and possibly fix it.Thanks for the advice
@KromtecWhat is urgent about this? The file still exists. It doesn't have metadata, yeah, but it can still be downloaded.
....so yeah, DFFD database went 'smash' recently, ergo, semi-urgent problem, at least as I understand it. (https://dffd.bay12games.com/file.php?id=11455 (https://dffd.bay12games.com/file.php?id=11455))
This may not be the place for this, but... is there an intention to release Legends Viewer as a mod for the Steam DF as well? I would dearly love it if so :)Right now the export legends data function is missing in 50.0x.
Thanks for all you do!
Same here. I love the fortress game mode now, but I miss the family trees, the maps view and the way Legends Viewer presents the information of the whole world. I used it every time to check my kings' family history, check for interesting monsters I wanted to fight or personal dramas I wanted to draw.Legends export was mentioned in Toady's last interview. The functionality is all there, just needs a button, and a display saying "please wait" (because freezing your computer for 10 minutes in the age of Steam isn't good apparently).
I hope it becomes possible to use the viewer again, at some point (or similar). Thanks for all the work and the joy you gave me with it.
This is probably the umpteenth question regarding Linux and MacOS, but I've got to ask. So, I tried running Legends Viewer in wine, but many parts of the program end up broken that way (showing blank tabs and not letting me see some statistics, etc.). I was thinking - I know coding, so why not try to make a Legends Viewer clone or port?I'm not the dev, but you know the source is out there on Github: https://github.com/Kromtec/LegendsViewer
However, I imagine that a project like this is relatively big. I don't know quite where to start. Is there any documentation on how the legends xml files work and do you have any tips on where to start?
The exportlegends info wouldn't work now they returned the function?Even if it did work, that only exports extra XML doesn't it? Unless the DfHack crew spend time trying to recreate the export of the pops and history text files, but that'd likely be judged a waste of their time as it's a vanilla DF feature (normally).
Correction - humm, nope.. 'exportlegends must be run from the main legends view' is the inevitable message. No cookie here either.
The exportlegends info wouldn't work now they returned the function?Where in DF are you running the script from? It needs to be run from legends mode.
Correction - humm, nope.. 'exportlegends must be run from the main legends view' is the inevitable message. No cookie here either.
Even if it did work, that only exports extra XML doesn't it? Unless the DfHack crew spend time trying to recreate the export of the pops and history text files, but that'd likely be judged a waste of their time as it's a vanilla DF feature (normally).Right, we haven't attempted to recreate anything that DF pre-v50 exported, assuming the DF feature would come back in less time than it would take us to recreate those features.
In the museum game we have run into issue. The player character Moldath Mournsaints the Ardents profile now results in a crash. Might be related to secrets learned.
Legends files - https://dffd.bay12games.com/file.php?id=16082
The Save - https://dffd.bay12games.com/file.php?id=16073Spoiler: Post talking about this (click to show/hide)Spoiler: Exception Text (click to show/hide)
I guess this is pretty much abandoned now since it is for 0.47 but this bug is creeping up more often in our 300+ year succession save with various entities and sites causing crashes. Does anyone still maintain this mod?This tool (technically a utility, not a mod) could work with v50, although v50 does not export all of the required information yet (as mentioned above).