Extracting the Minimap

The old Heroes games developed by New World Computing. Please specify which game you are referring to in your post.
Skeeve
Leprechaun
Leprechaun
Posts: 18
Joined: 06 Jan 2006
Location: New Jersey, USA

Extracting the Minimap

Unread postby Skeeve » 03 Jun 2010, 14:56

Does anyone know of a utility that was written to extract the minimap from an HOMM3 map file (.h3m)?

ByteBandit
Archangel
Archangel
Posts: 1448
Joined: 27 Nov 2005

Unread postby ByteBandit » 03 Jun 2010, 15:08

Welcome to the Round Table Skeeve. :)

Minimaps are made, not extracted. Open up the map with the map editor, then press Print Screen. Then open up MS Paint, select paste. Now use the Select button and cut a square where the map appears. Afterwards, "Save As' whatever map you want. Then open the map and trim it up a bit. I generally like to have all my maps sized 144 x 144 pixels. And in JPEG format.
Hope this is what you wanted.

Skeeve
Leprechaun
Leprechaun
Posts: 18
Joined: 06 Jan 2006
Location: New Jersey, USA

Unread postby Skeeve » 03 Jun 2010, 15:37

Thanks - that's what I've been doing, actually. :) I was hoping there was a faster, easier way, since I was planning to do this with hundreds of maps.

ByteBandit
Archangel
Archangel
Posts: 1448
Joined: 27 Nov 2005

Unread postby ByteBandit » 03 Jun 2010, 15:54

It would be nice to have a more simplified way of making them, but if there is a program for this, I am unaware of it. :(

User avatar
Ojcar
Peasant
Peasant
Posts: 66
Joined: 23 May 2010
Location: Spain

Unread postby Ojcar » 03 Jun 2010, 16:34

In the last version of Wog editor you can save or load minimaps. (Right of the minimap screen)

ByteBandit
Archangel
Archangel
Posts: 1448
Joined: 27 Nov 2005

Unread postby ByteBandit » 03 Jun 2010, 16:48

That's right, but to make a minimap from scratch, it still has to be done the good old fashioned way. :)
I thought one may be able to extract an H4 minimap using the H4 util, but I've never done this with it. Is it possible?

User avatar
Angelspit
CH Founder
CH Founder
Posts: 6720
Joined: 18 Nov 2005
Location: Angelspit
Contact:

Unread postby Angelspit » 03 Jun 2010, 17:10

The Heroes Minimapper found here:

http://www.celestialheavens.com/viewpage.php?id=157

... works for Heroes 3 and 4, but not 5. I have been using it for a long time, it even removes the white rectangle from the minimap.
I'm on Steam and Xbox Live.

ByteBandit
Archangel
Archangel
Posts: 1448
Joined: 27 Nov 2005

Unread postby ByteBandit » 03 Jun 2010, 18:12

Niiiice....Thanks AS. I need a program like this for the translation project I'm working on. Thanks a mill ..... :)

Skeeve
Leprechaun
Leprechaun
Posts: 18
Joined: 06 Jan 2006
Location: New Jersey, USA

Unread postby Skeeve » 03 Jun 2010, 19:42

Thanks for that link AS; The minimapper tool is great. Still time consuming for hundreds of maps, but useful nonetheless.

In my search, I found that the .h3m files can be renamed to have the extension .gz which supposedly can be unzipped by winzip. The binary data is then readable from that point - so it's theoretically possible for someone to reconstruct the minimap from that raw data.

I haven't a clue how, but if someone could figure out which data represents terrain, town, dwelling and mines - the minimap could be re-created outside of the HOMM3 environment and if done correctly, you could generate minimaps for every single map file in any given folder in a single execution. I believe I could write such a program myself - but the key is knowing what the data represents.


Return to “Heroes I-IV”

Who is online

Users browsing this forum: No registered users and 33 guests