Skip to content

KagamiChan/kcs2-mapdata

Repository files navigation

kcs2-mapdata

map data processing for Kancolle Phase II

Usage

  • install dependencies
# add electron mirror if necessary
export ELECTRON_MIRROR="https://npm.taobao.org/mirrors/electron/"
yarn
  • get map data
yarn get-map
  • use annotation tools to generate spot name file
yarn annotate

the spots name file will be output to ./data/notation.json

Note: if you have trouble running this, try export NODE_OPTIONS=--openssl-legacy-provider beforehand.

  • run
yarn sync

to sync spots name to ./out/WROLD_ID/MAP_ID/spots.json

  • run
yarn poi

to generate final map data for poi at ./data/final.json

Others

Some other scripts are used to draw a svg for preview, svg file will be saved at map dirs

  • run yarn dst to get distance for landbase aircraft (celldata.json is necessary)

  • run yarn icon to draw icons (celldata.json is necessary)

About

map data processing for Kancolle Phase II

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages