1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The Lich King demands your service! We've reached the 19th edition of the Icon Contest. Come along and make some chilling servants for the one true king.
    Dismiss Notice
  4. The 4th SFX Contest has started. Be sure to participate and have a fun factor in it.
    Dismiss Notice
  5. The poll for the 21st Terraining Contest is LIVE. Be sure to check out the entries and vote for one.
    Dismiss Notice
  6. The results are out! Check them out.
    Dismiss Notice
  7. Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!
    Dismiss Notice
  8. The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!
    Dismiss Notice
  9. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Exporting files from a MPQ.

Discussion in 'Miscellaneous Tutorials' started by Deolrin, May 14, 2009.

  1. Deolrin

    Deolrin

    Joined:
    Apr 18, 2008
    Messages:
    7,219
    Resources:
    57
    Models:
    48
    Icons:
    6
    Packs:
    2
    Tutorials:
    1
    Resources:
    57

    Exporting files from a MPQ.



    Difficulty
    Beginner: 1/10


    Tools Needed
    Magos Model Editor


    Table of Contents:




    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 and Thanks:


    • HappyTauren - Taught me about the "Exporting Textures" part, thanks!



    I will be glad to hear comments and criticism 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.

    [Back to top]
     
    Last edited: Jul 13, 2009
  2. Linaze

    Linaze

    Joined:
    Feb 28, 2007
    Messages:
    2,991
    Resources:
    2
    Models:
    1
    Tutorials:
    1
    Resources:
    2
    Get rid of your signature and add a title. Along with those minor things, it's fairly simple and I suppose most people could figure this out by themselves, but I am unsure.
     
  3. Deolrin

    Deolrin

    Joined:
    Apr 18, 2008
    Messages:
    7,219
    Resources:
    57
    Models:
    48
    Icons:
    6
    Packs:
    2
    Tutorials:
    1
    Resources:
    57
    Thanks, edited as you said.
     
  4. Linaze

    Linaze

    Joined:
    Feb 28, 2007
    Messages:
    2,991
    Resources:
    2
    Models:
    1
    Tutorials:
    1
    Resources:
    2
    Titled and headers should use the

    ,

    and

    tags, are you really using that now or are my eyes fooling me? :p

     
  5. Septimus

    Septimus

    Joined:
    May 3, 2008
    Messages:
    4,175
    Resources:
    49
    Packs:
    1
    Maps:
    35
    Spells:
    8
    Tutorials:
    5
    Resources:
    49
    no.. he is not.. he use and size
     
  6. Deolrin

    Deolrin

    Joined:
    Apr 18, 2008
    Messages:
    7,219
    Resources:
    57
    Models:
    48
    Icons:
    6
    Packs:
    2
    Tutorials:
    1
    Resources:
    57
    Fix'd.
     
  7. Pyritie

    Pyritie

    Joined:
    Nov 26, 2006
    Messages:
    11,357
    Resources:
    60
    Models:
    30
    Icons:
    9
    Packs:
    3
    Skins:
    12
    Tools:
    1
    Maps:
    1
    Tutorials:
    4
    Resources:
    60
    Approved I guess.
     
  8. RaijinSpark

    RaijinSpark

    Joined:
    Aug 31, 2008
    Messages:
    1,583
    Resources:
    1
    Icons:
    1
    Resources:
    1
    thanks 4 posting i learned something
     
  9. Deolrin

    Deolrin

    Joined:
    Apr 18, 2008
    Messages:
    7,219
    Resources:
    57
    Models:
    48
    Icons:
    6
    Packs:
    2
    Tutorials:
    1
    Resources:
    57
    Updated:

    Added "Table of contents", fixed some minor stuff.
     
  10. RiotZ

    RiotZ

    Joined:
    Jul 25, 2009
    Messages:
    2,723
    Resources:
    2
    Maps:
    2
    Resources:
    2
    I need to know how to export mpq's for starcraft 1 so i can use the icons can you explain anyone?
     
  11. Newbestyle

    Newbestyle

    Joined:
    Nov 3, 2008
    Messages:
    42
    Resources:
    0
    Resources:
    0
    Yay, thanks for that tutorial... Good to know where to get the wc3 ingame models from... :)