vdf icon indicating copy to clipboard operation
vdf copied to clipboard

Should \x02 be UINT32?

Open ZackWeinstein opened this issue 3 years ago • 1 comments

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 `

ZackWeinstein avatar Jan 06 '22 18:01 ZackWeinstein

+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.

dacid44 avatar Mar 22 '23 02:03 dacid44