Skip to content

msiafterburner: Update to version 4.6.6, fix checkver & autoupdate#16268

Merged
z-Fng merged 2 commits into
ScoopInstaller:masterfrom
SorYoshino:msiafterburner
Oct 5, 2025
Merged

msiafterburner: Update to version 4.6.6, fix checkver & autoupdate#16268
z-Fng merged 2 commits into
ScoopInstaller:masterfrom
SorYoshino:msiafterburner

Conversation

@SorYoshino

@SorYoshino SorYoshino commented Oct 4, 2025

Copy link
Copy Markdown
Contributor

Summary

This PR fixes the recurring hash mismatch and autoupdate failures caused by MSI's dynamic download URLs. The manifest is now more stable, maintainable, and logically consistent.

Changes

  • Download source: Replaced MSI’s dynamic URL with a static mirror hosted by Guru3D to ensure stable hash verification.
  • checkver script: Added a POST-based resolution flow to dynamically retrieve the final download URL and version.
  • autoupdate: Now uses $matchFile extracted from checkver output for reliable URL updates.
  • Installation: Simplified pre_install steps and improved cleanup logic.
  • Suggestions: Updated recommended vcredist to 2022.

Some tests are shown below:

┏[ D:\Software\Scoop\Local\apps\scoop\current\bin][ master ≡]
└─> .\checkver.ps1 -App msiafterburner -Dir "D:\Temporary\Software\Microsoft\Windows Sandbox\Repositories\Scoop\Buckets\Extras\bucket" -f
msiafterburner: 4.6.6 (scoop version is 4.6.6)
Forcing autoupdate!
Autoupdating msiafterburner
DEBUG[1759683687] [$updatedProperties] = [url hash] -> D:\Software\Scoop\Local\apps\scoop\current\lib\autoupdate.ps1:491:5
DEBUG[1759683687] $substitutions (hashtable) -> D:\Software\Scoop\Local\apps\scoop\current\lib\autoupdate.ps1:221:5
DEBUG[1759683687] $substitutions.$baseurl                       https://ftp.nluug.nl/pub/games/PC/guru3d/afterburner
DEBUG[1759683687] $substitutions.$buildVersion
DEBUG[1759683687] $substitutions.$preReleaseVersion             4.6.6
DEBUG[1759683687] $substitutions.$basenameNoExt                 [Guru3D]-MSIAfterburnerSetup466Build16757
DEBUG[1759683687] $substitutions.$urlNoExt                      https://ftp.nluug.nl/pub/games/PC/guru3d/afterburner/%5BGuru3D%5D-MSIAfterburnerSetup466Build16757
DEBUG[1759683687] $substitutions.$matchFile                     afterburner/%5BGuru3D%5D-MSIAfterburnerSetup466Build16757.zip
DEBUG[1759683687] $substitutions.$version                       4.6.6
DEBUG[1759683687] $substitutions.$cleanVersion                  466
DEBUG[1759683687] $substitutions.$matchTail
DEBUG[1759683687] $substitutions.$dashVersion                   4-6-6
DEBUG[1759683687] $substitutions.$minorVersion                  6
DEBUG[1759683687] $substitutions.$underscoreVersion             4_6_6
DEBUG[1759683687] $substitutions.$matchHead                     4.6.6
DEBUG[1759683687] $substitutions.$majorVersion                  4
DEBUG[1759683687] $substitutions.$patchVersion                  6
DEBUG[1759683687] $substitutions.$basename                      [Guru3D]-MSIAfterburnerSetup466Build16757.zip
DEBUG[1759683687] $substitutions.$dotVersion                    4.6.6
DEBUG[1759683687] $substitutions.$url                           https://ftp.nluug.nl/pub/games/PC/guru3d/afterburner/%5BGuru3D%5D-MSIAfterburnerSetup466Build16757.zip
DEBUG[1759683687] $substitutions.$matchVersion                  4.6.6
DEBUG[1759683687] $hashfile_url = $null -> D:\Software\Scoop\Local\apps\scoop\current\lib\autoupdate.ps1:224:5
Downloading [Guru3D]-MSIAfterburnerSetup466Build16757.zip to compute hashes!
%5BGuru3D%5D-MSIAfterburnerSetup466Build16757.zip (40.5 MB) [=====================================================================================] 100%
Computed hash: 348e9690a638d84e30e32e9c7c2dd7aad9fd82d71eced1942c04c4c5620b0e1e
Writing updated msiafterburner manifest

┏[ D:\Temporary\Software\Microsoft\Windows Sandbox\Repositories\Scoop\Buckets\Extras\bucket][ msiafterburner ≢]
└─> scoop install .\msiafterburner.json
Installing 'msiafterburner' (4.6.6) [64bit] from 'D:\Temporary\Software\Microsoft\Windows Sandbox\Repositories\Scoop\Buckets\Extras\bucket\msiafterburner.json'
Loading %5BGuru3D%5D-MSIAfterburnerSetup466Build16757.zip from cache.
Checking hash of %5BGuru3D%5D-MSIAfterburnerSetup466Build16757.zip ... ok.
Extracting %5BGuru3D%5D-MSIAfterburnerSetup466Build16757.zip ... done.
Running pre_install script...done.
Linking D:\Software\Scoop\Local\apps\msiafterburner\current => D:\Software\Scoop\Local\apps\msiafterburner\4.6.6
Creating shim for 'MSIAfterburner'.
Making D:\Software\Scoop\Local\shims\msiafterburner.exe a GUI binary.
Creating shortcut for MSI Afterburner (MSIAfterburner.exe)
Persisting Profiles
Running post_install script...done.
'msiafterburner' (4.6.6) was installed successfully!
Notes
-----
The 'RivaTuner Statistics Server' has been moved to it's own manifest.
To install it run 'scoop install extras/rtss'.
Profiles will be migrated automatically.
'msiafterburner' suggests installing 'extras/furmark'.
'msiafterburner' suggests installing 'extras/msikombustor'.
'msiafterburner' suggests installing 'extras/rtss'.
'msiafterburner' suggests installing 'extras/vcredist2022'.

Closes #16267

  • Use conventional PR title: <manifest-name[@version]|chore>: <general summary of the pull request>
  • I have read the Contributing Guide

Summary by CodeRabbit

  • Chores

    • Updated MSI Afterburner to 4.6.6, with refreshed download source and integrity verification.
    • Updated recommended Visual C++ runtime to a newer distribution.
    • Improved update detection to reliably find new stable releases.
  • Bug Fixes

    • Installer now preserves user profiles during post-install migration and improves pre-install cleanup for more reliable installs.

@coderabbitai

coderabbitai Bot commented Oct 4, 2025

Copy link
Copy Markdown

Walkthrough

Updated the MSI Afterburner manifest: bumped version 4.6.5 → 4.6.6, changed download source to Guru3D, updated hash, replaced multiple specific cleanup/remove calls with a consolidated pre-install cleanup loop, switched profile migration to Copy-Item then remove, and replaced the static checkver with a scripted POST-based fetch/parse and updated autoupdate URL template.

Changes

Cohort / File(s) Summary of Changes
MSI Afterburner manifest
bucket/msiafterburner.json
Version 4.6.5 → 4.6.6; url changed to Guru3D package and hash updated; suggest.vcredist updated to extras/vcredist2022; pre_install consolidated to a generic cleanup loop (replacing many Remove-Item calls); post_install now copies AB_Profiles into Profiles and force-removes source; checkver rewritten to use a POST request with redirect handling and parsing (checkver.script added) and checkver.regex updated; autoupdate.url updated to use Guru3D file template with $matchFile; public fields adjusted to reflect new source/verification flow.

Sequence Diagram(s)

sequenceDiagram
    participant CI as Checkver Script
    participant Guru3D as Guru3D Server
    participant Parser as Version/File Extractor
    participant Auto as Autoupdate URL
    CI->>Guru3D: POST to download endpoint (follow redirects)
    Guru3D-->>CI: Redirect / response containing file path
    CI->>Parser: Extract version and filename ($matchFile)
    Parser-->>Auto: Provide version + file path for autoupdate URL
    note right of Auto #dff2d8: Autoupdate URL uses $matchFile template
Loading
sequenceDiagram
    participant Installer as Scoop install flow
    participant Pre as pre_install script
    participant MSI as MSI installer payload
    participant Post as post_install script
    Installer->>Pre: Run consolidated cleanup loop (remove temp dirs/files)
    Pre-->>Installer: Cleanup done
    Installer->>MSI: Install package (from Guru3D URL)
    MSI-->>Installer: Installation complete
    Installer->>Post: Copy `AB_Profiles` -> `Profiles`, remove `AB_Profiles` (Force)
    Post-->>Installer: Post-install finished
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested labels

review-needed

Suggested reviewers

  • z-Fng

Poem

A rabbit hops where bytes are found,
I sniff the hashes on the ground.
I copy profiles, clean the nest,
New Guru3D carrots—yum, the best!
Version bumped, the burrow sings,
Paws press merge and joy it brings. 🐇

Pre-merge checks and finishing touches

✅ Passed checks (5 passed)
Check name Status Explanation
Linked Issues Check ✅ Passed The manifest changes address the linked issue by bumping the version to 4.6.6, switching to a static Guru3D mirror to prevent hash mismatches, reworking the checkver script and regex for robust version detection, and updating the hash to match the new package.
Out of Scope Changes Check ✅ Passed All modifications are limited to the msiafterburner manifest and its related logic without introducing unrelated or extraneous changes.
Description Check ✅ Passed The pull request description follows the repository template by summarizing the changes, detailing the updates made, closing the related issue, and marking the required checkboxes for title format and contributing guide acknowledgment.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
Title Check ✅ Passed The title clearly and concisely states the core update to version 4.6.6 and the related fixes to checkver and autoupdate, accurately reflecting the primary objectives of the pull request.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions

github-actions Bot commented Oct 4, 2025

Copy link
Copy Markdown
Contributor

Your changes did not pass all checks.

Please address the issues in the manifest and comment starting with /verify to rerun the checks.

msiafterburner

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate

Check the full log for details.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f5a1638 and f604d3c.

📒 Files selected for processing (1)
  • bucket/msiafterburner.json (3 hunks)
🧰 Additional context used
🪛 GitHub Actions: Pull Requests
bucket/msiafterburner.json

[error] 1-1: Hashes check failed. Expected hash does not match downloaded file for MSIAfterburnerSetup.zip during autoupdate (msiafterburner). See log for details: computed hash 10de22e72500fdfbb533b4b048ed52aa88d2661d847eeba7cceec405490ca25a vs expected 201d19005e71ba56fa432b3f555207e1ea190e05c279dfb4711f19520e66abf4.

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: WindowsPowerShell

Comment thread bucket/msiafterburner.json Outdated
@SorYoshino SorYoshino changed the title msiafterburner: Update to version 4.6.6, fix checkver msiafterburner: Update to version 4.6.6, switch MSI Afterburner to stable Guru3D source and improve manifest logic Oct 5, 2025
@SorYoshino

Copy link
Copy Markdown
Contributor Author

/verify

@github-actions

github-actions Bot commented Oct 5, 2025

Copy link
Copy Markdown
Contributor

All changes look good.

Wait for review from human collaborators.

msiafterburner

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate

Check the full log for details.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f604d3c and e7e6bd2.

📒 Files selected for processing (1)
  • bucket/msiafterburner.json (3 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: WindowsPowerShell

Comment thread bucket/msiafterburner.json
@z-Fng z-Fng changed the title msiafterburner: Update to version 4.6.6, switch MSI Afterburner to stable Guru3D source and improve manifest logic msiafterburner: Update to version 4.6.6, fix checkver & autoupdate Oct 5, 2025

@z-Fng z-Fng left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM.

@z-Fng z-Fng merged commit c4ff149 into ScoopInstaller:master Oct 5, 2025
3 checks passed
@SorYoshino

Copy link
Copy Markdown
Contributor Author

Thank you for your previous modifications to the rtss manifest; without them, updating this manifest would have been much more difficult.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

msiafterburner@4.6.5: hash check failed

2 participants