Bay 12 Games Forum

Dwarf Fortress => DF Modding => Utilities and 3rd Party Applications => Topic started by: Karater on January 04, 2016, 02:35:12 pm

Title: LegendsBrowser 1.19.2 (Windows, Mac OS and Linux legends viewer) | DF 0.47.04
Post by: Karater on January 04, 2016, 02:35:12 pm
LegendsBrowser is a multi-platform (Windows, MacOS, Linux), web-based legends viewer completely written from scratch in java.
(supports loading of legends_plus.xml from DFHack)

This version is deprecated. Please see LegendsBrowser 2 (http://www.bay12forums.com/smf/index.php?topic=179848.0) for the current version.

Download: Windows (http://dffd.bay12games.com/file.php?id=11619) or Mac OS (http://dffd.bay12games.com/file.php?id=11618)
Project ist hosted on GitHub (https://github.com/robertjanetzko/LegendsBrowser/releases)

To run the application just start the .exe or .app (Java 8 or newer is required)
On linux run "java -jar legendsbrowser-x.x.x.jar"
You default browser should open (if not, open http://localhost:58881)
Now can use the built-in file chooser to browse to your *-legends.xml


Civilization Overview:
Spoiler (click to show/hide)

Population Overview:
Spoiler (click to show/hide)

Civilization Wars:
Spoiler (click to show/hide)

Civilization Details:
Spoiler (click to show/hide)

War Details:
Spoiler (click to show/hide)

Site Details:
Spoiler (click to show/hide)

Historical Figure Details:
Spoiler (click to show/hide)

World Construction Details:
Spoiler (click to show/hide)

Historical Figure Filter:
Spoiler (click to show/hide)
Title: Re: LegendsBrowser (multi-platform legends viewer for df 0.42)
Post by: Timeless Bob on January 05, 2016, 05:34:22 am
Very cool!

PTW
Title: Re: LegendsBrowser (multi-platform legends viewer for df 0.42)
Post by: Karater on January 05, 2016, 11:08:19 am
I've released version 0.0.2 with support for legends_plus.xml from DFHack:
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: CharonM72 on January 07, 2016, 04:52:03 am
PTW
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Karater on January 07, 2016, 10:09:18 am
I've released version 0.0.4 with these new features:

(i've also added new screenshots to the first posting)
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: King_of_Baboons on January 08, 2016, 08:12:28 pm
I got some bugs for ya.

The viewer is not registering groups.It shows them as "The Wheels of Gold:unknown unknown"(civs are displayed as human/dwarf/elf/goblin unknown but are divided by race) and it does not divide them by race either.It just makes a long list of all the groups of the world.Which is bad in this particular case because there are far more groups than civs(Thanks,DF).

Spoiler (click to show/hide)

The War graphic is also very confusing when your world has too many wars.Could you put an option for a simpler kind of graphic rather than the default one?.

Spoiler (click to show/hide)

The viewer,despite being able to identify which hist. figs. are leaders,cannot say which kind of leader they were.Instead it just says the ID of their profession.The same happens with books and festivals and they all come out in numbers.

Spoiler (click to show/hide)


Aside from all of that,this is the only viewer so far that has an easy and cool UI to use and I hope this gets more updated.
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Karater on January 09, 2016, 04:09:59 am
Thanks for your feedback. Most of the missing information is caused by the incomplete legends export from df (structures, world constructions and everything related to the new professions - books, performances and festivals - is missing). If you are using dfhack you can run "exportlegends info". This will export an additional file with lots of the missing information. The file will also contain the type of groups and civilizations.

The main page will show all groups it can identify as civilization (groups that own sites and have no parent group). These groups are also displayed in the war chart. If you don't have the additional data from dfhack a lot of groups can show up here. I will try to extract more details from the basic export to make the main page easier to read in the next version.
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: fricy on January 09, 2016, 10:04:10 am
PTW
Also saying !!THANK YOU!!, and letting you know that it's going into Macnewbie.

...and I immediately have two feature requests:
1, Support setting a relative path to search for legends in a config file, so the browser doesn't start up (on osx) in ~/, but in ../../../WhateverIWant
2, Support LNP's Legends processor package format. Here's an example output (https://www.dropbox.com/sh/c97ihrj5qncvg8y/AADHk2vcFuF0fX08rG4zJNwRa?dl=0). Basically the processor is just a script to convert images to .png format, sort them, and compress the xml so it takes less space.

edit: Besides the above mentioned missing performances I'm seeing a lot of UNKNOWN HISTORICAL FIGURE linked () to entries in the browser. I used exportlegends all for initial export, then I tried exportlegends info to see if it changes anything, but no. You can check the dwarves in the example posted above for clues.
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Karater on January 09, 2016, 01:01:43 pm
thanks for putting it in the starter pack :D
features for the file browser are already on my list and i will have a look at the compressed format.
the plus file needs it name changed to match the date of the other exports for now (dfhack exports one day later) otherwise it wont be recognized

i've also released version 1.0.5 with these new features
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: fricy on January 09, 2016, 01:17:03 pm
thanks for putting it in the starter pack :D
Oh, you don't know how long have I been waiting for a Legends app that runs on osx... :D

Quote
features for the file browser are already on my list and i will have a look at the compressed format.
the plus file needs it name changed to match the date of the other exports for now (dfhack exports one day later) otherwise it wont be recognized
Thx, noted, after renaming I'm not seeing the unknown entries any more. Looks like that (https://github.com/DFHack/dfhack/blob/master/scripts/exportlegends.lua#L90) +1 is not necessary then.
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Karater on January 09, 2016, 01:36:04 pm
Looks like that (https://github.com/DFHack/dfhack/blob/master/scripts/exportlegends.lua#L90) +1 is not necessary then.

i think its line 88 (https://github.com/DFHack/dfhack/blob/master/scripts/exportlegends.lua#L88), since days and months are 1-indexed
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: notfood on January 09, 2016, 04:55:16 pm
Thank you!
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Karater on January 10, 2016, 05:48:05 am
Looks like that (https://github.com/DFHack/dfhack/blob/master/scripts/exportlegends.lua#L90) +1 is not necessary then.
correct line should be:
    local julian_day = math.floor((df.global.cur_year_tick == -1 and 0 or df.global.cur_year_tick) / 1200)
(directly after creating a new world cur_year_tick is still -1)

EDIT: seems to be fixed in this commit (https://github.com/DFHack/dfhack/commit/0bcc8dc4437761e36d3dae8a516dccca5a11eaf5)  8)
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Karater on January 10, 2016, 08:48:55 am
i've released version 1.0.6 with these new features:
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: fricy on January 10, 2016, 12:56:46 pm
i've released version 1.0.6 with these new features:
  • load legends from LNP processed .zip archive
  • properties file
Thx for implementing this!
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: PeridexisErrant on January 10, 2016, 09:46:53 pm
PTW; this looks great!
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Rose on January 10, 2016, 11:16:37 pm
I notice that it doesn't convert the characters from ascii to unicode. You may want to correct that.
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Karater on January 11, 2016, 07:27:17 am
I notice that it doesn't convert the characters from ascii to unicode. You may want to correct that.
can you give me an example where this happens?
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Rose on January 11, 2016, 07:40:24 am
I notice that it doesn't convert the characters from ascii to unicode. You may want to correct that.
can you give me an example where this happens?
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Karater on January 12, 2016, 01:37:07 pm
i've released version 1.0.7 with the following new features:

*Important Note
most of these features require an extended exportlegends script for dfhack
you can find the latest version here: exportlegends.lua (https://raw.githubusercontent.com/robertjanetzko/dfhack/additional-exports/scripts/exportlegends.lua)
place it in hack/scripts of your dwarf fortress installation
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: CharonM72 on January 12, 2016, 11:39:23 pm
i've released version 1.0.7 with the following new features:
  • maps for regions

How did you get the maps for regions information? I thought it wasn't available in the xml export.
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Karater on January 13, 2016, 12:26:01 am
How did you get the maps for regions information? I thought it wasn't available in the xml export.

i shows where a region is on the world map, the legends_plus.xml contains the list of coordinates for each reagion
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Karater on January 15, 2016, 11:37:47 am
sry last released contains some bugs when loading legends from .zip archive and the post contained the wrong url to exportlegends.lua (https://raw.githubusercontent.com/robertjanetzko/dfhack/additional-exports/scripts/exportlegends.lua)

there will be a new release this weekend with bugfixes
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Karater on January 16, 2016, 10:18:25 am
i've released version 1.0.8 with these new features:
Bugfixes

*Important Note
these features require an extended exportlegends script for dfhack
you can find the latest version here: exportlegends.lua (https://raw.githubusercontent.com/robertjanetzko/dfhack/additional-exports/scripts/exportlegends.lua)
place it in hack/scripts of your dwarf fortress installation
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Karater on January 19, 2016, 01:04:14 pm
i've released version 1.0.9 with these new features:
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Emma on January 20, 2016, 11:40:34 pm
thanks for putting it in the starter pack :D
Oh, you don't know how long have I been waiting for a Legends app that runs on osx... :D


^ This. PTW.
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Isaacc7 on January 25, 2016, 12:43:12 am
Total newbie here. As in I started playing DF the day before yesterday. I got this utility via the Macnewbie package. I went ahead and installed Java and when I launch Legendsbrowser I get a new window in Safari. I have no idea where to direct it to though. I can't find any xml files, where is the appropriate file and how do I get this to work? Thanks so much, I'm in the process of digesting a ton of info. I read there was a learning cliff but wow...

Isaac
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: fricy on January 25, 2016, 02:14:33 am
Total newbie here. As in I started playing DF the day before yesterday. I got this utility via the Macnewbie package. I went ahead and installed Java and when I launch Legendsbrowser I get a new window in Safari. I have no idea where to direct it to though. I can't find any xml files, where is the appropriate file and how do I get this to work?
/snip
To use it:
- Load your fortress with dfhack (backup first...)
- Press Ctrl-Shift-L to load legends mode
- Press Ctrl-A to export legends information
- Start Legends Browser, wait for the browser window to open and navigate to /Macnewbie/Dwarf Fortress to load legends.xml

Additionally you can use the Launcher to compress and package the exported legends (look for the Process Legends button at the bottom of the Advanced tab in the launcher), but there's a bug with the Sites view in the current version with that method, so best use this for now.  If you process the legends they'll be moved to "/User Generated Content/Legends/(region name)", otherwise they are just dumped into "/Dwarf Fortress".
+ Check the Readme.pdf in /LNP/about for stuff like this.
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Karater on January 25, 2016, 02:20:40 am
typically you would generate a new world and when you start playing you can choose "legends"-mode, where you can review the history of your world. there you have the option to hit "X" and export the history as XML file. This file is placed in your "Dwarf Fortress" folder of your installation. With a starter pack and dfhack you have some more options. When in "legends"-mode you can switch to the dfhack terminal window and enter "exportlegends info" or "exportlegends all". The first one will do the same as hitting "X" but also export maps, world gen params and an additional XML with more data for events and history. The second will also export all site maps. Normally legends-mode can only be opened when starting a new game. But with dfhack you can open it anytime by entering "open-legends".
After you have exported your history, you can open it with legends browser by navigating to the "Dwarf Fortress" folder inside "Macnewbie". But the launcher has the option to make an archive of all the exported files (based on your world size the XML files can be over 100MB). When you open LegendsBrowser you will be pointed to the folder where the archives are stored.
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Isaacc7 on January 25, 2016, 10:45:58 am
Aha! Thanks so much guys. Like so many other things I wouldn't have just stumbles across that. I'm diving back in, wish me luck.
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Isaacc7 on January 25, 2016, 11:06:17 pm
Ok, went into Ledgends mode and exported the xml file. Launched Ledgendsbrowser and was able to direct it to the xml file. Hooray! Problem is that it says "zip file closed" and does nothing else. Any idea what I need to do next? Thanks.
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Karater on January 26, 2016, 01:47:33 am
that bug has been fixed, but that version is still in the pack. you can get the latest version from here: DFFD (http://dffd.bay12games.com/file.php?id=11618)
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Isaacc7 on January 26, 2016, 09:12:32 am
that bug has been fixed, but that version is still in the pack. you can get the latest version from here: DFFD (http://dffd.bay12games.com/file.php?id=11618)

Thanks!
Title: Re: LegendsBrowser (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Karater on January 26, 2016, 02:05:58 pm
i've released version 1.0.10 with the following new features:
Bugfixes
Title: Re: LegendsBrowser 1.0.10 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Isaacc7 on January 28, 2016, 08:09:18 pm
Hmm, downloaded the new version and installed it. Now when I launch LedgendsBrowser it gets as far as loading maps and then it brings me back to the main directory of my drive. Not sure what I need to do from here.
Title: Re: LegendsBrowser 1.0.10 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Karater on January 29, 2016, 01:40:10 am
Hmm, downloaded the new version and installed it. Now when I launch LedgendsBrowser it gets as far as loading maps and then it brings me back to the main directory of my drive. Not sure what I need to do from here.
so you did select an exported xml-file from your DF folder and it started loading and then returned to the main drive?

(PS. if you find bugs you can also use the github issue page (https://github.com/robertjanetzko/LegendsBrowser/issues))
Title: Re: LegendsBrowser 1.0.10 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Isaacc7 on January 30, 2016, 01:11:59 am
Hmm, downloaded the new version and installed it. Now when I launch LedgendsBrowser it gets as far as loading maps and then it brings me back to the main directory of my drive. Not sure what I need to do from here.
so you did select an exported xml-file from your DF folder and it started loading and then returned to the main drive?

(PS. if you find bugs you can also use the github issue page (https://github.com/robertjanetzko/LegendsBrowser/issues))



Yes, that's what happened. Wasn't sure if it was buggy behavior or me not knowing what I'm doing. If it sounds like a bug I'll post it on github. Thanks.
Title: Re: LegendsBrowser 1.0.10 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Karater on January 30, 2016, 07:41:00 am
i've uploaded version 1.0.10a which will write errors to a log file (on mac os the console window is hidden). The log can be found next to the application or on mac os inside the app bundle (right click and show package contents).

Yes, that's what happened. Wasn't sure if it was buggy behavior or me not knowing what I'm doing. If it sounds like a bug I'll post it on github. Thanks.

Can you open an issue on git hub and attach the log file there as I cant reproduce your problem right now.
Title: Re: LegendsBrowser 1.0.10 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Mason11987 on February 05, 2016, 11:30:05 pm
Awesome work Karater!
Title: Re: LegendsBrowser 1.0.10 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Isaacc7 on February 06, 2016, 04:53:35 pm
i've uploaded version 1.0.10a which will write errors to a log file (on mac os the console window is hidden). The log can be found next to the application or on mac os inside the app bundle (right click and show package contents).

Yes, that's what happened. Wasn't sure if it was buggy behavior or me not knowing what I'm doing. If it sounds like a bug I'll post it on github. Thanks.

Can you open an issue on git hub and attach the log file there as I cant reproduce your problem right now.

I'm trying to load it again with a new world but I can't seem to export the xml file at all. I'm in the legends view and I press "x" but nothing happens. I tried cntrl-shift-a as well and that doesn't do anything either. Any idea what I can do?
Title: Re: LegendsBrowser 1.0.10 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: King_of_Baboons on February 10, 2016, 04:31:22 pm
Do you plan on making a "Curse Tree" for werebeasts as well?

Also,how do you get this running on Linux?  :)
Title: Re: LegendsBrowser 1.0.10 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Karater on February 10, 2016, 04:42:58 pm
Curse tree is already available.
On Linux you need java 8 installed and then just run "java -jar legendsbrowser-x.x.x.jar". The jar file is available at the github release page (see first post).
Title: Re: LegendsBrowser 1.0.10 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: lorb on February 24, 2016, 04:20:46 pm
Could you crosscompile this so it works with java7? some distros don't have java8 in the repositories. (Ubuntu14.04 LTS for example)
Title: Re: LegendsBrowser 1.0.10 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Karater on March 11, 2016, 07:05:51 am
i've released version 1.0.11 with the following new features:
thx to seeschloss for his contribution
Title: Re: LegendsBrowser 1.0.10 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: thgntlmnfrmtrlfmdr on March 12, 2016, 03:51:39 pm
Quote
Could you crosscompile this so it works with java7? some distros don't have java8 in the repositories. (Ubuntu14.04 LTS for example)

http://ubuntuhandbook.org/index.php/2015/01/install-openjdk-8-ubuntu-14-04-12-04-lts/
Title: Re: LegendsBrowser 1.0.10 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: kane_t on May 17, 2016, 05:01:49 pm
Have you considered either including a server mode, so it could be run as a public webserver (with, of course, all the filesystem stuff stripped out for security), or an option to export everything to static HTML files?

This is easily the nicest-looking, best-presented legends viewer out there, and the fact that it's already serving HTML files seems like it's a perfect candidate for sharing the legends of a world with the public.
Title: Re: LegendsBrowser 1.0.12 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Karater on July 18, 2016, 03:11:59 am
i've released version 1.0.12 with the following new features:
Code: [Select]
-p,--port <arg>     use specific port
-s,--serverMode     run in server mode (disables file chooser)
-u,--subUri <arg>   run on /<subUri>
-w,--world <arg>    path to legends.xml or archive

Download here (http://dffd.bay12games.com/who.php?id=6357)
Title: Re: LegendsBrowser 1.0.12 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: TC01 on July 22, 2016, 01:36:33 am
Nice, thanks for implementing server mode!
Title: Re: LegendsBrowser 1.0.12 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: TC01 on August 04, 2016, 12:12:44 am
You might have seen in this thread (http://www.bay12forums.com/smf/index.php?topic=158289.0) that I've been working on a Fedora package for Legends Browser. I'm pleased to say it's been accepted into the Fedora repositories. :) If you're using Fedora you can install it by:

Code: [Select]
$ sudo dnf install --enablerepo=updates-testing legendsbrowser
$ legendsbrowser

(It takes a week for packages to be pushed out of testing into stable, hence the --enablerepo).

But, I've also been working on a Sandstorm (https://sandstorm.io/) package of Legends Browser.

If you've not heard of Sandstorm: Sandstorm is a platform for easily installing, configuring, and sharing web applications. I was thinking about how ways to take Dwarf Fortress worlds' legends and share them publicly on the internet (or at least, make them available on the internet for myself to browse from other computers). I definitely wanted to use Legends Browser, but I wondered if there would be an easier way for me to do this than configuring a reverse proxy and getting Legends Browser to run as a daemon on a server somewhere.

So I created an app (https://apps.sandstorm.io/app/8cqz32rgsth404ma1humv0j86s6wx41y99krqn8885k01r96vgg0?experimental=true) which consists of Legends Browser 1.0.12 and a small Flask application that a user can upload a zip containing all legends exports to, and that spawns Legends Browser in the background and redirects to it once the upload finishes. The idea being that anyone using Sandstorm can easily a public (or private-- you can choose who you grant access to for each instance of a Sandstorm app) instance of Legends Browser without a lot of difficulty.

You can see a demo of this here (https://main.sandstorm.acm.jhu.edu/shared/I-AkuL5UwexaeqzFIHNtaD-JsHjH3eQzmnaLqiHqioh). Or if you'd like to try it out yourself, you can use the public instance of Sandstorm (https://oasis.sandstorm.io/) (you can sign into it with Github or Gmail credentials) and install the app using this link (https://apps.sandstorm.io/app/8cqz32rgsth404ma1humv0j86s6wx41y99krqn8885k01r96vgg0?experimental=true) (same as the one in the above paragraph). It's a bit clunky and doesn't work perfectly (if Legends Browser crashes because the server doesn't have enough RAM, it's not exactly handled gracefully from an end-user perspective), but I'd love to know if anyone other than me is interested in / would use this or if they'd like to help test. :)
Title: Re: LegendsBrowser 1.0.12 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: kane_t on August 04, 2016, 07:05:20 am
i've released version 1.0.12 with the following new features:

I tried using server mode on Windows the other day, and couldn't get it to work.  When trying to manually specify the world, I got a null pointer error, but when selecting the same world in the file chooser it loaded just fine:
Code: [Select]
[2016-08-04 09:00:55] INFO: loading world: region1-00126-03-07-legends.xml
[2016-08-04 09:00:55] SEVERE: error loading legends
java.lang.NullPointerException
        at java.nio.file.Files.newDirectoryStream(Unknown Source)
        at legends.helper.WorldConfig.<init>(WorldConfig.java:45)
        at legends.model.World$1.run(World.java:438)
Title: Re: LegendsBrowser 1.0.12 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: xMAWLx on October 21, 2016, 04:08:00 am
I am having some trouble getting this running on linux. This is the error I receive, I am using java 8.111, any help would be appreciated.

Code: [Select]
Exception in thread "main" java.lang.UnsupportedClassVersionError: legends/Application : Unsupported major.minor version 52.0

EDIT: Turns out I was using java 7. Updated and everything works, and it's absolutely epic, BRAVO!
Title: Re: LegendsBrowser 1.0.12 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Fleeting Frames on October 22, 2016, 03:12:38 pm
Not sure why you're getting that error, but I can say that I got it this to run fine on linux (Love the family trees btw, though there's a lot of took up an UNKNOWN job when actual Legends mode properly mentions the job, as well as not stocking the text of written contents).
Title: Re: LegendsBrowser 1.0.12 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Vitor_Goatman on March 09, 2017, 05:44:01 pm
Is this still active? Don't want this to go away, especially since I use Linux and this looks nice.
Title: Re: LegendsBrowser 1.0.12 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: azrael4h on March 19, 2017, 03:37:55 pm
Am I missing something? All this does is open a file browser in Firefox. I can navigate to the save folders, but that's about it.
Title: Re: LegendsBrowser 1.0.12 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Shonai_Dweller on March 19, 2017, 11:05:10 pm
Am I missing something? All this does is open a file browser in Firefox. I can navigate to the save folders, but that's about it.
From there you should be able to open the .xml file you exported from Legends Mode. I think. Been a while since I used this.
Title: Re: LegendsBrowser 1.0.12 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: eddievxx on April 14, 2017, 04:07:10 pm
I can't get this to work...
First I exported the xml manually from Legends Mode, then I tried using the DFHack method. I can select the xml file within the file system from the browser but then it just says "Loading World,  loading legends.xml..." and does nothing else.
The xml file is just over 600MB; how long should it take? I have never left it for longer than 20 minutes loading, should I do that?
Or is there an error log I should be checking? Cheers!

Edit: I just spotted the OutOfMemory Error! Thats what it is...

Edit: Still getting the error after creating the .ini file. And doubling the memory allotment. Where does that .ini file need to go?
Title: Re: LegendsBrowser 1.0.12 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Karater on May 10, 2017, 12:17:55 pm
Edit: Still getting the error after creating the .ini file. And doubling the memory allotment. Where does that .ini file need to go?
the file should have exactly the same name as your EXE but but with .l4j.ini instead of .exe
Title: Re: LegendsBrowser 1.0.12 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: hertggf on June 01, 2017, 05:47:07 pm
I'm having a bug with the latest version of this.  Sometimes when trying to bring up a HF the webpage will just say "java.lang.reflect.InvocationTargetException"
I think it's related to vampires taking on assumed identities.

Error message from the console:
Code: [Select]
[2017-06-01 18:45:27] SEVERE: error in request: /hf/33268
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at legends.RequestThread.findMapping(RequestThread.java:263)
        at legends.RequestThread.run(RequestThread.java:167)
Caused by: java.lang.NullPointerException
        at legends.web.HfsController$FamilyMember.layout(HfsController.java:166)
        at legends.web.HfsController$Family.<init>(HfsController.java:409)
        at legends.web.HfsController.hf(HfsController.java:91)
        ... 5 more

EDIT: I should probably upload the files too huh
Code: [Select]
https://a.pomf.cat/sqqpif.zip
EDIT2: URLs that caused errors so far: /hf/33268, /hf/8382, /hf/2484
Title: Re: LegendsBrowser 1.12.1 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Karater on June 04, 2017, 04:42:12 am
i've released version 1.12.1 with the following bugfixes:
Title: Re: LegendsBrowser 1.12.1 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: hertggf on June 06, 2017, 01:37:33 pm
Thanks for the quick fix!
Title: Re: LegendsBrowser 1.12.1 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Karater on June 10, 2017, 07:18:53 am
i've released version 1.12.2 with the following small bugfixes:
Title: Re: LegendsBrowser 1.12.2 (Window, Mac OS and Linux legends viewer for df 0.43)
Post by: argo on July 04, 2017, 02:53:22 pm
I have generated a world with lots of sites and 10k years of history.

The raw xml from dwarf fortress is 44 GB. Zip-compressed is it 1.6 GB.

I have tried upping the memory allocated to 8 GB but even then, I get "java.lang.OutOfMemoryError: GC overhead limit exceeded" errors when running the jar with the -w flag and pointing to the compressed file. Also, It doesn't seem the application is allocating the extra memory since it is only using 4 GB.

If it can help, here's a spindump of the running application: https://pastebin.com/raw/MEHCzjAi (https://pastebin.com/raw/MEHCzjAi).
And the console output: https://pastebin.com/raw/TbaD71Kz (https://pastebin.com/raw/TbaD71Kz)

It is just stuck on loading.

I'm on OS X 10.11.16 and running the jar. The world was made in DF 0.43.05. I have tried exporting the legends using dfhack but ran into some other problems.

What are my options? I have access to a 32 GB RAM machine (although it's currently generating a 20k years world) if that helps.

EDIT: I tried again with a legends-plus file from dfhack but it's also stuck when running the jar. Output is at https://paste.installgentoo.com/view/0d234d32 (https://paste.installgentoo.com/view/0d234d32).
Title: Re: LegendsBrowser 1.12.2 (Window, Mac OS and Linux legends viewer for df 0.43)
Post by: Shonai_Dweller on July 08, 2017, 06:46:14 pm
Minor request to help out with modding:
Could you add an option to define the colours given to each race rather than have Legends Viewer assign them?
Right now each time I mod in a new race, I have to relearn the colours for every single other civ.

I want to add a few new races and for each new tweak, immediately gen up a world and check on Legends Viewer's map what overall impact it's had. Randomised colours each time a new race is added is kind of frustrating (yeah, I know I could work around this by renaming my races "1", "2", "3", "4"...., but I don't want to).
Title: Re: LegendsBrowser 1.12.2 (Window, Mac OS and Linux legends viewer for df 0.43)
Post by: Karater on July 10, 2017, 01:30:30 pm
The raw xml from dwarf fortress is 44 GB. Zip-compressed is it 1.6 GB.
What are my options? I have access to a 32 GB RAM machine (although it's currently generating a 20k years world) if that helps.

Sorry, but I don't think you will be able to load these large files. The viewer is programmed to load the contents of the xml files into memory. So memory usage should be more or less equal to the size of the xml files.

Minor request to help out with modding:
Could you add an option to define the colours given to each race rather than have Legends Viewer assign them?
Right now each time I mod in a new race, I have to relearn the colours for every single other civ.

I thought I added a feature so that races always get the same random color, but it looks like i didn't add it to the last release. I will have a look at it on the weekend. An option to configure race colors should also be possible.
Title: Re: LegendsBrowser 1.12.2 (Window, Mac OS and Linux legends viewer for df 0.43)
Post by: Shonai_Dweller on July 10, 2017, 10:40:17 pm
Minor request to help out with modding:
Could you add an option to define the colours given to each race rather than have Legends Viewer assign them?
Right now each time I mod in a new race, I have to relearn the colours for every single other civ.
Quote
I thought I added a feature so that races always get the same random color, but it looks like i didn't add it to the last release. I will have a look at it on the weekend. An option to configure race colors should also be possible.
That'd be excellent!
Title: Re: LegendsBrowser 1.13 (Window, Mac OS and Linux legends viewer for df 0.42)
Post by: Karater on July 15, 2017, 03:50:21 am
i've released version 1.13 with the following new features:
Title: Re: LegendsBrowser 1.13 (Window, Mac OS and Linux legends viewer for df 0.43)
Post by: wuphonsreach on September 17, 2017, 05:58:53 pm
I've found that if I rename the "region1" folder to be named after the world (e.g. "Exsmo") that the population chart doesn't work and the list of civilizations will show unknown for most civs.
Title: Re: LegendsBrowser 1.13 (Window, Mac OS and Linux legends viewer for df 0.43)
Post by: wuphonsreach on October 01, 2017, 09:07:15 am
On player-run forts, the list of "so and so created a masterwork" gets really large and clutters up the event listing when looking at a site.

Is there a way to filter out these "masterwork" events when looking at a site list or events associated with a dwarf?
Title: Re: LegendsBrowser 1.14 (Window, Mac OS and Linux legends viewer for df 0.44)
Post by: Karater on November 25, 2017, 09:18:35 am
i've released version 1.14 with the following new features:
Title: Re: LegendsBrowser 1.12.2 (Window, Mac OS and Linux legends viewer for df 0.43)
Post by: Shadow_Hornet on November 25, 2017, 11:18:40 pm
The raw xml from dwarf fortress is 44 GB. Zip-compressed is it 1.6 GB.
What are my options? I have access to a 32 GB RAM machine (although it's currently generating a 20k years world) if that helps.

Sorry, but I don't think you will be able to load these large files. The viewer is programmed to load the contents of the xml files into memory. So memory usage should be more or less equal to the size of the xml files.


Don't quote me on this, but I seem to remember something about there being a way to set up one's computer so that the system can use some of the hard drive space as if it was RAM. I wouldn't know how to do it or where to look to find out, but if what I remember is right then that might be a usable work around to load up crazy huge files that otherwise would be too much for the system RAM to handle.


Title: Re: LegendsBrowser 1.12.2 (Window, Mac OS and Linux legends viewer for df 0.43)
Post by: Karater on December 02, 2017, 09:27:41 am
Don't quote me on this, but I seem to remember something about there being a way to set up one's computer so that the system can use some of the hard drive space as if it was RAM. I wouldn't know how to do it or where to look to find out, but if what I remember is right then that might be a usable work around to load up crazy huge files that otherwise would be too much for the system RAM to handle.

you can try increasing your virtual memory (https://www.pcworld.com/article/2840886/if-windows-virtual-memory-is-too-low-you-can-increase-it-but-there-are-trade-offs.html). but i think the performance will suffer drasticly.
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Karater on December 02, 2017, 09:29:32 am
i've released version 1.15 with the following new features:
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Podesta on December 10, 2017, 11:33:20 am
How would I go about choosing the map that is loaded? Or is it possible to change the map presented after the browser has loaded?
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Karater on December 10, 2017, 11:35:32 am
How would I go about choosing the map that is loaded? Or is it possible to change the map presented after the browser has loaded?

just hit exit in the top left (or close the console window) and restart the application
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Podesta on December 10, 2017, 04:44:58 pm
How would I go about choosing the map that is loaded? Or is it possible to change the map presented after the browser has loaded?

just hit exit in the top left (or close the console window) and restart the application

But I can't choose which map is loaded. Unless I'm doing something wrong, as soon as I pick the .xml dump it loads everything automatically. I'm never prompted or given an option to which map I want to load. For example it is currently automatically loading the "detailed map", so if I want to load the "world map", I need to delete the first one. Or if I wanted to load some other map, like trade, for example, I'm not given the option.
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Karater on December 11, 2017, 04:08:08 am
But I can't choose which map is loaded. Unless I'm doing something wrong, as soon as I pick the .xml dump it loads everything automatically. I'm never prompted or given an option to which map I want to load. For example it is currently automatically loading the "detailed map", so if I want to load the "world map", I need to delete the first one. Or if I wanted to load some other map, like trade, for example, I'm not given the option.

Yes, you currently can't change the map. it uses the detailed map if available and the default world map if not.
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: noirscape on December 14, 2017, 04:46:53 pm
I'm playing on version 0.43.05 (latest stable dfhack) and I am pretty sure that the checking for races belongs to what race is broken, since all civs are "unknown" when it comes to the race and I can only view information of humans, while i am certain there are dwarves in the world.
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: sionlife on December 15, 2017, 05:24:06 am
I tried running 1.15 for Mac but when I try to open the .dmg file it says it is "damaged" and can't be opened. 1.13 worked fine.
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: lethosor on December 15, 2017, 01:31:33 pm
I tried running 1.15 for Mac but when I try to open the .dmg file it says it is "damaged" and can't be opened. 1.13 worked fine.
Same here. Try downloading the .jar instead.
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Karater on December 16, 2017, 04:04:54 am
I tried running 1.15 for Mac but when I try to open the .dmg file it says it is "damaged" and can't be opened. 1.13 worked fine.
Same here. Try downloading the .jar instead.
I tried downloading the dmg from github and DFFD and both worked for me. I've rebuilt the image and uploaded it to to both locations and hope it'll work for you.
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: sionlife on December 16, 2017, 08:05:46 am
Just to let you know that I downloaded the 1.15 .dmg and it gave the same problem. I am running MacOS Sierra 10.12.6. However I tried downloading the .jar file and that runs ok. Thanks very much for developing such a useful tool for us Mac DF players.
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Karater on December 17, 2017, 05:42:31 am
Just to let you know that I downloaded the 1.15 .dmg and it gave the same problem. I am running MacOS Sierra 10.12.6. However I tried downloading the .jar file and that runs ok. Thanks very much for developing such a useful tool for us Mac DF players.
i've updated the plugin that creates the .dmg and reuploaded it to github and dffd. Can you send me a screenshot if you still get an error message?
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: jobywalker on December 19, 2017, 08:39:17 pm
I've been able to successfully open the dmg from both github and dffd on 10.13.1.
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: sionlife on December 21, 2017, 01:28:08 pm
Just to let you know that I downloaded the 1.15 .dmg and it gave the same problem. I am running MacOS Sierra 10.12.6. However I tried downloading the .jar file and that runs ok. Thanks very much for developing such a useful tool for us Mac DF players.
i've updated the plugin that creates the .dmg and reuploaded it to github and dffd. Can you send me a screenshot if you still get an error message?

Hi, I have redownloaded from GitHub and the .dmg file now opens successfully with no errors. Thanks again!
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Rockeater on January 03, 2018, 01:13:27 pm
I have OUTOFMEMORYERROR:jave heap space
the xml was made with the df hack and from 0.44.2
what the problem?
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: sionlife on January 19, 2018, 08:00:55 am
I have never messed with DFHack, preferring just to play vanilla DF. Could I ask what main things I am missing by not doing the exportlegends info command thing. Just to give me an idea if its worth going through installing DFHack or not. Is the amount of information available doubled? Or is it just minor embellishments that come with the expanded file?
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Romeofalling on January 22, 2018, 08:14:36 am
Just to let you know that I downloaded the 1.15 .dmg and it gave the same problem. I am running MacOS Sierra 10.12.6. However I tried downloading the .jar file and that runs ok. Thanks very much for developing such a useful tool for us Mac DF players.
i've updated the plugin that creates the .dmg and reuploaded it to github and dffd. Can you send me a screenshot if you still get an error message?

A Warning window pops up for me:

Quote
The following disk images couldn't be opened

Image: legendsbrowser-1.14.dmg
Reason: no mountable file system

(I'm running OSX vr 10.11.6)
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: jecowa on January 22, 2018, 08:30:01 am
I get the same error in Lion. Version 1.13 works.
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: lethosor on January 22, 2018, 08:58:50 am
What if you download 1.15 instead of 1.14? https://github.com/robertjanetzko/LegendsBrowser/releases
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: jecowa on January 22, 2018, 09:17:01 am
Last time I tried 1.15, it had the same error as 1.14.
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: lethosor on January 22, 2018, 01:04:44 pm
Was that before or after this (i.e. can you try again)?
Just to let you know that I downloaded the 1.15 .dmg and it gave the same problem. I am running MacOS Sierra 10.12.6. However I tried downloading the .jar file and that runs ok. Thanks very much for developing such a useful tool for us Mac DF players.
i've updated the plugin that creates the .dmg and reuploaded it to github and dffd. Can you send me a screenshot if you still get an error message?
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: jecowa on January 22, 2018, 01:45:58 pm
I downloaded them all on January 10th. I tried both the DFFD and GitHub versions. Both had the same error, which was also the same error as with 1.14.
Spoiler: screenshot (click to show/hide)
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: lethosor on January 22, 2018, 02:11:05 pm
Okay, I'm also getting that with a freshly-downloaded 1.15 DMG and an older one:
Code: [Select]
MD5 (Downloads/legendsbrowser-1.15 (1).dmg) = 267c22819c4d77c71e63b1f0c69bd18f
MD5 (Downloads/legendsbrowser-1.15.dmg) = b140ba0671c36aaf872ba0e82729a3be
Disk utility fails to open these silently.
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: jecowa on January 22, 2018, 06:36:49 pm
Mine have the same md5 hashes as yours. I wonder why they are not the same.
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: lethosor on January 22, 2018, 08:14:22 pm
Mine have the same md5 hashes as yours. I wonder why they are not the same.
I'm not sure what you're saying... ours are and aren't the same? I have two copies, one from before Karater replaced it and one from after. Yours should match the one on top if you just downloaded it.
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: jecowa on January 22, 2018, 08:30:19 pm
The DFFD and GitHub versions have different MD5 hashes.

GitHub: b140ba0671c36aaf872ba0e82729a3be
DFFD: 267c22819c4d77c71e63b1f0c69bd18f
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: lethosor on January 22, 2018, 08:32:20 pm
267c22819c4d77c71e63b1f0c69bd18f is the one I downloaded from GitHub today.
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: jecowa on January 22, 2018, 08:49:10 pm
They were different on the 10th. The GitHub one is on 267c22819c4d77c71e63b1f0c69bd18f for me now too.
Title: Re: LegendsBrowser 1.15 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Romeofalling on January 23, 2018, 12:05:39 pm
It's the one of DFFD that I've been trying. I tried it again after you said the hashes match today, still getting the same error.

I just tried the GitHub version, and it doesn't mount for me, either. Though the java based one is doing fine for me, so I'm not particularly worried about it.

It works great, by the way.
Title: Re: LegendsBrowser 1.16 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Karater on February 16, 2018, 04:06:21 pm
i've released version 1.16 with the following new features:
and bugfixes:
for everyone having trouble opening the .dmg here ist the hash for the file: 953e18ed72aa78dba238a42ce66e6aeeae9d8e3f065350bda780e1bc4d5e3cb3
it is the same as on DFFD (http://dffd.bay12games.com/file.php?id=11618)
Title: Re: LegendsBrowser 1.16 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: falcn on February 22, 2018, 01:14:09 pm
I've used these commands in a fortress mode to export data
Code: [Select]
[DFHack]# open-legends
[DFHack]# exportlegends all
and I'm getting this
https://www.reddit.com/r/dwarffortress/comments/7z0hu1/while_in_reality_she_was_59_married_with_6_kids/

Is it a bug in LegendsBrowser, or I exported it wrong?
Title: Re: LegendsBrowser 1.16 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Rose on February 22, 2018, 01:20:28 pm
Find the figure in legends mode itself, and see what it says about her.
Title: Re: LegendsBrowser 1.16 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: lethosor on February 22, 2018, 02:09:59 pm
What exactly is wrong there? False identities are a thing in vanilla DF.
Title: Re: LegendsBrowser 1.16 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Karater on February 22, 2018, 04:53:20 pm
I've used these commands in a fortress mode to export data
Code: [Select]
[DFHack]# open-legends
[DFHack]# exportlegends all
and I'm getting this
https://www.reddit.com/r/dwarffortress/comments/7z0hu1/while_in_reality_she_was_59_married_with_6_kids/

Is it a bug in LegendsBrowser, or I exported it wrong?

haha :D but the "28" is actually only the id of the identity she used...
(afaik the export currently has no information about these identities, the events only show their id)
Title: Re: LegendsBrowser 1.16 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: falcn on February 22, 2018, 05:08:43 pm
What exactly is wrong there? False identities are a thing in vanilla DF.
it's supposed to say "character title, character name", but it just shows character id. In-game legends shows it correctly

haha :D but the "28" is actually only the id of the identity she used...
(afaik the export currently has no information about these identities, the events only show their id)
This id does not lead to any actual id in exported files? Hmm, let me check.

Update: yep, they assume a made-up name (not a real historical figure), and it's nowhere to be found
Title: Re: LegendsBrowser 1.16 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Rose on February 23, 2018, 02:09:58 am
Looks like the DFHack legends export needs to be updated to export that stuff.
Title: Re: LegendsBrowser 1.16 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Karater on February 23, 2018, 05:25:10 am
Update: yep, they assume a made-up name (not a real historical figure), and it's nowhere to be found

identities differ from historical figure and have their own range of ids

Looks like the DFHack legends export needs to be updated to export that stuff.

last time i checked the memory structures for identities were not mapped in dfhack and so cannot be exported right now
Title: Re: LegendsBrowser 1.16 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Rose on February 23, 2018, 07:00:39 am
Clearly that would be part of the work involved, yes.
Title: Re: LegendsBrowser 1.16 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: hertggf on February 24, 2018, 09:55:56 pm
last time i checked the memory structures for identities were not mapped in dfhack and so cannot be exported right now
They're in df.global.world.identities
Title: Re: LegendsBrowser 1.16 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: lethosor on February 24, 2018, 10:17:23 pm
That doesn't mean everything necessary in them has been identified.
Title: Re: LegendsBrowser 1.17 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Karater on February 25, 2018, 06:17:48 am
i've released version 1.17 with the following new features:
and bugfixes:
Note:
dfhack needs to be updated to export identity information
in the meantime you can use the script from here: https://raw.githubusercontent.com/robertjanetzko/scripts/774ee0c9186786b1971faf8e2a1fa8db1da5fcb4/exportlegends.lua
Title: Re: LegendsBrowser 1.17 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: falcn on February 25, 2018, 07:42:59 am
Wow, that was quick! I can confirm, it works just like in-game legends mode. Thank you!

Searching for false identity produces no results, so someone looking for a creature by it's fake name will not find it. It's a very unlikely scenario, but if it's just one line of code...
Title: Re: LegendsBrowser 1.17 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Karater on February 25, 2018, 07:46:13 am
Searching for false identity produces no results

yeah, forgot that. But it shows up in the dropdown selection of the search box.
Title: Re: LegendsBrowser 1.17 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: falcn on February 25, 2018, 08:37:20 am
Found a bug

https://imgur.com/a/t101S
Title: Re: LegendsBrowser 1.17 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Karater on February 25, 2018, 08:47:54 am
Found a bug https://imgur.com/a/t101S

the leader information is read form *_world_history.txt
can you have a look at the contents of this file?
Title: Re: LegendsBrowser 1.17 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: falcn on February 25, 2018, 08:58:14 am
Looks like a case of unescaped quote (search for "diamond age")

https://pastebin.com/6s61ALWg
Title: Re: LegendsBrowser 1.17 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Karater on February 25, 2018, 09:05:15 am
Looks like a case of unescaped quote (search for "diamond age")
it links the leader list using the name (because there is no id in this file). And with the nickname this seems to be problematic...
I'll have a look and see what I can do about this.

Here is the issue on github: https://github.com/robertjanetzko/LegendsBrowser/issues/23
Title: Re: LegendsBrowser 1.17.1 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Karater on March 11, 2018, 06:05:01 am
i've released version 1.17.1 with the following new features:
and bugfixes:
Title: Re: LegendsBrowser 1.17.1 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Roxfall on March 11, 2018, 01:18:44 pm
Can't get this to work on my windows 10 laptop in conjunction with 43.05 LNP.

I get out of memory error in the console window. I've created a text file named LegendsBrowser-1.17.1.l4j.ini

I've put in the -Xmx1024M line in it, that's all there is in that file. I've tried higher values too.

However, in task manager, the program never claims more than 283 MB of memory. It looks like the .ini file is entirely ignored. Please advise?
Title: Re: LegendsBrowser 1.17.1 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Karater on March 11, 2018, 01:23:27 pm
do you have file name extensions enabled in your explorer settings? If not the editor can save your file as  *.l4j.ini.txt
Title: Re: LegendsBrowser 1.17.1 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Roxfall on March 11, 2018, 01:27:57 pm
That's exactly what happened. ID10T error.
Title: Re: LegendsBrowser 1.17.1 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Roxfall on March 11, 2018, 01:49:08 pm
Found a minor issue: clicking a link to an adventurer's biography doesn't work. The wheel is spinning but the hamster is dead.

I waited a few minutes for it to load, nothing. Seems to happen only to adventurers. Regular people load just fine.
Title: Re: LegendsBrowser 1.17.1 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: strainer on March 11, 2018, 02:08:52 pm
Code: [Select]
[DFHack]# open-legends
[DFHack]# exportlegends all
First time ive not haplessly failed to export and find the xml file to see Legends viewer working - its magnificent! Thankyou dev!
Title: Re: LegendsBrowser 1.17.1 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Roxfall on March 11, 2018, 02:22:22 pm
One more little bug: it's possible for multiple sites to be in the same location on the world map.

For example, a town, a camp, a road and a bridge can overlap. As a result of it, it's possible for a town to become unclickable and invisible. It just looks like the road, bridge and all, ends in a camp. Even if the town is the capital. :)
Title: Re: LegendsBrowser 1.17.1 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Karater on March 17, 2018, 04:58:09 am
Found a minor issue: clicking a link to an adventurer's biography doesn't work. The wheel is spinning but the hamster is dead.

I waited a few minutes for it to load, nothing. Seems to happen only to adventurers. Regular people load just fine.

thx for the report. can you upload your savegame or export, so I can have a look at it?
Title: Re: LegendsBrowser 1.17.1 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Llamageddon on April 09, 2018, 07:45:11 am
When I change the memory alocated to -Xmx2048M the program opens then immediately quits. 1024 works though. Any ideas? I am still getting an out of memeory error at 1024.
Title: Re: LegendsBrowser 1.17.1 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Karater on April 09, 2018, 07:53:50 am
When I change the memory alocated to -Xmx2048M the program opens then immediately quits. 1024 works though. Any ideas? I am still getting an out of memeory error at 1024.
This can happen if there isn't enough free memory anymore to be allocated. Try closing some programs and check if that helped.
Title: Re: LegendsBrowser 1.17.1 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Llamageddon on April 09, 2018, 10:29:49 am
Checked, I have 10 gigs of available memory. This is odd.
Title: Re: LegendsBrowser 1.17.1 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Bumber on April 09, 2018, 02:28:27 pm
Checked, I have 10 gigs of available memory. This is odd.
32-bit processes can only allocate 2 gigs.
Title: Re: LegendsBrowser 1.17.1 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: lethosor on April 09, 2018, 03:05:30 pm
Technically, the limit is 4 GB, except Windows restricts it to 2 by default. That would also only apply if the JVM is 32-bit, and there's no indication of that. Even if it were 32-bit, 2048 MB is equivalent to 2 GB, so that shouldn't be an issue, especially if there really is 10 GB of RAM free.
Title: Re: LegendsBrowser 1.17.1 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Pillbo on June 24, 2018, 01:23:38 pm
Thank you Karater for making this, I'm a new player and this utility has been very helpful and made playing much more fun.

I was wondering if you had any plans to increase the descriptive info available on the browser.  For instance I found a Badger Fiend in my Historical Figures, I had no idea what that was but he seemed pretty cool, he installed himself as king of a goblin civilization, made an artifact and murdered a few folks.  I checked out the in-game Legends section and found a pretty cool description of what he looked like, and I just thought it would have been good to have the info in the browser too. 

Same thing with the artifacts, it would be nice if the descriptions were more like the artforms, I have musical forms with a full page of description, it's kind of incredible, but the artifacts are very basic like "legendary almond wood long sword".

Anyway, thank you for all your work, I look forward to any updates!
Title: Re: LegendsBrowser 1.17.1 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Thundercraft on March 13, 2019, 02:01:28 pm
Posting to watch...
Title: Re: LegendsBrowser 1.17.1 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Brokemia on April 20, 2019, 10:29:35 pm
In the civilization wars screen, what do the different colors of connecting lines mean?
Title: Re: LegendsBrowser 1.17.1 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: btonasse on May 02, 2019, 04:41:37 pm
Checked, I have 10 gigs of available memory. This is odd.
32-bit processes can only allocate 2 gigs.

So does this mean Legends Browser can never handle big files like the ones generated by a long history world? I'm having the same problem as Llamageddon. Out of memory error, but I can't increase the allocated memory to more than 1024, or the program just closes.
Title: Re: LegendsBrowser 1.17.1 (Windows, Mac OS and Linux legends viewer for df 0.44)
Post by: Rose on May 13, 2019, 09:19:19 am
If you get a 64bit version of Java, you can allocate more memory.
Title: Re: LegendsBrowser 1.17.2 (Windows, Mac OS and Linux legends viewer for df 0.47)
Post by: Karater on February 03, 2020, 04:42:16 am
i've released version 1.17.2 with the following new features:

(support for all the new stuff from 0.47 will come in the next days)
Title: Re: LegendsBrowser 1.17.2 (Windows, Mac OS and Linux legends viewer) | DF 0.47
Post by: Inarius on February 03, 2020, 05:42:54 am
PTW and for next versions

Great job !
Title: Re: LegendsBrowser 1.17.2 (Windows, Mac OS and Linux legends viewer) | DF 0.47
Post by: Karater on February 07, 2020, 04:28:36 pm
i've released version 1.18 with the following new features:
Download: Windows (http://dffd.bay12games.com/file.php?id=11619) or MacOS (http://dffd.bay12games.com/file.php?id=11618)
Project ist hosted on GitHub (https://github.com/robertjanetzko/LegendsBrowser/releases)
Title: Re: LegendsBrowser 1.18 (Windows, Mac OS and Linux legends viewer) | DF 0.47.02
Post by: Karater on February 09, 2020, 03:16:02 pm
i've released version 1.18.1 with the following new features:
Download: Windows (http://dffd.bay12games.com/file.php?id=11619) or MacOS (http://dffd.bay12games.com/file.php?id=11618)
Project ist hosted on GitHub (https://github.com/robertjanetzko/LegendsBrowser/releases)
Title: Re: LegendsBrowser 1.18.1 (Windows, Mac OS and Linux legends viewer) | DF 0.47.02
Post by: therahedwig on February 09, 2020, 03:24:54 pm
Aah, and I literally pulled the source an hour ago too. You're quick.

Gonna pull again to see if I've got some unique stuff in my legends :)
Title: Re: LegendsBrowser 1.18.1 (Windows, Mac OS and Linux legends viewer) | DF 0.47.02
Post by: Karater on March 01, 2020, 07:05:38 am
i've released version 1.18.2 with the following new features:
and bugfixes:
Download: Windows (http://dffd.bay12games.com/file.php?id=11619) or MacOS (http://dffd.bay12games.com/file.php?id=11618)
Project ist hosted on GitHub (https://github.com/robertjanetzko/LegendsBrowser/releases)
Title: Re: LegendsBrowser 1.18.2 (Windows, Mac OS and Linux legends viewer) | DF 0.47.03
Post by: clausimu on March 03, 2020, 03:13:13 pm
How do I get dark mode to work? I'm on linux (openSUSE) and have downloaded the latest version (1.18.2). There is no choice to enable dark mode and I'm not sure I understand "based on system settings"?
Title: Re: LegendsBrowser 1.18.2 (Windows, Mac OS and Linux legends viewer) | DF 0.47.03
Post by: Karater on March 03, 2020, 04:29:58 pm
On windows and mac os the browser will use the dark mode styles if you have enabled dark mode in your system settings. I'm not sure if this is supported by all linux distributions. I'll have a look if I can add a manual toggle.
Title: Re: LegendsBrowser 1.18.2 (Windows, Mac OS and Linux legends viewer) | DF 0.47.03
Post by: clausimu on March 05, 2020, 02:59:53 pm
That would be great!
Title: Re: LegendsBrowser 1.18.2 (Windows, Mac OS and Linux legends viewer) | DF 0.47.03
Post by: poirepoire on March 08, 2020, 06:02:03 am
thanks for your work :), the file for mac seems corrupted for the last version, when I copy from the .dmg repository, it says that "the file is damaged and can't be opened"
Title: Re: LegendsBrowser 1.18.2 (Windows, Mac OS and Linux legends viewer) | DF 0.47.03
Post by: therahedwig on March 13, 2020, 10:53:37 am
I've started to work on visualizing the intrigue actors inside a network graph: https://github.com/robertjanetzko/LegendsBrowser/pull/59

I could use some input on how we should make it look prettier/more useful. Mockups would be great, as well as more images of what the networks look like inside DF itself :)

The other stuff mentioned in the TODO is also welcome for help, but I imagine the pretty-factor is more tangible if you don't know how legends works itself.
Title: Re: LegendsBrowser 1.18.2 (Windows, Mac OS and Linux legends viewer) | DF 0.47.03
Post by: PHM on March 14, 2020, 02:23:48 pm
thanks for your work :), the file for mac seems corrupted for the last version, when I copy from the .dmg repository, it says that "the file is damaged and can't be opened"

I am also having a similar issue, though I'm not necessarily getting a corrupted file message, only a warning that the disk image could not be opened due to "no mountable file systems". I recently had an issue where I could not open the disk image for a popular chat client so I figured it was an issue on my end, but I fixed that issue with a method that still does not work with the latest LegendsBrowser update.
Title: Re: LegendsBrowser 1.18.2 (Windows, Mac OS and Linux legends viewer) | DF 0.47.03
Post by: mko on March 26, 2020, 01:07:29 am
Can you consider adding hint in "load world" that one should export xml file first?

Something like "Load world needs .xml file exported from legends mode".
Title: Re: LegendsBrowser 1.18.2 (Windows, Mac OS and Linux legends viewer) | DF 0.47.03
Post by: McArcady on April 01, 2020, 04:20:48 pm
How do I get dark mode to work? I'm on linux (openSUSE) and have downloaded the latest version (1.18.2). There is no choice to enable dark mode and I'm not sure I understand "based on system settings"?
I've solved this by forcing dark mode in chromium. In file:
Code: [Select]
/etc/chromium.d/default-flagsadd at the end:
Code: [Select]
export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --enable-features=WebUIDarkMode --force-dark-mode"
Title: Re: LegendsBrowser 1.19 (Windows, Mac OS and Linux legends viewer) | DF 0.47.04
Post by: Karater on May 04, 2020, 02:19:36 pm
i've released version 1.19 with the following new features:

thx to McArcady and therahedwig for their contributions

Download: Windows (http://dffd.bay12games.com/file.php?id=11619) or MacOS (http://dffd.bay12games.com/file.php?id=11618)
Project ist hosted on GitHub (https://github.com/robertjanetzko/LegendsBrowser/releases)
Title: Re: LegendsBrowser 1.19 (Windows, Mac OS and Linux legends viewer) | DF 0.47.04
Post by: Cypeace on May 16, 2020, 03:32:18 pm
Hi,

just downloaded as instructed, but upon execution I get error "JRELoadError", the link for the host doesn't work either. Trying on Mac Mojave 10.14.6.
Title: Re: LegendsBrowser 1.19 (Windows, Mac OS and Linux legends viewer) | DF 0.47.04
Post by: lethosor on May 16, 2020, 03:42:25 pm
Do you have Java installed (specifically a JRE for at least Java 8 )? If that's not it, the full error message might be helpful.
Title: Re: LegendsBrowser 1.19 (Windows, Mac OS and Linux legends viewer) | DF 0.47.04
Post by: eightball8776 on May 22, 2020, 12:35:19 pm
I tried to download this on my Mac but when I tried to open it, I got the following message. “Legends Browser” is damaged and can’t be opened. You should eject the disk image.
Title: Re: LegendsBrowser 1.19 (Windows, Mac OS and Linux legends viewer) | DF 0.47.04
Post by: Romeofalling on May 22, 2020, 02:07:52 pm
...Mac...“Legends Browser” is damaged and can’t be opened. You should eject the disk image.

Worked fine on my OSX Mojave (10.14.6). It may have been a bad download. Or a bad source copy. The one that packs with the Lazy Mac Pack works fine.
Title: Re: LegendsBrowser 1.19 (Windows, Mac OS and Linux legends viewer) | DF 0.47.04
Post by: lethosor on May 22, 2020, 11:45:39 pm
That issue has come up a couple times in this thread, actually. It may be a formatting issue that prevents the disk image from mounting on some macOS versions, although I thought Karater made a change to address that at some point. In any case, if you have Java installed, you should just be able to download the .jar file and run it directly.
Title: Re: LegendsBrowser 1.19 (Windows, Mac OS and Linux legends viewer) | DF 0.47.04
Post by: Staalo on May 31, 2020, 06:08:40 pm
Not sure if this is a problem in LegendsBrowser or a some kind of glitch in DFHack export function; everything seems to be correct when viewed directly in Legends mode.

There are corrupted item creation lines in my fortress history; mentions about someone creating things like "a masterful toad parchment corpse" or "a masterful blue jay nervous tissue barrel" (example in pic below).
 
Spoiler (click to show/hide)

In addition to that, many militia dwarves are labeled erroneously as necromancers. They have never read any secret books but they did raid few necromantic towers some years ago. At some point they all seem to have picked "SECRET_RES_POWER_1_2" in their Active Interactions slot. Again, when viewed directly in Legends mode everything looks normal.

This is in DF .47.04, DFHack .47.04-r1 and LegendsBrowser latest version 1.19.
Title: Re: LegendsBrowser 1.19 (Windows, Mac OS and Linux legends viewer) | DF 0.47.04
Post by: McArcady on June 01, 2020, 02:45:09 pm
Not sure if this is a problem in LegendsBrowser or a some kind of glitch in DFHack export function; everything seems to be correct when viewed directly in Legends mode.

There are corrupted item creation lines in my fortress history; mentions about someone creating things like "a masterful toad parchment corpse" or "a masterful blue jay nervous tissue barrel" (example in pic below).
 
Spoiler (click to show/hide)

In addition to that, many militia dwarves are labeled erroneously as necromancers. They have never read any secret books but they did raid few necromantic towers some years ago. At some point they all seem to have picked "SECRET_RES_POWER_1_2" in their Active Interactions slot. Again, when viewed directly in Legends mode everything looks normal.

This is in DF .47.04, DFHack .47.04-r1 and LegendsBrowser latest version 1.19.

Could you create an issue here ? https://github.com/robertjanetzko/LegendsBrowser/issues (https://github.com/robertjanetzko/LegendsBrowser/issues)
and attach files:
Code: [Select]
legends.xml & legends_plus.xml
We will begin with checking if the problem comes from the exported files.
Title: Re: LegendsBrowser 1.19 (Windows, Mac OS and Linux legends viewer) | DF 0.47.04
Post by: Silverwing235 on June 16, 2020, 10:19:44 am
Whenever I load up LB with a Toady-standard XML in it, this happens each time:
Code: [Select]
[2020-06-16 15:58:59] WARNING: site - unknown element: rectangle = 151,424:153,426
[2020-06-16 15:58:59] WARNING: artifact - unknown element: abs_tile_x = 67200
[2020-06-16 15:58:59] WARNING: artifact - unknown element: abs_tile_y = 24960
[2020-06-16 15:58:59] WARNING: artifact - unknown element: abs_tile_z = -1000000
[2020-06-16 15:58:59] WARNING: artifact - unknown element: subregion_id = 212
[2020-06-16 15:58:59] WARNING: relationship_profile_hf_visual - unknown element: known_identity_id = 5975
[2020-06-16 15:59:00] WARNING: historical_figure - unknown element: honor_entity = 5
Exception in thread "Thread-323" java.lang.OutOfMemoryError: Java heap space
        at java.util.LinkedHashMap.newNode(Unknown Source)
        at java.util.HashMap.putVal(Unknown Source)
        at java.util.HashMap.put(Unknown Source)
        at sun.util.resources.OpenListResourceBundle.loadLookup(Unknown Source)
        at sun.util.resources.OpenListResourceBundle.loadLookupTablesIfNecessary(Unknown Source)
        at sun.util.resources.OpenListResourceBundle.handleKeySet(Unknown Source)
        at java.util.ResourceBundle.containsKey(Unknown Source)
        at sun.util.locale.provider.LocaleResources.getTimeZoneNames(Unknown Source)
        at sun.util.locale.provider.TimeZoneNameProviderImpl.getDisplayNameArray(Unknown Source)
        at sun.util.locale.provider.TimeZoneNameProviderImpl.getDisplayName(Unknown Source)
        at sun.util.locale.provider.TimeZoneNameUtility$TimeZoneNameGetter.getName(Unknown Source)
        at sun.util.locale.provider.TimeZoneNameUtility$TimeZoneNameGetter.getObject(Unknown Source)
        at sun.util.locale.provider.TimeZoneNameUtility$TimeZoneNameGetter.getObject(Unknown Source)
        at sun.util.locale.provider.LocaleServiceProviderPool.getLocalizedObjectImpl(Unknown Source)
        at sun.util.locale.provider.LocaleServiceProviderPool.getLocalizedObject(Unknown Source)
        at sun.util.locale.provider.TimeZoneNameUtility.retrieveDisplayNamesImpl(Unknown Source)
        at sun.util.locale.provider.TimeZoneNameUtility.retrieveDisplayName(Unknown Source)
        at java.util.TimeZone.getDisplayName(Unknown Source)
        at java.util.Date.toString(Unknown Source)
        at legends.RequestThread.sendHeader(RequestThread.java:54)
        at legends.RequestThread.run(RequestThread.java:167)
Exception in thread "Thread-324" java.lang.OutOfMemoryError: Java heap space

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Thread-324"
Exception in thread "Thread-325" java.lang.OutOfMemoryError: Java heap space
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Thread-326"
Exception in thread "Thread-192" java.lang.OutOfMemoryError: Java heap space


...Solutions? The Java exceptions would seem to be the main part of it, at least. 
Title: Re: LegendsBrowser 1.19 (Windows, Mac OS and Linux legends viewer) | DF 0.47.04
Post by: lethosor on June 16, 2020, 11:09:28 am
"OutOfMemoryError" suggests to me that this fix might help: https://github.com/robertjanetzko/LegendsBrowser/blob/master/README.md#outofmemoryerror
Title: Re: LegendsBrowser 1.19 (Windows, Mac OS and Linux legends viewer) | DF 0.47.04
Post by: Silverwing235 on June 16, 2020, 12:10:26 pm
"OutOfMemoryError" suggests to me that this fix might help: https://github.com/robertjanetzko/LegendsBrowser/blob/master/README.md#outofmemoryerror

Doesn't work. (At least, repurposing a text file to service does not, as would otherwise be expected - I may have erred elsewhere.)
Title: Re: LegendsBrowser 1.19 (Windows, Mac OS and Linux legends viewer) | DF 0.47.04
Post by: lethosor on June 16, 2020, 06:40:27 pm
Does it give the exact same error or something else?
To clarify, you named the file "LegendsBrowser-1.19.0.l4j.ini", with no additional extensions, right? (Assuming you're running LegendsBrowser 1.19.0 on Windows)
Title: Re: LegendsBrowser 1.19. (Windows, Mac OS and Linux legends viewer) | DF 0.47.04
Post by: Karater on July 25, 2020, 02:28:03 am
i've released version 1.19.1 with the following bugfix:
thx to @McArcady, @ereterer and @lethosor for for their contributions

Download: Windows (http://dffd.bay12games.com/file.php?id=11619) or MacOS (http://dffd.bay12games.com/file.php?id=11618)
Project ist hosted on GitHub (https://github.com/robertjanetzko/LegendsBrowser/releases)
Title: Re: LegendsBrowser 1.19.1 (Windows, Mac OS and Linux legends viewer) | DF 0.47.04
Post by: lethosor on August 17, 2020, 09:54:40 pm
A heads up: DFHack 0.47.04-r2 includes some breaking changes, which PatrikLundell has detailed here (http://www.bay12forums.com/smf/index.php?topic=164123.msg8179462#msg8179462). The changelog (https://docs.dfhack.org/en/0.47.04-r2/docs/NEWS.html#dfhack-0-47-04-r2) also mentions some other changes (e.g. support for exporting to a subfolder, which I assume doesn't affect this tool too much).

I haven't investigated whether this tool needs changes, but since I've seen some reports of Legends Viewer breaking, I thought a notification here would be useful too (which I probably should have done before 0.47.04-r2 - sorry about that).
Title: Re: LegendsBrowser 1.19.2 (Windows, Mac OS and Linux legends viewer) | DF 0.47.04
Post by: Karater on September 06, 2020, 04:34:38 am
i've released version 1.19.2 with the following bugfix:
thx to @McArcady for his contributions

Download: Windows (http://dffd.bay12games.com/file.php?id=11619) or MacOS (http://dffd.bay12games.com/file.php?id=11618)
Project ist hosted on GitHub (https://github.com/robertjanetzko/LegendsBrowser/releases)
Title: Re: LegendsBrowser 1.19.2 (Windows, Mac OS and Linux legends viewer) | DF 0.47.04
Post by: agm on January 17, 2021, 09:44:40 pm
This is great! Thank you!
Title: Re: LegendsBrowser 1.19.2 (Windows, Mac OS and Linux legends viewer) | DF 0.47.04
Post by: NikoKun on December 03, 2021, 01:03:11 pm
Finally, something that works in Linux!
Seriously, thank you for making this! Hope you haven't given up on it.. It still seems to work fine for 47.05, tho I dono if new details are being left out.
This is like the only Legends viewer/browser that I've been able to get working in Linux. ;)
Title: Re: LegendsBrowser 1.19.2 (Windows, Mac OS and Linux legends viewer) | DF 0.47.04
Post by: betashaft on December 20, 2021, 01:19:52 am
I'm running this on Manjaro. The issue I have is that when I load an xml it gets stuck on loading map image. If I don't have a map in the directory then it loads but then the map doesn't show up in the browser. I haven't seen any reference at all to this issue on the github, here, or reddit, so any help would be appreciated.
Title: Re: LegendsBrowser 1.19.2 (Windows, Mac OS and Linux legends viewer) | DF 0.47.04
Post by: Karater on May 14, 2022, 03:26:24 am
LegendsBrowser 2.0.0

I've decided to completely rewrite the legends browser the new version is available here: LegendsBrowser 2 (http://www.bay12forums.com/smf/index.php?topic=179848.0)
Title: Re: LegendsBrowser 1.19.2 (Windows, Mac OS and Linux legends viewer) | DF 0.47.04
Post by: ribchinski on August 15, 2022, 07:53:57 am
LegendsBrowser 2.0.0

I've decided to completely rewrite the legends browser the new version is available here: LegendsBrowser 2 (http://www.bay12forums.com/smf/index.php?topic=179848.0)

I checked it out, and so far it seems to be more bare-bones than the original, missing a lot of old features, and even not being able to parse data that the old version could. However, I would love to contribute to the project to get it up to snuff (and hopefully make it a viable alternative to Legends Viewer). Is there any way for me to get started with contributions?
Title: Re: LegendsBrowser 1.19.2 (Windows, Mac OS and Linux legends viewer) | DF 0.47.04
Post by: Karater on August 19, 2022, 08:59:28 am
I checked it out, and so far it seems to be more bare-bones than the original, missing a lot of old features, and even not being able to parse data that the old version could. However, I would love to contribute to the project to get it up to snuff (and hopefully make it a viable alternative to Legends Viewer). Is there any way for me to get started with contributions?

Thanks for the feedback and the offer to help. The source is available at: https://github.com/robertjanetzko/LegendsBrowser2
If you are not into coding yourself you can add issues for the features you are missing the most.