salmon-lib

a library to read and write CRiSP harvest files


License
MIT
Install
pip install salmon-lib==0.3.4

Documentation

salmon_lib

A library to read and write CRiSP Harvest Model files

A SIBR Project
Born out of the saga of salmon steve

Screenshot of the CRiSP Harvest v3.0.6 user interface. Its traced map of the Pacific Northwest has been replaced with an overly detailed render of all of North America, Japan, and Hawai'i. There are little ship icons demarking the locations of assorted blaseball teams. The Canada Moist Talkers are missing from Halifax, for some reason.

Tools

crisp_map - builds a CRiSP map file from svg data (requires installing dependencies with pip install -r requirements.txt)

Usage:
  python -m salmon_lib.crisp_map > map.dat

If you want to display the map in the CRiSP Harvest Simulator Simulator:
  python -m salmon_lib.crisp_map display

bound_patcher - patches lat/long bounds in CRiSP

Usage:
  python -m salmon_lib.bound_patcher

zhp_markdown - compiles and adds markdown files to a .zhp file

Usage:
  python -m salmon_lib.zhp_markdown -h

Credits & contributors

Features & TODOs

TODO

  • add more syntactic sugar

Implemented files & formats

  • map.dat (see crisp_map.py)
  • .opt
  • .mat
  • .evo
  • .stk
  • .zhp
  • .bse
  • .idl
  • .enh
  • .cei
  • .fp
  • .prn (read-only)

missing formats

  • .config
  • .monte