Create an account

CondenseBehavior  

Upload: 25 Oct 2022, 12:46
Created by: fore [X]
Uploaded by: Aqxaro
CondenseBehavior

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:

TES5Edit v4.0.4 13.7MB

TES5Edit v4.0.4

11 May 2023
0
521
0

TES5Edit is the Skyrim ("Oldrim") version of xEdit. xEdit is an advanced graphical module viewer/editor and conflict detector.

Comments
The minimum comment length is 10 characters.