WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   Singular map files (https://www.wowinterface.com/forums/showthread.php?t=57477)

kernighan 09-11-19 01:49 PM

Singular map files
 
At some point, Blizzard broke the maps for zones into multiple pieces, forever breaking one of my addons. Does anyone know an easy way to assemble the map files into a single coherent file?

For example, Stormwind City consists of 12 BLP files now instead of a single BLP. I need to merge those into a single item for use in my addon.

Thanks!

Seerah 09-11-19 02:21 PM

Well, you could use BLP2PNG to convert the blp files, then piece them together using your graphics software of choice, and have the addon use that instead.

This would require you to have all of the maps in the addon folder.

Or, you could piece the textures together in the code.

kernighan 09-11-19 03:23 PM

Quote:

Originally Posted by Seerah (Post 333696)
Or, you could piece the textures together in the code.

Do you know of any example code for that? ;)

Seerah 09-11-19 08:57 PM

It would be a little complicated, moreso if different maps are broken into a different number of pieces. I'm not sure of all of the specifics of this problem to give you an example.


All times are GMT -6. The time now is 01:20 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI