Skip to main content

Module schema

Module schema 

Source
Expand description

The install schemas this build embeds, compiled from schemas/<game>.toml by build.rs, and the one comparison made against the server’s.

A game’s schema says which categories its catalogue has and which ask for a single pick; the installer takes that from its own copy, never the server’s. The manifest’s per-game hash of the schema’s raw bytes is only compared: an unknown one stops DOWNLOADING that game, and nothing else.

Structs§

Category
Schema

Enums§

Incompatible
Why a game’s catalogue cannot be downloaded.

Constants§

ALSO_ACCEPTED 🔒
Older revisions this build still accepts, per game, each with a line saying why the change does not matter; empty while schemas/rbr.toml has one revision.

Statics§

SCHEMAS

Functions§

accepts
The schema we carry, or an older revision deemed compatible.
categories
In file order, which is the order the tree shows them in.
check
An error blocks downloads for this game only; the caller leaves everything else alone.
choice_categories
The questions scene 5 asks and scene 4 demands a tick for, in schema order; everything else is optional, so an operator’s new folder adds no question.
install_roots_known
Whether every category installs somewhere this build knows how to place.
of
sha256_of
Of the schema file this build was compiled with.