ephtracy/ephtracy.github.io

Vox files saved with 0.99.7.1 cannot be opened in previous version

dozius opened this issue · 2 comments

I'm collaborating with some people using the latest Mac version (0.99.6.2) and they are unable to open any files that I save with 0.99.7.1 on Windows. This appears to be due to the MAIN chunks "num bytes of children chunks" not being written correctly. All files saved in 0.99.7.1 appear to write 0xFFFFFFFF instead of the actual size. Replacing this invalid value with the correct size in a hex editor makes the files load correctly in previous versions again.

I'm not sure if this is intended or a bug since the files do open in 0.99.7.1 unaltered. In any case, backwards compatibility is broken.

I've attached two files. One saved with 0.99.7.1 and a corrected file with the proper "num bytes of children chunks" for comparison.

Thanks!

files.zip

it has been fixed. please redownload the program.

and also note that the main chunk is not checked since 0.99.7.0.

because the file size can be over 2^32 - 1 for large complex scenes (and the size field will be 0xFFFFFFFF).

Good to know! Thank you!