fix(assets): Longshot's logo is the new striped one: the exe and taskbar icon, the start-up screen, the menu, the README and the website #2724

Open
llun wants to merge 4 commits from llun/Longshot:fix/longshot-new-logo into main
Member

Summary

The Longshot Launcher shows the new striped Longshot logo since its Rust port, but a game it builds still has the old
green hookshot as its exe and taskbar icon, on its start-up screen and in the menu's banner, and the README and the
website still show it too. On main: build a game (or run a nightly), look at longshot.exe in Explorer, its
taskbar button or the start-up screen: the green hookshot. This puts the striped logo everywhere in this repository.

The new logo is LongshotLauncher's assets/longshot.png,
added by HumanBean in LongshotLauncher#284
(the Rust port): 619×619 RGBA, the largest copy of it there is (blob 2462464c).

  • assets/longshot.png: that picture fitted in a transparent 512×512 square, 8-bit RGBA, non-interlaced, as
    build-compile's generated::decode_png reads it. It is the start-up screen's logo (generated::logo_header), the
    menu banner's, the Linux window icon's fallback (build-assets lib.rs, host/posix/display_sdl.c) and the README's.
  • assets/longshot.ico: the exe's icon (icon 1, which the window and taskbar take) and the Steam shortcut's
    (longshot-builder steam_cmd.rs). PNG images at icon::SIZES (16, 24, 32, 48, 64, 128, 256), each resampled
    once from the 619 picture, not from the 512 PNG.
  • assets/branding/longshot.png: the website's favicon and header logo, the same file as assets/longshot.png; a line
    in PROVENANCE.txt says where it came from.
  • docs/user/images/guide/settings-graphics.png: the menu fixture draws assets/longshot.png in the banner, so the
    Graphics image is recaptured and its manifest entry rewritten (below).

How the files were made (reproducible, the builder's own code): builder/crates/build-assets/examples/longshot_icon.rs,

cargo run -p build-assets --example longshot_icon -- <LongshotLauncher's assets/longshot.png>

It writes assets/longshot.png as icon::square(picture, 512) and assets/longshot.ico as
icon::ico_of(icon::images_of(picture)) (Lanczos into a transparent square, as the builder makes an exe's icon).
Without a picture it remakes the .ico from the PNG there. A new test, icon::tests::longshots_ico_is_its_png, checks
the two stay together: the PNG is 512×512 RGBA, the .ico holds every size, and each is the PNG's at that size within
rounding (0.65 to 0.73 apart on average per channel; main's old .ico against the new PNG is 74 to 82 apart, the
limit is 4). No other copy or hash of the old artwork is in the tree (checked by blob and SHA-256); the
App/Assets/... hashes in the manifest are the old launcher's files and stay. MagicBeanDev/Site and Beanstalk have
their own copies and are handled apart.

Read first: builder/crates/build-assets/examples/longshot_icon.rs, the test in builder/crates/build-assets/src/icon.rs.

Testing

Tested: Windows 11 Pro (build 26300), RTX 5080, driver 621.40, at b31dccae (9a3d763a adds the guide image and its docs; the current head also fixes missing --root value handling). Main 22d0d200's shared base, this branch as a pack
over it (mise run dev -- base, pack, rt, and rt --empty for main), each run windowed through the job queue with
a build name:

  • Start-up screen: main shows the green hookshot above LONGSHOT; this branch the striped logo, sharp at that size.
  • longshot.exe in File Explorer (large icons): main's has the hookshot, this branch's the striped logo. All 7 of the
    new .ico's images are in this branch's exe and none of main's (and the reverse for main's exe).
  • Taskbar: the running game's button (hover preview titled Longshot) and its window's title bar have the striped icon.
  • The F1 menu opened; its banner logo sits under the RivaTuner overlay on this PC, so the banner is shown by the
    guide fixture's capture instead (below).
  • The game ran 77 s to its title scene and closed when asked (exit 0).

Checks:

  • cargo test -p build-assets: 69 passed; cargo clippy -p build-assets --all-targets -D warnings and cargo fmt --check clean.
  • scripts/check_guide_screenshots.py --review-sources passes (on main it fails: 14 UI sources changed since the
    last review; the recapture records them). tests/test_guide_screenshots.py passes.
  • mise run test on this PC (Windows): 169 passed, 672 failed, 47 skipped, the same 672 failing on main 22d0d200
    (compared file by file: none fails only here). They fail at once because this PC has no g++, glslang or spirv-val
    for them; CI runs them on Linux.
  • pre-commit over the branch: passes.

The guide image: recaptured with scripts/screenshots/capture_menu.py from b31dccae (Ubuntu 24.04 under WSL 2:
clang 18.1.3, SDL 2.30.0, libpng 1.6.43). A capture of main with the same toolchain differs from it in the logo and the
version text only. Against the previous image (captured from e78aa33d with clang 23.1.4, SDL 2.32.74) the rows,
labels, values, help, tab strip and footer are the same; the logo, the version text and the text's antialiasing
differ. The PNG is the helper's output unchanged; the manifest records its 147 inputs.

Still to test:

  • Linux: the window's icon (title bar, task switcher) of a game whose .nup has no icon is the striped logo, from
    longshot.png in the game folder (by hand: it is judged by eye).
  • Windows: longshot-builder steam add puts the striped icon on the game's Steam shortcut (by hand: it changes Steam's
    shortcuts on the PC).

Measurements

Verdict: nothing runs differently, so there is no fps or frame time to measure: pictures only. The files and the
exe change size a little; the assets' build time is unchanged (the same steps on similar inputs).

Setup: the files' sizes on disk; longshot.exe from main's runtime (rt --empty) and this branch's, same base.

Before: main @ 22d0d200 After: this PR @ b31dccae
assets/longshot.png 190,487 B 128,890 B
assets/longshot.ico 83,315 B 99,937 B
longshot.exe 823,851,008 B 823,867,392 B (+16 KB)

Risks

A picture only: the exe, the window, the start-up screen, the menu banner, the website and the README show the new
logo. Explorer may show the old exe icon for a game folder it cached before an update until its icon cache refreshes
(the same as any exe whose icon changes). A revert is enough.

Checklist

Ready for review

  • One topic, on current main; the title is a Conventional Commit.
  • Tested on my own PC, in the game for a change the game runs, as Testing says.
  • mise run test passes (any failure that also fails on main is named).
  • Measured against main, or Measurements says why there is nothing to measure.
  • No game files, build output or hand-edited generated files; third_party/ untouched; nothing GPL-incompatible.

When it applies

  • A check under tests/ that reads changed source is updated, not weakened.
  • Screenshots of the same spot on main and here, for a change that shows on screen.
  • Docs updated.
  • AI assistance recorded with Assisted-by: / Co-Authored-By: trailers.

(No "A fix: a game-free test that fails on main" box: an old picture is not something a game-free test can show
failing. The new test guards the .ico against the PNG and passes on main too, where the old pair was made the same
way; the in-game pictures are the evidence.)

Ready to merge

  • Everything in Still to test has run, its results in Tested.
  • Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers").
  • Approved in review, every comment answered.
  • CI passes on the head; on current main, measured again or a comment says why the numbers still hold.

🤖 Generated with Claude Code

## Summary The Longshot Launcher shows the new striped Longshot logo since its Rust port, but a game it builds still has the old green hookshot as its exe and taskbar icon, on its start-up screen and in the menu's banner, and the README and the website still show it too. On `main`: build a game (or run a nightly), look at `longshot.exe` in Explorer, its taskbar button or the start-up screen: the green hookshot. This puts the striped logo everywhere in this repository. The new logo is LongshotLauncher's [`assets/longshot.png`](https://git.magicbean.dev/MagicBeanDev/LongshotLauncher/src/branch/main/assets/longshot.png), added by HumanBean in [LongshotLauncher#284](https://git.magicbean.dev/MagicBeanDev/LongshotLauncher/pulls/284) (the Rust port): 619×619 RGBA, the largest copy of it there is (blob `2462464c`). - `assets/longshot.png`: that picture fitted in a transparent 512×512 square, 8-bit RGBA, non-interlaced, as `build-compile`'s `generated::decode_png` reads it. It is the start-up screen's logo (`generated::logo_header`), the menu banner's, the Linux window icon's fallback (`build-assets` `lib.rs`, `host/posix/display_sdl.c`) and the README's. - `assets/longshot.ico`: the exe's icon (icon 1, which the window and taskbar take) and the Steam shortcut's (`longshot-builder` `steam_cmd.rs`). PNG images at `icon::SIZES` (16, 24, 32, 48, 64, 128, 256), each resampled once from the 619 picture, not from the 512 PNG. - `assets/branding/longshot.png`: the website's favicon and header logo, the same file as `assets/longshot.png`; a line in `PROVENANCE.txt` says where it came from. - `docs/user/images/guide/settings-graphics.png`: the menu fixture draws `assets/longshot.png` in the banner, so the Graphics image is recaptured and its manifest entry rewritten (below). **How the files were made** (reproducible, the builder's own code): `builder/crates/build-assets/examples/longshot_icon.rs`, ``` cargo run -p build-assets --example longshot_icon -- <LongshotLauncher's assets/longshot.png> ``` It writes `assets/longshot.png` as `icon::square(picture, 512)` and `assets/longshot.ico` as `icon::ico_of(icon::images_of(picture))` (Lanczos into a transparent square, as the builder makes an exe's icon). Without a picture it remakes the `.ico` from the PNG there. A new test, `icon::tests::longshots_ico_is_its_png`, checks the two stay together: the PNG is 512×512 RGBA, the `.ico` holds every size, and each is the PNG's at that size within rounding (0.65 to 0.73 apart on average per channel; main's old `.ico` against the new PNG is 74 to 82 apart, the limit is 4). No other copy or hash of the old artwork is in the tree (checked by blob and SHA-256); the `App/Assets/...` hashes in the manifest are the old launcher's files and stay. MagicBeanDev/Site and Beanstalk have their own copies and are handled apart. Read first: `builder/crates/build-assets/examples/longshot_icon.rs`, the test in `builder/crates/build-assets/src/icon.rs`. ## Testing **Tested:** Windows 11 Pro (build 26300), RTX 5080, driver 621.40, at `b31dccae` (`9a3d763a` adds the guide image and its docs; the current head also fixes missing `--root` value handling). Main `22d0d200`'s shared base, this branch as a pack over it (`mise run dev -- base`, `pack`, `rt`, and `rt --empty` for main), each run windowed through the job queue with a build name: - Start-up screen: main shows the green hookshot above LONGSHOT; this branch the striped logo, sharp at that size. - `longshot.exe` in File Explorer (large icons): main's has the hookshot, this branch's the striped logo. All 7 of the new `.ico`'s images are in this branch's exe and none of main's (and the reverse for main's exe). - Taskbar: the running game's button (hover preview titled Longshot) and its window's title bar have the striped icon. - The F1 menu opened; its banner logo sits under the RivaTuner overlay on this PC, so the banner is shown by the guide fixture's capture instead (below). - The game ran 77 s to its title scene and closed when asked (exit 0). Checks: - `cargo test -p build-assets`: 69 passed; `cargo clippy -p build-assets --all-targets -D warnings` and `cargo fmt --check` clean. - `scripts/check_guide_screenshots.py --review-sources` passes (on `main` it fails: 14 UI sources changed since the last review; the recapture records them). `tests/test_guide_screenshots.py` passes. - `mise run test` on this PC (Windows): 169 passed, 672 failed, 47 skipped, the same 672 failing on `main` `22d0d200` (compared file by file: none fails only here). They fail at once because this PC has no g++, glslang or spirv-val for them; CI runs them on Linux. - pre-commit over the branch: passes. **The guide image:** recaptured with `scripts/screenshots/capture_menu.py` from `b31dccae` (Ubuntu 24.04 under WSL 2: clang 18.1.3, SDL 2.30.0, libpng 1.6.43). A capture of `main` with the same toolchain differs from it in the logo and the version text only. Against the previous image (captured from `e78aa33d` with clang 23.1.4, SDL 2.32.74) the rows, labels, values, help, tab strip and footer are the same; the logo, the version text and the text's antialiasing differ. The PNG is the helper's output unchanged; the manifest records its 147 inputs. **Still to test:** - Linux: the window's icon (title bar, task switcher) of a game whose .nup has no icon is the striped logo, from `longshot.png` in the game folder (by hand: it is judged by eye). - Windows: `longshot-builder steam add` puts the striped icon on the game's Steam shortcut (by hand: it changes Steam's shortcuts on the PC). ## Measurements **Verdict:** nothing runs differently, so there is no fps or frame time to measure: pictures only. The files and the exe change size a little; the assets' build time is unchanged (the same steps on similar inputs). Setup: the files' sizes on disk; `longshot.exe` from main's runtime (`rt --empty`) and this branch's, same base. | | Before: main @ 22d0d200 | After: this PR @ b31dccae | |---|---|---| | `assets/longshot.png` | 190,487 B | 128,890 B | | `assets/longshot.ico` | 83,315 B | 99,937 B | | `longshot.exe` | 823,851,008 B | 823,867,392 B (+16 KB) | ## Risks A picture only: the exe, the window, the start-up screen, the menu banner, the website and the README show the new logo. Explorer may show the old exe icon for a game folder it cached before an update until its icon cache refreshes (the same as any exe whose icon changes). A revert is enough. ## Checklist ### Ready for review - [x] One topic, on current `main`; the title is a Conventional Commit. - [x] Tested on my own PC, in the game for a change the game runs, as Testing says. - [x] `mise run test` passes (any failure that also fails on `main` is named). - [x] Measured against `main`, or Measurements says why there is nothing to measure. - [x] No game files, build output or hand-edited generated files; `third_party/` untouched; nothing GPL-incompatible. ### When it applies - [x] A check under `tests/` that reads changed source is updated, not weakened. - [x] Screenshots of the same spot on `main` and here, for a change that shows on screen. - [x] Docs updated. - [x] AI assistance recorded with `Assisted-by:` / `Co-Authored-By:` trailers. (No "A fix: a game-free test that fails on `main`" box: an old picture is not something a game-free test can show failing. The new test guards the `.ico` against the PNG and passes on `main` too, where the old pair was made the same way; the in-game pictures are the evidence.) ### Ready to merge - [ ] Everything in Still to test has run, its results in Tested. - [ ] Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers"). - [ ] Approved in review, every comment answered. - [ ] CI passes on the head; on current `main`, measured again or a comment says why the numbers still hold. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The launcher shows the striped Longshot logo since its Rust port, while a game it builds kept the old green
hookshot as its exe and taskbar icon. The new logo is LongshotLauncher's assets/longshot.png, from HumanBean's
LongshotLauncher #284 (the Rust port).

- assets/longshot.png and assets/branding/longshot.png: that picture fitted in a transparent 512 square, 8-bit
  RGBA (what the start-up screen's logo reads).
- assets/longshot.ico: that PNG at the builder's icon sizes, made the way the builder makes an exe's icon.
- build-assets' examples/longshot_icon.rs makes both from one picture; icon::tests::longshots_ico_is_its_png
  checks the .ico is the PNG's.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
examples/longshot_icon.rs makes assets/longshot.ico's sizes straight from the picture it is given (LongshotLauncher's
619x619 assets/longshot.png), and longshots_ico_is_its_png checks each is the PNG's at that size within rounding
(about 0.7 apart on average; the old logo's are about 75 apart).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
docs(guide): the Graphics menu image recaptured with the new striped logo in its banner
Some checks failed
CI / What the change needs (pull_request) Successful in 10s
CI / Third-party parts and guide screenshots (pull_request) Successful in 14s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 11s
PR description / Title and description (pull_request_target) Successful in 6s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
9a3d763a03
The menu fixture draws assets/longshot.png in the banner, so the image is recaptured from b31dccae with the UI-only
helper (scripts/screenshots/capture_menu.py, Ubuntu 24.04 under WSL 2: clang 18.1.3, SDL 2.30.0, libpng 1.6.43).
Rows, values, help, tab strip and footer match the image before; the logo, the version text and the text's
antialiasing differ. The manifest records the capture's 147 inputs, which also clears the 14 UI sources that had
changed on main since the last review.

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

Tested in game: Windows 11 Pro 26300, RTX 5080, driver 621.40; this branch as a pack over main 22d0d200's base, windowed through the job queue. The start-up screen shows the striped logo (main: the green hookshot); longshot.exe in Explorer and the running game's taskbar button and title bar have the striped icon (main's exe: the hookshot); the game ran 77 s to its title scene and closed when asked (exit 0).

Tested in game: Windows 11 Pro 26300, RTX 5080, driver 621.40; this branch as a pack over main 22d0d200's base, windowed through the job queue. The start-up screen shows the striped logo (main: the green hookshot); longshot.exe in Explorer and the running game's taskbar button and title bar have the striped icon (main's exe: the hookshot); the game ran 77 s to its title scene and closed when asked (exit 0).
Member

Possibly related, for context:

  • PR #1764 fix(build): the game's window and taskbar icon is Longshot's, not the old Hookshot one — Earlier green-logo exe and taskbar icon; this updates the artwork across assets and UI
Possibly related, for context: - PR #1764 fix(build): the game's window and taskbar icon is Longshot's, not the old Hookshot one — Earlier green-logo exe and taskbar icon; this updates the artwork across assets and UI
Author
Member

Before (main 22d0d200) and after (this branch), same PC, same base (Windows 11, RTX 5080, 621.40):

The start-up screen's logo (left main, right here; cropped to the logo):

start-up screen

longshot.exe in File Explorer (large icons; copies of each runtime's exe side by side):

exe icons

The taskbar while this branch's game runs (left: the Longshot Launcher's pinned button; right: the game's):

taskbar

The menu banner in the guide's Graphics image (top: the published one; bottom: the recapture in this PR):

menu banner

Before (main `22d0d200`) and after (this branch), same PC, same base (Windows 11, RTX 5080, 621.40): **The start-up screen's logo** (left main, right here; cropped to the logo): ![start-up screen](https://git.magicbean.dev/attachments/7c99b16f-86d0-4b54-9f7e-b97bccd7c33a) **`longshot.exe` in File Explorer** (large icons; copies of each runtime's exe side by side): ![exe icons](https://git.magicbean.dev/attachments/74603238-bb71-47a8-88d8-9150f523e363) **The taskbar while this branch's game runs** (left: the Longshot Launcher's pinned button; right: the game's): ![taskbar](https://git.magicbean.dev/attachments/b8cb9a7f-0e9a-4a68-bd3b-b1873bbfecd4) **The menu banner** in the guide's Graphics image (top: the published one; bottom: the recapture in this PR): ![menu banner](https://git.magicbean.dev/attachments/40693234-8e05-430a-a2eb-43bf0d8fd565)
Author
Member

Measurements: a table of the files' and the exe's sizes, main against this branch (pictures only: nothing to measure in fps).

Measurements: a table of the files' and the exe's sizes, main against this branch (pictures only: nothing to measure in fps).
Author
Member

Still to test: the Linux window icon is by hand (judged by eye), not a Test Farm run.

Still to test: the Linux window icon is by hand (judged by eye), not a Test Farm run.
llun changed title from WIP: fix(assets): Longshot's logo is the new striped one: the exe and taskbar icon, the start-up screen, the menu, the README and the website to fix(assets): Longshot's logo is the new striped one: the exe and taskbar icon, the start-up screen, the menu, the README and the website 2026-11-28 06:57:43 +00:00
Author
Member

Still to test: wording only (both items are by hand).

Still to test: wording only (both items are by hand).
Author
Member
@review
BeanBot left a comment

Recommendation: Approve. The Windows run shows the new logo on the startup screen, executable and taskbar. The Linux fallback icon and Windows Steam shortcut still need the hand checks identified in the pull request. Nothing blocking is left: what remains is for the author before merging (below). Recommend approval; not approved on the forge.

Replaces Longshot’s logo across the game, executable, website and guide, and adds a tool and test for keeping the PNG and ICO aligned. The executable grows by about 16 KB in the author’s comparison.

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

  • L1 builder/crates/build-assets/examples/longshot_icon.rs:19: A missing value after --root silently selects the default checkout instead of rejecting the command. (more on the line) Do: Require an argument after --root and exit with the usage message when it is absent.

Testing before merging (1) (the change behaves the same on every system: one run of the change itself is enough; it doesn't hold the recommendation)

  • L2: The two remaining icon delivery paths need the checks already listed in the pull request. When: A Linux game without a game-provided icon uses the PNG fallback, and a Windows Steam shortcut uses the embedded ICO; neither resulting icon has been visually checked. Do: Check the Linux window icon with no game-provided icon and a newly added Windows Steam shortcut, and record the results.

@fix can do L1.

Checks: Cancelled on this head (no result): PR description / Title and description (pull_request_target). Still running: 7 checks.

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

Does it help: Yes: the author reports that the startup screen, Explorer icon and taskbar show the striped logo on Windows, with before-and-after screenshots. The Linux fallback and Steam shortcut remain unverified.

Other systems: The PNG also feeds the menu banner, README, website and Linux fallback icon; the ICO feeds executable resources and Steam shortcuts. The guide fixture shows the banner, while the Linux fallback and Steam shortcut have not yet been checked by hand. No rendering logic or GPU-specific code changes.

Switches: None.

Reviewed: 9a3d763a03 against 22d0d20098: Read AGENTS.md, CONTRIBUTING.md, docs/dev/standards.md, the pull request template, both changed Rust files, the changed READMEs and provenance text, the diff and commit messages. Skimmed the manifest and asset-consumer paths; binary image contents and attached screenshots were not independently inspected. docs/review-checklist.md and ../Tooling/AGENTS.md were absent.; nothing run (a code review).

Checked and fine:

  • The changed commits record AI assistance.
  • The guide capture is described as a UI-only fixture using synthetic state, rather than output sampled from the game.
  • The ICO test checks all declared sizes against the PNG; the PNG and ICO are consumed by the paths described in the pull request.
  • No renderer API version, shader, switch table or third-party change is involved.

Testing: No commands from the project were run, as requested. The author reports Windows game and asset checks; CI was still running.

Overlaps and merge order: No overlapping pull request was identified in the available checkout.


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

**Recommendation: Approve.** The Windows run shows the new logo on the startup screen, executable and taskbar. The Linux fallback icon and Windows Steam shortcut still need the hand checks identified in the pull request. Nothing blocking is left: what remains is for the author before merging (below). Recommend approval; not approved on the forge. Replaces Longshot’s logo across the game, executable, website and guide, and adds a tool and test for keeping the PNG and ICO aligned. The executable grows by about 16 KB in the author’s comparison. **Should fix (1)**: not blocking, but worth doing before merging. - **L1** `builder/crates/build-assets/examples/longshot_icon.rs:19`: A missing value after --root silently selects the default checkout instead of rejecting the command. (more on the line) **Do:** Require an argument after --root and exit with the usage message when it is absent. **Testing before merging (1)** (the change behaves the same on every system: one run of the change itself is enough; it doesn't hold the recommendation) - **L2**: The two remaining icon delivery paths need the checks already listed in the pull request. *When:* A Linux game without a game-provided icon uses the PNG fallback, and a Windows Steam shortcut uses the embedded ICO; neither resulting icon has been visually checked. **Do:** Check the Linux window icon with no game-provided icon and a newly added Windows Steam shortcut, and record the results. `@fix` can do L1. **Checks:** Cancelled on this head (no result): `PR description / Title and description (pull_request_target)`. Still running: 7 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Yes: the author reports that the startup screen, Explorer icon and taskbar show the striped logo on Windows, with before-and-after screenshots. The Linux fallback and Steam shortcut remain unverified. **Other systems:** The PNG also feeds the menu banner, README, website and Linux fallback icon; the ICO feeds executable resources and Steam shortcuts. The guide fixture shows the banner, while the Linux fallback and Steam shortcut have not yet been checked by hand. No rendering logic or GPU-specific code changes. **Switches:** None. **Reviewed:** 9a3d763a03a5 against 22d0d20098d6: Read AGENTS.md, CONTRIBUTING.md, docs/dev/standards.md, the pull request template, both changed Rust files, the changed READMEs and provenance text, the diff and commit messages. Skimmed the manifest and asset-consumer paths; binary image contents and attached screenshots were not independently inspected. docs/review-checklist.md and ../Tooling/AGENTS.md were absent.; nothing run (a code review). **Checked and fine:** - The changed commits record AI assistance. - The guide capture is described as a UI-only fixture using synthetic state, rather than output sampled from the game. - The ICO test checks all declared sizes against the PNG; the PNG and ICO are consumed by the paths described in the pull request. - No renderer API version, shader, switch table or third-party change is involved. **Testing:** No commands from the project were run, as requested. The author reports Windows game and asset checks; CI was still running. **Overlaps and merge order:** No overlapping pull request was identified in the available checkout. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.</sub>
@ -0,0 +16,4 @@
let (mut root, mut picture) = (PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("../../.."), None);
while let Some(a) = args.next() {
match a.as_str() {
"--root" => root = args.next().map(PathBuf::from).unwrap_or(root),
Member

L1 (should fix): A missing value after --root silently selects the default checkout instead of rejecting the command.

When: Running the tool with a picture followed by a trailing --root exits successfully and overwrites this checkout’s logo files, although no target tree was supplied.

Do: Require an argument after --root and exit with the usage message when it is absent.

**L1** (should fix): A missing value after --root silently selects the default checkout instead of rejecting the command. *When:* Running the tool with a picture followed by a trailing --root exits successfully and overwrites this checkout’s logo files, although no target tree was supplied. **Do:** Require an argument after --root and exit with the usage message when it is absent.
Author
Member
@fix
fix(build-assets): reject missing icon root argument
Some checks are pending
PR description / Title and description (pull_request_target) Successful in 7s
CI / What the change needs (pull_request) Successful in 9s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Waiting to run
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Waiting to run
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Waiting to run
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Waiting to run
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Waiting to run
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Waiting to run
CI / Website build and checks (pull_request) Waiting to run
CI / Third-party parts and guide screenshots (pull_request) Successful in 12s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 12s
d14722680d
As the review on #2724 asked.
BeanBot left a comment

Recommendation: Approve. The code is ready: only testing is left (a run of the change itself). The striped logo is shown on the tested Windows startup screen, executable and taskbar, and in the menu fixture. The Linux fallback window icon and Windows Steam shortcut icon still need the listed visual checks. Recommend approval; not approved on the forge.

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

Changed

  • Missing --root value in builder/crates/build-assets/examples/longshot_icon.rs:24: A missing value now prints the usage message and exits before writing logo files. Tests were not run, as requested.

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

Replaces Longshot branding across the game, executable, website and documentation, and adds a tool and test to keep the icon assets together. The reported executable size increases by 16 KB.

Testing before merging (1) (the change behaves the same on every system: one run of the change itself is enough; it doesn't hold the recommendation)

  • L2: The two remaining icon delivery paths need the checks already listed in the pull request. When: A Linux game without a game-provided icon uses the PNG fallback, and a Windows Steam shortcut uses the embedded ICO; neither resulting icon has been visually checked. Do: Check the Linux window icon with no game-provided icon and a newly added Windows Steam shortcut, and record the results.

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 for the tested Windows and menu presentations, based on the author's before-and-after observations and captures. This is not a performance change; the two remaining icon delivery paths are unverified.

Other systems: Linux uses the PNG fallback when the game has no usable icon; Windows Steam shortcuts embed the ICO. Both still need visual checks. The website and README use the updated artwork.

Switches: None.

Reviewed: d14722680d against 22d0d20098: Read AGENTS.md, CONTRIBUTING.md, the pull request template, the icon example, icon module, changed build-assets README and branding provenance. Skimmed the guide README, manifest diff and icon delivery references; binary images and the full dependent files were not read. docs/review-checklist.md was absent.; nothing run (a code review).

Checked and fine:

  • A missing final --root value exits with usage before either asset is written.
  • The argument-handling fix preserves the logo generation paths.

Testing: No commands from the project or tests were run. The author reports Windows game and icon checks, a Linux menu fixture capture, and passing build-assets checks; CI has not yet run on the new head.

Overlaps and merge order: Not checked; network access is unavailable.


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 code is ready: only testing is left (a run of the change itself). The striped logo is shown on the tested Windows startup screen, executable and taskbar, and in the menu fixture. The Linux fallback window icon and Windows Steam shortcut icon still need the listed visual checks. Recommend approval; not approved on the forge. **What `@fix` changed** I changed this pull request: the new head is d14722680d37. I edited its description to match the change. **Changed** - **Missing --root value in builder/crates/build-assets/examples/longshot_icon.rs:24**: A missing value now prints the usage message and exits before writing logo files. Tests were not run, as requested. Nothing was built or run: the checks run again on the new head. Replaces Longshot branding across the game, executable, website and documentation, and adds a tool and test to keep the icon assets together. The reported executable size increases by 16 KB. **Testing before merging (1)** (the change behaves the same on every system: one run of the change itself is enough; it doesn't hold the recommendation) - **L2**: The two remaining icon delivery paths need the checks already listed in the pull request. *When:* A Linux game without a game-provided icon uses the PNG fallback, and a Windows Steam shortcut uses the embedded ICO; neither resulting icon has been visually checked. **Do:** Check the Linux window icon with no game-provided icon and a newly added Windows Steam shortcut, and record the results. **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 for the tested Windows and menu presentations, based on the author's before-and-after observations and captures. This is not a performance change; the two remaining icon delivery paths are unverified. **Other systems:** Linux uses the PNG fallback when the game has no usable icon; Windows Steam shortcuts embed the ICO. Both still need visual checks. The website and README use the updated artwork. **Switches:** None. **Reviewed:** d14722680d37 against 22d0d20098d6: Read AGENTS.md, CONTRIBUTING.md, the pull request template, the icon example, icon module, changed build-assets README and branding provenance. Skimmed the guide README, manifest diff and icon delivery references; binary images and the full dependent files were not read. docs/review-checklist.md was absent.; nothing run (a code review). **Checked and fine:** - A missing final --root value exits with usage before either asset is written. - The argument-handling fix preserves the logo generation paths. **Testing:** No commands from the project or tests were run. The author reports Windows game and icon checks, a Linux menu fixture capture, and passing build-assets checks; CI has not yet run on the new head. **Overlaps and merge order:** Not checked; network access is unavailable. </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>
Some checks are pending
PR description / Title and description (pull_request_target) Successful in 7s
CI / What the change needs (pull_request) Successful in 9s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Waiting to run
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Waiting to run
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Waiting to run
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Waiting to run
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Waiting to run
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Waiting to run
CI / Website build and checks (pull_request) Waiting to run
CI / Third-party parts and guide screenshots (pull_request) Successful in 12s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 12s
This pull request doesn't have enough approvals yet. 0 of 1 approvals granted.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u 'fix/longshot-new-logo:llun-fix/longshot-new-logo'
git switch 'llun-fix/longshot-new-logo'
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 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/Longshot!2724
No description provided.