nnguyen259 / KuroTools

Tools for working with Kuro no Kiseki .dat and .tbl files
MIT License
33 stars 7 forks source link

json2tbl leaves extra padding at the end #14

Closed nnguyen259 closed 2 years ago

nnguyen259 commented 2 years ago

currently affecting btlsys, gourmet, condition info and chapter save. shouldn't be a big deal but it's nice to investigate to iron them out finally.

TwnKey commented 2 years ago

Ah no sorry, the padded zeros come from the decrypted files. When compiling them json2tbl just don't read them since the files usually end with text which ends with a single 0. Pic below with the recompiled file at the top and the decrypted file (from korean tables) at the bottom image

nnguyen259 commented 2 years ago

Extra padding is for Blowfish encryption. Not a bug