Description
Relevant upstream PRs:
- Add deserialization support for new binary VDF w/ key table ValvePython/vdf#61
- Add deserialization support for appinfo.vdf V29 ValvePython/steam#464 (depends on above VDF PR)
Please fill out following when reporting a new bug:
Describe the bug
The upstream magic for appinfo.vdf
changed again on the latest Steam Client Beta, meaning parse_appinfo
from ValvePython/steam is broken. This happened before (ValvePython/steam#418) and this new issue has already been reported upstream (ValvePython/steam#462).
I am making this issue for awareness for anyone who runs into this, and also for us to track this so that we can update the Steam dependency once a version with a fix is available.
To Reproduce
Steps to reproduce the behavior:
- Open ProtonUp-Qt while on the latest Steam Client Beta
- With Steam selected, it will open significantly faster than normal
- Open the Game List
- Only Steam Shortcuts will be listed
Expected behavior
ProtonUp-Qt should be able to parse the appinfo.vdf
, but cannot pending an upstream fix.
Screenshots
N/A.
Desktop (please complete the following information):
- Platform: PC
- System: Arch Linux
- Version: 2.9.2, but hapepens on any version
- How did you install ProtonUp-Qt?: Discover
Additional context
Took a stab at trying to submit a patch for this upstream, but no guarantees my fix will be the one that gets merged as it is still in progress 😄
Terminal output
The parse_appinfo
gives the following output because it cannot parse the magic in the file.
Error getting ctool map from appinfo.vdf: Invalid magic, got b')DV\x07'
Error updating SteamApp info from appinfo.vdf: Invalid magic, got b')DV\x07'
The fix is not as straightforward as adding the magic to the file though, as we need to skip past some parts of the file. And then there are some issues around parsing the binary VDF information in this file under data
.