Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 [3] 4 5

Author Topic: DwarfFamily  (Read 15947 times)

Morphyum

  • Bay Watcher
    • View Profile
Re: DwarfFamily
« Reply #30 on: November 03, 2013, 06:27:29 am »

Hmm good question I don't think I change the XML at all, but I encountered Unicode problems with the XML too. That's why I had to switch from reading it in UTF8 to ISO.
Logged

rmblr

  • Bay Watcher
    • View Profile
    • Binary Elysium
Re: DwarfFamily
« Reply #31 on: November 03, 2013, 07:38:12 am »

It is because some dfhack plugins write binary data into the XML for persistent storage :(
Logged

Morphyum

  • Bay Watcher
    • View Profile
Re: DwarfFamily
« Reply #32 on: November 03, 2013, 10:39:13 am »

Yea but my program doesn't care normally. For me it works fine nomatter what the xml contains.
Logged

GM-X

  • Bay Watcher
    • View Profile
    • Dwarf Fortress Blog - Numthur the Windy Universe
Re: DwarfFamily
« Reply #33 on: November 03, 2013, 01:17:04 pm »

Cool. Downloading.  :)

Meansdarling

  • Bay Watcher
    • View Profile
Re: DwarfFamily
« Reply #34 on: November 05, 2013, 11:10:56 pm »

PTW
Logged

Ruhn

  • Bay Watcher
  • Adept Dwarf
    • View Profile
Re: DwarfFamily
« Reply #35 on: November 30, 2013, 08:23:10 am »

I finally used this and have a little feedback.  It would have been nice to have some type of status message or popup to announce that the import and export operations completed successfully.  Also it would have been cool if the GED file kept the region name from the imported XML.

The "View Dwarf List" portion is pretty cool, you should mention it in OP.  Here are some ideas for that:
* Have an option to hide non-parents
* Update the details pane when scrolling with arrow keys.  (Or update when hitting Enter)
* Clicking the name of a Mother or Father could jump over and select them on the list

It wasn't hard to figure out that MyHeritage tool, but a few notes would help since it is most likely what noobs like me will download.
1) Register
2) Create a project
3) Import GEDCON file created by DwarfFamily

VerdantSF

  • Bay Watcher
    • View Profile
Re: DwarfFamily
« Reply #36 on: December 03, 2013, 02:48:21 pm »

I just gave this a try and it was great to track through the family trees!  Thanks for creating this!

jaked122

  • Bay Watcher
  • [PREFSTRING:Lurker tendancies]
    • View Profile
Re: DwarfFamily
« Reply #37 on: December 16, 2013, 08:51:38 am »

  • Use the dwarf.ged in a program of your choice(For example MyHeritage)
You have, a somewhat strange taste in geneological programs. That being said, this is fairly awesome.

It also seems to output broken GED files.
« Last Edit: December 16, 2013, 09:04:13 am by jaked122 »
Logged

Sallen

  • Bay Watcher
    • View Profile
Re: DwarfFamily
« Reply #38 on: December 27, 2013, 08:16:57 am »

Issued a pull request. Nothing major yet.

Morphyum

  • Bay Watcher
    • View Profile
Re: DwarfFamily
« Reply #39 on: January 09, 2014, 04:03:43 am »

Havent gotten an email strangely, sorry for the late merge
Logged

Sallen

  • Bay Watcher
    • View Profile
Re: DwarfFamily
« Reply #40 on: May 22, 2014, 07:00:44 am »

Issued a pull request. This is what I changed:

Code: [Select]
Added .DS_Store to .gitignore
Dwarf names are now clickable hyperlinks in description for easier navigation.
Made progress bar be more informative when importing an XML file.
Gender is now displayed with proper casing.
Names in dwarf data are now displayed in bold.
Fixed: some clicks on the list would get ignored.
Changed export button label.

If you are busy you can tell me and I'll post a built JAR.

Morphyum

  • Bay Watcher
    • View Profile
Re: DwarfFamily
« Reply #41 on: May 22, 2014, 08:37:05 am »

Thanks Sallen, and thanks to all others that gave feedback im pretty bussy right now, so i couldnt work myself on it. But im Happy that Sallen keeps this going for now. I Uploaded the new Version und DFFD the download link is still on the first post :)
Logged

AoshimaMichio

  • Bay Watcher
  • Space Accountant
    • View Profile
Re: DwarfFamily
« Reply #42 on: June 03, 2014, 05:20:25 pm »

Could you alter it to figure familytrees for other races? I'm partically interested about bloodline of megabeasts since I managed to capture a breeding pair of Rocs.
Logged
I told you to test with colors! But nooo, you just had to go clone mega-Satan or whatever.
Old sigs.
Games.

Sallen

  • Bay Watcher
    • View Profile
Re: DwarfFamily
« Reply #43 on: June 09, 2014, 07:55:32 am »

Could you alter it to figure familytrees for other races? I'm partically interested about bloodline of megabeasts since I managed to capture a breeding pair of Rocs.

That's a very good idea. I have no clue about how the XML file is structured, but I think we are loading that data at the moment anyway. I'll see if I can do something (not this week though, hands full).

Sallen

  • Bay Watcher
    • View Profile
Re: DwarfFamily
« Reply #44 on: July 15, 2014, 07:27:41 am »

Issued a pull request. This is the changelog:

Code: [Select]
Open file dialog now filters and only allows XML files.
In dwarf list, names list automatically jumps to selected dwarf when clicking on hyperlinks.
Can now navigate dwarf list with arrow keys.
Fixed bug that caused involuntary activation of hyperlinks.
Added combobox to list window. You can browse any race on file.

The big thing is browsing any of the races on the XML file, of course. You can select the race you want right at the "dwarf list" window through a combo box. It defaults to dwarves.
Pages: 1 2 [3] 4 5