Skip to content

bdat-rs & bdat-toolset 0.6.0

Latest

Choose a tag to compare

@roccodev roccodev released this 19 Mar 18:52
cad2a7c

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-table feature flag, the modern hash table is now always read.
  • Improved error reporting, read errors are more descriptive (removed BdatError::MalformedBdat) and most were moved to BdatError::Read that allows getting the location of the error.
  • More resilient reading, no longer panicking for some instances of EOF, allowing recovery.
  • Added extract_hashes to the return of bdat::modern::from_* to extract debug hashes left inside modern files.
  • Bumped thiserror to 2.0