Shinbe Corner’s

Importing World of Warcraft’s static models to OGRE

by admin on Dec.15, 2008, under Blogs

World of Warcraft has an amazingly rich collection of models including weapons, creatures, trees, plants, houses and pretty much everything that is needed a complete game.

First off I want to address the legal/copyright issues.

Educational Use of Production Materials

Blizzard Entertainment supports the use of its game assets for educational purposes, and you are welcome and encouraged to create a Production for a school project, master’s thesis, etc. All limitations above still apply to Productions created for educational purposes.

Taken from http://www.wow-europe.com/en/community/machinima/letter.html

Tools needed:

MyWarcraftStudio http://www.wowmodelviewer.org/index.php?option=com_remository&Itemid=35&func=fileinfo&id=12

WoW Model Viewer http://www.wowmodelviewer.org/index.php?option=com_remository&Itemid=35&func=fileinfo&id=28

Milkshape 3D http://chumbalum.swissquake.ch/ms3d/download.html

Word of Warcraft

How To:

WoW stores models as .M2 files, which is a WoW proprietary file format. It contains a lot of data such as bones, vertices, textures used, animations and more. These .M2 files are stored in compressed .MPQ files. The .MPQ files of interest are common.mpq, expansion.mpq and patch-x.mpq in the WoW\data directory.

  1. Open up WoW Model Viewer and point it towards your WoW .mpq files. Most of the interesting decals are placed in the World subdirectory. Pick a model of your liking and go to File->export model and save it somewhere.
  2. The model will be saved in a Milkshape 3D format. Open the exported model in Milkshape 3D and go to File->Export->Ogre3D Engine file. Give an appropriate path and click OK. If you want to see all supported file formats go to http://chumbalum.swissquake.ch/ms3d/index.html
  3. View the exported model in Ogre Mesh Viewer program or you can use your own program. If you are lucky, everything looks fine. However, more often than not, something isn’t quite right.
  4. If the exported model’s textures have alpha channels, for example if it is an bush or a tree, you need to manually extract the texture using MyWarCraftStudio because WoW Model Viewer currently (version 0.5.09c) does not export the alpha channel correctly. Open the log.txt file stored in the same folder as WoW Model Viewer and scroll to the bottom. It will have a few lines like this that correspond to the model you just exported:

Loading model: World\Azeroth\burningsteppes\passivedoodads\rocks burningsteppesboulders04.m2
Loading texture: WORLD\AZEROTH\BURNINGSTEPPES\PASSIVEDOODADS\ROCKS\ASHROCK04.BLP
Info: Exporting model to X:\Stone1.ms3d..

The .blp files are the textures, so browse to that path using MyWarcraftStudio and extract the texture. It will now have the correct alpha channel.

That’s it.

Related posts:

  1. RISE 3D - Game Opening [caption id="attachment_8" align="alignleft" width="300" caption="RISE OpenUp Screen for choosing characters"][/caption]...
  2. RISE is Educational Game [caption id="attachment_12" align="alignleft" width="300" caption="RISE is Educational game"][/caption] In May...

Related posts brought to you by Yet Another Related Posts Plugin.

:, , , , , , ,
11 comments for this entry:
  1. Gilius

    To my knowledge there is no up to date version of WMV and the site is down as well. :(

  2. admin

    this is another WMV download link.

    WMV version 0.5.07

  3. TWO

    Oh my god I love you. Thank you much for your effort. Death to programmers art.

  4. Cederash

    Хм… Как раз на эту тему думал, а тут такой пост шикарный, спасибо!

  5. Avertedd

    За такие посты надо награды давать, на полном серьезе!

  6. Yorikk

    Хорошая работа!

  7. Dimmka

    Мне кажется очень полезная штука

  8. JamesD

    Thanks for the useful info. It’s so interesting

  9. Olegreze

    Основная задача Яндекса — давать ответы на вопросы пользователей!

  10. Warcraft Gold Guide

    Hey check out my computer blog, yours is good too!

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

Archives

All entries, chronologically...