WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   General Authoring Discussion (https://www.wowinterface.com/forums/forumdisplay.php?f=20)
-   -   How does Carbonite get it's maps from the game? (https://www.wowinterface.com/forums/showthread.php?t=38756)

nightcracker 02-05-11 03:24 PM

How does Carbonite get it's maps from the game?
 
Hi all!

(yes I've started with WoW and addon development again)

I'm still wondering whether someone knows this. They don't seem to include the maps with the addon, so where does Carbonite get it's textures from?

Or maybe that's the big secret of Carbonite ;)

Thanks!

Ither 02-05-11 04:30 PM

Quote:

Originally Posted by nightcracker (Post 228765)
Hi all!

(yes I've started with WoW and addon development again)

I'm still wondering whether someone knows this. They don't seem to include the maps with the addon, so where does Carbonite get it's textures from?

Or maybe that's the big secret of Carbonite ;)

Thanks!

There is a way to pull the map texture in-game, drawing a blank right now.

I remember when I downloaded the big art pack from Blizzard it was in there.

Nobgul 02-05-11 04:50 PM

Welcome Back =P

nightcracker 02-05-11 04:52 PM

Ty :)

I updated ncExploreMap for cata and I'm now working on fixing ncBiggerMacros :P

Quote:

Originally Posted by StormCalai (Post 228767)
There is a way to pull the map texture in-game, drawing a blank right now.

I remember when I downloaded the big art pack from Blizzard it was in there.

Do you know anything about the path/name of this texture?

Nobgul 02-05-11 05:05 PM

i can extract them for you. There are tons of them though.

Nobgul 02-05-11 05:08 PM

http://wowui.pastey.net/145753

Have a gander. Not sure what to do with those types of extensions but that is the maps for the game.

nightcracker 02-05-11 06:58 PM

Indeed, I don't think we can load that using textures or models can we :eek:

Edit:
Looking in carbonites (obfuscated) code I see this (and similar): "World\\Minimaps\\Kalimdor"

Seems to be a nice hint :)

Edit2:
Found this interesting site: http://homepage.mac.com/prym/partone.html

nightcracker 02-05-11 08:04 PM

Quote:

Originally Posted by Nobgul (Post 228774)
http://wowui.pastey.net/145753

Have a gander. Not sure what to do with those types of extensions but that is the maps for the game.

It seems that you were looking in the wrong place :)

Data\art.mpq
World\Minimaps

Nice MPQ's. Now I can continue with my work :P

nightcracker 02-05-11 08:27 PM

1 Attachment(s)
How did you extract the file names? I have a MPQ editor but I can't seem to get it extract the list of the names only :o

EDIT: Nevermind, found that the file itself contained an index >.<
EDIT2: Added a txt file with all the texture paths of the minimaps, incase anyone was interested.

nightcracker 02-05-11 09:15 PM

Ok, quick dirty random snippet:
Code:

f = CreateFrame("Frame", nil, UIParent)
f:SetPoint("CENTER")
f:SetSize(150, 150)

for x = 29, 35 do
        for y = 37, 43 do
                local tex = f:CreateTexture()
                tex:SetSize(150, 150)
                tex:SetPoint("CENTER", -150 + (x - 32) * 150, 150 - (y - 40) * 150)
                tex:SetTexture(format("World\\Minimaps\\Azeroth\\map%d_%d.blp", x, y))
        end
end

Epic result:


All times are GMT -6. The time now is 07:14 AM.

vBulletin © 2020, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI