A: Chunk updates.
This mod optimizes how chunks are stored on the disk, meaning pauses to load or save a chunk as you move around a world become much shorter and less noticeable.
The improvement is most noticeable on systems with slow disks, such as laptops. I have also had reports that it decreases memory usage of SMP servers.
- [*:38q1rrtm]Speed. Less jerkiness as you move around. Load, save, and delete worlds faster.
[*:38q1rrtm]Backwards compatible. Old worlds load and are converted on-the-fly to the region format.
[*:38q1rrtm]Backup friendly. The number of files decreases by 500-1000x, so compressing an entire world is much faster.
Conversion utility: http://mod.ifies.com.../RegionTool.jar This will let you convert your saves back to the old chunk format if an update comes out. It also lets you batch-convert a world if you have a lot of chunks and want to make sure they're all stored in region files. Normally, the conversion is done automatically in the background.
Source code: This is public domain. http://mod.ifies.com...Tool_source.zip
Back up your saves directory. I'm pretty sure it won't break anything, but you don't want to lose any of your work.
1) Locate your minecraft.jar file. On Windows, it's in %APPDATA%/.minecraft/bin
2) Create a backup of minecraft.jar
3) Open minecraft.jar in an archive editor (WinRar/7-Zip/etc)
4) Delete the META-INF folder.
5) Copy the files from the downloaded zip file into the jar file (overwriting nk.class).
6) Run Minecraft and test!
Server instructions: Do the same thing on minecraft_server.jar, but don't delete the META-INF folder, and use the mcregion server download.
To put all the old chunks into region files, do something like this:
java -jar RegionTool.jar pack ~/.minecraft/saves/World1
To extract all the chunks from the region files, do something like this:
java -jar RegionTool.jar unpack ~/.minecraft/saves/World1
Technical details: 90% of chunks are smaller than 4KB, and 99% are smaller than 8KB. This stores them efficiently in a single file. For a more complete description, see viewtopic.php?f=25&t=120160&p=1803041#p1803041
This will make a new folder "regions/" in your world directory, containing the new chunk clusters. This folder can be safely deleted if you want to revert. Any changes made to the world while using this mod will be lost, but your inventory and position will persist.
v5 2011.01.06: Directly use Deflate streams instead of GZIP for improved speed.
v4 2011.01.02: SMP support, offline conversion utility.
v3 2010.12.30: Fix deleting worlds with regions
- Fix saving and misc other bugs
- Don't use memory mapped files
- Debug output
v1 2010.12.29: First version
If you find this mod helpful, a donation towards further optimizations and my college expenses would be appreciated.