XbTool
XbTool copied to clipboard
Bdat Editor Improvements
I've modified the bdat editor with some improvements.
- If a bdat fails to open with Game.XB2, Game.XBX will be used instead. If that also fails, Game.XB1DE will be used.
- Arrays are now displayed as colon-separated values, and can be edited
- Flags are now displayed as 'True' or 'False' and can be edited
- UI layout has been changed a bit, you can now see the name of the file and table you are editing. A reload button has also been added
The code isn't the cleanest, but it should work without overlapping or breaking anything else.
Thanks to @marcussacana the code is now much cleaner, and a basic translation tool has been added.
This only modifies the bdat editor part of XbTool and shouldn't modify any core functionality or conflict with more recent commits.