Option save file (Slash Command): Difference between revisions
Jump to navigation
Jump to search
imported>SekoiaBot (Auto-created from text in List of Slash Commands) |
BlackSpectre (talk | contribs) No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Slash Command == | == Slash Command == | ||
{{SlashCommandArticle|command=option_save_file|options=filename|note=Saves a list of option settings to a file}} | {{SlashCommandArticle|command=option_save_file|options=filename|note=Saves a list of current option settings to a specified file path and name.}} | ||
* The resulting file is in text format, and lists one option setting per line. | |||
* Due to limitations of the CoH/V command line parser, the ''path'' must be enclosed in quotes if it contains spaces. Thus ''/option_save_file "C:\coh binds\optionsfile.txt"'' would be a valid command, while ''/option_save_file C:\coh binds\optionsfile.txt'' would not. | |||
* A forward slash (/) or back slash (\) is used in the path depending on the operating system of your computer. For Windows a back slash (\) is used, whereas on Unix based systems such as MacOS and Linux a forward slash (/) is used. | |||
* ''Path'' may be either a relative or fully defined (absolute) path: | |||
:* fully defined - C:\Games\Homecoming\settings\live\bindsfolder\optionsfile.txt | |||
:* relative - \bindsfolder\optionsfile.txt | |||
:*: (\bindfolder\optionsfile.txt would be placed within the [[Default Folder]].) | |||
* Using the default directory and a relative path can greatly reduce the number of characters in a bind or macro. The maximum number of characters allowed for a bind/macro is 255 characters. | |||
* The location of the [[Default Folder]] (otherwise known as the working folder, the home folder, or relative path folder), can vary depending on the game version, how the game was installed, and the game launcher. So far, there have been 3 locations for the [[Default Folder]]: ''<COHInstallFolder>'', ''<COHInstallFolder>\data'', and ''<COHInstallFolder>\settings\live''. | |||
* If you are having trouble finding the location of your [[Default Folder]], login to the game and in the chat box type: | |||
<code>/bind_load_file \</code> | |||
: Press Enter/Return. The location of your [[Default Folder]] will be shown in the Global chat window as part of an error message. | |||
* The default game settings files options.txt, wdw.txt, keybinds.txt, and chat.txt are all stored in the [[Default Folder]]. | |||
===Examples=== | |||
The following are merely examples of using the option_save_file command, your file path may be different. | |||
: Defined path: | |||
/option_save_file C:\Games\Homecoming\settings\live\binds\optionsfile.txt | |||
: Relative path: | |||
/option_save_file \binds\optionsfile.txt | |||
{{Navbox Binds}} | |||
[[Category:Slash Commands]] |
Latest revision as of 00:15, 1 August 2022
Slash Command
/option_save_file filename
Saves a list of current option settings to a specified file path and name.
- The resulting file is in text format, and lists one option setting per line.
- Due to limitations of the CoH/V command line parser, the path must be enclosed in quotes if it contains spaces. Thus /option_save_file "C:\coh binds\optionsfile.txt" would be a valid command, while /option_save_file C:\coh binds\optionsfile.txt would not.
- A forward slash (/) or back slash (\) is used in the path depending on the operating system of your computer. For Windows a back slash (\) is used, whereas on Unix based systems such as MacOS and Linux a forward slash (/) is used.
- Path may be either a relative or fully defined (absolute) path:
- fully defined - C:\Games\Homecoming\settings\live\bindsfolder\optionsfile.txt
- relative - \bindsfolder\optionsfile.txt
- (\bindfolder\optionsfile.txt would be placed within the Default Folder.)
- Using the default directory and a relative path can greatly reduce the number of characters in a bind or macro. The maximum number of characters allowed for a bind/macro is 255 characters.
- The location of the Default Folder (otherwise known as the working folder, the home folder, or relative path folder), can vary depending on the game version, how the game was installed, and the game launcher. So far, there have been 3 locations for the Default Folder: <COHInstallFolder>, <COHInstallFolder>\data, and <COHInstallFolder>\settings\live.
- If you are having trouble finding the location of your Default Folder, login to the game and in the chat box type:
/bind_load_file \
- Press Enter/Return. The location of your Default Folder will be shown in the Global chat window as part of an error message.
- The default game settings files options.txt, wdw.txt, keybinds.txt, and chat.txt are all stored in the Default Folder.
Examples
The following are merely examples of using the option_save_file command, your file path may be different.
- Defined path:
/option_save_file C:\Games\Homecoming\settings\live\binds\optionsfile.txt
- Relative path:
/option_save_file \binds\optionsfile.txt