Skip to content

v0.21.0

Latest

Choose a tag to compare

@apexJCL apexJCL released this 04 Nov 23:10
· 12 commits to main since this release

Added

  • [system] languages in game.toml: the languages a title's copy ships
    in. The CLI passes them to the toolkit as XBOXRECOMP_LANGUAGES, so the
    in-game menu's language setting offers only those; a dropped table is
    cleared at build time, and a toolkit too old to read it is refused with
    an error naming the [toolkit] pin. package rebuilds the stage when
    the list changes.
  • extract --collision: a shaded collision view. Faces are shaded by
    direction and get crease and open-edge lines in their own mesh; F
    colours faces by their angle off flat or vertical (under 0.1, 2 and 10
    degrees, above, and slivers) and O makes them opaque. C, E, F and O are
    independent toggles that fade meshes and never touch visible, so the
    Scene dock's eye still wins. Lines and flat copies never become
    collision shapes.
  • saves list and saves import --from SRC: a player's own saves from a
    folder or zip (another install, a console's or Cxbx-Reloaded's copy, the
    in-game menu's saves export) into the installed game. The save root is
    found by its layout; names follow the FATX rules the menu's zip checks;
    links are never followed. It refuses while the game (or the emulator
    whose disk the source is on) runs, backs the saves there up first as a
    menu saves zip in config/exports/save-backups/, stages each save and
    renames it in, skips saves already there unless --replace, and
    re-signs the files [[saves.signed]] names under the zero key.
    --dry-run and --json show the plan.
  • [saves] in game.toml: title_ids, signing, tdata and
    [[saves.signed]] recipes, checked on load.
  • The release gate: [xbe] region, version, title and
    alt_title_ids record the reference release (fingerprint --toml prints
    them, with the sha256 as a comment and alt_title_ids commented out).
    A dump whose certificate title ID, region or version differs is another
    release (a listed sha256 never is, a truncated dump claims none):
    the warning, doctor, fingerprint and the plan say "another release: PAL, version 2, where this port was made from
    NTSC-U, version 6" instead of "modded code", and the build wizard asks
    before building such a dump (or an unknown one); the plan's xbe gains
    release, region, version, reference_release and other_release;
    the stamp_env value ends in release=<region>,v<version> (plus
    ,id=0x<title id> for another title ID). A failed recomp adds the
    dump's warning and the fingerprint command. The verdict values are
    unchanged; with neither sha256 nor sections, such a dump
    is unknown.

Changed

  • import and package take a dump with another title ID as another
    release, with a warning, when one certificate's alternate title IDs name
    the other's title ID (both IDs of one publisher) or its title matches
    [xbe] title (else the game's name). Any other title is still refused.