2012. 5. 14. 23:15

MPQ Image Extraction

While searching for MPQ Image Extraction, I'd found an interesting article.

Following link needs to be investigated in more detail:


http://forum.xentax.com/viewtopic.php?f=10&t=7320&start=15


Finally I'd found a cool site that introduces full description about extracting an image. I summarized a little to remove contents related to the Starcraft 2.


http://www.sc2mapster.com/forums/resources/tutorials/27181-video-diablo-iii-models-to-starcraft-ii/


Requirements:


- D3 Model Tool Pack: http://www.mediafire.com/?08m5vk9xc938pl3



D3 Model Tool Pack.zip



- Diablo III Beta MPQs.

- MPQEditor : http://www.zezula.net/en/mpq/download.html



mpqediten32.zip



1. Extracting the files:


- Open up the MPQ Editor and find the Diablo III Beta MPQs, they should be in C:\program files\Diablo II Beta\Data_D3\PC\


- Appearance models are usually found in the ClientData.mpq and textures are usually found in Textures.mpq


- For this example we used the a1dun_leor_chest_rare.app so, go ahead and open the ClientData.mpq and find that file. Extract it to wherever you wish and you should now have extracted a diablo III model file. .app files are usually found in the /appearance/ subfolder within the MPQ.


- Now we need to extract its corresponding textures, so go ahead and open up the Texures.mpq and find the a1dun_leor_chest_rare.tex, Diablo III textures are .tex files (Assume it's short for textures). When you've found the file, extract it and you should be done extracting the files.


2. Converting the files for use in graphic tools such as 3ds max:


- Inside the D3 Model Tools Pack there's a folder called D3AppConvert2Obj, go inside and there should be a .exe called D3AppConvert2Obj.exe


- Copy the a1dun_leor_chest_rare.app file to the folder that D3AppConvert2Obj.exe exists


- Run a dos prompt (use the windows search function to search for cmd.exe) and move to the folder (The cd command will help you to do it)


- Type in "D3AppConvert2Obj.exe -f a1dun_Leor_Chest_Rare.app" then you can see a .obj file.


- Copy the  a1dun_leor_chest_rare.tex file to the folder that D3textconvert_v0.9.exe exists


- Run a dos prompt (use the windows search function to search for cmd.exe) and move to the folder (The cd command will help you to do it)


- Type in "D3textconvert_v0.9.exe a1dun_leor_chest_rare.tex" then you can see a .tex file.


That's all. Open a .obj file and a .tex file with appropriate graphic tool. I used the Deep Exploration 6.3(http://www.righthemisphere.com/products/dexp/). Following image is the result: