Skip to content

Correct docs that still name removed environment switches - #312

Closed
v0lumehi wants to merge 1 commit into
seedds:mainfrom
v0lumehi:stale-env-docs
Closed

v0lumehi wants to merge 1 commit into
seedds:mainfrom
v0lumehi:stale-env-docs

Conversation

@v0lumehi

Copy link
Copy Markdown
Contributor

Docs that still name removed environment switches

I compared every DM_* name in the Markdown files against the code and the tools: 257 switches are read somewhere, and two names in the docs are read nowhere.

  • DM_FRAME_STEP, removed in 79d82f7 ("Remove the D2R code and the legacy frame step"). Two places still described it as working:

    • docs/reference/frame-rate.md said the old method is what "DM_FRAME_STEP=legacy still runs";
    • Breath of the Wild's note said "04 says DM_FRAME_STEP=legacy still runs this method", but docs/agents/04-graphics.md no longer says so.

    As 79d82f7 says, the interval-controller cuts stay, because the framework keeps the controller's interval while the game's VFR override holds. Both places now say that, and that the switch was removed in 79d82f7.

  • DM_NVN_ALPHA_RED. docs/reference/rendering.md already says the key and its host code were removed. It now names the commit, c76f679.

Docs only. Nothing in the code changes.

Checked

  • test_docs (links, anchors, symptom index).
  • ci.sh (host tests, CPU gfx tests, every gfx test built, dmhost for three profiles, the iOS compile check, all tool tests): no failures.
  • The same scan after the change: the only names left in the docs that no code reads are these two, both now in mentions that say they were removed.

DM_FRAME_STEP was removed in 79d82f7, which retired the legacy frame step. docs/reference/frame-rate.md still said `DM_FRAME_STEP=legacy` runs Breath of the Wild's interval controller method, and the game's note said "04 says" so. The controller cuts stay: the framework keeps the controller's interval while the game's VFR override holds. Both now say that, and that the switch was removed in 79d82f7.

DM_NVN_ALPHA_RED: rendering.md already says it was removed; it now names the commit, c76f679.

A scan of every DM_* name in the Markdown files against the code finds no others.
seedds added a commit that referenced this pull request Oct 26, 2026
DM_FRAME_STEP was removed in 79d82f7, but frame-rate.md and Breath of the
Wild's note still said DM_FRAME_STEP=legacy ran the old interval-controller
method. Both now say it was removed and that the controller cuts stay, for
the interval the framework keeps while the game's VFR override holds.
rendering.md names c76f679, which removed DM_NVN_ALPHA_RED.

Every doc mention of a name no code reads now says it was removed.

Validation: test_docs and test_env_switches pass.

Co-authored-by: v0lumehi <34629096+v0lumehi@users.noreply.github.com>
@seedds

seedds commented Oct 26, 2026

Copy link
Copy Markdown
Owner

Thanks. This landed on main as de13572, unchanged and with you as co-author. I checked both points against 79d82f7 and c76f679: the interval-controller cuts do stay for the interval the framework keeps while the VFR override holds.

With #318 in (cc626e7), dm/tools/env_switches.py still prints DM_FRAME_STEP and DM_NVN_ALPHA_RED as names quoted in the docs that no code reads. Every one of those mentions now says it was removed.

@seedds seedds closed this Oct 26, 2026
@v0lumehi
v0lumehi deleted the stale-env-docs branch October 26, 2026 19:41
Know-It-All-Brother pushed a commit to Know-It-All-Brother/nxnative that referenced this pull request Nov 9, 2026
DM_FRAME_STEP was removed in 79d82f7, but frame-rate.md and Breath of the
Wild's note still said DM_FRAME_STEP=legacy ran the old interval-controller
method. Both now say it was removed and that the controller cuts stay, for
the interval the framework keeps while the game's VFR override holds.
rendering.md names 8693df4, which removed DM_NVN_ALPHA_RED.

Every doc mention of a name no code reads now says it was removed.

Validation: test_docs and test_env_switches pass.

Co-authored-by: v0lumehi <34629096+v0lumehi@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants