Export DA:O model into Blender

From Nexus Mods Wiki
Jump to: navigation, search

What you need

I am using the following programs/versions:

fbxcmd 1.3 nexus
Blender 2.8 http://www.blender.org/download/releases/2-80/


Installing fbxcmd

There is no installer, you just download the archive from nexus and extract the files to a location of your choice.

For this tutorial, I will assume that location to be C:\01_Apps\fbxcmd

Using fbxcmd

You need the following directory paths: 

fbxcmd The path where you extracted the files in step "Installing fbxcmd"
assumed to be C:\01_Apps\fbxcmd
DA:O install directory

The directory where you installed Dragon Age: Origins. 
You can find the path by right-clicking on your desktop shortcut and selecting "Open File Location". Repeat the process until you see "daorigins.exe" instead of another shortcut.
Navigate one level up from the "bin_ship" folder: 

Dao find executable.png
assumed to be C:\Program Files (x86)\Origin Games\Dragon Age

Open a command prompt

press Win+R and type "cmd", then press enter.

Now, navigate to the fbxtools directory. Attention: If your path has whitespaces ("Program Files"), you need to put the entire path in quotation marks.

cd C:\01_Apps\fbxcmd
cd "C:\Program Files\fbxcmd"

If the fbxtools directory is on a different drive, you need to switch the drive by typing "<driveLetter>:"


Unpack the erf

You need to extract the .erf file containing the model you're looking for. The command for that is the following: 

daocmd erf "C:\Program Files (x86)\Origin Games\Dragon Age\packages\core\data\<nameOfFile>.erf"

That will create a folder inside the "data" directory containing the files from within the erf. 

Convert an mmh

3d models are stored in the "mmh" format. The tool offers conversion to four formats: 

obj (recommended) Wavefront
3dx 3dxMax
dae Collada
fbx Unity
To be able to import an fbx file into Blender, you need the Bos FBX Importer/Exporter plugin.
The resulting fbx will be an ASCII file and can't be imported into Blender right away. You have to convert it to binary first.

You convert the file with the following command

fbxcmd Convert "C:\Program Files (x86)\Origin Games\Dragon Age\packages\core\data\modelhierarchies\c_berkbeara_0.mmh" "c_berkbeara_0.obj"

This will create an .obj in the current (fbxcmd) directory. 
To output the file in any other format, just use the corresponding suffix.