feat(settings): OptiScaler's licences in View licences #392

Merged
HumanBean merged 5 commits from llun/LongshotLauncher:feat/optiscaler-licences into main 2026-12-02 19:34:46 +00:00
Member

Longshot now ships OptiScaler with the game (MagicBeanDev/Longshot#2985), turned on from the game's own Graphics
menu. Players should be able to read its licences where the launcher already shows its own, so this adds them to
Settings › Launcher › View licences.

What changed

  • View licences lists two more documents: OptiScaler · GPL-3.0 and fakenvapi · MIT. Each
    starts with a plain note (what it is, that it is a separate project not made by Longshot, where its source is, where the game's copy is), then the
    licence text: the GNU GPL 3.0 (the launcher's own LICENSE, which OptiScaler's LICENSE is byte for byte) and
    fakenvapi's MIT licence (assets/licenses/fakenvapi-MIT.txt, pinned in assets/licenses/SOURCES).
  • The button's accessible label names them: "Launcher, font and OptiScaler licences" (translated in every catalog).
  • The documents moved from a closure into bundled_license, so a test can read them.

The launcher has no other OptiScaler setting: Longshot's builder bundles and places it (by pin, SHA-256 checked), and the
game's own optiscaler=1 setting turns it on. The legal copies of these licences go with OptiScaler's files into the game
folder's data/licenses/optiscaler/ (the builder PR), and each entry here says so; this is where players can read them
from the launcher.

Longshot does not ship dlssg-to-fsr3: the user turned OptiScaler's frame generation off (a black picture on Longshot,
and Longshot has its own FSR 3.1 frame generation), so #2985 leaves it out and so does this list.

Design

The user's decisions: bundle OptiScaler with Longshot's builder, turn it on in the game's settings (not the launcher), and
show its licence notice in the launcher's View licences.

Tests

  • every_listed_licence_has_its_document_and_optiscalers_are_the_shipped_texts: every entry of the list in
    ui/settings.slint has its document and none past it; OptiScaler's is the GPL-3.0 text and fakenvapi's the pinned MIT
    text (SHA-256).
  • python -I tests/test_launcher_core.py, locked Clippy, fmt. On this PC 11 tests in folders/registry/Steam
    library/portable home/storage fail on origin/main too (Windows path spellings, \ against /); none touches this.
  • By hand (Windows 11, a debug build with llvm-mingw, a throwaway launcher home): Settings › Launcher › View licences
    lists both new entries; each shows its note and its full licence text (screenshots in the first comment, taken
    before dlssg-to-fsr3 was dropped: the first entry is now titled "OptiScaler · GPL-3.0" and its note names OptiScaler
    alone).

Merge after MagicBeanDev/Longshot#2985, so the list never names something Longshot does not ship
yet. #344 also appends to assets/licenses/SOURCES: whichever lands second takes both blocks.

🤖 Generated with Claude Code

Longshot now ships OptiScaler with the game ([MagicBeanDev/Longshot#2985](https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2985)), turned on from the game's own Graphics menu. Players should be able to read its licences where the launcher already shows its own, so this adds them to Settings › Launcher › View licences. ## What changed - **View licences** lists two more documents: **OptiScaler · GPL-3.0** and **fakenvapi · MIT**. Each starts with a plain note (what it is, that it is a separate project not made by Longshot, where its source is, where the game's copy is), then the licence text: the GNU GPL 3.0 (the launcher's own `LICENSE`, which OptiScaler's `LICENSE` is byte for byte) and fakenvapi's MIT licence (`assets/licenses/fakenvapi-MIT.txt`, pinned in `assets/licenses/SOURCES`). - The button's accessible label names them: "Launcher, font and OptiScaler licences" (translated in every catalog). - The documents moved from a closure into `bundled_license`, so a test can read them. The launcher has no other OptiScaler setting: Longshot's builder bundles and places it (by pin, SHA-256 checked), and the game's own `optiscaler=1` setting turns it on. The legal copies of these licences go with OptiScaler's files into the game folder's `data/licenses/optiscaler/` (the builder PR), and each entry here says so; this is where players can read them from the launcher. Longshot does not ship dlssg-to-fsr3: the user turned OptiScaler's frame generation off (a black picture on Longshot, and Longshot has its own FSR 3.1 frame generation), so #2985 leaves it out and so does this list. ## Design The user's decisions: bundle OptiScaler with Longshot's builder, turn it on in the game's settings (not the launcher), and show its licence notice in the launcher's View licences. ## Tests - `every_listed_licence_has_its_document_and_optiscalers_are_the_shipped_texts`: every entry of the list in `ui/settings.slint` has its document and none past it; OptiScaler's is the GPL-3.0 text and fakenvapi's the pinned MIT text (SHA-256). - `python -I tests/test_launcher_core.py`, locked Clippy, fmt. On this PC 11 tests in folders/registry/Steam library/portable home/storage fail on `origin/main` too (Windows path spellings, `\` against `/`); none touches this. - By hand (Windows 11, a debug build with llvm-mingw, a throwaway launcher home): Settings › Launcher › View licences lists both new entries; each shows its note and its full licence text (screenshots in the first comment, taken before dlssg-to-fsr3 was dropped: the first entry is now titled "OptiScaler · GPL-3.0" and its note names OptiScaler alone). Merge after [MagicBeanDev/Longshot#2985](https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2985), so the list never names something Longshot does not ship yet. #344 also appends to `assets/licenses/SOURCES`: whichever lands second takes both blocks. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
feat(settings): OptiScaler's licences in View licences
Some checks failed
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Has been cancelled
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
PR title / Conventional Commit title (pull_request) Has been cancelled
c79d92fbd5
Longshot's builder ships OptiScaler with the game, turned on in the game's own menu. Settings › Launcher › View licences
now lists "OptiScaler and dlssg-to-fsr3 · GPL-3.0" and "fakenvapi · MIT": a plain note (a separate project, its source,
the copy in the game's data\licenses\optiscaler folder) and the licence text. The documents move into bundled_license so
a test checks every listed one is there and OptiScaler's are the shipped texts.

The user's decisions: OptiScaler bundled with the builder and turned on in the game, its licences shown here.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Member

Settings › Launcher › View licences on this branch (Windows 11, debug build, a throwaway launcher home):

OptiScaler and dlssg-to-fsr3 · GPL-3.0

fakenvapi · MIT

Settings › Launcher › View licences on this branch (Windows 11, debug build, a throwaway launcher home): ![OptiScaler and dlssg-to-fsr3 · GPL-3.0](https://git.magicbean.dev/attachments/946c85ed-25fa-42d9-8d20-886514398e97) ![fakenvapi · MIT](https://git.magicbean.dev/attachments/146dc478-a156-400f-9fbf-9c2be99529f1)
llun force-pushed feat/optiscaler-licences from c79d92fbd5
Some checks failed
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Has been cancelled
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
PR title / Conventional Commit title (pull_request) Has been cancelled
to a340daf825
Some checks failed
PR title / Conventional Commit title (pull_request) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Has been cancelled
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
2026-12-02 01:02:46 +00:00
Compare
llun changed title from WIP: feat(settings): OptiScaler's licences in View licences to feat(settings): OptiScaler's licences in View licences 2026-12-02 01:02:48 +00:00
BeanBot left a comment

Recommendation: Approve. The licence viewer has been exercised on Windows, but the entries should land after Longshot#2985 as the author requested. The displayed game-folder path also uses Windows separators on Linux. Nothing blocking is left. Recommend approval; not approved on the forge.

Adds offline OptiScaler and fakenvapi licence documents to the existing launcher viewer, with translated accessible labels. It reuses the existing viewer and adds little code.

Should fix (1): not blocking, but worth doing before merging.

  • L1 src/preferences.rs:228: Both new notices show a Windows-style path on Linux. (more on the line) Do: Display a platform-appropriate path, or use data/licenses/optiscaler in both notices.

@fix can do L1.

Checks: Still running: 5 checks.

More: does it help, other systems, switches, what was read

Does it help: Yes. The author reports opening both entries and their full texts in a Windows 11 debug build; this is not a performance change.

Other systems: The documents are embedded in the launcher and use the existing Slint viewer on Windows and Linux. The game builder and its licence copies are supplied by Longshot#2985, whose merge status could not be checked offline.

Switches: None.

Reviewed: a340daf825 against ad367dc625: Read AGENTS.md, CONTRIBUTING.md, the full diff, commit, src/preferences.rs, ui/settings.slint, licence sources and the new MIT text. Read the licence viewer and settings callback declarations; skimmed the changed translation entries. No review checklist or pull request template was present. Screenshot attachments were not available offline.; nothing run (a code review).

Checked and fine:

  • The dropdown indices map to the intended embedded documents.
  • The commit includes an AI co-author trailer, and no game-derived files are present in the diff.
  • The new test checks the embedded licence texts and the number of entries.
  • No switches, network operations or filesystem operations were added.

Testing: No commands from the project were run, as requested. The author reports a Windows manual check and local tests; Forgejo checks are still running.

Overlaps and merge order: Merge Longshot#2985 first. LongshotLauncher#344 also appends to assets/licenses/SOURCES; retain both blocks when merging the second change.


Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, as llun took it out of WIP. Nothing was run; a maintainer decides.

**Recommendation: Approve.** The licence viewer has been exercised on Windows, but the entries should land after Longshot#2985 as the author requested. The displayed game-folder path also uses Windows separators on Linux. Nothing blocking is left. Recommend approval; not approved on the forge. Adds offline OptiScaler and fakenvapi licence documents to the existing launcher viewer, with translated accessible labels. It reuses the existing viewer and adds little code. **Should fix (1)**: not blocking, but worth doing before merging. - **L1** `src/preferences.rs:228`: Both new notices show a Windows-style path on Linux. (more on the line) **Do:** Display a platform-appropriate path, or use data/licenses/optiscaler in both notices. `@fix` can do L1. **Checks:** Still running: 5 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Yes. The author reports opening both entries and their full texts in a Windows 11 debug build; this is not a performance change. **Other systems:** The documents are embedded in the launcher and use the existing Slint viewer on Windows and Linux. The game builder and its licence copies are supplied by Longshot#2985, whose merge status could not be checked offline. **Switches:** None. **Reviewed:** a340daf82555 against ad367dc625c4: Read AGENTS.md, CONTRIBUTING.md, the full diff, commit, src/preferences.rs, ui/settings.slint, licence sources and the new MIT text. Read the licence viewer and settings callback declarations; skimmed the changed translation entries. No review checklist or pull request template was present. Screenshot attachments were not available offline.; nothing run (a code review). **Checked and fine:** - The dropdown indices map to the intended embedded documents. - The commit includes an AI co-author trailer, and no game-derived files are present in the diff. - The new test checks the embedded licence texts and the number of entries. - No switches, network operations or filesystem operations were added. **Testing:** No commands from the project were run, as requested. The author reports a Windows manual check and local tests; Forgejo checks are still running. **Overlaps and merge order:** Merge Longshot#2985 first. LongshotLauncher#344 also appends to assets/licenses/SOURCES; retain both blocks when merging the second change. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, as llun took it out of WIP. Nothing was run; a maintainer decides.</sub>
@ -210,0 +225,4 @@
"Longshot ships OptiScaler (https://github.com/optiscaler/OptiScaler) and dlssg-to-fsr3 ",
"(https://github.com/Nukem9/dlssg-to-fsr3) as their makers publish them. They are separate projects, not made ",
"by Longshot, under the GNU General Public License, version 3. Their source is at those addresses. A copy of this ",
"licence is with the game, in its data\\licenses\\optiscaler folder.\n\n",
Member

L1 (should fix): Both new notices show a Windows-style path on Linux.

When: A Linux player following either notice sees data\licenses\optiscaler, which is not the path using Linux directory separators.

Do: Display a platform-appropriate path, or use data/licenses/optiscaler in both notices.

**L1** (should fix): Both new notices show a Windows-style path on Linux. *When:* A Linux player following either notice sees data\licenses\optiscaler, which is not the path using Linux directory separators. **Do:** Display a platform-appropriate path, or use data/licenses/optiscaler in both notices.
Author
Member
@fix
fix(settings): use portable paths in licence notices
Some checks failed
CI / What the change needs (pull_request) Successful in 4s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 11s
PR title / Conventional Commit title (pull_request) Successful in 6s
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
ff72ea1838
As the review on #392 asked.
BeanBot left a comment

Recommendation: Approve. The launcher displays the two licence notices, and the path correction preserves that feature. Merge after Longshot#2985 so the notices do not claim the game ships OptiScaler before it does. Nothing blocking is left. Recommend approval; not approved on the forge.

What @fix changed
I changed this pull request: the new head is ff72ea1838. I edited its description to match the change.

Changed

  • Licence notice paths in src/preferences.rs:228: Changed both notices to use data/licenses/optiscaler, which works for readers on Linux and Windows. Tests were not run as requested.

Nothing was built or run: the checks run again on the new head.

Adds OptiScaler and fakenvapi licence documents to View licences, with source notices and a translated accessible label. The documents reuse the existing licence viewer and add a small amount of bundled text.

Checks: they run again on this head; a failure shows on the pull request.

More: does it help, other systems, switches, what was read

Does it help: Yes: the author reports a Windows 11 manual check showing both entries and their full texts. This is not a performance change.

Other systems: The notices use the same viewer and callback on Windows and Linux; they do not change the builder or game. The game-side licence copies depend on Longshot#2985.

Switches: None.

Reviewed: ff72ea1838 against ad367dc625: Read AGENTS.md, CONTRIBUTING.md, src/preferences.rs, the licence assets and the relevant settings and callback code; skimmed the translation changes and remaining settings UI. No review checklist or pull request template was present.; nothing run (a code review).

Checked and fine:

  • Both notices now use the portable data/licenses/optiscaler path.
  • The dropdown indices map to the two new bundled documents, and the existing licence entries retain their mappings.
  • The fix does not remove or route around the licence viewer.

Testing: The author reports a Windows manual check, launcher core tests, locked Clippy and formatting; 11 launcher core tests reportedly also fail on main. CI has not run on this head. No commands from the project were run during review.

Overlaps and merge order: Merge Longshot#2985 first. LongshotLauncher#344 also appends to assets/licenses/SOURCES; retain both blocks when merging the second pull request.


Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its fix. Nothing was run; a maintainer decides.

**Recommendation: Approve.** The launcher displays the two licence notices, and the path correction preserves that feature. Merge after Longshot#2985 so the notices do not claim the game ships OptiScaler before it does. Nothing blocking is left. Recommend approval; not approved on the forge. **What `@fix` changed** I changed this pull request: the new head is ff72ea183811. I edited its description to match the change. **Changed** - **Licence notice paths in src/preferences.rs:228**: Changed both notices to use data/licenses/optiscaler, which works for readers on Linux and Windows. Tests were not run as requested. Nothing was built or run: the checks run again on the new head. Adds OptiScaler and fakenvapi licence documents to View licences, with source notices and a translated accessible label. The documents reuse the existing licence viewer and add a small amount of bundled text. **Checks:** they run again on this head; a failure shows on the pull request. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Yes: the author reports a Windows 11 manual check showing both entries and their full texts. This is not a performance change. **Other systems:** The notices use the same viewer and callback on Windows and Linux; they do not change the builder or game. The game-side licence copies depend on Longshot#2985. **Switches:** None. **Reviewed:** ff72ea183811 against ad367dc625c4: Read AGENTS.md, CONTRIBUTING.md, src/preferences.rs, the licence assets and the relevant settings and callback code; skimmed the translation changes and remaining settings UI. No review checklist or pull request template was present.; nothing run (a code review). **Checked and fine:** - Both notices now use the portable data/licenses/optiscaler path. - The dropdown indices map to the two new bundled documents, and the existing licence entries retain their mappings. - The fix does not remove or route around the licence viewer. **Testing:** The author reports a Windows manual check, launcher core tests, locked Clippy and formatting; 11 launcher core tests reportedly also fail on main. CI has not run on this head. No commands from the project were run during review. **Overlaps and merge order:** Merge Longshot#2985 first. LongshotLauncher#344 also appends to assets/licenses/SOURCES; retain both blocks when merging the second pull request. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its fix. Nothing was run; a maintainer decides.</sub>
feat(settings): View licences drops dlssg-to-fsr3, which Longshot no longer ships
Some checks failed
CI / What the change needs (pull_request) Successful in 5s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 10s
PR title / Conventional Commit title (pull_request) Successful in 5s
CI / Rust formatting, lint and tests (pull_request) Successful in 13m12s
CI / Release packages and stable upgrades (pull_request) Failing after 31m54s
2f8d8cca33
The user turned OptiScaler's frame generation off (a black picture on Longshot, and Longshot has its own FSR 3.1 frame
generation), so Longshot#2985 no longer ships dlssg-to-fsr3. The entry is now "OptiScaler · GPL-3.0", its note naming
OptiScaler alone; the test checks dlssg-to-fsr3 is not named.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Member

On top of BeanBot's / fix (L1, kept): the list drops dlssg-to-fsr3. The user turned OptiScaler's frame generation off (a black picture on Longshot, and Longshot has its own FSR 3.1 frame generation), so MagicBeanDev/Longshot#2985 no longer ships dlssg_to_fsr3_amd_is_better.dll or its licence (ec2b30550). The first entry is now OptiScaler · GPL-3.0, its note naming OptiScaler alone; the test checks dlssg-to-fsr3 is not named. fakenvapi's MIT text and the GPL-3.0 are byte for byte the game's copies in #2985 (SHA-256 d88550cb…, 3972dc97…). fmt, locked Clippy and the licence test pass on 2f8d8cc. The screenshots in the first comment show the earlier title.

On top of BeanBot's `/` fix (L1, kept): the list drops dlssg-to-fsr3. The user turned OptiScaler's frame generation off (a black picture on Longshot, and Longshot has its own FSR 3.1 frame generation), so MagicBeanDev/Longshot#2985 no longer ships dlssg_to_fsr3_amd_is_better.dll or its licence (`ec2b30550`). The first entry is now **OptiScaler · GPL-3.0**, its note naming OptiScaler alone; the test checks dlssg-to-fsr3 is not named. fakenvapi's MIT text and the GPL-3.0 are byte for byte the game's copies in #2985 (SHA-256 d88550cb…, 3972dc97…). fmt, locked Clippy and the licence test pass on 2f8d8cc. The screenshots in the first comment show the earlier title.
Author
Member
@review
BeanBot left a comment

Recommendation: Request changes. The licence list and documents are consistent with the reported contents of Longshot’s pending OptiScaler change. Merge Longshot#2985 first so the launcher does not describe software the game has yet to ship. (It stands on L2: The check CI / Release packages and stable upgrades (pull_request) fails on this head and passes on the base branch: Failing after 31m54s.)

Adds offline OptiScaler and fakenvapi licence notices to the launcher's existing licence viewer. The change reuses the existing viewer and adds a small indexed document mapping and test.

Blocking (1): must change before merging.

  1. L2: The check CI / Release packages and stable upgrades (pull_request) fails on this head and passes on the base branch: Failing after 31m54s.

@fix can do L2.

Since the last review (on ff72ea1838)
New: L2 (The check CI / Release packages and stable upgrades (pull_request) fails on this head an…)

More: does it help, other systems, switches, what was read

Does it help: Yes: the author reports viewing both licence documents in a Windows 11 debug build. The screenshots show the earlier title; the final title and notice are supported by the code and the author's later report.

Other systems: The viewer uses the same indexed callback on Windows and Linux; the change does not affect the builder or game. The game-side licence copies depend on Longshot#2985.

Switches: None.

Reviewed: 2f8d8cca33 against ad367dc625: Read AGENTS.md, CONTRIBUTING.md, the full diff, src/preferences.rs, assets/licenses/SOURCES and fakenvapi-MIT.txt; inspected the licence viewer wiring and the changed portion of ui/settings.slint. Skimmed translation changes. No review checklist or pull request template was present.; nothing run (a code review).

Checked and fine:

  • The dropdown order matches the bundled licence indices, and the removed dlssg-to-fsr3 name is absent from the changed notice and title.
  • The description states the dependency, the UI change, and the reported validation; screenshots are provided.
  • The changed notices use portable path spelling.

Testing: The author reports the licence test, locked Clippy and formatting passed, plus a Windows UI check. The release packages and stable upgrades CI check fails on this head. No commands that execute project code were run during this review.

Overlaps and merge order: Merge Longshot#2985 first. Launcher#344 also appends to assets/licenses/SOURCES; the second merge must retain both entries.


Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.

**Recommendation: Request changes.** The licence list and documents are consistent with the reported contents of Longshot’s pending OptiScaler change. Merge Longshot#2985 first so the launcher does not describe software the game has yet to ship. (It stands on L2: The check `CI / Release packages and stable upgrades (pull_request)` fails on this head and passes on the base branch: Failing after 31m54s.) Adds offline OptiScaler and fakenvapi licence notices to the launcher's existing licence viewer. The change reuses the existing viewer and adds a small indexed document mapping and test. **Blocking (1)**: must change before merging. 1. **L2**: The check `CI / Release packages and stable upgrades (pull_request)` fails on this head and passes on the base branch: Failing after 31m54s. `@fix` can do L2. **Since the last review** (on ff72ea183811) New: L2 (The check `CI / Release packages and stable upgrades (pull_request)` fails on this head an…) <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Yes: the author reports viewing both licence documents in a Windows 11 debug build. The screenshots show the earlier title; the final title and notice are supported by the code and the author's later report. **Other systems:** The viewer uses the same indexed callback on Windows and Linux; the change does not affect the builder or game. The game-side licence copies depend on Longshot#2985. **Switches:** None. **Reviewed:** 2f8d8cca3399 against ad367dc625c4: Read AGENTS.md, CONTRIBUTING.md, the full diff, src/preferences.rs, assets/licenses/SOURCES and fakenvapi-MIT.txt; inspected the licence viewer wiring and the changed portion of ui/settings.slint. Skimmed translation changes. No review checklist or pull request template was present.; nothing run (a code review). **Checked and fine:** - The dropdown order matches the bundled licence indices, and the removed dlssg-to-fsr3 name is absent from the changed notice and title. - The description states the dependency, the UI change, and the reported validation; screenshots are provided. - The changed notices use portable path spelling. **Testing:** The author reports the licence test, locked Clippy and formatting passed, plus a Windows UI check. The release packages and stable upgrades CI check fails on this head. No commands that execute project code were run during this review. **Overlaps and merge order:** Merge Longshot#2985 first. Launcher#344 also appends to assets/licenses/SOURCES; the second merge must retain both entries. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.</sub>
Author
Member
@fix
fix(tests): describe fixture versions in window smoke test
Some checks failed
CI / What the change needs (pull_request) Successful in 4s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 10s
PR title / Conventional Commit title (pull_request) Successful in 6s
CI / Rust formatting, lint and tests (pull_request) Successful in 13m46s
CI / Release packages and stable upgrades (pull_request) Failing after 1h0m3s
16cb40afdf
As the review on #392 asked.
BeanBot left a comment

Recommendation: Approve. The licence entries and their documents are wired into the existing viewer, and the fixture records match the version-record format. Merge after Longshot #2985 so the launcher does not describe a component the game has not yet shipped. Nothing blocking is left. Recommend approval; not approved on the forge.

What @fix changed
I changed this pull request: the new head is 16cb40afdf.

Changed

  • Window smoke test version selection: Added the current version records to both synthetic installations in tests/test_rust_window.py:309, so the existing window can discover and select them. Tests were not run as requested.

Nothing was built or run: the checks run again on the new head.

Players can read the OptiScaler and fakenvapi licences from the existing launcher settings. The change reuses the existing viewer and adds a small amount of bundled text and test code.

Checks: they run again on this head (CI / Release packages and stable upgrades (pull_request) failed on the last one); a failure shows on the pull request.

Also noticed (1; not asked for, not blocking)
  • The updated window smoke test has not been run on this head.
More: does it help, other systems, switches, what was read

Does it help: Yes. The author reports viewing both full documents in a Windows 11 debug build; the screenshots show the earlier first-entry title.

Other systems: The viewer is shared across platforms; the notices use portable paths. The fixture change affects the Linux window smoke test, not the shipped launcher.

Switches: None.

Reviewed: 16cb40afdf against ad367dc625: Read the repository rules, the full pull request diff, the smoke test and the version-record reader. Reviewed the changed licence and UI code; skimmed translation changes and surrounding callers. Some long file output was truncated.; nothing run (a code review).

Checked and fine:

  • Both synthetic installations receive distinct records with valid format, id and version fields.
  • The fixture change does not remove or bypass the licence feature.
  • The licence list and bundled documents have matching indices.

Testing: No commands from the project were run. The author reports the licence test, formatting and locked Clippy passed on the preceding head; CI has not yet run on this head.

Overlaps and merge order: Merge Longshot #2985 first. Launcher #344 also appends to assets/licenses/SOURCES; retain both blocks when merging the second pull request.


Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its fix. Nothing was run; a maintainer decides.

**Recommendation: Approve.** The licence entries and their documents are wired into the existing viewer, and the fixture records match the version-record format. Merge after Longshot #2985 so the launcher does not describe a component the game has not yet shipped. Nothing blocking is left. Recommend approval; not approved on the forge. **What `@fix` changed** I changed this pull request: the new head is 16cb40afdf48. **Changed** - **Window smoke test version selection**: Added the current version records to both synthetic installations in tests/test_rust_window.py:309, so the existing window can discover and select them. Tests were not run as requested. Nothing was built or run: the checks run again on the new head. Players can read the OptiScaler and fakenvapi licences from the existing launcher settings. The change reuses the existing viewer and adds a small amount of bundled text and test code. **Checks:** they run again on this head (`CI / Release packages and stable upgrades (pull_request)` failed on the last one); a failure shows on the pull request. <details> <summary>Also noticed (1; not asked for, not blocking)</summary> - The updated window smoke test has not been run on this head. </details> <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Yes. The author reports viewing both full documents in a Windows 11 debug build; the screenshots show the earlier first-entry title. **Other systems:** The viewer is shared across platforms; the notices use portable paths. The fixture change affects the Linux window smoke test, not the shipped launcher. **Switches:** None. **Reviewed:** 16cb40afdf48 against ad367dc625c4: Read the repository rules, the full pull request diff, the smoke test and the version-record reader. Reviewed the changed licence and UI code; skimmed translation changes and surrounding callers. Some long file output was truncated.; nothing run (a code review). **Checked and fine:** - Both synthetic installations receive distinct records with valid format, id and version fields. - The fixture change does not remove or bypass the licence feature. - The licence list and bundled documents have matching indices. **Testing:** No commands from the project were run. The author reports the licence test, formatting and locked Clippy passed on the preceding head; CI has not yet run on this head. **Overlaps and merge order:** Merge Longshot #2985 first. Launcher #344 also appends to assets/licenses/SOURCES; retain both blocks when merging the second pull request. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its fix. Nothing was run; a maintainer decides.</sub>
Owner
@rebase
Member

I rebased this pull request onto main (c1bc2e0059): the new head is 5f4b1075a7.

Conflicts resolved

  • assets/licenses/SOURCES: Kept the base branch’s NVIDIA Reflex and Streamline entries and the pull request’s fakenvapi entry.

Nothing was built or run: read the resolution before merging.


Automated rebase by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.

I rebased this pull request onto `main` (c1bc2e0059a1): the new head is 5f4b1075a7da. **Conflicts resolved** - assets/licenses/SOURCES: Kept the base branch’s NVIDIA Reflex and Streamline entries and the pull request’s fakenvapi entry. Nothing was built or run: read the resolution before merging. --- <sub>Automated rebase by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.</sub>
BeanBot force-pushed feat/optiscaler-licences from 16cb40afdf
Some checks failed
CI / What the change needs (pull_request) Successful in 4s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 10s
PR title / Conventional Commit title (pull_request) Successful in 6s
CI / Rust formatting, lint and tests (pull_request) Successful in 13m46s
CI / Release packages and stable upgrades (pull_request) Failing after 1h0m3s
to 5f4b1075a7
Some checks failed
CI / What the change needs (pull_request) Successful in 6s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 11s
PR title / Conventional Commit title (pull_request) Successful in 6s
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
2026-12-02 18:22:50 +00:00
Compare
BeanBot left a comment

Recommendation: Approve. The licence entries have a reported Windows UI check, but Longshot must ship OptiScaler before the launcher describes it as shipped. Nothing blocking is left. Recommend approval; not approved on the forge.

Adds offline OptiScaler and fakenvapi licence documents to the launcher's existing licence view, with translated accessible labels. The shared document lookup keeps the list readable at a small maintenance cost.

Since the last review (on 16cb40afdf)
Still open: L2 (The check CI / Release packages and stable upgrades (pull_request) fails on this head an…)

Checks: Still running: 5 checks.

More: does it help, other systems, switches, what was read

Does it help: Not a perf change. The author reports that both documents displayed in a Windows 11 debug build; the screenshots show the earlier OptiScaler title.

Other systems: The licence view is shared across Windows and Linux and does not change game builds or settings. The fixture update affects the Linux window smoke test. Longshot #2985 supplies the game-side files and licences.

Switches: None.

Reviewed: 5f4b1075a7 against c1bc2e0059: Read AGENTS.md, CONTRIBUTING.md, the full diff, commit list, licence sources and licence text; inspected the changed Rust, Slint and window-test files and skimmed translation changes. No review checklist or pull request template was present.; nothing run (a code review).

Checked and fine:

  • The rebased fakenvapi source entry retains its pinned upstream URL and no longer names dlssg-to-fsr3.
  • The licence list order matches the document lookup, and the new test checks both entries and their text.
  • The description explains the change and includes the reported UI check.

Testing: No commands that build or run project code were executed. The author reports the licence test, formatting and locked Clippy passed; CI is still running.

Overlaps and merge order: Longshot #2985 must merge first. Launcher #344 also appends to assets/licenses/SOURCES; preserve both entries if it merges first.


Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its rebase. Nothing was run; a maintainer decides.

**Recommendation: Approve.** The licence entries have a reported Windows UI check, but Longshot must ship OptiScaler before the launcher describes it as shipped. Nothing blocking is left. Recommend approval; not approved on the forge. Adds offline OptiScaler and fakenvapi licence documents to the launcher's existing licence view, with translated accessible labels. The shared document lookup keeps the list readable at a small maintenance cost. **Since the last review** (on 16cb40afdf48) Still open: L2 (The check `CI / Release packages and stable upgrades (pull_request)` fails on this head an…) **Checks:** Still running: 5 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Not a perf change. The author reports that both documents displayed in a Windows 11 debug build; the screenshots show the earlier OptiScaler title. **Other systems:** The licence view is shared across Windows and Linux and does not change game builds or settings. The fixture update affects the Linux window smoke test. Longshot #2985 supplies the game-side files and licences. **Switches:** None. **Reviewed:** 5f4b1075a7da against c1bc2e0059a1: Read AGENTS.md, CONTRIBUTING.md, the full diff, commit list, licence sources and licence text; inspected the changed Rust, Slint and window-test files and skimmed translation changes. No review checklist or pull request template was present.; nothing run (a code review). **Checked and fine:** - The rebased fakenvapi source entry retains its pinned upstream URL and no longer names dlssg-to-fsr3. - The licence list order matches the document lookup, and the new test checks both entries and their text. - The description explains the change and includes the reported UI check. **Testing:** No commands that build or run project code were executed. The author reports the licence test, formatting and locked Clippy passed; CI is still running. **Overlaps and merge order:** Longshot #2985 must merge first. Launcher #344 also appends to assets/licenses/SOURCES; preserve both entries if it merges first. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its rebase. Nothing was run; a maintainer decides.</sub>
Author
Member

About L2 (the Release packages and stable upgrades check): this PR doesn't cause it. Main fails the same check.

  • The base fails too. The review says it passes on the base branch, but ad367dc6 failed there (run 1737) with the same error as this PR did (run 1746): RuntimeError: The existing window did not select first. Of main's last 12 commits, 11 failed the check and c1bc2e00 hasn't run it yet.
  • A second bug is behind the first. With BeanBot's version.json fix (16cb40af), the job got past that error. The Windows updater under Wine then tried to start xvfb-run, which isn't there, and the job ran to its 1-hour limit (run 1761).
  • #370 changes both places. It adds the same record and runs xvfb-run for the Linux file only. Its description says the full packaging job hasn't been run on Ubuntu yet. Its version.json lines conflict with the ones BeanBot added here, so whichever merges second needs a small fix.
About L2 (the `Release packages and stable upgrades` check): this PR doesn't cause it. Main fails the same check. - **The base fails too.** The review says it passes on the base branch, but `ad367dc6` failed there ([run 1737](https://git.magicbean.dev/MagicBeanDev/LongshotLauncher/actions/runs/1737/jobs/3)) with the same error as this PR did ([run 1746](https://git.magicbean.dev/MagicBeanDev/LongshotLauncher/actions/runs/1746/jobs/3)): `RuntimeError: The existing window did not select first`. Of main's last 12 commits, 11 failed the check and `c1bc2e00` hasn't run it yet. - **A second bug is behind the first.** With BeanBot's `version.json` fix (`16cb40af`), the job got past that error. The Windows updater under Wine then tried to start `xvfb-run`, which isn't there, and the job ran to its 1-hour limit ([run 1761](https://git.magicbean.dev/MagicBeanDev/LongshotLauncher/actions/runs/1761/jobs/3)). - **[#370](https://git.magicbean.dev/MagicBeanDev/LongshotLauncher/pulls/370) changes both places.** It adds the same record and runs `xvfb-run` for the Linux file only. Its description says the full packaging job hasn't been run on Ubuntu yet. Its `version.json` lines conflict with the ones BeanBot added here, so whichever merges second needs a small fix.
revert: "fix(tests): describe fixture versions in window smoke test"
Some checks failed
CI / What the change needs (pull_request) Successful in 5s
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Successful in 10s
PR title / Conventional Commit title (pull_request) Successful in 6s
CI / Rust formatting, lint and tests (pull_request) Successful in 11m9s
CI / Release packages and stable upgrades (pull_request) Failing after 32m50s
e5afdcb4ca
The packaging check fails on main too, so it isn't this PR's to fix. LongshotLauncher#370 changes the same lines,
and the two conflicted.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Member

I removed the version.json test fix from this PR (e5afdcb), as llun decided. #370 changes the same lines, and the two conflicted. This PR now changes no test files, only the licences.

The Release packages and stable upgrades check will still fail here until main is fixed. The comment above has the runs.

I removed the `version.json` test fix from this PR (`e5afdcb`), as llun decided. #370 changes the same lines, and the two conflicted. This PR now changes no test files, only the licences. The `Release packages and stable upgrades` check will still fail here until main is fixed. The comment above has the runs.
HumanBean deleted branch feat/optiscaler-licences 2026-12-02 19:34:46 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
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
MagicBeanDev/LongshotLauncher!392
No description provided.