Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installers: Fix Steam library manifest parsing. #21140

Merged
merged 1 commit into from Nov 4, 2023

Conversation

tinix0
Copy link
Contributor

@tinix0 tinix0 commented Oct 21, 2023

Fixes #21129.
Steam library paths stored in manifest files have escaped backslashes on Windows and need to be unescaped. This either never worked on Windows or regressed since it was implemented.

@Mailaender Mailaender changed the title Installers: Fix Steam library manifest parsing. Fixes #21129 Installers: Fix Steam library manifest parsing. Oct 21, 2023
@tinix0 tinix0 force-pushed the steam-library-path-parsing-fix branch from 44384dd to eb03445 Compare October 29, 2023 14:42
Copy link
Member

@RoosterDragon RoosterDragon left a comment

Choose a reason for hiding this comment

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

Confirmed working for me.

The yield return libraryPath; line for me gives C:\Program Files (x86)\Steam which succeeds and skips the later logic. So that might explain why this wasn't noticed - on my machine and presumably others that didn't use a different install dir it was never executed. But if I comment that out and force it to check the inside libraryfolders.vdf that does indeed return C:\\Program Files (x86)\\Steam and the new unespacing logic fixes that into a valid path.

Copy link
Member

@PunkPun PunkPun left a comment

Choose a reason for hiding this comment

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

While it doesn't regress anything on macOS, it feels a bit wrong to apply this to other OS's as well

@PunkPun PunkPun merged commit 3be1de2 into OpenRA:bleed Nov 4, 2023
3 checks passed
@PunkPun
Copy link
Member

PunkPun commented Nov 4, 2023

Changelog

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.

Old assets installation from the Remaster does not work in all cases
4 participants