Skip to main content

Module codes

Module codes 

Source
Expand description

The content codes (SH2nnn): a file of a game’s content has a problem. Each has a row and a page in shuyi_cli::contract::codes.

Constants§

AMBIGUOUS_FILE
ambiguous-file: several files could be the asset asked for.
DUPLICATE
duplicate: something the file may give once is given twice.
MISSING_FILE
missing-file: a file asked for isn’t in the bundle.
NOT_TEXT
not-text: a text format’s file isn’t valid UTF-8.
NO_FORMAT
no-format: no format of the kind reads the file.
OUT_OF_RANGE
out-of-range: a number or a size is outside what it may be.
PACK_DIFFERS
pack-differs: a baked pack differs from its sources.
PARSE
parse: a text file’s syntax is wrong.
TOO_BIG
too-big: the file is bigger than its format reads.
UNKNOWN_NAME
unknown-name: a name the file uses isn’t one it may: an action, a key or button, a terrain, a tile character.