Skip to content

Monkestation/ss13-webmap

Repository files navigation

Monkestation WebMap

This is the repo of the Monkestation Webmap project, based off of the static version of AffectArc07's SS13WebMap, built primarily for Monkestation.

While the page layout remains roughly the same, this version uses Liquid templating and Fastify to serve the map files. It uses a new map generation script, and allows subcategorys in categorys

This project still relys on DMM-Tools from SpacemanDMM being present in the root of the project, or in your PATH.

License

Map Generation

You can start map generation by running pnpm run generatemaps and you can pass the following environment variables:

  • TASK_LIMIT : How many maps should be generating at once
  • USE_OPTIPNG : Tell dmm-tools to use OptiPNG after processing is done (apt install optipng)
  • USE_PNGCRUSH : Tell dmm-tools to use PNGCrush after processing is done (apt install pngcrush)

Install both: $ sudo apt install optipng pngcrush

TODO:

  • better generated map organization (right now it just dumps everything into one folder for each category some filenames could clash...)
  • Work on metadata for map previews on platforms like Discord