Adding Non-Steam Games

From Valve Developer Community
Revision as of 22:47, 11 June 2020 by Yodarocks1 (talk | contribs) (Change display title)
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

Non-Steam Games are saved in the file: <<Steam Installation>>\userdata\<<User ID>>\config\shortcuts.vdf.

The file always starts with ' shortcuts '.

Note.pngNote:There is a space on either side of the word 'shortcuts'

All shortcuts are separated by two 'NULL' characters.

Typical format is as follows (NewLines added for clarity, '|NULL|' represents a null character):

Note.pngNote:There should not be any new lines in your actual shortcuts.vdf file.
 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|
AppName APPNAME |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|
Note.pngNote:The spaces before the '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.
Confirm:The number of spaces after a Key without a value may be important.