@scm-js/mod |
Reading a mod, a library of its own: what a mod comes in, where the game's paths start in a folder, a copy of the game beside the mod, the archive and plugins in a self-executing exe, a zip, the mod's code in its loader's order, mod.json, and the mod's hash; every sentence it says, which the editor and scmjs translate |
src/formats/mod/folder.ts |
The folder's form: where each file goes, each form written and read back with the same function, mod.json |
src/formats/mod/data.ts |
A mod's tables, string tables and scripts over the game's, and which entries it changed |
src/formats/mod/check.ts |
The lints |
src/formats/mod/races.ts |
Races a mod adds: a race's name by its number and the choices offered (the races table's rule and the hints a mod's files give are @scm-js/mod's) |
src/formats/mod/diff.ts |
The changelog, the animation scripts compared an animation at a time |
src/formats/dat/ |
The codecs: every table in all three layouts, PyMS's texts, GRP, PCX, overlays, iscript, AI scripts, .graft |
cli/src/mod/ |
The scmjs mod commands: the mod read with @scm-js/mod and put in the commands' shape, unpack, pack, info, check, diff, new, play, the engine's overlay |