

ChunkMap Pregenerator
Generates colored PNG land/sea maps with configurable scale.

Description
Description
A small tool for Vintage Story 1.21.x-1.22.x that quickly generates a colored PNG "land/sea" map for a selected area. One image pixel represents a group of chunks (configurable scale), making it easy to get an overview of large areas quickly.
Note: The generation in the screenshots was tested with the Plainsandvalleys mod.
What it does
⦁ Produces a PNG where 1 pixel = N×N chunks (scale parameter).
⦁ For speed and safety, surface data is obtained before full chunk generation, so the heavy worldgen phases are not triggered.
⦁ At scale = N the mod samples only every Nth grid position, greatly speeding up large-area processing.
⦁ Launched from chat/console and runs as a background task; progress is written to the log and (for the caller) to chat.
Key features
⦁ Fast generation of a land/sea overview PNG.
⦁ Configurable radius and scale.
⦁ Works both in single‑player and on servers.
⦁ Simple progress notifications to log/chat.
Limitations
⦁ Compatibility: Vintage Story 1.21.x-1.22.x
⦁<span style="text-decoration: line-through;"> Supported OS: Windows (build uses System.Drawing and was not tested on Linux/macOS).</span>
⦁ Avoid extremely large radii with small scale — such tasks may take a long time and use a lot of memory.
Command (syntax)
⦁ /chunkmap here <radius> [scale] <outPath>
⦁ Generates a map around your current position.
⦁ /chunkmap <chunkX> <chunkZ> <radius> [scale] <outPath>
⦁ Generates a map centered at the specified chunk coordinates.
<span style="color: #e67e23;">Important — chunk coordinates</span>
⦁ chunkX and chunkZ are chunk coordinates, not world (absolute for 1.21.x) block coordinates.
⦁ To get chunk coordinates: obtain your absolute position (in blocks) and divide X and Z by 32 (integer division).
Examples
⦁ /chunkmap here 100 C:/users/map.png
Radius 100 chunks (result ≈ 201×201 px at scale = 1), file saved as C:/users/map.png.
⦁ /chunkmap 0 0 500 4 C:/users/world_ocean_4x.png
Radius 500, scale = 4 — one pixel = 4×4 chunks; every 4th chunk is sampled; file C:/users/world_ocean_4x.png.
📦Release Notes (v1.1.0)
🔹Summary
Major update focused on stability, usability and server-side automation.
The mod is now more reliable, configurable and better suited for large-scale map rendering.
✨ New Features
- JSON Configuration Support
- The mod can now run without arguments:
/chunkmap - Settings are loaded from
ModConfig/chunkmappregen.json - Includes radius, scale, output path and center coordinates
- The mod can now run without arguments:
- Server-Side Friendly Execution
- No longer depends on player position when using config
- Fully compatible with server console and automation
- Configurable Map Center
- Added
CenterChunkXandCenterChunkZto config - Default is
(0, 0)
- Added
⚙️ Improvements
- Improved Progress Reporting
- Progress is now displayed in percentages
- Updates are throttled to avoid chat spam
Ratings & reviews
Sign in to leave a rating or comment.

