Mineserver Community

Mineserver => Development => Topic started by: xoft on February 22, 2011, 08:52:20 pm

Title: World storage
Post by: xoft on February 22, 2011, 08:52:20 pm
Seems like Minecraft beat me to it (again ;)

I've been pondering for a few days now, that minecraft levels are really terribly stored (thousands of tiny files are really cumbersome, at least on Win).

So I thought MineServer could implement different world storage engines, from the current Beta-1.2-compatible to a monolithic-file or possibly even others. I'd especially very much like the monolithic file, that would be really great for transporting a world between computers or for backup.
Title: Re: World storage
Post by: Ligustah on February 22, 2011, 11:35:19 pm
The new storage format introduced in 1.3 uses way less files.
The world i have used to consists of about 22,000 chunk files,
and in the new format it's 51 now.
Title: Re: World storage
Post by: Jailout2000 on February 23, 2011, 12:16:31 am
The new storage format introduced in 1.3 uses way less files.
The world i have used to consists of about 22,000 chunk files,
and in the new format it's 51 now.
What's the new format based on? Maximum bytes per file? lol.

No really... tell me more.
Title: Re: World storage
Post by: kiki64 on February 23, 2011, 01:06:41 am
The new storage format introduced in 1.3 uses way less files.
The world i have used to consists of about 22,000 chunk files,
and in the new format it's 51 now.
What's the new format based on? Maximum bytes per file? lol.

No really... tell me more.

http://mojang.com/2011/02/16/minecraft-save-file-format-in-beta-1-3/ (http://mojang.com/2011/02/16/minecraft-save-file-format-in-beta-1-3/)
Title: Re: World storage
Post by: Jailout2000 on February 23, 2011, 08:48:06 am
The new storage format introduced in 1.3 uses way less files.
The world i have used to consists of about 22,000 chunk files,
and in the new format it's 51 now.
What's the new format based on? Maximum bytes per file? lol.

No really... tell me more.

http://mojang.com/2011/02/16/minecraft-save-file-format-in-beta-1-3/ (http://mojang.com/2011/02/16/minecraft-save-file-format-in-beta-1-3/)
Okay that tells me what I wanted to know.

32x32 (X*Z) = 1024 chunks = 1 file, instead of:
1 chunk = 1 file

1024:1 instead of 1:1, is what it narrows down to.

Much better, indeed. Larger files instead of many files, here we go!! lol. Hope no one uses that ancient FAT/FAT32 filesystem ;) (those with flash drives, for example)

Regards,
- Jailout2000