Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 28 29 [30] 31 32 ... 44

Author Topic: Legends Viewer 1.13 (v40 Compatible)  (Read 309772 times)

MAurelius

  • Bay Watcher
  • Philosopher King
    • View Profile
    • Marcus Aurelius Let's Play
Re: Legends Viewer 1.13.05 (Remaining XML Data)
« Reply #435 on: January 06, 2013, 02:15:13 pm »

Hello,

I am using your GIMP plugin to generate a "fantasy style" map (dffd.wimbli.com/file.php?id=4359) and I followed the instructions exactingly:

1. Edit the CreateSave.bat and CreateView.bat and change "gimpLocation" to your gimp directory.
2. Copy the DwarfMapMaker.scm file to \GIMP-2.0\share\gimp\2.0\scripts
3. Export these maps from Legends Mode > Export detailed map. (d):
   Elevations include lake and ocean floors
   Elevations respecting water level
   Biome
   Temperature
   Volcanism
   Current vegatation
4. Move the maps to the same directory as the bat files.
5. Run CreateSave.bat if you just want the image

I get an error that says:

(gimp-console-2.8.exe:5452): LibGimpBase-WARNING **: gimp-console-2.8.exe: gimp_
wire_read(): error
batch command experienced an execution error:
Error: ( : 1) Procedure execution of gimp-display-new failed

I notice that GIMP updated to 2.8 since you originally posted this utility. Hopefully someone here knows how to get it to work because I would really like to see something like Mormota's image on this page:
http://www.bay12forums.com/smf/index.php?topic=72702.165

Thank you all!

Logged

Parker147

  • Bay Watcher
    • View Profile
Re: Legends Viewer 1.13.05 (Remaining XML Data)
« Reply #436 on: January 08, 2013, 03:11:24 pm »

I installed 2.8 and it is still working for me. Looked over it and not seeing anything that might cause trouble. I'll look some more, but if you got it working let me know what was wrong.

I haven't done anything with Legends Viewer in a long while, but I've got some free time so I'm going to try and do some house cleaning with the code to make it easier to keep things up to date in anticipation of any new versions. If there are any bugs or minor things that need fixing let me know.
Logged

MAurelius

  • Bay Watcher
  • Philosopher King
    • View Profile
    • Marcus Aurelius Let's Play
Re: Legends Viewer 1.13.05 (Remaining XML Data)
« Reply #437 on: January 08, 2013, 08:58:42 pm »

Thanks for responding!

I did get it to work but not using the batch file.

I just loaded up gimp and found your plugin in the options and manually opened each of the map files. After doing that, it created fine.

I had all the map files in the same directory as the batch files but maybe it didn't work because they weren't in the main Gimp directory? Dunno.

I think Legends Viewer is an inspired work of genius but one thing I would like to see is the ability to map regions. Like when it says a someone did something in the Jungles of Happenstance or whatnot, it would be nice to see where said Jungles are. It doesn't have to be fancy with an outline, just center the map on the region name clicked. We're smart enough to figure out where the Jungles end and the Desert of Chafing begins.

Frankly, I don't see why Toady doesn't release the ability to zoom around your world looking at all the regions and towns and such like when you first generate the world, only anytime after the world is created. I mean, the ability is there and programmed in, why restrict it just to the moment of creation?
Logged

Mraedis

  • Bay Watcher
    • View Profile
Re: Legends Viewer 1.13.05 (Remaining XML Data)
« Reply #438 on: April 05, 2013, 03:01:26 am »

Using this for a D&D campaign, so awesome.  :D
Logged
GENERATION 30:
The first time you see this, copy it into your signature on any forum and add 1 to the generation. Social experiment.

sepik121

  • Escaped Lunatic
    • View Profile
Re: Legends Viewer 1.13.05 (Remaining XML Data)
« Reply #439 on: April 05, 2013, 10:09:00 am »

Getting an error from this, not sure what to do:

Length cannot be less than zero.
Parameter name: length
   at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
   at LegendsViewer.Legends.HistoryParser.ReadWorships()
   at LegendsViewer.Legends.HistoryParser.Parse()
   at LegendsViewer.Legends.World..ctor(String xmlFile, String historyFile, String sitesAndPopulationsFile, String mapFile)
   at LegendsViewer.FileLoader.load_DoWork(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

I'm using the Masterwork mod, so not sure if there are other issues attached with that.
Logged

Parker147

  • Bay Watcher
    • View Profile
Re: Legends Viewer 1.13.05 (Remaining XML Data)
« Reply #440 on: April 06, 2013, 06:34:29 pm »

If you can zip and upload the exported files I can take a look into it.

Just to update the status of this project. I haven't had time to do anything on Legends Viewer and I don't plan to have time in the future. I will try my best to handle any bugs, and hopefully keep it working with any new versions of Dwarf Fortress. If any a new version comes out that adds new data to the XML I might do the bare minimum to display and make that data searchable, but no promises. All the code is on GitHub though and I'm open to answer any questions about it.
Logged

Urist3411

  • Escaped Lunatic
    • View Profile
Re: Legends Viewer 1.13.05 (Remaining XML Data)
« Reply #441 on: April 07, 2013, 05:26:29 pm »

Parker147, Hi! I have a problem trying to open one of my maps in Legends Viewer. Here is dump and other stuff:
http://rghost.ru/download/45128800/2b0c5d15c1ea76514e58ba8889f352b648a00a89/region11dump.7z
Problem is here:
Code: [Select]
System.OutOfMemoryException: "System.OutOfMemoryException".
   in System.Windows.Forms.OSFeature.GetVersionPresent(Object feature)
   in System.Windows.Forms.FeatureSupport.IsPresent(Object feature, Version minimumVersion)
   in System.Windows.Forms.FeatureSupport.IsPresent(Object feature)
   in System.Windows.Forms.UnsafeNativeMethods.ThemingScope.Activate()
   in System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   in LegendsViewer.FileLoader.Load()
   in LegendsViewer.FileLoader.MapClick(Object sender, EventArgs e)
   in System.Windows.Forms.Control.OnClick(EventArgs e)
   in System.Windows.Forms.Button.OnClick(EventArgs e)
   in System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   in System.Windows.Forms.Control.WndProc(Message& m)
   in System.Windows.Forms.ButtonBase.WndProc(Message& m)
   in System.Windows.Forms.Button.WndProc(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
I use Win7 64bit with 8GiB memory and 6.5GiBs of them are free. Crash happening when program is use around 3.5GiB. I have other maps where the program use 3.6-3.7 GiB with no troubles.
I hope you help.
Logged

Parker147

  • Bay Watcher
    • View Profile
Re: Legends Viewer 1.13.05 (Remaining XML Data)
« Reply #442 on: April 08, 2013, 06:28:51 am »

Think I just need to compile a 64bit version so that it can use more memory. One little issue I'm having with it, which I need to resolve first.
Logged

Urist3411

  • Escaped Lunatic
    • View Profile
Re: Legends Viewer 1.13.05 (Remaining XML Data)
« Reply #443 on: April 08, 2013, 07:44:34 am »

Think I just need to compile a 64bit version so that it can use more memory.
That would be great! Then your program will be absolutely universal and epic forever  8)
Can't wait! ;)
Spoiler (click to show/hide)
Logged

Jahsg

  • Bay Watcher
    • View Profile
Re: Legends Viewer 1.13.05 (Remaining XML Data)
« Reply #444 on: April 08, 2013, 10:29:43 pm »

Think I just need to compile a 64bit version so that it can use more memory.
That would be great! Then your program will be absolutely universal and epic forever  8)
Can't wait! ;)
Spoiler (click to show/hide)

I hope so, I have a world with a 4.13 GB history.xml
Logged

Parker147

  • Bay Watcher
    • View Profile
Re: Legends Viewer 1.13.05 (Remaining XML Data)
« Reply #445 on: April 28, 2013, 03:38:31 pm »

New version which makes Legends Viewer 64-bit compatible, which should let you load those bigger files now.
Logged

Intrinsic

  • Bay Watcher
    • View Profile
Re: Legends Viewer 1.13.05 (Remaining XML Data)
« Reply #446 on: April 29, 2013, 05:24:01 am »

Thanks Parker!
Logged
Start Duelyst with a bonus 100gold, use referral code: Buttfungus
Enter during signup or ingame under Settings.

ChuckWeiss

  • Bay Watcher
    • View Profile
Re: Legends Viewer 1.13.05 (Remaining XML Data)
« Reply #447 on: April 29, 2013, 04:57:47 pm »

PTW

Though I'm guessing this is a "might as well be sticky-ed, 'cause it never leaves the front page" thread anyway.
Logged
When he dies for the Mountain, the Mountain will weep not tears, but Blood for the Blood God!

Lamphare

  • Bay Watcher
    • View Profile
Re: Legends Viewer 1.13.05 (Remaining XML Data)
« Reply #448 on: May 06, 2013, 05:33:41 am »

this tool made me happily to upgrade my RAM to 24GB

watching the threads weaving into 4k years of history.
in the end, everything is worth it.
Logged

Mickey Blue

  • Bay Watcher
    • View Profile
Re: Legends Viewer 1.13.05 (Remaining XML Data)
« Reply #449 on: May 12, 2013, 05:22:28 pm »

Question, this may be answered somewhere in the many pages but skimming I didn't find it; is it possible to see battle reports in legends viewer? I mean like the play by play reports you can see in the game?

The king of my civilization (who used dark magic when he was 24 to give him immortality apparently) engaged in a number of duels with people who were concerned that he wasn't aging.  I'd love to read up on some of those.
Logged
Pages: 1 ... 28 29 [30] 31 32 ... 44