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

VOXELFORMAT: change the interface for the Format class to use Archives and not Streams #460

Closed
mgerhardy opened this issue May 6, 2024 · 0 comments · Fixed by #461
Closed

Comments

@mgerhardy
Copy link
Collaborator

For multi file based formats it would be better to use an io::Archive here to being able to directly create new write streams in the archive and not write any files. Currently a lot of cases like io::filesystem()->open(extFilename, io::FileMode::SysWrite) exists in the Format implementations.

to name a few

  • VXL/HVA
  • VXR/VXM/VXA/png
  • Minecraft regions for dat files

there are other formats that out sourced their screenshot or metadata or anything like that.

See e.g. VMaxFormat::loadGroupsPalette - locations like these could benefit, too

Also see #434

mgerhardy added a commit that referenced this issue May 8, 2024
…reams

this allows us to support multi file formats in a better way

Fixes issue #460
mgerhardy added a commit that referenced this issue May 8, 2024
…reams

this allows us to support multi file formats in a better way

Fixes issue #460
mgerhardy added a commit that referenced this issue May 8, 2024
…reams

this allows us to support multi file formats in a better way

Fixes issue #460
mgerhardy added a commit that referenced this issue May 8, 2024
…reams

this allows us to support multi file formats in a better way

Fixes issue #460
mgerhardy added a commit that referenced this issue May 8, 2024
…reams

this allows us to support multi file formats in a better way

Fixes issue #460
@mgerhardy mgerhardy linked a pull request May 8, 2024 that will close this issue
4 tasks
mgerhardy added a commit that referenced this issue May 9, 2024
…reams

this allows us to support multi file formats in a better way

Fixes issue #460
mgerhardy added a commit that referenced this issue May 10, 2024
…reams

this allows us to support multi file formats in a better way

Fixes issue #460
mgerhardy added a commit that referenced this issue May 13, 2024
mgerhardy added a commit that referenced this issue May 13, 2024
…reams

this allows us to support multi file formats in a better way

Fixes issue #460
mgerhardy added a commit that referenced this issue May 13, 2024
…reams

this allows us to support multi file formats in a better way

Fixes issue #460
mgerhardy added a commit that referenced this issue May 13, 2024
…reams

this allows us to support multi file formats in a better way

Fixes issue #460
mgerhardy added a commit that referenced this issue May 13, 2024
…reams

this allows us to support multi file formats in a better way

Fixes issue #460
mgerhardy added a commit that referenced this issue May 14, 2024
…reams

this allows us to support multi file formats in a better way

Fixes issue #460
mgerhardy added a commit that referenced this issue May 14, 2024
…reams

this allows us to support multi file formats in a better way

Fixes issue #460
mgerhardy added a commit that referenced this issue May 14, 2024
…reams

this allows us to support multi file formats in a better way

Fixes issue #460
mgerhardy added a commit that referenced this issue May 14, 2024
…reams

this allows us to support multi file formats in a better way

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

Successfully merging a pull request may close this issue.

1 participant