Quantcast How does Carbonite get it's maps from the game? - WoWInterface
Thread Tools Display Modes
02-05-11, 03:24 PM   #1
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 716
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!
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
  Reply With Quote
02-05-11, 04:30 PM   #2
Ither
A Firelord
 
Ither's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 496
Originally Posted by nightcracker View Post
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.
__________________
  Reply With Quote
02-05-11, 04:50 PM   #3
Nobgul
A Molten Giant
 
Nobgul's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 693
Welcome Back =P
__________________
[SIGPIC][/SIGPIC]
  Reply With Quote
02-05-11, 04:52 PM   #4
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 716
Ty

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

Originally Posted by StormCalai View Post
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?
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
  Reply With Quote
02-05-11, 05:05 PM   #5
Nobgul
A Molten Giant
 
Nobgul's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 693
i can extract them for you. There are tons of them though.
__________________
[SIGPIC][/SIGPIC]
  Reply With Quote
02-05-11, 05:08 PM   #6
Nobgul
A Molten Giant
 
Nobgul's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 693
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.
__________________
[SIGPIC][/SIGPIC]
  Reply With Quote
02-05-11, 06:58 PM   #7
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 716
Indeed, I don't think we can load that using textures or models can we

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
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.

Last edited by nightcracker : 02-05-11 at 07:04 PM.
  Reply With Quote
02-05-11, 08:04 PM   #8
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 716
Originally Posted by Nobgul View Post
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
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
  Reply With Quote
02-05-11, 08:27 PM   #9
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 716
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

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.
Attached Files
File Type: zip minimaps.zip (57.6 KB, 627 views)
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.

Last edited by nightcracker : 02-05-11 at 08:37 PM.
  Reply With Quote
02-05-11, 09:15 PM   #10
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 716
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:
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » How does Carbonite get it's maps from the game?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off