Skip to content

hampta/htr2smd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Motion Analysis HTR to SMD Converter

Screenshot

Introduction

HTR is a hierarchical representation of a motion sequence.

It is a sequence of hierarchical transformations, each of which is a 3D translation followed by a 3D rotation.

The HTR format is used by Cryengine.

This tool converts HTR files to the SMD format used by the Source Engine.

Installation

From Source

git clone https://github.com/hampta/htr2smd
cd htr2smd
python htr2smd.py <input_htr_file>
python htr2smd.py <input_htr_folder>
python htr2smd.py <input_htr_file> <input_htr_file> <input_htr_file>
python htr2smd.py <input_htr_folder> <input_htr_folder> <input_htr_folder>

From compiled binary

Download the executable from releases - htr2smd

./htr2smd.exe <input_htr_file>
./htr2smd.exe <input_htr_folder>
./htr2smd.exe <input_htr_file> <input_htr_file> <input_htr_file>
./htr2smd.exe <input_htr_folder> <input_htr_folder> <input_htr_folder>

Or just drag and drop the HTR file(s) or folder(s) onto the executable.

After conversion, the SMD files will be created in the SMD folder in the same directory as the HTR file(s) or folder(s).

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements