
Import MDL into Blender via File → Import → KotOR Model (.mdl)ĥ. Convert TPC files to TGA/TXI (reone-tools)ģ. Extract MDL, MDX and, optionally, TPC, WOK, PWK, DWK, and LYT files (Kotor Tool, reone-tools, etc.)Ģ. Enable add-on "Import-Export: KotorBlender" in Blender Preferences via Edit → Preferences → Add-onsġ. "C:/Users/USERNAME/AppData/Roaming/Blender Foundation/Blender/BLENDER_VERSION/scripts/addons"ģ. Copy kotorblender folder into Blender addons directory, e.g. Clone GitHub repository or download the latest releaseĢ. Import & export MDL models, including walkmeshesġ. KotorBlender is in turn based on NeverBlender, forked from version 1.23a. This add-on is a fork of KotorBlender, upgraded to support Blender 2.8+.

Output.lip is your generated LIP file - is its JSON representationĪdd words that were not recognized to cmudict-0.7b.txtĮdit, compile using reone-tools: `reone-tools -to-lip ` When a word is not present in CMU dictionary, it will be converted to phonemes letter by letter.Įdit tools_dir variable in compose_lip.py to point to reone-tools installation directoryĮxecute the script from the command line, enter text and sound length when asked: `python compose_lip.py`


Keyframe times are linearly interpolated between 0.0 and entered sound length. It works by converting entered text to CMU phonemes using CMU pronouncing dictionary, and then converting CMU phonemes to KotOR phonemes. Python script I wrote to automate generating LIP files from text.
