-
Notifications
You must be signed in to change notification settings - Fork 21
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
New shortcuts.vdf values #12
Comments
It looks like any key-value pair that begins with It also looks like the current implementation avoids corrupting the shortcuts file because the regex just greedily matches all the new values into the icon field. So when the results are written back out, the new values are written directly back to the file. |
I believe that the numbers before the key value pairs indicate the encoding. So
This could potentially be expanded to also say that |
This pull request (#14) adds the extra data to pyteam's shortcuts.vdf parser Then Ice works again |
I tried using both the updated pysteam source and updated ice source from lachlankrautz post above, but I am not able to import ROMS into steam. it says it cant import them and displays one of my custom non-steam game shortcuts in the output. I noticed that there are more fields added to shortcuts.vdf since this was updated. Could this be the reason why it's not able to import with the updated code? |
It appears there's a new values for the shortcuts.vdf file. There's a couple new key-value pairs that pysteam doesn't account for. SteamShard's API has some basic documentation of the new fields:
https://github.com/PsychoTheHedgehog/SteamShard/wiki/T_SteamShard_Shortcuts
It looks like some of the new fields are preceded by a
u0002
character rather thanu0001
. This could be because they're optional, or because the number denotes the version # of the shortcuts file format? There's also some empty files. It would probably be best to switch away from static regex formatting.The text was updated successfully, but these errors were encountered: