scmJS docs

In the source

What Where
Reading and writing the run of sections, repeats and odd lengths src/formats/chk/reader.ts
Each section's size, repeat rule and whether the game reads it src/formats/chk/sections/registry.ts
The codecs, and the flag values in the tables here src/formats/chk/sections/*.ts
Required sections, and what a new map is made of src/formats/chk/create.ts
The revisions and the order sections are written in src/formats/chk/scenario.ts
The isometric brush, the lattice geometry and the tiles it lays src/editor/isom.ts
The ISOM values of each tileset src/data/isomTables.ts
The CV5 tile group record src/formats/tileset/decode.ts
The control codes in text src/editor/textColors.ts
The byte layouts and the generated blocks of this page scripts/lib/chk-reference.mjs, written by npm run docs:reference
The pictures on this page scripts/lib/chk-diagrams.mjs, written to docs/images/ by npm run docs:reference
chk.ksy, the Kaitai Struct description scripts/lib/chk-kaitai.mjs, written by npm run docs:reference