[PR #1883] [CLOSED] runtime: the --first-run-ui usage line lists the options the mode takes (DOC-FIRST-RUN-UI-USAGE) #1894

Closed
opened 2026-11-26 21:19:19 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1883
Author: @kurrutako
Created: 11/25/2026
Status: ❌ Closed

Base: main ← Head: docs/first-run-ui-usage


📝 Commits (1)

  • 0c3aac4 runtime: the --first-run-ui usage line lists the options the mode takes (DOC-FIRST-RUN-UI-USAGE)

📊 Changes

2 files changed (+2 additions, -2 deletions)

View changed files

📝 docs/first_run_ui.md (+1 -1)
📝 runtime/src/main.cpp (+1 -1)

📄 Description

DOC-FIRST-RUN-UI-USAGE, claimed in #1608.

What

gta6rt's usage line for --first-run-ui now lists the options the mode already takes: --mods, --archetype-lookup, --view-mode-getter, --trace-d3d12 and game arguments after --, the same set as --run. docs/first_run_ui.md says so in one sentence and points --trace-d3d12 at tools/boot_trace.py --d3d12.

Why

--first-run-ui is parsed by the same loop as --run (runtime/src/main.cpp, wmain) and becomes a run (run = run || first_run_ui), so every --run option applies. The usage line showed only --game-dir, --overlay and --trace, which reads as if the D3D12 trace were not available in this mode. On my RTX 5070 boots (#1537) I left it out for that reason, and boot_trace.py --d3d12 then had no input.

Checked

With the runtime built from main 71a769d7d (MSVC 2022, RelWithDebInfo), on Windows 11:

  • gta6rt --first-run-ui nope.exe --bogus prints the usage text (unknown option, as before).
  • gta6rt --first-run-ui nope.exe --trace-d3d12 --mods m --overlay o -- -x passes the parser and stops at error: cannot open ...nope.exe, so all of those options are accepted today.

No behaviour change: only the usage text and the doc. python -I scripts/check_no_game_data.py passes.

AI-assisted.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1883 **Author:** [@kurrutako](https://github.com/kurrutako) **Created:** 11/25/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `docs/first-run-ui-usage` --- ### 📝 Commits (1) - [`0c3aac4`](https://github.com/ubiquitarianism/leonida/commit/0c3aac432110cedf6755b647088eb2e68c57606c) runtime: the --first-run-ui usage line lists the options the mode takes (DOC-FIRST-RUN-UI-USAGE) ### 📊 Changes **2 files changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docs/first_run_ui.md` (+1 -1) 📝 `runtime/src/main.cpp` (+1 -1) </details> ### 📄 Description DOC-FIRST-RUN-UI-USAGE, claimed in #1608. ## What `gta6rt`'s usage line for `--first-run-ui` now lists the options the mode already takes: `--mods`, `--archetype-lookup`, `--view-mode-getter`, `--trace-d3d12` and game arguments after `--`, the same set as `--run`. `docs/first_run_ui.md` says so in one sentence and points `--trace-d3d12` at `tools/boot_trace.py --d3d12`. ## Why `--first-run-ui` is parsed by the same loop as `--run` (`runtime/src/main.cpp`, `wmain`) and becomes a run (`run = run || first_run_ui`), so every `--run` option applies. The usage line showed only `--game-dir`, `--overlay` and `--trace`, which reads as if the D3D12 trace were not available in this mode. On my RTX 5070 boots (#1537) I left it out for that reason, and `boot_trace.py --d3d12` then had no input. ## Checked With the runtime built from `main` 71a769d7d (MSVC 2022, RelWithDebInfo), on Windows 11: - `gta6rt --first-run-ui nope.exe --bogus` prints the usage text (unknown option, as before). - `gta6rt --first-run-ui nope.exe --trace-d3d12 --mods m --overlay o -- -x` passes the parser and stops at `error: cannot open ...nope.exe`, so all of those options are accepted today. No behaviour change: only the usage text and the doc. `python -I scripts/check_no_game_data.py` passes. AI-assisted. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 21:19:19 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#1894
No description provided.