Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 24 25 [26] 27 28 ... 30

Author Topic: IsoWorld - An Isometric worldmap viewer: Now at version 2.1! New map names!  (Read 396970 times)

Nopenope

  • Bay Watcher
    • View Profile
Re: IsoWorld - And Isometric worldmap viewer: Now at version 2.0! Detaile maps!
« Reply #375 on: September 11, 2014, 05:36:47 pm »

Linux Mint 17 Qiana x86_64 (3.13.0-35-generic), so basically it's Debian-based.

In any case, rebuilding everything from DFHack with the -m32 flag doesn't seem to change anything. I think a tutorial on building isoworld for Linux (or binaries - bay12 utilities are often rather short on binaries in the Linux department) would be very useful; surely there must be other Linux users who'd like to run this neat utility.
Logged

Nopenope

  • Bay Watcher
    • View Profile
Re: IsoWorld - And Isometric worldmap viewer: Now at version 2.0! Detaile maps!
« Reply #376 on: September 18, 2014, 06:10:35 pm »

Here's a coredump:
Code: [Select]
Reading symbols from ./hack/isoworld...(no debugging symbols found)...done.
[New LWP 5605]
[New LWP 5606]
[New LWP 5607]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./isoworld/isoworld'.
Program terminated with signal SIGABRT, Aborted.
#0  0xf776c430 in __kernel_vsyscall ()

#0  0xf7728430 in __kernel_vsyscall ()
#1  0xf7291577 in raise () from /lib/i386-linux-gnu/libc.so.6
#2  0xf72949a3 in abort () from /lib/i386-linux-gnu/libc.so.6
#3  0xf72cc6e3 in ?? () from /lib/i386-linux-gnu/libc.so.6
#4  0xf72d6bca in ?? () from /lib/i386-linux-gnu/libc.so.6
#5  0xf72d783d in ?? () from /lib/i386-linux-gnu/libc.so.6
#6  0xf74c11e8 in operator delete(void*) ()
   from /usr/lib/i386-linux-gnu/libstdc++.so.6
#7  0x080bbbf9 in __gnu_cxx::new_allocator<agui::Widget*>::deallocate(agui::Widget**, unsigned int) ()
#8  0x080c7df9 in std::_Deque_base<agui::Widget*, std::allocator<agui::Widget*> >::_M_deallocate_node(agui::Widget**) ()
#9  0x080c6d43 in std::_Deque_base<agui::Widget*, std::allocator<agui::Widget*> >::_M_destroy_nodes(agui::Widget***, agui::Widget***) ()
#10 0x080c5bfe in std::_Deque_base<agui::Widget*, std::allocator<agui::Widget*> >::~_Deque_base() ()
#11 0x080c5490 in std::deque<agui::Widget*, std::allocator<agui::Widget*> >::~deque() ()
#12 0x080c046a in agui::Gui::Gui() ()
#13 0x0809741f in initializeAgui() ()
#14 0x08095520 in main ()
« Last Edit: September 19, 2014, 11:02:06 pm by Nopenope »
Logged

majiin

  • Bay Watcher
    • View Profile
Re: IsoWorld - An Isometric worldmap viewer: Now at version 2.1! New map names!
« Reply #377 on: September 21, 2014, 05:32:57 pm »

Sorry for the delay, I was quite busy for some time.

The TileStitcher will be released on tuesday. I didn't have the time to refine it and add more stuff (like configuration file) - will come later - but hey it works! (at least on my test world). TileStitcher is purely console/command-line based app (no gui), but I tried to make it as simple in use as possible.
I just need to add help usage + some sort of documentation and cleanup the code.

This will be the first time I'll release my own code to the public so I'm quite nervous  :-\
I have a question, should I announce it in this thread (TileStitcher purely relies on IsoWorld), or create a new one?

 
« Last Edit: September 21, 2014, 07:05:26 pm by majiin »
Logged

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: IsoWorld - An Isometric worldmap viewer: Now at version 2.1! New map names!
« Reply #378 on: September 21, 2014, 11:20:56 pm »

In this thread is fine.

Also, I could have sworn I announced the update I made.
Logged

majiin

  • Bay Watcher
    • View Profile
Re: IsoWorld - An Isometric worldmap viewer: Now at version 2.1! New map names!
« Reply #379 on: September 24, 2014, 03:25:38 pm »

Ok here is the TileStitcher :)

TileStitcher combines tiles produced by IsoWorld into one image.

I'm not an experienced programmer and this most likely could've been done better, but here it is (there are some bugs for sure):

Code: [Select]
usage: TileStitcher.exe [options]


  -a, --noalpha           Don't use alpha channel for output (reduces memory usage).
  -g, --grayscale         Use grayscale for output (reduces memory usage even more).
  -i, --input DIRECTORY   Change tiles directory (default: isoworld).
  -o, --output FILENAME   Change output filename (default: output.png).
  -s, --areasize SIZE     Area to stitch in region units (default: 17).
  -x, --offsetx OFFSET    Horizontal offset of the area in region units (default: 0).
  -y, --offsety OFFSET    Vertical offset of the area in region units (default: 0).
  -h, --help              Displays this text.

   Copy the executable to where isoworld tiles subdirectory exists (or use -i option to choose different location). By default program tries to stitch pocket size world (17x17) into RGBA png (needs about 1.3GB RAM for this), disabling alpha channel and/or enabling grayscale greatly reduces memory usage.

   Currently I don't have tools needed to create linux binaries that would work on all distributions (tried crossdev and failed). But compiling process is very simple, you just need to have gcc, cmake and libpng/libpngdev packages installed and do this:
Code: [Select]
cmake .
make
and done.

   The windows binaries are much slower than linux probably because I compiled them in linux :) Maybe someone could compile it in windows for better performance.

Windows binaries:
http://www.mediafire.com/download/hnhoz1s19qin5z9/TileStitcher32.zip
http://www.mediafire.com/download/gpadsbf7ua5jgsg/TileStitcher64.zip

Source (tar.gz and zip)
http://www.mediafire.com/download/v6kh912cn1mwdpl/TileStitcher_source.tar.gz
http://www.mediafire.com/download/a3rckjqyy0f0d5f/TileStitcher_source.zip

Enjoy!
« Last Edit: September 24, 2014, 05:25:57 pm by majiin »
Logged

Megaman_zx

  • Bay Watcher
  • or megadorf.....megaelf?
    • View Profile
Re: IsoWorld - An Isometric worldmap viewer: Now at version 2.1! New map names!
« Reply #380 on: September 25, 2014, 04:09:40 pm »

isoworld is notoriously bad with tutorials, so i may be doing this wrong but when i ran it it said 0 tiles found
Logged
Tales of the Third Age, 34.11 rp stories from Genesis Reborn

“Name none of the fallen, for they stood in our place. And stand there still in each moment of our lives. Let my death hold no glory, and let me die forgotten and unknown. Let it not be said that I was one among the dead to accuse the living.”

-Deadhouse Gates (Book 2 in the Malazan Book of the Fallen) by Steven Erikson

majiin

  • Bay Watcher
    • View Profile
Re: IsoWorld - An Isometric worldmap viewer: Now at version 2.1! New map names!
« Reply #381 on: September 26, 2014, 07:36:14 pm »

isoworld is notoriously bad with tutorials, so i may be doing this wrong but when i ran it it said 0 tiles found
I am not IsoWorld creator if that's what you're implying :) You need to place TileStitcher executable where subdirectory containing  isoWorld oversized tiles is (i.e. ./dwarf_fortress/data/save/regionX).
« Last Edit: September 27, 2014, 05:38:37 am by majiin »
Logged

majiin

  • Bay Watcher
    • View Profile
Re: IsoWorld - An Isometric worldmap viewer: Now at version 2.1! New map names!
« Reply #382 on: September 29, 2014, 05:59:17 pm »

I'm rewriting TileStitcher in C++ and adding friendly graphical interface to it (Qt) (learning alot in the process), this time I'll create separate forum thread for finished product to avoid confusion. No ETA, but Qt is very well documented, so far so good ;)
Logged

lowbart

  • Bay Watcher
    • View Profile
Re: IsoWorld - An Isometric worldmap viewer: Now at version 2.1! New map names!
« Reply #383 on: October 05, 2014, 08:45:33 pm »

Is it possible to make it so that it doesn't try to allocate the huge amount of memory all at once, and instead do it in bite-size chunks (so to speak)?
Logged
"Are you there, gods? It's me, Mistêm."
Quote from: Boatmurdered
Guerilla Burialgears absently tucks the child's rock into his pack and turns to leave for good; his head hung low. His words trail behind him as he disappears over the ridge. It is a haunting whisper, quickly stolen away by the wind: "All burn..."

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: IsoWorld - An Isometric worldmap viewer: Now at version 2.1! New map names!
« Reply #384 on: October 05, 2014, 09:20:36 pm »

It's very possible. I just haven't gotten time to do it yet.
Logged

int_ua

  • Bay Watcher
    • View Profile
Re: IsoWorld - And Isometric worldmap viewer: Now at version 2.0! Detaile maps!
« Reply #385 on: October 11, 2014, 10:26:23 am »

If anyone wants, I will make a step-by-step tutorial how I managed to compile a working dfhack+isoworld on Linux Gentoo ~AMD64 with 64bit gcc (it will be different on other distros but still may help)
Please.
Also, a link to the source in the first post would be nice, wouldn't it, Japa? Thanks.  :)
Logged

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: IsoWorld - And Isometric worldmap viewer: Now at version 2.0! Detaile maps!
« Reply #386 on: October 12, 2014, 01:25:59 am »

If anyone wants, I will make a step-by-step tutorial how I managed to compile a working dfhack+isoworld on Linux Gentoo ~AMD64 with 64bit gcc (it will be different on other distros but still may help)
Please.
Also, a link to the source in the first post would be nice, wouldn't it, Japa? Thanks.  :)

Done.

Dunno why it wasnt there before.
Logged

int_ua

  • Bay Watcher
    • View Profile
Re: IsoWorld - An Isometric worldmap viewer: Now at version 2.1! New map names!
« Reply #387 on: November 20, 2014, 09:57:53 am »

Successful building on Kubuntu 14.10 x64
dfhack 0.40.16-r1
plugins/isoworld replaced with code from https://github.com/JapaMala/isoworld
plugins/isoworld/agui folder replaced with the link to https://github.com/jmasterx/Agui clone,
manual method:
Spoiler (click to show/hide)

And now I'll try to reproduce it in
a single script.
Spoiler (click to show/hide)

Screenshot:
Spoiler (click to show/hide)
« Last Edit: November 21, 2014, 07:09:35 am by int_ua »
Logged

int_ua

  • Bay Watcher
    • View Profile
Re: IsoWorld - An Isometric worldmap viewer: Now at version 2.1! New map names!
« Reply #388 on: November 20, 2014, 08:51:41 pm »

Doesn't it show current map for Fortress mode upon connecting? How do I get the detailed map? Do I still have to go through Legends export?
Logged

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: IsoWorld - An Isometric worldmap viewer: Now at version 2.1! New map names!
« Reply #389 on: November 20, 2014, 09:24:17 pm »

Legends mode export is required, and it will only load your fortress if you load the world from the same save folder.
Logged
Pages: 1 ... 24 25 [26] 27 28 ... 30