This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [TOOL] MinimapCreate - Minimap creation for ADT  (Read 8298 times)

Cromon

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 56
    • View Profile
[TOOL] MinimapCreate - Minimap creation for ADT
« on: October 30, 2013, 07:05:48 pm »
Hello

As the title describes the tool i have created allows you to create minimap images for ADT tiles. So far this is just terrain with lighting, wmo and water are to come.

The tool ships with a DLL and a .lib (with header files) so you can use it in your tools as well. Usage is pretty simple ill show that in the end.

So how does it work? You open the GUI, select the path of your 3.3.5a data (!) folder and you are ready to go. You can load a continent (e.g. Kalimdor) and select the tiles youd like. Then you click build and the files are created in the path you've selected as output path.

Images:



To use the DLL:
1. Make sure you have all the header files and the .lib in your code directory
2. #include "MinimapCreate.h"
3. Add MinimapCreate.lib to your linker dependencies
4. To get a std::shared_ptr<IMinimapCreate> you use minimapCreateInit()
5. In the thread you want to create the minimaps (important: Using it in another thread will fail!) call IMinimapCreate::initGraphics
6. Use IMinimapCreate::initFileSystem to give it a IFileHandler.
6.1 You can implement IFileHandler yourself if you have already implemented some sort of file handling OR you can use minimapCreateNewMpqHandler which will instantiate a handler that loads all MPQs in a given path and then returns files from there
7. Use IMinimapCreate::fromHandler to get a HBITMAP with the image

[Important]
First try the exe in the debug folder. If it does not work (dll errors) try the one in the release folder.

Download:
http://www.file-upload.net/download-823 ... 7.rar.html

Greetings
Cromon
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Hanfer

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 143
    • View Profile
Re: [TOOL] MinimapCreate - Minimap creation for ADT
« Reply #1 on: October 31, 2013, 11:56:28 am »
Nice work!
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

fearless_wind

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 349
    • View Profile
    • http://modcraft-rus.ucoz.ru
Re: [TOOL] MinimapCreate - Minimap creation for ADT
« Reply #2 on: October 31, 2013, 12:41:27 pm »
Nice work, Cromon. But it seems that shades are on the wrong side of mountains, so the terrain seems inverted. But anyway it's a great tool, thanks.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Insanity

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 40
    • View Profile
Re: [TOOL] MinimapCreate - Minimap creation for ADT
« Reply #3 on: October 31, 2013, 12:48:25 pm »
Awesome.  I really appreciate this.  Creating minimaps was allows one of those polishing features that I couldn’t quite make the time for.  This tool simplifies that process dramatically.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Jøk3r

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 544
    • View Profile
Re: [TOOL] MinimapCreate - Minimap creation for ADT
« Reply #4 on: November 04, 2013, 11:20:27 pm »
Big thanks from me! Now it is such a easy thing to create minimaps. Only thing to mention is that the terain is inverted as fearless has said. But anyway: Great Tool!
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
I don't like Noggit... I LOVE it :D
If you have any question about Noggit, feel free to contact me. I will give my best to help you (:

thehsvdude

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 136
    • View Profile
Re: [TOOL] MinimapCreate - Minimap creation for ADT
« Reply #5 on: November 22, 2013, 01:22:16 pm »
doesnt work
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Jøk3r

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 544
    • View Profile
Re: [TOOL] MinimapCreate - Minimap creation for ADT
« Reply #6 on: November 22, 2013, 02:36:02 pm »
It does work. You did it wrong. So just post some information about your problem or don't post at all.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
I don't like Noggit... I LOVE it :D
If you have any question about Noggit, feel free to contact me. I will give my best to help you (:

thehsvdude

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 136
    • View Profile
Re: [TOOL] MinimapCreate - Minimap creation for ADT
« Reply #7 on: November 22, 2013, 03:30:13 pm »
Quote from: "Jøk3r"
It does work. You did it wrong. So just post some information about your problem or don't post at all.
i get an error of some sort. its better described if u take a look at the Dump files.
EDIT: after using this tool it corrupted my wow. :(
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

resinate

  • Registred Member
  • Race Changer
  • *****
  • Posts: 25
    • View Profile
Re: [TOOL] MinimapCreate - Minimap creation for ADT
« Reply #8 on: January 08, 2014, 06:52:28 pm »
can u fix this tool, so images arent saved as png but as TGA so we can run them in the TGAtoBLP tools?

or just make it save as BLP
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [TOOL] MinimapCreate - Minimap creation for ADT
« Reply #9 on: January 09, 2014, 12:32:44 am »
And why not use the PNGtoBLP tool as overyone else do :) ?

Better wold be to fixthe inverted ight rendering and that water is mising.
It should render ground, water and WMOs.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Soldan

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 159
    • View Profile
Re: [TOOL] MinimapCreate - Minimap creation for ADT
« Reply #10 on: March 14, 2014, 02:30:18 am »
Any updates on this? The fixes to the inverted terrain, etc?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

shawn

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 11
    • View Profile
Re: [TOOL] MinimapCreate - Minimap creation for ADT
« Reply #11 on: September 01, 2015, 05:37:34 am »
new link please, less german/foreign language that google cant translate would be nice :3
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

madman1851

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 12
    • View Profile
Re: [TOOL] MinimapCreate - Minimap creation for ADT
« Reply #12 on: December 23, 2015, 08:22:59 pm »
Getting crash imidietly after program finds any wmo..any help?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Valkryst

  • Moderators
  • Model Change Addict
  • *****
  • Posts: 224
    • View Profile
    • http://valkryst.com/blog/
Re: [TOOL] MinimapCreate - Minimap creation for ADT
« Reply #13 on: December 23, 2015, 09:49:16 pm »
Works fine, although an updated tool with support for WMOs would be nice. :p
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
MY BLOG IS NOW HERE.

Skarn

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 807
    • View Profile
    • http://skarn-project.net
Re: [TOOL] MinimapCreate - Minimap creation for ADT
« Reply #14 on: December 25, 2015, 08:56:41 pm »
It also renders shadows inverted. Mountains look like pits.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »