gromgull / py-vox-io

Python module for parsing and writing MagicaVoxel vox file
MIT License
102 stars 26 forks source link

ParsingException: Unknown vox version: 200 expected 150 #10

Open AnnanFay opened 6 months ago

AnnanFay commented 6 months ago

I guess this library no longer works?

Trying to load a file I just created with latest version gives this error message:

ParsingException: Unknown vox version: 200 expected 150

gromgull commented 6 months ago

yeah, I've not really been maintaining this.... also the file format spec is outdated: https://github.com/ephtracy/voxel-model/blob/master/MagicaVoxel-file-format-vox.txt

I've asked if we can have an update: https://twitter.com/gromgull/status/1767634680323428679

gromgull commented 6 months ago

Ah seems @midstreeeam has a more updated version here: https://github.com/midstreeeam/MidVoxIO

gromgull commented 6 months ago

https://github.com/midstreeeam/MidVoxIO/issues/3

AnnanFay commented 6 months ago

Thanks for the info!

I've tried the MidVoxIO library and it appears to work for version 200 with that small parsing change. Well enough for my purposes anyway.