Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 50 51 [52] 53 54

Author Topic: PerfectWorldDF world creator utility v.1.9  (Read 451061 times)

cephalo

  • Bay Watcher
    • View Profile
Re: PerfectWorldDF world creator utility v.1.9
« Reply #765 on: November 30, 2017, 10:19:49 am »

Can someone help me out?

I'm trying to use the same word elevation/terrain map and only change the temperature and savagery maps but I can't import the elevation bitmap from DF legends view into PerfectWorld, it says the dimensions do not match.

What are the dimensions of the map you are trying to import? Normally, they should be the same height and width for square maps. I think they will be automatically resized if the aspect ratio matches, but you should aim for 1 pixel per tile if you want full control.

If you are trying to generate a world that was already genned with DF, you should be able to use the map seed and just regen the elevation map, but PWDF will get in the way rather than help because it crashes when you don't check the 'elevation' map first. What you can do though is manually edit out the [PS_EL: X:X:X] tags and DF should use your seed to regen the elevations but still use your temperature and savagery maps.

Be mindful that the pre-set temperature maps aren't implemented fully in DF, and there are a couple of biomes that don't occur if you use them.
Logged
PerfectWorldDF World creator utility for Dwarf Fortress.

My latest forts:
Praisegems - Snarlingtool - Walledwar

Fleeting Frames

  • Bay Watcher
  • Spooky cart at distance
    • View Profile
Re: PerfectWorldDF world creator utility v.1.9
« Reply #766 on: December 01, 2017, 09:47:57 am »

I think that's mainly just tropical dry broadleaf, which requires at least 129 tall world with pole(s). Though using temp maps without poles does prevent one from having freezing tropical biomes and such.

MachinaMandala

  • Bay Watcher
    • View Profile
Re: PerfectWorldDF world creator utility v.1.9
« Reply #767 on: December 01, 2017, 01:34:26 pm »

I'm gonna be honest, I have no idea what I'm doing with this. Is there a guide? I want to make Middle-Earth. (Deon did it ages ago but most areas were just one giant region which meant all savage and uninhabitable.)

EDIT: Puzzled it out. Read the fucking manual, guys!
« Last Edit: December 02, 2017, 06:29:44 am by MachinaMandala »
Logged

Rusty_knight

  • Bay Watcher
    • View Profile
Re: PerfectWorldDF world creator utility v.1.9
« Reply #768 on: December 11, 2017, 03:21:30 am »

Can we have an option to import bitmaps for things other than elevation? Would it be hard to implement?
Logged
Crazy-ass weirdo beaver is my totem animal!

cephalo

  • Bay Watcher
    • View Profile
Re: PerfectWorldDF world creator utility v.1.9
« Reply #769 on: December 13, 2017, 09:52:32 am »

Can we have an option to import bitmaps for things other than elevation? Would it be hard to implement?

I think I had a convincing rationale for not putting that in years ago, but I forgot what that was exactly... I have to say though, that all the other maps except savagery benefit from playing off the elevations. It gives a fictional reason for things to be as they are.
Logged
PerfectWorldDF World creator utility for Dwarf Fortress.

My latest forts:
Praisegems - Snarlingtool - Walledwar

NoMan

  • Escaped Lunatic
    • View Profile
Re: PerfectWorldDF world creator utility v.1.9
« Reply #770 on: December 15, 2017, 04:15:59 pm »

The program tends to crash when drawing on the savagery and temperature maps. I haven't checked the others maps to see if they crash as well.

To reproduce the crash:
1. Generate the gradient map and noise field for savagery
2. Start drawing close to and around the bottom of the map

When doing this, the program will sometimes crash with the error:
Code: [Select]
ColorHelper.GetNormalizedValue greater than max.

Savagery crash details:
Code: [Select]
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Exception: ColorHelper.GetNormalizedValue value greater than max
   at PerfectWorldDF.ColorHelper.GetNormalizedValue(Double value, Double min, Double max)
   at PerfectWorldDF.SavageryMap.DrawTile(Int32 x, Int32 y)
   at PerfectWorldDF.SavageryMap.DrawEdit(Rectangle rect)
   at PerfectWorldDF.Form1.picBoxSavMap_MouseMove(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseMove(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
PerfectWorldDF
    Assembly Version: 1.9.5428.18035
    Win32 Version: 1.9.5428.18035
    CodeBase: file:///C:/Users/PRO/Desktop/Misc/Dwarf%20Fortress/0-43-05/PerfectWorld/PerfectWorldDF.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Temperature crash details:
Code: [Select]
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Exception: ColorHelper.GetNormalizedValue value greater than max
   at PerfectWorldDF.ColorHelper.GetNormalizedValue(Double value, Double min, Double max)
   at PerfectWorldDF.TemperatureMap.DrawTile(Int32 x, Int32 y)
   at PerfectWorldDF.TemperatureMap.DrawEdit(Rectangle rect)
   at PerfectWorldDF.Form1.picBoxTempMap_MouseMove(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseMove(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
PerfectWorldDF
    Assembly Version: 1.9.5428.18035
    Win32 Version: 1.9.5428.18035
    CodeBase: file:///C:/Users/PRO/Desktop/Misc/Dwarf%20Fortress/0-43-05/PerfectWorld/PerfectWorldDF.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Logged

Rusty_knight

  • Bay Watcher
    • View Profile
Re: PerfectWorldDF world creator utility v.1.9
« Reply #771 on: December 16, 2017, 02:59:15 am »

I think I had a convincing rationale for not putting that in years ago, but I forgot what that was exactly... I have to say though, that all the other maps except savagery benefit from playing off the elevations. It gives a fictional reason for things to be as they are.
Well, my sole reason to ask for that is because built-in painter tool in PW is very counter-intuitive to use. Also, the temperature map lacks the game's "north and south pole" analog.
« Last Edit: December 16, 2017, 04:36:44 am by Rusty_knight »
Logged
Crazy-ass weirdo beaver is my totem animal!

cephalo

  • Bay Watcher
    • View Profile
Re: PerfectWorldDF world creator utility v.1.9
« Reply #772 on: December 18, 2017, 10:06:51 am »

Thanks for the crash info NoMan. I've had a heck of a time reproducing that bug reliably. Really, the drawing code is a huge mess. I didn't do any of it in a standard way. When I look it now, it seems deranged. It makes me afraid to get involved, like I will become a lunatic again.

Rusty_knight, if you put the 'Gradient Center' in the middle of the map, you can do North and South poles, or even East and West poles, or SW and NE poles, or even cold equator, hot poles maps. Play with that.
Logged
PerfectWorldDF World creator utility for Dwarf Fortress.

My latest forts:
Praisegems - Snarlingtool - Walledwar

speciesunkn0wn

  • Bay Watcher
  • The Stars Are Bold
    • View Profile
Re: PerfectWorldDF world creator utility v.1.9
« Reply #773 on: January 11, 2018, 06:35:34 pm »

Hey Cephalo, I saw that someone made a 'self portrait' using Perfect World and I'm pretty certain they uploaded the image into it. Is there a way to do that?
Logged
DF Veterans- n. - One who has lost one or more forts due to a stupid oversight.

Morality is relative,/Puppies are cheap,/Dwarves are zealots of,/A place that creeps and leaks,/where oversears send them to die,/so we may feast on their on their sorrow,/as we chew on their marrow
Just never forget,/That Bloodyhells is always a threat.

cephalo

  • Bay Watcher
    • View Profile
Re: PerfectWorldDF world creator utility v.1.9
« Reply #774 on: January 23, 2018, 09:32:28 am »

Hey Cephalo, I saw that someone made a 'self portrait' using Perfect World and I'm pretty certain they uploaded the image into it. Is there a way to do that?

You can import a black and white image into the elevation maps. Do you have a link to that self portrait? I wanna see it.
Logged
PerfectWorldDF World creator utility for Dwarf Fortress.

My latest forts:
Praisegems - Snarlingtool - Walledwar

wierd

  • Bay Watcher
  • I like to eat small children.
    • View Profile
Re: PerfectWorldDF world creator utility v.1.9
« Reply #775 on: February 19, 2018, 03:51:29 am »

Hey Cephalo, I dunno if you are still around or maintaining this tool--

But i have an old map from 34.11 that reliably crashes perfect world.  The worldgen file crashes the poor thing instantly.

Spoiler: The worldgen file data (click to show/hide)

It reliably gives this output:

Spoiler: crash info on console (click to show/hide)

The world file *IS* valid, and causes the crash.  Yes, I am using the 34.11 worldgen.xml file.
Logged

Enemjay

  • Bay Watcher
    • View Profile
Re: PerfectWorldDF world creator utility v.1.9
« Reply #776 on: February 22, 2018, 04:09:32 am »

I wanna make Greyhawk but as far as I can tell there's no way to manually designate the placement of cities, sites or rivers. Is this true? Doesn't anyone know if there are any workarounds or is it the fact that due to the nature of DF's code it would never be possible?
Logged

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: PerfectWorldDF world creator utility v.1.9
« Reply #777 on: February 22, 2018, 04:13:38 am »

It will never be possible.
Logged

cephalo

  • Bay Watcher
    • View Profile
Re: PerfectWorldDF world creator utility v.1.9
« Reply #778 on: February 22, 2018, 03:43:57 pm »

Hey Cephalo, I dunno if you are still around or maintaining this tool--

But i have an old map from 34.11 that reliably crashes perfect world.  The worldgen file crashes the poor thing instantly.

Spoiler: The worldgen file data (click to show/hide)

It reliably gives this output:

Spoiler: crash info on console (click to show/hide)

The world file *IS* valid, and causes the crash.  Yes, I am using the 34.11 worldgen.xml file.

Are you using the WorldGen.xml file for 34.11?
Logged
PerfectWorldDF World creator utility for Dwarf Fortress.

My latest forts:
Praisegems - Snarlingtool - Walledwar

Enemjay

  • Bay Watcher
    • View Profile
Re: PerfectWorldDF world creator utility v.1.9
« Reply #779 on: February 22, 2018, 05:46:37 pm »

It will never be possible.

Do you know of a Fanasty World Generator where, after establishing a height map and placing key sites, generation of roads and additional minor sites is possible?

Thanks,
Andy
Logged
Pages: 1 ... 50 51 [52] 53 54