Skyrim
0 of 0

File information

Last updated

Original upload

Created by

fore

Uploaded by

NexusModsCaretaker

Virus scan

Safe to use

About this mod

Always wanted to read Behavior Files, but got eye flickering just from looking into hundred thousands of XML lines? Then this is the tool for you. CondenseBehavior will present the contents of a Behavior File in a comprehensible form. No more, no less.

Permissions and credits
THIS TOOL IS FOR SERIOUS ANIMATION/BEHAVIOR MODDERS ONLY!
If you don't know what behaviors are made for, or how you can read and convert xml and hkx files, or what all thee strange names mean in the examples, then please leave CondenseBehavior alone. It's not made for you.
THERE IS NO DOCUMENTATION AVAILABLE, HOW YOU CAN READ BEHAVIOR FILES. AND I WILL NOT MAKE INTRODUCTIONS TO ANYONE!


Always wanted to read Behavior Files, but got eye flickering just from looking into hundred thousands of XML lines? Then this is the tool for you. CondenseBehavior will present the contents of a Behavior File in a comprehensible form. No more, no less.

Compared to a Behavior XML file, Condense Behavior will:
  • Omit non-important lines, comments, and XML keywords and separators (reducing more than 80% of the lines)
  • Logically sort and indent the information
  • Annotate IDs and states with the symbolic names of events, variables, and records



___________________________________________________________________________________
Requirements

  • .NET 4.0 or higher
  • hkxcmd: this will convert your .hkx files into .xml format.

hkxcmd is a commandline tool (i.e. run in a DOS windows). Install, and go to a directory with .hkx files. The following command will convert all .hkx file in this directory and all sub-directories into a directory tree "XML":

hkxcmd.exe convert -v:xml . XML

___________________________________________________________________________________
Usage

Install CondenseBehavior.exe in an arbitrary location. Execute. You will get the following Window:



Generate Condensed: this is the main part of the tool. It will let you browse for a behavior .xml fill (bbb.xml), and transform it into the "condensed" format (bbb_COND.xml)

Note: bbb_COND.xml is no xml file, it is just nicer to read in notepad++ (the text editor I'm recommending)

Selected IDs: here you can enter up to 4 node IDs. The resulting COND file then will only contain the nodes which belong to the combined sub-trees those nodes belong to. bbb_TEMP.xml is an intermedate file which can be deleted.

Generate XML Subtract: This will revert the bbb_COND.xml file back into original (real) xml, but with only the nodes from the COND file. The resulting filename is bbb_EXTR.xml

And this is the result for a small portion of 0_master.hkx:

___________________________________________________________________________________
History

2013/02/21 V1.0 . . Initial Relase

___________________________________________________________________________________
Credits

TheFigment aka The Hologram for his invaluable hkxcmd