Skip to content

Commit

Permalink
Replace all RegionFile operations with SectorFile
Browse files Browse the repository at this point in the history
Please see https://github.com/PaperMC/SectorTool
for details on the new format and how to use the tool to
convert the world or how to revert the conversion.

This patch includes conversion logic to convert RegionFiles to
SectorFile on demand. If a SectorFile does not exist, it will
attempt to copy chunk/entity/poi data from existing RegionFiles.

Included in this test patch is logic to dump SectorFile operation
tracing to file `sectorfile.tracer` in the root dir of a world. The
file is not compressed, and it is appended to only. As a result of
the lack of compression, when sending the file back for analysis
please compress it to reduce size usage.

This tracing will be useful for later tests to perform parameter
scanning on some of the parameters of SectorFile:
1. The section shift
2. The sector size
3. SectorFile cache size
  • Loading branch information
Spottedleaf committed Jun 22, 2024
1 parent e41d44f commit 216b704
Showing 1 changed file with 5,202 additions and 0 deletions.
Loading

0 comments on commit 216b704

Please sign in to comment.