Monday, July 23, 2012

Crowbar

"Crowbar" seems a fitting name for a source engine model decompiler, and I am considering using this for the one I am working on. Using survivor_producer.mdl for most of my testing, my program extracts ~97% of the file's info.

It currently also does the following:
  • Creates a QC file, which has the following info:
    • $modelname
    • $model
      • flexfile
      • flex
      • flexcontroller
      • %flex
      • mouth
    • $lod
      • replacemodel
    • $poseparameter
    • $cdmaterials
    • $texturegroup
    • $attachment
    • $includemodel
    • $surfaceprop
    • $eyeposition
    • $illumposition
    • $sequence
    • $ikchain
    • $collisionjoints {}
    • $jigglebone
  • Creates the reference SMD file.
  • Creates the LOD SMD files.
  • Creates two log files for helping with testing.
I plan to figure out how to decompile animations ($animation and $sequence info to be placed into SMD files) and face animations ($model {flexfile} info to be placed into VTA files).

Feel free to contact me (via Steam chat message or my gmail) to discuss, help, question, or comment.

:)