wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Tutorials > Tutorials for beginners
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 03-21-2009, 11:44 AM   #1
deolrin
Tas'dingo!
 
deolrin's Avatar
 
Join Date: May 2008
Posts: 854

Submissions (13)

deolrin is a jewel in the rough (166)deolrin is a jewel in the rough (166)

Send a message via MSN to deolrin
Default How-to: Exporting files from a MPQ.

Difficulty:
Beginner: 1/10

Tools Needed:

Welcome to the MPQ exporting tutorial!

Follow the steps as they appear:

A side note, about MPQ's...

MPQ's are files made by Blizzard for their various games in order to keep the game data files, such as models, skins, sounds etc. You can find MPQ's in games like Diablo(1 and 2, maybe 3 - haven't checked), Warcraft III(Including the expansion pack "The Frozen Throne"), World Of Warcraft(including the expansion packs - The Burning Crusade and Wrath of the Lich King) and Starcraft. They are pretty much like ZIP\RAR files - containing other folders and files inside them.


Intro:

This tutorial was written for beginner skinners and modelers. In the tutorial we will learn how to export models and skins from the various MPQ's of Warcraft III.


The Model Editor:

After you installed the Model Editor, and oppened it, you will see just a blank screen and the basic menus that exist in almost any Windows program(File, Edit, View, Help, Etc.). We wont get deep into it, because we need only one tool:the MPQ Browser. The MPQ Browser is under the menu Windows-the last one. there are also other tools in the model editor-but we don't need them right now. in the MPQ Browser, click on the "File" tab. You will see the following options - Open\Close MPQ Archive and War3.mpq\War3x.mpq\WarxLocal.mpq\War3Patch.mpq. The first 2 are mainly used for custom(user made) MPQ's - we don't need them. The other ones being the ingame MPQ archives -
  • War3.mpq - The first MPQ that Blizzard made for Warcraft III. It contains all of the Reign Of Chaos data of Warcraft III. Old models and skins - such as the Night Elven Ballista - can be found here.
  • War3x.mpq - The Frozen Throne files are contained in here. You can find newer models and skins such as the Warden hero and the Glaive Thrower here.
  • War3xLocal - Little i know of this MPQ. From what i understand, it contains mainly sounds and the TFT Campaign maps. There is nothing related to modeling or skinning to search in it.
  • War3Patch.mpq - it contains models and skins from one of the(not so) new patches of Warcraft - it contains all of the "new" critters(rabbits, raccoons, chickens, frogs) and the 3 "new" heroes(Tinker, Alchemist, Fire Lord).
Now that you know about the MPQ's and the Model Editor, open the War3Patch.mpq.

MPQ Browsing:

MPQ Browsing is easy, but could be a bit confusing at some points, for some people. Now that we oppened the War3Patch.mpq file in the MPQ Browser, we should learn how to browse it. the MPQ is made of categories, that include(but not limited to): Units, Buildings, Textures, Replaceable Textures, Abilities and Doodads. Of Course, there are more, but those are the main categories. Every category is split into more sub-categories, which usually split into more sub-categories, etc... for an example of this tutorial, we will export the Clockwerk Goblin from the mpq. Don't worry,the little bot will stay in the MPQ, we will simply duplicate the model and save it on our Hard Disc.

Exporting Models:

Now comes the easy part.
Open the category ''Units'', then open the sub-category ''Creeps'', and then the sub-category
''Hero Tinker Robot''. you will see some files, mostly ".wav" files(sounds), but also one mdx. double click on the mdx file and you will see the model in the main screen, where we previously saw just blank gray. Now, right click on the "HeroTinkerRobot.mdx" file in the MPQ Browser, and chose ''Export''. save it where and as you want, but remember to write the format of the file after the name. For example: instead of saving it as ''GoblinRobot'', save it as ''GoblinRobot.mdx''.

Exporting Textures:

Exporting textures is not the same as exporting models, if you need them in a different format than "blp". In order to export a texture, you have to first double-click it(open it), then go to "Windows" and then to "Texture Manager". Then you right click the texture, and chose "Export". There, you just chose where to save and in what format to save. For an example, we will take the "Bandit Lord" skin. Open the War3.mpq, and then oben the category "Units", and then the sub-category "Creeps". In there search for a folder called "BanditLord". Open it. There will be some files in there, 2 MDX's(models) and 1 BLP(texture). Double-click the BLP file(BanditLord.blp). If you will look at the main screen, you will see the skin now. Now, go to "Windows" and chose Texture Manager". Right click on the single texture that appears in the list and chose "Export". Now just save. You can also chose in what format to save the file(jpg, bmp, tga, etc...).

Now we are done!

Credits&Thanks:
Hidden information:
TotallyAwesome - Taught me about the "Exporting Textures" part, thanks!


I will be glad to hear c&c regarding the tutorial. I would also like to hear comments regarding various typos and misunderstanding, if some exist. I hope someone will find this tutorial useful.
__________________
Resources: "I'm going to cut you into strips, dry you, and smoke you in my pipe!"
"Don't wait for the Grim Reaper - I'm going to mow you down!"
"Hasta la vista, baby!"

~Gladiator, Sacred

Last edited by deolrin : 03-28-2009 at 07:39 AM.
deolrin is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 03-21-2009, 07:03 PM   #2
[–]
User
 
[–]'s Avatar
 
Join Date: Mar 2009
Posts: 200

[–] will become famous soon enough (44)[–] will become famous soon enough (44)

Default

Well, it looks like it could really help a few starting modders. Good work.
__________________
–amn those who stand in our way.

Last edited by [–] : 03-21-2009 at 07:03 PM.
[–] is offline   Reply With Quote
Old 03-21-2009, 07:21 PM   #3
TotallyAwesome
User
 
TotallyAwesome's Avatar


Project Member: TBR
 
Join Date: Apr 2008
Posts: 582

Submissions (7)

TotallyAwesome is a jewel in the rough (164)TotallyAwesome is a jewel in the rough (164)

Send a message via ICQ to TotallyAwesome Send a message via AIM to TotallyAwesome Send a message via MSN to TotallyAwesome Send a message via Yahoo to TotallyAwesome
Default

Explain how to export .tga, and .jpg textures.
__________________
Quote:
[23-56-42] Captain Griffen orders Hakeem to say: /me is going to bed now, with Wulfy, and he hopes that he will come out again with his manhood still attached...
TotallyAwesome is offline   Reply With Quote
Old 03-21-2009, 07:48 PM   #4
deolrin
Tas'dingo!
 
deolrin's Avatar
 
Join Date: May 2008
Posts: 854

Submissions (13)

deolrin is a jewel in the rough (166)deolrin is a jewel in the rough (166)

Send a message via MSN to deolrin
Default

Quote:
Originally Posted by TotallyAwesome
Explain how to export .tga, and .jpg textures.

The only way i know is to export the BLP and then convert using any image converter(usually Wc3 Viewer). Is that what you meant?
__________________
Resources: "I'm going to cut you into strips, dry you, and smoke you in my pipe!"
"Don't wait for the Grim Reaper - I'm going to mow you down!"
"Hasta la vista, baby!"

~Gladiator, Sacred
deolrin is offline   Reply With Quote
Old 03-21-2009, 11:19 PM   #5
Tide-Arc Ephemera
Overdoses result in death
 
Tide-Arc Ephemera's Avatar
 
Join Date: Jan 2007
Posts: 2,365

Submissions (3)

Tide-Arc Ephemera is a jewel in the rough (206)Tide-Arc Ephemera is a jewel in the rough (206)Tide-Arc Ephemera is a jewel in the rough (206)

Default

The title is REALLY misleading.
__________________
Before asking for help with triggers... read this and check your trigger!

If you're having troubles getting help on WC3C or anywhere at all, please have a look at...
The WRONG way to ask for help and The CORRECT way to ask for help.

Quote:
Originally Posted by Alevice
You may never stop our bioweapon! We mexicans shall rule the third world! Mwahahahahahahaha!
Please acknowledge that I use Mac and avoid suggesting vJass and other tools that don't work on it. Thank you.
Tide-Arc Ephemera is offline   Reply With Quote
Old 03-22-2009, 06:59 AM   #6
deolrin
Tas'dingo!
 
deolrin's Avatar
 
Join Date: May 2008
Posts: 854

Submissions (13)

deolrin is a jewel in the rough (166)deolrin is a jewel in the rough (166)

Send a message via MSN to deolrin
Default

Quote:
Originally Posted by Tide-Arc Ephemera
The title is REALLY misleading.

Ah, how you mean?
__________________
Resources: "I'm going to cut you into strips, dry you, and smoke you in my pipe!"
"Don't wait for the Grim Reaper - I'm going to mow you down!"
"Hasta la vista, baby!"

~Gladiator, Sacred
deolrin is offline   Reply With Quote
Old 03-22-2009, 04:37 PM   #7
TotallyAwesome
User
 
TotallyAwesome's Avatar


Project Member: TBR
 
Join Date: Apr 2008
Posts: 582

Submissions (7)

TotallyAwesome is a jewel in the rough (164)TotallyAwesome is a jewel in the rough (164)

Send a message via ICQ to TotallyAwesome Send a message via AIM to TotallyAwesome Send a message via MSN to TotallyAwesome Send a message via Yahoo to TotallyAwesome
Default

Quote:
Originally Posted by deolrin
The only way i know is to export the BLP and then convert using any image converter(usually Wc3 Viewer). Is that what you meant?
In MPQ browser thing in magos' model editor, you can open a .blp texture, then go to texture manager, right click the texture, export, and choose format you want. So you can convert BLP files with magos.
__________________
Quote:
[23-56-42] Captain Griffen orders Hakeem to say: /me is going to bed now, with Wulfy, and he hopes that he will come out again with his manhood still attached...
TotallyAwesome is offline   Reply With Quote
Old 03-22-2009, 04:52 PM   #8
deolrin
Tas'dingo!
 
deolrin's Avatar
 
Join Date: May 2008
Posts: 854

Submissions (13)

deolrin is a jewel in the rough (166)deolrin is a jewel in the rough (166)

Send a message via MSN to deolrin
Default

Quote:
Originally Posted by TotallyAwesome
In MPQ browser thing in magos' model editor, you can open a .blp texture, then go to texture manager, right click the texture, export, and choose format you want. So you can convert BLP files with magos.

Thanks, didn't knew it

+Rep, and added an "Exporting Textures" part.
__________________
Resources: "I'm going to cut you into strips, dry you, and smoke you in my pipe!"
"Don't wait for the Grim Reaper - I'm going to mow you down!"
"Hasta la vista, baby!"

~Gladiator, Sacred

Last edited by deolrin : 03-22-2009 at 04:53 PM.
deolrin is offline   Reply With Quote
Old 03-27-2009, 01:55 PM   #9
Tide-Arc Ephemera
Overdoses result in death
 
Tide-Arc Ephemera's Avatar
 
Join Date: Jan 2007
Posts: 2,365

Submissions (3)

Tide-Arc Ephemera is a jewel in the rough (206)Tide-Arc Ephemera is a jewel in the rough (206)Tide-Arc Ephemera is a jewel in the rough (206)

Default

Hm, the title isn't as misleading as I thought, but it looked like a skinning tutorial. There ARE sounds in the MPQ, too, though.
__________________
Before asking for help with triggers... read this and check your trigger!

If you're having troubles getting help on WC3C or anywhere at all, please have a look at...
The WRONG way to ask for help and The CORRECT way to ask for help.

Quote:
Originally Posted by Alevice
You may never stop our bioweapon! We mexicans shall rule the third world! Mwahahahahahahaha!
Please acknowledge that I use Mac and avoid suggesting vJass and other tools that don't work on it. Thank you.
Tide-Arc Ephemera is offline   Reply With Quote
Old 07-14-2009, 11:09 AM   #10
Captain Griffen
Dread Lord of the Cookies
 
Captain Griffen's Avatar


Content Director
 
Join Date: Sep 2003
Posts: 5,368

Submissions (2)

Captain Griffen is a glorious beacon of light (497)Captain Griffen is a glorious beacon of light (497)Captain Griffen is a glorious beacon of light (497)Captain Griffen is a glorious beacon of light (497)Captain Griffen is a glorious beacon of light (497)

Approved Map: Warlords[Quicksilver #2] - 1st Place

Default

Approved, moved to tutorials for beginners. Same really applies for extracting anything from the MPQs.
__________________
Quote:
Originally Posted by Earth-Fury
Griffen is correct, you are not.
Quote:
[13:32] <Akolyt0r> hmm.. stil i want to have some unused women
Captain Griffen is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT. The time now is 03:33 PM.


Donate

Affiliates
The Hubb http://bylur.com - Warcraft, StarCraft, Diablo and DotA Blog & Forums The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2014, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services