Repository navigation
P-1: opt-in test reports and a double-click start for testers - #28
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Helps P-1 (measure the switches on more cards); does not finish it, so the TODO row stays.
People who have the game but no dev tools can now test and send figures we can turn into
gpu-profiles.jsonprofiles.What changed
start-measure.cmd: double-click start. Runsscripts/check-tools.ps1, thenmeasure-gta6.ps1 -SpeedSwitches ask.scripts/check-tools.ps1: checks for the VS 2022 C++ build tools and rustup. If either is missing it offers to install them with winget (asks first), then installs the Rust versionrust-toolchain.tomlpins.measure-gta6.ps1:-SpeedSwitches on|off|ask(defaulton, so it works as before) for the with/without comparison in the same place.-Report ask|no(defaultask): offers a test report when the game closes.scripts/test-report.ps1: the report.frame timeslines), whethercrashes.logwas written (never its content), and two optional typed answers.%LOCALAPPDATA%\leonida\reports, and only if the player agrees copies it to the clipboard and opens#test-resultsin Discord. The player pastes and sends it themselves. No webhook or token is in the repo, and the script uploads nothing.Tested
Windows 11 Pro 25H2, Ryzen 7 7800X3D, RTX 3080 12 GB, driver 621.24.
test-report.ps1dry run with scripted answers and a made-up log in the frame log's format: the report came out as expected (4.0 FPS over the last 60 s, longest frame 1090 ms, driver shown as 621.24).check-tools.ps1on this PC: found both tools, exit 0. The winget install path has not been run on a clean PC.cargo xtask policy: ok.start-measure.cmdrun with the game, or opening Discord with the clipboard step.AI-assisted.
🤖 Generated with Claude Code