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

Open region files #32

Open
sk-zk opened this issue Feb 22, 2020 · 6 comments
Open

Open region files #32

sk-zk opened this issue Feb 22, 2020 · 6 comments

Comments

@sk-zk
Copy link

sk-zk commented Feb 22, 2020

Is it possible to open region files (.mca) with fNbt? It fails with this message:

System.IO.InvalidDataException: 'Could not auto-detect compression format.'

(edit: nvm, rolled my own)

@DerMattinger
Copy link

How did you solved the problem? I am stucking at the same message.

@sk-zk
Copy link
Author

sk-zk commented Feb 16, 2021

So basically, a region file is not an NBT file, but does store chunk data as NBT.

https://wiki.vg/Map_Format#.5Bregion.5D.mca
https://wiki.vg/Region_Files

fNbt doesn't seem to have implemented this format.

@DerMattinger
Copy link

Ok, Thanks for the fast answer 👍
I will switch to Java and use this repository: https://github.com/Querz/NBT

@josessin
Copy link

Is it possible to open region files (.mca) with fNbt? It fails with this message:

System.IO.InvalidDataException: 'Could not auto-detect compression format.'

(edit: nvm, rolled my own)

Hi, you mention you rolled your own. Care to share? I'm guessing this library can still be used for the Chunks but I can't reach them

@sk-zk
Copy link
Author

sk-zk commented Jan 28, 2022

Sure:

https://github.com/sk-zk/EzNbt

I haven't touched it in two years though so if there have been any changes to the format it's probably broken

@josessin
Copy link

Thank you! I was hacking something of my own but I like yours better, I'll give it a try.

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