Skip to content

kyty: say at start which KYTY_* variables this build does not read #211

Done

Description

@simnJS

Context

AnyKyty removes a temporary KYTY_* switch as soon as its A/B has decided the default, and the cleanup of the last days removed dozens of them. A script, a launcher or a guide that still sets one of those names, or a misspelt one (KYTY_NATIVERT=0), changes nothing, silently: a tester then reports numbers for a setting that never applied.

python3 tools/check_kyty_settings.py --list already lists every KYTY_* name the code reads, and checks that each has its row in docs/dev/THIRD_PARTY_KYTY.md.

What to do

  • At start, after the host report, print one line per KYTY_* variable set in the environment that this build does not read, for example [kyty] KYTY_FLAT_DEFER is set but not read by this build.
  • The names this build reads come from one list in the code; extend tools/check_kyty_settings.py so that the CI fails when that list and the names the code reads differ.
  • The names that AnyKyty documents as deliberately ignored (Kyty's window, trophy and language options, see "What AnyKyty does not read" in docs/dev/ANYKYTY_SETTINGS.md) get the same line.

Where to start: the shim reads its settings in core/libs/prx/libSceAgcDriver/KytyShim/src/Config.cpp.

Acceptance

  • A run with an unknown KYTY_* name prints the line once; a run with only known names prints nothing more than today.
  • The CI fails when a new name is read and not listed.

Size

Medium: small code, plus the check.

Activity

  1. added
    area: tools-ci
    medium
    on Nov 22, 2026
  2. Celegans12 commented on Nov 22, 2026

    @Celegans12
    Collaborator

    I'll take this one. We run with a lot of KYTY_* variables in our measurement scripts, so a startup line naming the ones this build does not read would have saved us from at least one stale-switch mix-up.

    AI-assisted: yes

  3. simnJS commented on Nov 22, 2026

    @simnJS
    OwnerAuthor

    Taken by the maintainers tonight; a pull request will reference this issue. If you were about to start on it, pick another one from the roadmap.

  4. self-assigned this
    on Nov 22, 2026
  5. Celegans12 commented on Nov 22, 2026

    @Celegans12
    Collaborator

    @simnJS in case it slipped through: #235 already implements this (one list of the 86 names in Settings.cpp, the startup line, and check_kyty_settings.py comparing the list with the code), with green CI. Happy to change it however you like, or close it if you'd rather do your own.

    AI-assisted: yes

  6. simnJS commented on Nov 22, 2026

    @simnJS
    OwnerAuthor

    @Celegans12 it did slip through, sorry, and thanks for the nudge. We'll take #235 instead of writing our own: it's in the next review batch. I've stopped our duplicate.

  7. removed their assignment
    on Nov 22, 2026
  8. simnJS commented on Nov 25, 2026

    @simnJS
    OwnerAuthor

    Done in #235 (445eff8).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: tools-cimedium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions