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

Anvil file format support #7

Closed
1 of 2 tasks
rj00a opened this issue Sep 3, 2022 · 3 comments · Fixed by #145
Closed
1 of 2 tasks

Anvil file format support #7

rj00a opened this issue Sep 3, 2022 · 3 comments · Fixed by #145
Assignees
Labels
enhancement New feature or request

Comments

@rj00a
Copy link
Member

rj00a commented Sep 3, 2022

In a separate valence_anvil crate at the root of the repo, support for anvil should be implemented (Both serialization and deserialization).

I've implemented a partial anvil deserializer before, but... I can't find it.
Here are some things I would expect the library to have:

  • Parallelization through rayon. In my deserializer I parallelized over each region.
  • Support for both encoding and decoding.
  • Chunk data saved to UnloadedChunk.
  • Lazy loading so we don't have to load the whole world into memory at once.

Supporting saves made with older version of the game is probably out of scope. No need to reimplement data fixer upper.

  • Loading
  • Saving
@XBagon
Copy link
Contributor

XBagon commented Sep 6, 2022

https://github.com/owengage/fastnbt has fastanvil for anvil files. Maybe that could help.

@rj00a rj00a added the enhancement New feature or request label Sep 8, 2022
@TerminatorNL
Copy link
Contributor

I would like to help with this 😃

@rj00a rj00a linked a pull request Dec 26, 2022 that will close this issue
@rj00a
Copy link
Member Author

rj00a commented Apr 22, 2023

The approach described here has deviated significantly from what is now planned in #288.

@rj00a rj00a closed this as not planned Won't fix, can't repro, duplicate, stale Apr 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants