For$
<!-- begin site header -->
<div id=

Author Topic: World storage  (Read 7924 times)

xoft

  • Newbie
  • *
  • Posts: 42
    • View Profile
World storage
« 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.

Ligustah

  • Newbie
  • *
  • Posts: 42
    • View Profile
Re: World storage
« Reply #1 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.

Jailout2000

  • Newbie
  • *
  • Posts: 49
  • Enthusiast
    • View Profile
    • My Website
Re: World storage
« Reply #2 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.
Visit my website to see what's up with me.

kiki64

  • Developer
  • Newbie
  • ****
  • Posts: 3
    • View Profile
Re: World storage
« Reply #3 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/

Jailout2000

  • Newbie
  • *
  • Posts: 49
  • Enthusiast
    • View Profile
    • My Website
Re: World storage
« Reply #4 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/
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
« Last Edit: February 23, 2011, 08:54:23 am by Jailout2000 »
Visit my website to see what's up with me.