feat(mods): browse and install GameBanana mods #428
No reviewers
Labels
No labels
area/build
area/install
area/mods
area/saves
area/tooling
area/ui
area/updates
ci: approved
good first issue
gpu/amd
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
platform/linux
platform/steam-deck
platform/windows
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/LongshotLauncher!428
Loading…
Reference in a new issue
No description provided.
Delete branch "erlo68/LongshotLauncher:feat/gamebanana-mod-browser"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Players looking for Longshot mods on GameBanana currently have to find, download, and import the files themselves. This puts discovery and installation in the launcher's Add mods view.
Changes
Verification
Measurements
UI demo
Four screenshots showing all repositories, the LongshotMods filter, GameBanana discovery and details, and repository settings.
UI demo
All repositories
LongshotMods
GameBanana
Manage repositories
WIP: feat(mods): browse and install GameBanana modsto feat(mods): browse and install GameBanana mods@review
Recommendation: Approve. The feature has been exercised on Windows, but the new archive and download paths have no reported Linux launcher run. The combined discovery view also leaves GameBanana results visible when a category filter is selected. Nothing blocking is left: what remains is for the author before merging (below). Recommend approval; not approved on the forge.
Adds opt-in GameBanana discovery and downloads, plus local RAR and 7z imports. It reduces manual steps for players, at the cost of new network, image-decoding and archive-extraction code.
Should fix (1): not blocking, but worth doing before merging.
ui/mods.slint:1942: The category filter applies only to native repository rows, while the GameBanana list remains visible and unfiltered. (more on the line) Do: Apply the selected category to GameBanana results too, or make the category control clearly apply only to the native repository list.Testing before merging (1) (runs on the systems it can change; it doesn't hold the recommendation)
src/mods/pick/archive.rs:27: The new archive and online installation paths need a Linux launcher run. (more on the line) Do: On Linux, exercise GameBanana discovery and installation, remove the installed mod, and import local RAR and 7z archives through confirmation.@fixcan do L1.Checks: Still running: 5 checks.
More: does it help, other systems, switches, what was read
Does it help: Yes for the reported Windows cases: the author installed and removed real RAR and 7z GameBanana mods and imported local archives. Equivalent Linux launcher behavior is unproven.
Other systems: The changes affect both Windows and Linux, existing native repository discovery, local archive imports, and builders without mod tools. The reported interactive checks cover Windows; the Ubuntu WSL run covers the Tooling release tests rather than the Linux launcher workflow.
Switches: Adds gameBananaEnabled, default false, and modSourcesChosen, initially unset. The first-use dialog defaults LongshotMods on and GameBanana off; GameBanana remains opt-in.
Reviewed:
be764f77b7against48e2d127a6: Read AGENTS.md, CONTRIBUTING.md, the commit, the diff, and the principal changed Rust paths and surrounding import and discovery code. Skimmed the Slint changes, tests, translation example, dependency and licence changes; the remaining translation catalogs and licence text were not read in full. No review checklist or pull request template was present at the named locations.; nothing run (a code review).Checked and fine:
Testing: No commands from the project or tests were run during this read-only review. The author reports 363 Windows launcher tests passed, five ignored, and 46 Tooling release tests passed under Ubuntu WSL; CI is still running.
Overlaps and merge order: Not checked; the network is closed.
Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.
@ -0,0 +24,4 @@}}/// Stage a single archive as a folder for the ordinary mod import review.L2 (should fix): The new archive and online installation paths need a Linux launcher run.
When: Linux players use the new staging, extraction and builder import paths, but the reported Linux verification runs the Tooling release suite rather than importing and removing mods in the launcher.
Do: On Linux, exercise GameBanana discovery and installation, remove the installed mod, and import local RAR and 7z archives through confirmation.
@ -1657,6 +1939,9 @@ export component ModsPage inherits Rectangle {command: "more";}}if Mods.section == "discover" && Mods.online-visible: GameBananaMods {L1 (should fix): The category filter applies only to native repository rows, while the GameBanana list remains visible and unfiltered.
When: With All repositories selected and GameBanana enabled, choosing a native category filters Screen.rows but GameBananaMods still renders every online row, including mods outside the selected category.
Do: Apply the selected category to GameBanana results too, or make the category control clearly apply only to the native repository list.
@review
Recommendation: Approve. The category filter still leaves GameBanana results unfiltered, and the archive and online installation paths still need a Linux launcher run. Nothing blocking is left: what remains is for the author before merging (below). Recommend approval; not approved on the forge.
The launcher adds GameBanana discovery and installation, archive imports, and remembered origins for installed downloads. The follow-up also consolidates install confirmations and revises the Mods page.
Should fix (1): not blocking, but worth doing before merging.
ui/mods.slint:1942: The category filter applies only to native repository rows, while the GameBanana list remains visible and unfiltered. When: With All repositories selected and GameBanana enabled, choosing a native category filters Screen.rows but GameBananaMods still renders every online row, including mods outside the selected category. Do: Apply the selected category to GameBanana results too, or make the category control clearly apply only to the native repository list.Testing before merging (1) (runs on the systems it can change; it doesn't hold the recommendation)
src/mods/pick/archive.rs:27: The new archive and online installation paths need a Linux launcher run. When: Linux players use the new staging, extraction and builder import paths, but the reported Linux verification runs the Tooling release suite rather than importing and removing mods in the launcher. Do: On Linux, exercise GameBanana discovery and installation, remove the installed mod, and import local RAR and 7z archives through confirmation.@fixcan do L1.Since the last review (on
be764f77b7)Still open: L1 (The category filter applies only to native repository rows, while the GameBanana list rema…); L2 (The new archive and online installation paths need a Linux launcher run.)
Checks: Still running: 5 checks.
More: does it help, other systems, switches, what was read
Does it help: Unproven across supported platforms: the author reports successful Windows UI and real RAR and 7z installation checks, but no Linux launcher run.
Other systems: The archive and online installation paths affect Windows and Linux; the reported interactive checks cover Windows. CI is still running.
Switches: GameBanana is opt-in in repository settings; LongshotMods is selected by default. No switch was added or changed in the follow-up.
Reviewed:
0f71e46a02against48e2d127a6: Read AGENTS.md, CONTRIBUTING.md, src/mods/origin.rs, and the ledger-related category and online visibility code. Skimmed the follow-up diffs and portions of actions, online, trust, and UI code; the full pull request diff and all changed files were not read in full.; nothing run (a code review).Checked and fine:
Testing: No commands from the project or tests were run. The author reports the Windows core suite, Tooling release tests, formatting and lint checks passed; Forgejo CI is still running.
Overlaps and merge order: Not checked.
Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.
0f71e46a02c809ee5849@review
Recommendation: Approve. GameBanana discovery and installation have Windows smoke-test evidence, but the Linux launcher run is still needed. The category filter also leaves GameBanana results unfiltered. Nothing blocking is left: what remains is for the author before merging (below). Recommend approval; not approved on the forge.
Adds opt-in GameBanana browsing and installation, plus RAR and 7z imports. It brings discovery into the launcher at the cost of additional network, archive-handling, and UI code.
Should fix (1): not blocking, but worth doing before merging.
ui/mods.slint:1942: The category filter applies only to native repository rows, while the GameBanana list remains visible and unfiltered. When: With All repositories selected and GameBanana enabled, choosing a native category filters Screen.rows but GameBananaMods still renders every online row, including mods outside the selected category. Do: Apply the selected category to GameBanana results too, or make the category control clearly apply only to the native repository list.Testing before merging (1) (runs on the systems it can change; it doesn't hold the recommendation)
src/mods/pick/archive.rs:27: The new archive and online installation paths need a Linux launcher run. When: Linux players use the new staging, extraction and builder import paths, but the reported Linux verification runs the Tooling release suite rather than importing and removing mods in the launcher. Do: On Linux, exercise GameBanana discovery and installation, remove the installed mod, and import local RAR and 7z archives through confirmation.@fixcan do L1.Since the last review (on
0f71e46a02)Still open: L1 (The category filter applies only to native repository rows, while the GameBanana list rema…); L2 (The new archive and online installation paths need a Linux launcher run.)
Checks: Still running: 5 checks.
More: does it help, other systems, switches, what was read
Does it help: Unproven on Linux. The author reports successful Windows installation and removal of real GameBanana RAR and 7z mods, local archive imports, and UI checks; no Linux launcher run is reported.
Other systems: The archive and online installation paths run on Windows and Linux. Windows smoke checks are reported; Linux launcher behavior remains unverified. CI is still running.
Switches: GameBanana is opt-in; LongshotMods is selected by default in the first-use repository dialog. Repository selection can be changed in settings.
Reviewed:
c809ee5849against08fa1329e5: Read AGENTS.md and CONTRIBUTING.md, the ledger-relevant category and online painting references, and the changed download, profile-cache, origin-cleanup and import-grant code excerpts. Skimmed the overall diff and commit list; did not read every changed code file, translation, generated file or recorded run in full. No review checklist or pull request template was found.; nothing run (a code review).Checked and fine:
Testing: No commands that build or run project code were executed. The author reports Windows core and UI smoke checks and Tooling release tests under Ubuntu WSL; the Forgejo checks are still running.
Overlaps and merge order: Not checked; network access is closed.
Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.
c809ee5849e6f5982b3ce6f5982b3c5a12aa10dc