Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 16 17 [18] 19 20 ... 50

Author Topic: 3Dwarf Visualizer - a tool to view maps in 3D  (Read 250470 times)

Frag_Dad

  • Bay Watcher
    • View Profile
Re: 3Dwarf Visualizer - a tool to view maps in 3D
« Reply #255 on: February 27, 2008, 03:21:00 pm »

Yeah I'm pretty sure we have to wait for an update for 38c   :( I'm hanging out to see my latest fortress in 3D!
Logged
..........., Recruit, has been struck down  x20

Kelwyn

  • Bay Watcher
    • View Profile
Re: 3Dwarf Visualizer - a tool to view maps in 3D
« Reply #256 on: February 28, 2008, 03:58:00 am »

Turns out I've got an old save of my glass tower fortress from the right version - I did edit the texture file a bit...


:)

And in 2d:

Logged
He has admired a fine trap recently.

Patarak

  • Bay Watcher
    • View Profile
Re: 3Dwarf Visualizer - a tool to view maps in 3D
« Reply #257 on: February 28, 2008, 04:32:00 am »

Curses, why had I not seen this sooner?

This sounds really sweet. Unfortunately I don't have any large constructs to show off with it...  :(

Logged

falsedan

  • Bay Watcher
    • View Profile
Re: 3Dwarf Visualizer - a tool to view maps in 3D
« Reply #258 on: February 28, 2008, 03:16:00 pm »

magic numbers for the latest version:
code:
    {
       version => "v0.27.176.38c",
       PE => 0x47C12F36,
       map_loc => 0x014A50A4,
       x_count => 0x014A50BC,
       y_count => 0x014A50C0,
       z_count => 0x014A50C4,
      pe_timestamp_offset => 0x00400100
   },

add this to your map_extract.pl file in the prog directory, just above the bit that goes

code:
);

my $tile_type_offset        = 0x005E;
my $tile_designation_offset = 0x0260;
my $tile_occupancy_offset   = 0x0660;


Logged

Frag_Dad

  • Bay Watcher
    • View Profile
Re: 3Dwarf Visualizer - a tool to view maps in 3D
« Reply #259 on: February 28, 2008, 07:00:00 pm »

Hmm, that didn't work for me   :(  No idea why, I was careful to preserve syntax and what not.
Logged
..........., Recruit, has been struck down  x20

lumin

  • Bay Watcher
    • View Profile
Re: 3Dwarf Visualizer - a tool to view maps in 3D
« Reply #260 on: February 28, 2008, 08:54:00 pm »

I used 3Dwarf a few versions ago and it ran fine, but in the latest version is it just me or is this thing terribly slow?  It brings my PC to it's knees.  I am running on a Athlon XP 4200+, Radeon x850xt, 1 GB Ram.  What gives?
Logged

Frag_Dad

  • Bay Watcher
    • View Profile
Re: 3Dwarf Visualizer - a tool to view maps in 3D
« Reply #261 on: February 28, 2008, 09:34:00 pm »

Are you sure you're not running anything else (or have paused DF?). I've got a worse computer to you, and the latest version ran OK. Or is there an exceptional amount of scenery on your map?
Logged
..........., Recruit, has been struck down  x20

Nate879

  • Bay Watcher
    • View Profile
Re: 3Dwarf Visualizer - a tool to view maps in 3D
« Reply #262 on: February 28, 2008, 09:40:00 pm »

Why isn't the code for 38c working?
Logged
There are 10 types of people in the world: those who understand binary and those who don''t.<P>The ultimate fate of the universe.

herrbdog

  • Bay Watcher
    • View Profile
Re: 3Dwarf Visualizer - a tool to view maps in 3D
« Reply #263 on: February 28, 2008, 10:43:00 pm »

Yeah, I can't get it to work with the above code snippet either =[
Logged

PTTG??

  • Bay Watcher
  • Kringrus! Babak crulurg tingra!
    • View Profile
    • http://www.nowherepublishing.com
Re: 3Dwarf Visualizer - a tool to view maps in 3D
« Reply #264 on: February 28, 2008, 11:43:00 pm »

Yeah, seems like you want to put together a new release version for the new DF- if only to avoid "how do I install this patch" questions. Speaking of which, how do I install this patch?
Logged
A thousand million pool balls made from precious metals, covered in beef stock.

sinoth

  • Bay Watcher
    • View Profile
    • http://sinoth.net
Re: 3Dwarf Visualizer - a tool to view maps in 3D
« Reply #265 on: February 29, 2008, 01:14:00 am »

I'll put together another package once 38c is figured out.  I can't get the code above to work either, so we'll have to wait until we get correct addresses.  I wish we could have a better solution to automatically update the script, but with releases every week it's hard to keep up.
Logged
[i do not regret]

falsedan

  • Bay Watcher
    • View Profile
Re: 3Dwarf Visualizer - a tool to view maps in 3D
« Reply #266 on: February 29, 2008, 03:19:00 am »

hmm! I've only gotten those memory locations to work on my 64-bit computer, I'll give them a whirl on vista & XP 32-bit
Logged

falsedan

  • Bay Watcher
    • View Profile
Re: 3Dwarf Visualizer - a tool to view maps in 3D
« Reply #267 on: February 29, 2008, 04:05:00 am »

I can extract map data just fine, using a fresh install of the original 3Dwarf  with the updated perl scripts.

Maybe it is the size of the map/world? I am extracting a 3x3 in a 257x17 world. Let me gen up some new worlds and test them.

Logged

falsedan

  • Bay Watcher
    • View Profile
Re: 3Dwarf Visualizer - a tool to view maps in 3D
« Reply #268 on: February 29, 2008, 05:22:00 am »

oh snap, I was using the Mike Mayday version, which has different offsets.
try
code:
    {
       version => "v0.27.176.38c",
       PE => 0x47C29583,
       map_loc => 0x014A60A4,
       x_count => 0x014A60BC,
       y_count => 0x014A60C0,
       z_count => 0x014A60C4,
      pe_timestamp_offset => 0x00400100
   },

Logged

Frag_Dad

  • Bay Watcher
    • View Profile
Re: 3Dwarf Visualizer - a tool to view maps in 3D
« Reply #269 on: February 29, 2008, 05:50:00 am »

Awesome, thanks   :D
Logged
..........., Recruit, has been struck down  x20
Pages: 1 ... 16 17 [18] 19 20 ... 50