Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PACK chunk is absent, but I have 22 saved models in the file #43

Open
HummeL-AL opened this issue Sep 8, 2021 · 2 comments
Open

PACK chunk is absent, but I have 22 saved models in the file #43

HummeL-AL opened this issue Sep 8, 2021 · 2 comments

Comments

@HummeL-AL
Copy link

I tried to write my own .vox parser to easier implement new models to my game, but meet some troubles with detecting "PACK" chunk. So, I decided to use already existing solution. But it also throw a few errors. So, I just converted the file to byte[] and look at bytes, and... There isn't any byte row that can be converted to the "PACK" string.

File in bytes:
Editor.log
File:
Tank.zip
08 - 17 06 35
08 - 17 16 27

@kchapelier
Copy link

I think there is only one object in this file, a single object with 22 nodes (there is a nGRP chunk with 0x16 for the "num of children nodes", see https://github.com/ephtracy/voxel-model/blob/master/MagicaVoxel-file-format-vox-extension.txt#L82 for reference).

@ephtracy
Copy link
Owner

ephtracy commented Sep 9, 2021

PACK is for the old frame based animation which is deprecated currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants