← back to roto on ba3a.dev

load

fun load(id: String, colours: ProjectPalette? = null): Profile

Reads profile id; a missing profile is a NoSuchFileException, a bad one a ProfileException. A variant's base is read too and must exist and not be a variant; with colours, the variant's ramps and outline are checked against them as well.