Skip to content

chart-v0.1.0

Choose a tag to compare

@github-actions github-actions released this 25 May 21:43
· 82 commits to main since this release
aa1b709

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 RGBMapLayer and registers with WorldMapManager so it slots into the vanilla map dialog (G).
  • Deactivates and removes the vanilla ChunkMapLayer at LevelFinalize so Chart is the sole terrain renderer.
  • Ports the vanilla ChunkMapLayer rendering 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.dimension writes, dim-encoded chunk slice lookups (cy + dim * 1024), and a bounded fallback height scan when IMapChunk.RainHeightMap is unpopulated in custom dims.
  • Tile data persists at <gamedir>/ModData/Chart/<savegame>/<dim>.bin (deflate-compressed).

Install

  • Players: drop Chart-0.1.0.zip into your Mods folder. Requires Manifold 0.3.1 or later, and the bundled survival mod (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 WaypointMapLayer still 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