Add Non-Steam Game: Difference between revisions
Jump to navigation
Jump to search
Note:There is a space on either side of the word 'shortcuts'
Note:There should not be any new lines in your actual shortcuts.vdf file.
Note:The spaces before the '
Confirm:The number of spaces after a Key without a value may be important.
Yodarocks1 (talk | contribs) (Change display title) |
GamerDude27 (talk | contribs) m (Removed duplicate entries and correct casing) |
||
Line 15: | Line 15: | ||
shortcuts | shortcuts | ||
0 |NULL| | 0 |NULL| | ||
appname NAME |NULL| | |||
exe "EXE" |NULL| | |||
StartDir "STARTDIR" |NULL| | StartDir "STARTDIR" |NULL| | ||
icon "ICON" |NULL| | icon "ICON" |NULL| | ||
Line 26: | Line 26: | ||
AllowOverlay |NULL| | AllowOverlay |NULL| | ||
|NULL| | |NULL| | ||
openvr |NULL| | |||
Devkit |NULL| | Devkit |NULL| | ||
DevkitGameID |NULL| | DevkitGameID |NULL| | ||
Line 32: | Line 32: | ||
0 favorite |NULL||NULL| | 0 favorite |NULL||NULL| | ||
1 |NULL| | 1 |NULL| | ||
</pre> | </pre> | ||
{{note|The spaces before the '<code>NULL</code>' character - where no Key and no Value are assigned - are necessary to prevent two '<code>NULL</code>'s in a row, which would improperly denote the end of one shortcut and the start of another.}} | {{note|The spaces before the '<code>NULL</code>' character - where no Key and no Value are assigned - are necessary to prevent two '<code>NULL</code>'s in a row, which would improperly denote the end of one shortcut and the start of another.}} | ||
{{confirm|The number of spaces after a Key without a value may be important.}} | {{confirm|The number of spaces after a Key without a value may be important.}} |
Revision as of 20:31, 12 June 2020
Non-Steam Games are saved in the file: <<Steam Installation>>\userdata\<<User ID>>\config\shortcuts.vdf
.
The file always starts with ' shortcuts
'.

All shortcuts are separated by two 'NULL
' characters.
Typical format is as follows (NewLines added for clarity, '|NULL|
' represents a null character):

shortcuts 0 |NULL| appname NAME |NULL| exe "EXE" |NULL| StartDir "STARTDIR" |NULL| icon "ICON" |NULL| ShortcutPath |NULL| LaunchOptions |NULL| IsHidden |NULL| AllowDesktopConfig |NULL| |NULL| AllowOverlay |NULL| |NULL| openvr |NULL| Devkit |NULL| DevkitGameID |NULL| LastPlayTime tags |NULL| 0 favorite |NULL||NULL| 1 |NULL|

NULL
' character - where no Key and no Value are assigned - are necessary to prevent two 'NULL
's in a row, which would improperly denote the end of one shortcut and the start of another.