localcc / gvas

GVAS file format parsing library for rust
MIT License
18 stars 4 forks source link

bloating file size #107

Closed Swarkin closed 3 weeks ago

Swarkin commented 3 weeks ago

Just opening a .sav file and saving it immediately after bloats the file by roughly 2x. Why is that? The game still opens it correctly.

scottanderson commented 3 weeks ago

@Swarkin could you please zip your sav file and attach it here so we can take a look? Thanks for the report!

Swarkin commented 3 weeks ago

Hold on, it was an issue on my end. I was using the same file handle to read and write, expecting its contents to be overwritten instead of appended. Sorry for that