Modcraft - The community dedicated to quality WoW modding!

Content creation => Texturing and 2D Art => Tutorials => Topic started by: Steff on August 17, 2010, 09:58:40 am

Title: [TUTORIAL] Minimaps
Post by: Steff on August 17, 2010, 09:58:40 am
Minimaps are small images for every ADT. I will only describe the tech stuff not the creative :)


First create a new image with a resolution of 256 x 256 pixel.
Save and convert it with a BLP converter like BLPConverter6 from the Tools section.

Name it like your map plus the ADT number behind.
Like:

MyMap2345.blp for the ADT MyMap_23_45.adt

The copy this file into your patch folder in the directory

TexturesMinimap

Extract the file md5translate.trs from the MPQs to the same directory and open it up with a editor.

To find this file read tip 4 in this tut http://modcraft.io/viewtopic.php?f=26&t=98

The file has many lines so the basic windows notepad will take some time to load it.
In this file add a new line for your map. Insert it in the alphabetic right position to find it again.

dir: MyMap

It should come direct before dir: NetherstormBG with this name.

Than you must add one line for every ADT that connects the ADT and your BLP.

MyMapmap23_45.blp            MyMap2345.blp

The 2 lines MUST be separated with a TAB and NOT with a SPACE!
In the first line you have your map-name followed by a backslash (  ) and the word map.
Then add the ADT numbers separated by an underscore.
Followed by .blp. Don´t ask why BLP and not ADT,  just do it and don´t think about it again ;)

Then a TAB followed by the name of your minimap BLP file.

Save the file and put all together in an MPQ and test it in-game. Fly to the ADT you have added your minimap and you should see it.

(http://i33.tinypic.com/2whmhk0.jpg)
Title: Re: Minimap Tutorial
Post by: Hypnotoad on August 20, 2010, 05:29:52 pm
Thanks for posting this here Steff. I, for one, knew little about this. But then again, I couldn't be assed to learn something like this. haha.
Title: Re: Minimap Tutorial
Post by: Nevoras on July 17, 2011, 02:12:46 pm
Im having a little problem.

Im making all same like written but got no minimap ^^

Is there something else to change in the DB or is all clientside ?

Could it be a problem with name, cause my map adts are like this

My - Nice Map_10_10.adt   ->  

md5translate.trs:
My - Nice MapMy - Nice Map10_10.blp   [tab]   Mymap1010.blp

(tryed it also with My - Nice Map_10_10.blp
and "My - Nice Map10_10.blp"
and "My - Nice Map_10_10.blp")

have now renamed the minimap pics to Mymap1010.blp  hope there is no diffrence  

Could i use   "   to make it work anyway ? is the mistake there ? ^^ im helpless x_X

All is now in the Patch from the new kontinent -   patch-5.MPQtexturesMinimap...  

some ideas ?
Title: Re: Minimap Tutorial
Post by: Eluo on July 17, 2011, 07:54:05 pm
Hint: Avoid using space and - or _ in your instance names,

Now to your problem:
It always is instancenamemapadtcoords.blp
so now you should have this in your translate file:
[spoiler:1bqzcxd5]dir: My - Nice Map
My - Nice Mapmap10_10.blp   [tab] Mymap1010.blp[/spoiler:1bqzcxd5]
But as i said avoid using space - and _ in your map names. It just makes everything more difficult^^

It is really hard to understand this via just text. The best thing as you always can do is to have a close look how blizz did it and reproduce the same method.

In genereal the translate file conatins this:
[spoiler:1bqzcxd5]dir: instancename
inastancenamemapX_Y.blp   [tab] theblpforthatadt.blp[/spoiler:1bqzcxd5]

The translated blp file basicly can have any name, but it is wise to have a system in your naming process.
Title: Re: [TUTORIAL] Minimaps
Post by: darkares on July 18, 2012, 07:36:18 pm
Im having a little problem.

Im making all this but i have no minimap :/ where is my fail ?

"dir: gminsel
gminselmap0_0.blp   gminsel0000.blp
gminselmap0_1.blp   gminsel0001.blp
gminselmap1_0.blp   gminsel0100.blp
gminselmap1_1.blp   gminsel0101.blp"
Title: Re: [TUTORIAL] Minimaps
Post by: Steff on July 23, 2012, 03:20:07 am
The 2 lines MUST be separated with a TAB and NOT with a SPACE!

Did you do this?
Title: Re: [TUTORIAL] Minimaps
Post by: darkares on July 23, 2012, 06:28:07 pm
yes i do this.
Title: Re: [TUTORIAL] Minimaps
Post by: Steff on July 24, 2012, 03:29:19 pm
Your map is called gminsel
You pack everything into a MPQ.
The path inside the MPQ is > TexturesMinimap
You putt all your minimpa.blp and the md5translate.trs in this folder
Title: Re: [TUTORIAL] Minimaps
Post by: darkares on July 25, 2012, 10:43:39 am
I've done everything but I can not see a minimap
It could perhaps be due to the map name for the ADTS 0_0?
Title: Re: [TUTORIAL] Minimaps
Post by: Steff on July 27, 2012, 08:40:48 am
No that cant be the problem. Try to copy some existing minimaps over yours to keep clear that not the minimap tiles are the problem. If it dont work then we have to have a look at you patch.
Title: Re: [TUTORIAL] Minimaps
Post by: Guest on October 21, 2012, 05:14:49 am
can you give us  download resources which the tutorial mentioned (. Mpq), because we seem to be having a problem, minimap can not be displayed?
Title: Re: [TUTORIAL] Minimaps
Post by: Steff on October 21, 2012, 11:28:37 am
But you need your own minimaps files and the entrys in the translation files must be set to your maps. Perhaps you can give me your files and I can have a look.
Title: Re: [TUTORIAL] Minimaps
Post by: fearless_wind on January 20, 2013, 03:22:31 pm
I made my own BLP files 256x256, named them.
in md5translate.trs I inserted:

dir: Naga
Nagamap1_1.blp   Naga11.blp
Nagamap1_2.blp   Naga12.blp
Nagamap2_1.blp   Naga21.blp
Nagamap2_2.blp   Naga22.blp

I used TAB, as Steff said. But I can't see minimap in game. Minimap is transparent, not green, so it  can't be caused by blps. I think something wrong in md5translate.trs Can anybody help me?
Title: Re: [TUTORIAL] Minimaps
Post by: Ascathos on January 20, 2013, 03:40:25 pm
Quote from: "fearless_wind"
I made my own BLP files 256x256, named them.
in md5translate.trs I inserted:

dir: Naga
Nagamap1_1.blp   Naga11.blp
Nagamap1_2.blp   Naga12.blp
Nagamap2_1.blp   Naga21.blp
Nagamap2_2.blp   Naga22.blp

I used TAB, as Steff said. But I can't see minimap in game. Minimap is transparent, not green, so it  can't be caused by blps. I think something wrong in md5translate.trs Can anybody help me?
Rename "mapx_x" to Naga.
Title: Re: [TUTORIAL] Minimaps
Post by: fearless_wind on January 20, 2013, 03:53:23 pm
Just compare with Blizzard's lines. The have such fromat: MapNamemap_x_y.blp
Title: Re: [TUTORIAL] Minimaps
Post by: ferreon on January 21, 2013, 05:46:32 pm
Its normal that when u enter in a wmo (which have a blizz wmo minimap) and exit the minimap dissapears?

Thanks.
Title: Re: [TUTORIAL] Minimaps
Post by: Steff on January 21, 2013, 09:36:57 pm
Yes because WMOs have own minimaps.
Title: Re: [TUTORIAL] Minimaps
Post by: fearless_wind on January 22, 2013, 07:26:23 am
Steff, do you know what I've done wrong? Please read some posts above.
Title: Re: [TUTORIAL] Minimaps
Post by: ferreon on January 30, 2013, 07:00:53 pm
Quote from: "Steff"
Yes because WMOs have own minimaps.

Any solution to fix this problem?
Title: Re: [TUTORIAL] Minimaps
Post by: Growy_13 on January 30, 2013, 11:05:22 pm
You have not expressed well, your problem is that when you enter and leave Wmo, the minimap disappears, this is problem of map dimensions, usually occurs when a fault map with 1 adt.

The solution is simple, add more adts, because if you noticed your Blizzard maps are not only free ADT.

 I really do not know if this is the real problem, but my I solved withthis.

Sorry my english.
Graham,
Title: Re: [TUTORIAL] Minimaps
Post by: sandyqin on March 22, 2013, 04:16:55 am
I have occured some problems
I can't see minimaps in game.
In md5translate.trs
after MonasteryInstancesmap33_32.blp   e494ee0211d618090b1e1560d308319f.blp
before dir: NetherstormBG
I [enter] and add mymap
dir:[space]Shihuang[enter]
Shihuangmap3_3.blp[tab]0932c2e7b673abc321e2d672f16f5a3b.blp[enter]
Shihuangmap3_4.blp[tab]15b534f2f6588f02d20f5e065fadae12.blp[enter]
Shihuangmap3_5.blp[tab]fa275b79ab344e72cdc590357f24e78c.blp[enter]
Shihuangmap4_3.blp[tab]fa275b79ab344e72cdc590357f24e78c.blp[enter]
Shihuangmap4_4.blp[tab]fa275b79ab344e72cdc590357f24e78c.blp[enter]
Shihuangmap4_5.blp[tab]fa275b79ab344e72cdc590357f24e78c.blp[enter]
Shihuangmap5_3.blp[tab]fa275b79ab344e72cdc590357f24e78c.blp[enter]
Shihuangmap5_4.blp[tab]fa275b79ab344e72cdc590357f24e78c.blp[enter]
Shihuangmap5_5.blp[tab]fa275b79ab344e72cdc590357f24e78c.blp[enter]

why i can't see minimap in game?please help me!
Title: Re: [TUTORIAL] Minimaps
Post by: Steff on March 22, 2013, 08:48:26 am
You add the blps and the translate to the right folders in patch?
Title: Re: [TUTORIAL] Minimaps
Post by: sandyqin on March 22, 2013, 11:47:58 am
Quote from: "Steff"
You add the blps and the translate to the right folders in patch?
I put them in patch-zhtw-9.MPQ  like it:
TexturesMinimap……………….blp
TexturesMinimapmd5translate.trs

is it right?
Title: Re: [TUTORIAL] Minimaps
Post by: Steff on March 22, 2013, 01:49:15 pm
and its in your zhtw subfolder?
Title: Re: [TUTORIAL] Minimaps
Post by: stan84 on March 22, 2013, 03:05:25 pm
Thanks again for great tutorial Steff, as always its very useful .
Title: Re: [TUTORIAL] Minimaps
Post by: sandyqin on March 22, 2013, 03:39:18 pm
Quote from: "Steff"
and its in your zhtw subfolder?
yes! in datazhtwpatch-zhtw-9.MPQ
Title: Re: [TUTORIAL] Minimaps
Post by: Steff on March 23, 2013, 10:30:07 am
Funny :)

Posted: Tue Aug 17, 2010 8:58 am
Title: Re: [TUTORIAL] Minimaps
Post by: lougham on June 04, 2013, 11:59:47 am
quick question, im in the process of adding in the lines into the md5translate
my zone is called "The Final Frontier" so when i type it into the file, do i use spaces?

examples:

dir: The Final Frontier
The Final Frontier/The Final Frontier_5_5.blp *tab* The Final Frontier0505.blp
---or---
dir: TheFinalFrontier
TheFinalFrontier/TheFinalFrontier_5_5.blp *tab* TheFinalFrontier0505.blp

spaces or no spaces?
Title: Re: [TUTORIAL] Minimaps
Post by: Steff on June 04, 2013, 01:21:10 pm
You should not use spaces for intarnal name at all.
Rename your map and kill spaces. Internal and external name can be different.
Like Azeroth > The eastern Kingdoms.
Title: Re: [TUTORIAL] Minimaps
Post by: lougham on June 04, 2013, 03:31:42 pm
which names are considered internal, the ADTs and BLPS? or is it lines in the .dbc files?
Title: Re: [TUTORIAL] Minimaps
Post by: Steff on June 04, 2013, 04:41:39 pm
Map folder nameandfirst entry in map. Dbc and corresponding in area table.
Title: Re: [TUTORIAL] Minimaps
Post by: björn on August 03, 2013, 05:07:49 am
Heya, so after several hours of trial and error I managed to get this to work. By making a new ADT, which had an ADT number greater than 10. So for example in md5translate.trs:

"Kelagonmap11_11.blp      Kelagon1111.blp"  works fine, but if I use an ADT such as this one:
"Kelagonmap5_5.blp      Kelagon55.blp" it does not work, I've tried putting 05 instead, but without success.

I guess this is why blizzards adt numbers are all greater than 10, if that makes any sense. Anyways, does anyone know if there is a fix for this? If not, is it possible to move the content from one adt to another?

Also, on the ones that do work, the minimap dissapears randomly sometimes and almost always when I use the zoom buttons on the minimap in-game.

Thanks in advance!
Title: Re: [TUTORIAL] Minimaps
Post by: schlumpf on August 03, 2013, 11:57:40 am
Quote from: "björn"
I guess this is why blizzards adt numbers are all greater than 10, if that makes any sense.
That's not the case. There should be minimaps for less. At least I remember development being at 0_0 as well.
Title: Re: [TUTORIAL] Minimaps
Post by: Steff on August 03, 2013, 03:47:21 pm
Perhaps 05_05 ? Never tried but will need to do it again in nextdays for Maruum.
Title: Re: [TUTORIAL] Minimaps
Post by: björn on August 03, 2013, 11:26:18 pm
Quote from: "Steff"
Perhaps 05_05 ? Never tried but will need to do it again in nextdays for Maruum.

I've tried putting 05_05 but without success.

Could someone try and have a look at this?
Title: Re: [TUTORIAL] Minimaps
Post by: PhilipTNG on August 31, 2013, 08:05:26 am
Thankyou for this steff!  so dang useful and was pretty easy to do too!  great guide!
Title: Re: [TUTORIAL] Minimaps
Post by: Steff on September 02, 2013, 02:03:37 am
Thanks :)

I will overwork and integrate it some day in the big startup guide.
Title: Re: [TUTORIAL] Minimaps
Post by: Nekatus on November 30, 2013, 11:25:12 am
So, i try to add minimap but it doesnt work
my area name in the map.dbc is:
Playertreff
in md5translate.trs i wrote
dir: Playertreff
Playertreffmap02_02.blp   6ed71585b2b27d9e575642a090000020.blp
Playertreffmap02_03.blp   6ed71585b2b27d9e575642a090000021.blp
my MPQ structure:
[attachment=0:13kknsgm]Aufzeichnen.JPG[/attachment:13kknsgm]
what im doing wrong? :/
sry for my bad english :o
Title: Re: [TUTORIAL] Minimaps
Post by: Soldan on November 30, 2013, 06:52:41 pm
Make sure it's a tab and not a space.
Title: Re: [TUTORIAL] Minimaps
Post by: Nekatus on November 30, 2013, 07:50:59 pm
yes, i use TAB. ^^
Title: Re: [TUTORIAL] Minimaps
Post by: Jøk3r on November 30, 2013, 10:31:26 pm
Did you write it just undet NetherstormBG?
Title: Re: [TUTORIAL] Minimaps
Post by: Steff on December 01, 2013, 08:00:45 pm
Why is your BLP shown as warcraft skin file.
You dont need this strange names. Just name them as you like.
Title: Re: [TUTORIAL] Minimaps
Post by: Nekatus on December 02, 2013, 07:44:31 pm
i dont know why they're "warcraft Skin file". Ive converted it with blpconverter6.exe
ohh .. okey ^^
Title: Re: [TUTORIAL] Minimaps
Post by: björn on December 09, 2013, 08:45:24 pm
Quote from: "björn"
Heya, so after several hours of trial and error I managed to get this to work. By making a new ADT, which had an ADT number greater than 10. So for example in md5translate.trs:

"Kelagonmap11_11.blp      Kelagon1111.blp"  works fine, but if I use an ADT such as this one:
"Kelagonmap5_5.blp      Kelagon55.blp" it does not work, I've tried putting 05 instead, but without success.

I guess this is why blizzards adt numbers are all greater than 10, if that makes any sense. Anyways, does anyone know if there is a fix for this? If not, is it possible to move the content from one adt to another?

Also, on the ones that do work, the minimap dissapears randomly sometimes and almost always when I use the zoom buttons on the minimap in-game.

Thanks in advance!

bump
Title: Re: [TUTORIAL] Minimaps
Post by: Steff on December 09, 2013, 09:25:25 pm
To movea map simple:

1. Rename the adts ADT_5_5 to ADT_10_10 and so on.
2. Copy offsetfix and fix.bat and cygwin.dll from adt adder over and run it
3. Recreat the WDT file with taliis.
Title: Re: [TUTORIAL] Minimaps
Post by: Dottore on August 15, 2014, 11:31:52 am
Finally the minimap shows something but my problem is that its green.I thought it was because of RGB so i put the images in indexed but it's still green.
Can you guys help me?
Title: Re: [TUTORIAL] Minimaps
Post by: phantomx on August 16, 2014, 02:40:55 am
Quote from: "Fekete95"
Finally the minimap shows something but my problem is that its green.I thought it was because of RGB so i put the images in indexed but it's still green.
Can you guys help me?


Silly question but did you set the correct resolution/s?
Title: Re: [TUTORIAL] Minimaps
Post by: Dottore on August 16, 2014, 10:38:43 pm
Yes. All images are in 256x256
Title: Re: [TUTORIAL] Minimaps
Post by: Steff on August 20, 2014, 04:37:10 pm
And you used blpconvertor 6 to convert from png to blp.
Title: Re: [TUTORIAL] Minimaps
Post by: Will on October 20, 2014, 01:12:56 pm
some tips:

1. no alpha channel in blps

2. make sure you use blpconverter6 in steff's tools pack to convert to blp

3. if you have adts that are like this; customMap_5_9.adt instead of customMap_05_09.adt, then you will need to type into the .trs file map5_09.blp (Not map5_9.blp or map09_05.blp)
Title: Re: [TUTORIAL] Minimaps
Post by: Steff on October 20, 2014, 10:17:30 pm
map5_09.blp (Not map5_9.blp or map09_05.blp)

This is right ?

Thanks for the hints and sharing them!!!
Title: Re: [TUTORIAL] Minimaps
Post by: Chaya_1987 on July 04, 2016, 01:18:59 pm
Where are my fail?

http://prntscr.com/bollen (http://prntscr.com/bollen" onclick="window.open(this.href);return false;)

(http://image.prntscr.com/image/e03eaf20326f4f23932a0545666878c1.png)
Title: Re: [TUTORIAL] Minimaps
Post by: Dracbane on July 04, 2016, 02:52:46 pm
Quote from: "Chaya_1987"
Where are my fail?

http://prntscr.com/bollen (http://prntscr.com/bollen" onclick="window.open(this.href);return false;)

(http://image.prntscr.com/image/e03eaf20326f4f23932a0545666878c1.png)

I think your problem is this:  In your folder they are named islandgeneric_0_0.blp, in your md5Trs you have islandgeneric0_0.blp so it is probably not finding the files cause the names dont match.
Title: Re: [TUTORIAL] Minimaps
Post by: Skarn on July 06, 2016, 10:16:21 am
Minimaps do not work on ADTs from 0_0 to 10_10. Don't ask why.
Title: Re: [TUTORIAL] Minimaps
Post by: Adspartan on July 06, 2016, 11:07:06 am
Quote from: "Skarn"
Minimaps do not work on ADTs from 0_0 to 10_10. Don't ask why.

They work and it's explained just above how make them work
Title: Re: [TUTORIAL] Minimaps
Post by: Skarn on July 06, 2016, 11:53:45 am
Quote from: "adspartan"
Quote from: "Skarn"
Minimaps do not work on ADTs from 0_0 to 10_10. Don't ask why.

They work and it's explained just above how make them work
ah, I see now. Did not know that.
Title: Re: [TUTORIAL] Minimaps
Post by: schlumpf on July 06, 2016, 01:33:47 pm
If onl,y there was some wiki or alike.

https://wowdev.wiki/index.php?title=TRS ... ldid=21659 (https://wowdev.wiki/index.php?title=TRS&diff=21660&oldid=21659" onclick="window.open(this.href);return false;)
Title: Re: [TUTORIAL] Minimaps
Post by: ModAzuveus on November 09, 2018, 10:53:39 pm
Hello Everyone,

Could someone can tell me where i have wrong please ?

https://imgur.com/a/NH1TYvL

I have follow the rules... but it doesnt works.... why ?

Best Regard.