Add Non-Steam Game: Difference between revisions
GamerDude27 (talk | contribs) m (Removed duplicate entries and correct casing) |
Yodarocks1 (talk | contribs) (Fix the format) |
||
| Line 4: | Line 4: | ||
Non-Steam Games are saved in the file: <code><<Steam Installation>>\userdata\<<User ID>>\config\shortcuts.vdf</code>. | Non-Steam Games are saved in the file: <code><<Steam Installation>>\userdata\<<User ID>>\config\shortcuts.vdf</code>. | ||
Null (<code>NUL</code>) characters are used to denote the end of a key. | |||
Typical format is as follows ( | A key surrounded by two Null (<code>NUL</code>) characters denote the beginning of a set. (e.g. <code>NUL</code>Set Name<code>NUL</code>) | ||
{{note|There should not be '''any''' new lines in your actual shortcuts.vdf file.}} | |||
Start of Header (<code>SOH</code>) characters are used to denote that next key is actually a value to assign to this key. (e.g. <code>SOH</code>Key<code>NUL</code>Value<code>NUL</code>) | |||
Start of Text (<code>STX</code>) characters are used to denote that the next several keys are values to assign to this key. (Always four special characters - Could be one <code>SOH</code> and three <code>NUL</code>, or four <code>NUL</code> in a row) | |||
Backspace (<code>BS</code>) characters are used to denote the end of a set. (e.g. <code>NUL</code>Set Name<code>NUL</code>Definition<code>BS</code>) | |||
Typical format is as follows (New lines and indentation added for clarity; characters within two vertical separators [e.g. |NUL|] represent special characters): | |||
{{note|There should not be '''any''' new lines or indentation in your actual shortcuts.vdf file.}} | |||
{{note|Indentation is only a best guess attempt at determining the format of the .vdf file.}} | |||
<pre> | <pre> | ||
|NUL|shortcuts|NUL| | |||
0 | | |NUL|0|NUL| | ||
|SOH|AppName|NUL|APP NAME WITHOUT QUOTES|NUL| | |||
|SOH|Exe|NUL|"PATH TO EXE"|NUL| | |||
StartDir " | |SOH|StartDir|NUL|"DIRECTORY TO START IN"|NUL| | ||
icon "ICON" | | |SOH|icon|NUL|"PATH TO ICON"|NUL| | ||
ShortcutPath | |SOH|ShortcutPath|NUL||NUL| | ||
LaunchOptions | |SOH|LaunchOptions|NUL||NUL| | ||
IsHidden | |STX|IsHidden|NUL||NUL||NUL||NUL||NUL| | ||
AllowDesktopConfig | | |STX|AllowDesktopConfig|NUL||SOH||NUL||NUL||NUL| | ||
|STX|AllowOverlay|NUL||SOH||NUL||NUL||NUL| | |||
AllowOverlay | | |STX|OpenVR|NUL||NUL||NUL||NUL||NUL| | ||
|STX|Devkit|NUL||NUL||NUL||NUL||NUL| | |||
|SOH|DevkitGameID|NUL||NUL| | |||
Devkit | |STX|LastPlayTime|NUL||NUL||NUL||NUL||NUL| | ||
DevkitGameID | |NUL|tags|NUL| | ||
LastPlayTime | |SOH|0|NUL|favorite|NUL| | ||
0 favorite | | |BS| | ||
1 | | |BS| | ||
|NUL|1|NUL| | |||
... | |||
|BS| | |||
|BS| | |||
</pre> | </pre> | ||
Revision as of 16:25, 16 June 2020
Non-Steam Games are saved in the file: <<Steam Installation>>\userdata\<<User ID>>\config\shortcuts.vdf.
Null (NUL) characters are used to denote the end of a key.
A key surrounded by two Null (NUL) characters denote the beginning of a set. (e.g. NULSet NameNUL)
Start of Header (SOH) characters are used to denote that next key is actually a value to assign to this key. (e.g. SOHKeyNULValueNUL)
Start of Text (STX) characters are used to denote that the next several keys are values to assign to this key. (Always four special characters - Could be one SOH and three NUL, or four NUL in a row)
Backspace (BS) characters are used to denote the end of a set. (e.g. NULSet NameNULDefinitionBS)
Typical format is as follows (New lines and indentation added for clarity; characters within two vertical separators [e.g. |NUL|] represent special characters):
|NUL|shortcuts|NUL| |NUL|0|NUL| |SOH|AppName|NUL|APP NAME WITHOUT QUOTES|NUL| |SOH|Exe|NUL|"PATH TO EXE"|NUL| |SOH|StartDir|NUL|"DIRECTORY TO START IN"|NUL| |SOH|icon|NUL|"PATH TO ICON"|NUL| |SOH|ShortcutPath|NUL||NUL| |SOH|LaunchOptions|NUL||NUL| |STX|IsHidden|NUL||NUL||NUL||NUL||NUL| |STX|AllowDesktopConfig|NUL||SOH||NUL||NUL||NUL| |STX|AllowOverlay|NUL||SOH||NUL||NUL||NUL| |STX|OpenVR|NUL||NUL||NUL||NUL||NUL| |STX|Devkit|NUL||NUL||NUL||NUL||NUL| |SOH|DevkitGameID|NUL||NUL| |STX|LastPlayTime|NUL||NUL||NUL||NUL||NUL| |NUL|tags|NUL| |SOH|0|NUL|favorite|NUL| |BS| |BS| |NUL|1|NUL| ... |BS| |BS|