Map renderer for 7 Day to Die.
Linux, macOS, and Windows are supported.
-
Point the project at your installed copy of the game by creating a
tools/vanillalink at the project root. The path appears in the tasksourcesglobs inmise.toml, so it must be a static project-local path, not a runtime config file. Pick the command for your OS:-
macOS / Linux (symlink):
ln -s "/Users/<UserName>/Library/Application Support/Steam/steamapps/common/7 Days To Die/7DaysToDie.app" tools/vanillaLinux Steam example:
ln -s "$HOME/.local/share/Steam/steamapps/common/7 Days To Die" tools/vanilla -
Windows (directory junction, no admin required). Run from the project root in
cmd.exe:mklink /J tools\vanilla "C:\Program Files (x86)\Steam\steamapps\common\7 Days To Die"Or in PowerShell:
New-Item -ItemType Junction -Path tools\vanilla -Target "C:\Program Files (x86)\Steam\steamapps\common\7 Days To Die"
-
-
Install mise and activate it in your shell. It installs the Node version pinned in
mise.tomland runs the build tasks defined there. Every command in this README, and the git pre-commit hook, assumes a mise-activated shell:devEnginesinpackage.jsonmakes npm (includingnpx) refuse to run on an older Node. -
Install dependencies and build:
mise install npm ci mise run buildnpm cialso pointscore.hooksPathat.githooks, which enables the pre-commit hook.On a second run each task skips itself when neither its source files nor the matched game files have changed since the last run.
npm run fix
npm run ci
This runs mise run --continue-on-error ci. Lint, ast-grep, format check, type
check, and unit tests run in parallel, up to mise's jobs setting (default 4).
The e2e tests run after them. Every failing check is reported.
npm run serve
Note: You need to use HTTPS for development or access it using "localhost"
because 7dtd-map uses navigator.storage which requires
"Secure Contexts".