Skip to main content

Crate ctr_rsf

Crate ctr_rsf 

Source

Modules§

rng

Structs§

AccessControlInfo
BasicInfo
OptionSection
RomFs
Rsf
Top-level RSF structure
SystemControlInfo
TitleInfo

Enums§

RsfError

Constants§

DUMMY_RSF

Functions§

is_valid_product_code
Returns true only if the product code contains A–Z, a–z, or 0–9.
load_embedded_rsf
Load the embedded dummy.rsf into an Rsf struct.
load_rsf
Load an RSF file from disk.
load_rsf_lenient
Load RSF but treat unknown YAML tags (like @VAR@) as plain strings.
load_rsf_safe
sanitize_product_code
Removes all characters that are NOT A–Z, a–z, or 0–9.
sanitize_rsf
save_rsf
Save an RSF structure back to disk.