Chunk Storage

Panserbjoern

Member
Contributor
Architecture
Hello

I have finally switched entirely from java object serialization to protobuf for chunk storage! Worlds in the old java object serialization format are still loaded, but they will be stored in the new protobuf format. The old GZIP based storage format is no longer supported, but i can reactivate it if someone still uses such old worlds.

The new format is described in the file Chunks.proto in src/main/protobuf by the message CompressedChunks.

This change will make it much easier to remain backwards compatible when the storage format is extended/changed in the future.

The changes are located in my branch stackable-chunks-2: https://github.com/mbrotz/Terasology/tree/stackable-chunks-2

Panserbjoern
 

Cervator

Org Co-Founder & Project Lead
Contributor
Design
Logistics
SpecOps
Pulled at last now that I'm back :)

Tested locally real quick, seemed fine, didn't test against any old worlds though.
 
Top