chart-v0.1.0
·
82 commits
to main
since this release
First release of Chart, the dimension-aware world map companion for Manifold custom dimensions. Alpha visual quality.
What it is
Chart is a client-side companion mod that gives Manifold custom dimensions a proper world map. Each dimension you visit keeps its own tile cache on disk; entering a dimension swaps the rendered map to that dimension's tiles, leaving restores the previous one.
How it works
- Subclasses
RGBMapLayerand registers withWorldMapManagerso it slots into the vanilla map dialog (G). - Deactivates and removes the vanilla
ChunkMapLayeratLevelFinalizeso Chart is the sole terrain renderer. - Ports the vanilla
ChunkMapLayerrendering pipeline (13-colour material palette, snow / water-edge handling, 3-neighbour hillshade, box-blurred shadow map). - Adds Manifold dim-awareness everywhere the vanilla code assumed dim 0: per-pixel
BlockPos.dimensionwrites, dim-encoded chunk slice lookups (cy + dim * 1024), and a bounded fallback height scan whenIMapChunk.RainHeightMapis unpopulated in custom dims. - Tile data persists at
<gamedir>/ModData/Chart/<savegame>/<dim>.bin(deflate-compressed).
Install
- Players: drop
Chart-0.1.0.zipinto yourModsfolder. Requires Manifold 0.3.1 or later, and the bundledsurvivalmod (which ships with the game). - Client-side only. Servers do not need Chart.
Known alpha-stage limitations
- Chunk-edge seams. Our tiles are 32x32 each; vanilla uses 3x3 grouped 96x96 tiles, so the blur stays inside one big tile there. Until Chart migrates to the same grouping, expect mild visible seams at chunk boundaries.
- Softened hillshade. The slope factor cap is reduced from vanilla's 0.5 to 0.3 to mitigate cross-chunk discrepancies (which would otherwise show as noise). Relief is therefore less pronounced than vanilla.
- Waypoint cross-dim leakage. Vanilla
WaypointMapLayerstill renders all pins regardless of dimension. Tracked in https://github.com/Pixnop/Manifold/issues/30. - No automatic cleanup of ephemeral dim caches. Manifold's ephemeral dimensions leave their tile files on disk until manually deleted. Tracked in #31.
For Vintage Story 1.21+. MIT licensed. Tracking issue: #7