Full Changelog: 0.5.2-toolset...0.6.0
Global changes
- Added support for Xenoblade Chronicles X: Definitive Edition tables.
- Duplicate row IDs are no longer an error, this is needed to support XDE tables. When using the toolset, a warning will be printed at the end of the conversion, this should be treated as an error when working with XC3 tables.
Toolset changes
- Improved error reporting for read errors: file, table name, and position are now shown in the error message.
- Row IDs are now unhashed when extracting, and they are now hashed when packing from JSON if not in the format
<XXXXXXXX>. - Tables with debug unhashed strings now add those strings to the hash list, meaning hashes from some files in XC3 1.3.0 or XDE are now unhashed automatically.
API changes
- Removed the
hash-tablefeature flag, the modern hash table is now always read. - Improved error reporting, read errors are more descriptive (removed
BdatError::MalformedBdat) and most were moved toBdatError::Readthat allows getting the location of the error. - More resilient reading, no longer panicking for some instances of EOF, allowing recovery.
- Added
extract_hashesto the return ofbdat::modern::from_*to extract debug hashes left inside modern files. - Bumped
thiserrorto2.0