HnH Cartographer - app to create local maps

Forum for alternative clients, mods & discussions on the same.

Moderator: Phades

HnH Cartographer - app to create local maps

Postby Leny-m » Thu Dec 22, 2011 7:31 pm

Video tutorial on how to use HnHCartographer: http://youtu.be/Ac3Ccs8gmTk

HnH Cartographer

HnH Cartographer is a tool used to create maps out of local map files in map, cave and simplemap folders.

How does it work?

The application searches through the map, cave and simplemap folders for files that contain map data. It connects them together into local maps (1 folder in map/cave/simplemap folder = 1 local map). And if two different local maps are similar (contains at least 1 tile with 100 % match) it combines them together into one map. It also cleans all the unnecessary data (folders and files) and it preserves the date informations on tile files so at the end you end up with folders containing the valuable tile data with original dates and with a folder containing the created maps.

Example:

I haven't been playing much lately and all my stuff is most likely destroyed and animals killed so I feel like I can safely share one of my smaller maps with you. It is a map created out of simplemap + cave files and enhanced with a photoshop (to blend the caves in and to label points of interest).

Image

direct link: http://i.imgur.com/z6YsF.jpg





___________Links to current version________________

link1: http://goo.gl/MZM6A
link2: http://uloz.to/xWgfqMP/hnhcartographer3-jar
link3: http://www.sendspace.com/file/rc8sq5

source: http://www.sendspace.com/file/xdeemq
- created in NetBeans
______________________________________________

last update: 2012/05/11

changes:

* commented all the code
* cleaned up the code
* tile files are no longer copied but moved
* only files containing "tile" and ".png" in their name are considered tile files




.
Last edited by Leny-m on Fri May 11, 2012 9:20 pm, edited 14 times in total.
Image Image Image Image Image
Leny
User avatar
Leny-m
 
Posts: 109
Joined: Sat Dec 17, 2011 8:04 pm

Re: HnH Cartographer - app to create local maps

Postby mobiuseve » Fri Dec 23, 2011 8:12 am

i know where i am, but i wouldnt mind the app
mobiuseve
 
Posts: 55
Joined: Thu Dec 15, 2011 4:21 am

Re: HnH Cartographer - app to create local maps

Postby mvgulik » Fri Dec 23, 2011 12:28 pm

Leny-m wrote:... creates a local map for each subfolder (each session of the Ender client I presume) ...

A sub folder in the main 'Map' is not a Ender session ... unless something changed I'm not aware of.
Your better of extending you code to merging all sub-folder images files. (at least the one that Can be merged.)
(There is already a way to view all the map images in a sub-Map folder with a map-viewing html file.)

Not sure if there is already something like this for Linux and Mac user. But a Java app would fix that.
mvgulik
 
Posts: 3752
Joined: Fri May 21, 2010 2:29 am

Re: HnH Cartographer - app to create local maps

Postby borka » Fri Dec 23, 2011 11:49 pm

If this app doesn't need a viewer or browser it comes in handy - i'd like to check it out...

Even besides using mapmerge and tilezoomcreator it'd be nice to use it...
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: HnH Cartographer - app to create local maps

Postby Leny-m » Sat Dec 24, 2011 1:44 am

I have edited my first post and added link to the app ;-)
Image Image Image Image Image
Leny
User avatar
Leny-m
 
Posts: 109
Joined: Sat Dec 17, 2011 8:04 pm

Re: HnH Cartographer - app to create local maps

Postby Leny-m » Wed Dec 28, 2011 3:40 am

I still have an urge to have my own map. Algeralith's map is laggy and using it as local map is kinda overkill. So I put another thought into my cartographer and came up with some improvements which could enable me to manualy filter my map folder (delete previous local maps I will no longer need) and kinda start mapping out the whole area around my current base.

At this point I am able to dig out whole local maps from map folder. But I can't quite put them together. That's what I want to change. I want to figure out some responsible way of comparing single tiles and figuring out how to put more local maps together. Plus I want the final map be filled with the most recent data (updated tiles) because as you progress through the game, your surroundings change.

I'll work on that in my free time between exams and my schoolwork.
Image Image Image Image Image
Leny
User avatar
Leny-m
 
Posts: 109
Joined: Sat Dec 17, 2011 8:04 pm

Re: HnH Cartographer - app to create local maps

Postby Leny-m » Sun Mar 04, 2012 12:35 pm

Found an old image of some random area mapped by the cartographer

Image

Works for simplemap and cave as well.
Image Image Image Image Image
Leny
User avatar
Leny-m
 
Posts: 109
Joined: Sat Dec 17, 2011 8:04 pm

Re: HnH Cartographer - app to create local maps

Postby Archer » Sun Mar 04, 2012 10:13 pm

Link is dead, can anyone re-upload this?
Archer
 
Posts: 8
Joined: Mon Jan 10, 2011 1:43 pm

Re: HnH Cartographer - app to create local maps

Postby Leny-m » Sun Mar 04, 2012 10:45 pm

I've finished the third re-work of this app.

Just put it into the folder where your cave, simplemap and map folders are (run.bat is there as well). Run it and wait. It might even take few minutes if you got a lot of data.

changelog:

* searches through all three map folders (map, cave, simplemap)
* creates dump folder to store the images
* tries to combine local maps into bigger maps
* deletes unnecessary data
* enables further extensions of the maps by storing the important data inside the map folders (= stores the combined maps as tiles)

I didn't have much data to test it out but so far it worked like a charm (4 cave maps, 5 simplemaps each forged perfectly into one). Currently uploaded on my webserver. Might not be accessible from all countries, will try to share it somewhere else.

link1: http://goo.gl/MZM6A
link2: http://uloz.to/xMsWoBW/hnhcartographer3-jar
link3: http://www.sendspace.com/file/eab7zo
Image Image Image Image Image
Leny
User avatar
Leny-m
 
Posts: 109
Joined: Sat Dec 17, 2011 8:04 pm

Re: HnH Cartographer - app to create local maps

Postby Leny-m » Sat Mar 10, 2012 12:53 pm

I've recently mapped nearly a whole SG, the app works really good. Map data from Cartographer + Photoshop + brain can put together quite nice things.

The only disadvantage is that you need to know how to use the app. Cleaning the map folder regularly and leaving only the working data there. It is super easy to collect over 1 k tiles into one folder with Cartographer but that's also a problem as when you have some old data there the app still tries to compare the maps with each other and find matches hence 1 k times the number of other tiles times 1 k for comparison between 2 tiles (100 x 100 points must match).

I still can't share any of my maps as they are pretty much private, but I can say that people seem to like my maps ^^

I will continue developing this app* privately as there are no responses to it at all.

*I might come up with some magic to ease the CPU load
Image Image Image Image Image
Leny
User avatar
Leny-m
 
Posts: 109
Joined: Sat Dec 17, 2011 8:04 pm

Next

Return to The Wizards' Tower

Who is online

Users browsing this forum: No registered users and 1 guest