View Single Post
07-14-20, 04:21 PM   #5
elcius
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Sep 2011
Posts: 75
The minimap textures are stored in /World/Minimaps/, iirc addons were forbidden from accessing files outside of /Interface in a recent patch, so you'll have to make a copy in the addons folder.

Texture files are separated into folders. prior to the C_Map overhaul, the map folder names were exposed ingame, but i don't think that is the case anymore, so you'll probably need to create a lookup table for converting map ids to folder names.

Inside the map folders you'll find a mess of 256x256 texture fragments, you'll need to piece them together, just place them on a 64x64 grid as they are numbered (there will be lots missing, even on continent maps), tile 32_32 will be the map center (it's also where the 0,0 world position is in-game).

mini-map overlays (indoor stuff, buildings caves, etc) are also available in those folders, but their use is heavily tied to 3D world positioning and information about them has never been exposed to the lua engine.
  Reply With Quote