Modcraft - The community dedicated to quality WoW modding!
Wrath of the Lich King Modding => Resources and Tools => Topic started by: Cromon 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:
(http://puu.sh/54A4U.png)
(http://puu.sh/54A5J.png)
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 (http://www.file-upload.net/download-8237474/MinimapCreate_Mixed_30_10_13_21_47.rar.html" onclick="window.open(this.href);return false;)
Greetings
Cromon
-
Nice work!
-
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.
-
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.
-
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!
-
doesnt work
-
It does work. You did it wrong. So just post some information about your problem or don't post at all.
-
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. :(
-
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
-
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.
-
Any updates on this? The fixes to the inverted terrain, etc?
-
new link please, less german/foreign language that google cant translate would be nice :3
-
Getting crash imidietly after program finds any wmo..any help?
-
Works fine, although an updated tool with support for WMOs would be nice. :p
-
It also renders shadows inverted. Mountains look like pits.
-
Now I know why that screenshot looked so strange to me... ofc, light position in WoW is at north-western corner of map, always. The same applies to sun/moon position.
-
And how do i add it to my minimap?
-
Tool are not work with my custom area - application are closing.
Anybody know a any other tools with same fuctionally?
PS. Win Server 2016 x64. Tried run it in compatibility mode, but got same error.
-
What alwas works:
1. Open 2d paint in Noggit and go to ADT you want to get minimap for.
2. Make a screenshot with grid turned on.
3. Turn grid off without moving camera and make second screenshot.
4. Put those 2 screenshots on each other, cut them along ADT grid lines and save only the one without grid on it.
Very tedious, but works. I haven't find different, correctly working method yet :X.
-
Amaroth, thank. but Noggit's 2d mode view are dont display water. And wmo's. And m2's too.
-
Don't expect any tool to do that. Especially M2 and WMO part. I think Blizzard is not getting that generated, either. Just saying.