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

Should \x02 be UINT32? #44

Open
ZackWeinstein opened this issue Jan 6, 2022 · 1 comment
Open

Should \x02 be UINT32? #44

ZackWeinstein opened this issue Jan 6, 2022 · 1 comment

Comments

@ZackWeinstein
Copy link

ZackWeinstein commented Jan 6, 2022

From my shortcuts.vdf file, Halo Infinite has the appid C0 83 BF F8 which in python when read is displayed as the following.
`

print(d["shortcuts"]["103"]["appid"])
-121666624
`

Steam uses the appid for grid images. It seems like the byte data is being read as uint32 instead of int32 by steam. The same thing happens with all shortcuts ids I've checked.
`

print(d["shortcuts"]["103"]["icon"])
C:\Program Files (x86)\Steam\userdata\XYZ\config\grid\4173300672_icon.ico
`

@dacid44
Copy link

dacid44 commented Mar 22, 2023

+1, this still seems to be a thing. The appIDs given by parsing shortcuts.vdf don't match up with what you get when generating a desktop shortcut, either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants