Jump to content

XmlTools/Full documentation: Difference between revisions

m
→‎Description: forgot bold tags
(grammar edit to rest of article)
m (→‎Description: forgot bold tags)
Line 72: Line 72:
This operation allows you to remove XML values from an existing XML element that contains a list of values. The values should be space-separated and contained within quotes.
This operation allows you to remove XML values from an existing XML element that contains a list of values. The values should be space-separated and contained within quotes.


Oni's game data contains various bitsets that are used to indicate the on/off status of attributes that can pertain to that object. For instance, characters in the game can have various flags such as Unkillable turned on for them. In OniSplit's XML output of this data, the flags are given names and listed within quotes as a single string. --add-values and --remove-values were designed to edit these XML representations of bitsets.
Oni's game data contains various bitsets that are used to indicate the on/off status of attributes that can pertain to that object. For instance, characters in the game can have various flags such as Unkillable turned on for them. In OniSplit's XML output of this data, the flags are given names and listed within quotes as a single string. '''--add-values''' and '''--remove-values''' were designed to edit these XML representations of bitsets.


<tt>Usage: XmlTools --remove-values --current-val "current values to remove"</tt>
<tt>Usage: XmlTools --remove-values --current-val "current values to remove"</tt>