play-rig: rig-runs.csv numbers read the same on every Windows #3583
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!3583
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3583"
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?
@BaRian29 on GitHub · 2026-11-30 01:23 UTC · original
BaRian29:pr/play-rig-locale→main· +26 −12 · 1 files · 1 commits · openplay-rig: rig-runs.csv numbers read the same on every Windows
Branch:
BaRian29:pr/play-rig-locale(one commit onmain41adb551)Open: https://github.com/trustno1-coder/VIctory-NVIDIA/compare/main...BaRian29:VIctory-NVIDIA:pr/play-rig-locale
Summary
Export-Csvwrote a[double]in the PC's culture: "23,8" on a French Windows. A[double]cast then read the comma as a thousands separator, so-Compareshowed 238 fps and 338 GB, and its verdict divided those wrong numbers.Numbers are now written with a dot (
ConvertTo-RunText, invariant culture) and read either way (ConvertFrom-RunText), so rows written before still count. The separators it ignores (space, no-break space, narrow no-break space) are written as regex escapes, so the script stays ASCII.This fixes "-Compare calls a difference under 3 % noise" on such a Windows. Four tests still expect "30.0" in text that such a Windows writes as "30,0"; they are left as they are.
Testing
Parser::ParseFile), stays ASCII, and keeps CRLF line endings.ConvertTo-RunText 1234.5gives1234.5, andConvertFrom-RunText "1 234,5"(narrow no-break space) gives1234.5.-Compareread the fps and memory columns right.Export-Csv wrote a [double] in the PC's culture ("23,8" on a French Windows) and a [double] cast read the comma as a thousands separator: -Compare showed 238 fps and 338 GB, and its verdict divided the same wrong numbers. Numbers are written with a dot now and read either way, so rows written before still count. Fixes "-Compare calls a difference under 3 % noise" there; four tests still expect "30.0" in text that such a Windows writes as "30,0". Co-Authored-By: Claude Opus 5.5 <[email protected]>View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.