Map renderer for 7 Day to Die.
- Create 'local.json' at project root like:
{
"vanillaDir": "/Users/<UserName>/Library/Application Support/Steam/steamapps/common/7 Days To Die/7DaysToDie.app"
}
- Execute in your teminal:
npm run build
- Copy all bundle worlds:
npx tsx ./tools/copy-map-files.ts
To build ".subset.woff2", you need to require fonttools or docker. If you already have fonttools, run:
./tools/fonts/subset.sh
Or use docker wrapper:
./tools/fonts/subset-docker.sh
npm run lint
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".