Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.04 KB

README.md

File metadata and controls

48 lines (33 loc) · 1.04 KB

xmodelconverter

A converter for xmodel & xanim files for Call of Duty.

It converts xmodel & xanim files back into xmodel_export and xanim_export text readable files. These _export files can then be more easily read and imported into 3d modelling software such as Blender (https://blender.org).

Supported games

  • Call of Duty (not available at this moment)
  • Call of Duty 2

Usage

Create a new folder in your main folder, so that your structure looks like.

\exported
\xanim
\xmodel
\xmodelparts
\xmodelsurfs

Then you can just drop and drop the xmodel or xanim file(s) onto the executable.

or use

xmodelconverter.exe "C:\path\to\your\xmodel\or\xanim\file"

The files will be placed in the exported folder.

Dependencies

https://github.com/g-truc/glm

Building

sudo apt install libglm-dev
git clone https://github.com/riicchhaarrd/xmodelconverter
g++ -w *.cpp -o xmodelconverter

Blender

To import the _export files into Blender, you need to install a addon.

https://github.com/riicchhaarrd/io_scene_xmodel