About this mod
GUI editor for fast viewing and modifying XML files containing definitions for skills, items and rewards from The Witcher 3.
- Permissions and credits
- Donations
Witcher 3 XML Editor
This program is a GUI editor for fast viewing and modifying XML files containing definitions for skills, abilites, items and quest rewards from The Witcher 3.
Key Features:
- Folder Loading: Ability to open an entire folder containing XML files (e.g., from an unpacked mod or game files). The program automatically searches the folder and its subfolders.
- Data Browsing:
- Displays discovered abilities and items in separate tabs within a list view on the left.
- Lists can be filtered by typing part of the name into the "Filter..." fields.
- Details Editing:
- Selecting an entry from the list displays its details in the right-hand panel.
- Item Attributes: Edit all attributes of the main <item> element (e.g., category, price, equip_template, icon_path).
- Item Structure: Add, remove, and edit:
- Base Abilities references.
- Recycling Parts (part name and count).
- Variants (including their attributes and nested elements like <item> or <ability>).
- Ability Properties: For abilities, edit their properties (e.g., duration, attack_power), their attributes (e.g., type, min, max), and add new properties and attributes.
- Rewards
- Autocompletion: While editing many fields (like attributes, tags, referenced item/ability names), the program suggests known values gathered from all loaded files. This helps prevent typos and discover available options.
- Entry Management:
- Add: Create entirely new abilities or items (using the "Add" button). It will be added to the file of the currently selected entry or the first suitable file if nothing is selected.
- Remove: Permanently delete the selected ability or item from its XML file (using the "Remove" button).
- Duplicate: Create a copy of the selected entry under a new name (using the "Duplicate" button). Very useful for creating variations of existing items/abilities.
- Saving:
- Tracks modified files (indicated by (*) or (+) in the window title).
- Save options: "Save" (saves the currently viewed file), "Save All" (saves all changed files), "Save As..." (saves the current file to a new name/location).
- Prompts to save changes when closing the application or opening a new folder if modifications exist.
- File Location: Right-click an entry in the list and select "Open File Location" to reveal the containing XML file in your system's file explorer.
- Configuration: Remembers the last successfully opened folder in an editor_config.ini file (in the same directory as the program) and attempts to reload it on the next launch.
How to Use:
- Launch the program.
- Use the "File" -> "Open Folder..." menu to select the folder containing the XML files you wish to edit (you can choose entire gameplay folder from REDkit (The Witcher 3 REDkit\r4data\gameplay) or your own workspace from REDkit project.
- Use the + Attr, + Property, Add Base Ability, Add Recycling Part, Add Variant, + Nested Element, etc., buttons within the relevant sections to add new structural elements.
- Use the small "X" buttons next to individual entries (like attributes, parts, variants) to remove them.
- To see which file contains the currently edited entry, right-click it in the list and choose "Open File Location".
- When finished editing, save your changes using "File" -> "Save" (for the current file) or "File" -> "Save All" (for all modified files) or "Save As..".
- Then need to create your own mod according to standard procedure either with REDkit or WolvenKit: load the edited xml file into these programs and pack new mod.
You can find the repository along with the source code of the editor on my github - https://github.com/yrdenoth/WitcherXMLEditor