Client startup parameters: Difference between revisions
From Vintage Story Wiki
Mirotworez (talk | contribs) (add translate tag) |
Mirotworez (talk | contribs) (Marked this version for translation) |
||
Line 1: | Line 1: | ||
<translate> | <translate> | ||
<!--T:1--> | |||
{{GameVersion|1.15}} | {{GameVersion|1.15}} | ||
<!--T:2--> | |||
To get a list of all the startup parameters currently implemented, go to your game directory and call <code>VintageStory.exe --help</code>. | To get a list of all the startup parameters currently implemented, go to your game directory and call <code>VintageStory.exe --help</code>. | ||
Parameters with multiple values can be supplied with the values separated by space, for example: <code>VintageStory.exe --addModPath="path/to/dir1" "path/to/dir2"</code> | Parameters with multiple values can be supplied with the values separated by space, for example: <code>VintageStory.exe --addModPath="path/to/dir1" "path/to/dir2"</code> | ||
<!--T:3--> | |||
Currently implemented startup parameters are: | Currently implemented startup parameters are: | ||
<!--T:4--> | |||
<code>-v, --version</code> Print game version and exit | <code>-v, --version</code> Print game version and exit | ||
<!--T:5--> | |||
<code>-h, --help</code> Print help info and exit | <code>-h, --help</code> Print help info and exit | ||
<!--T:6--> | |||
<code>--tracelog</code> Print log also via Trace.WriteLine() to get it to show up in the visual studio output window | <code>--tracelog</code> Print log also via Trace.WriteLine() to get it to show up in the visual studio output window | ||
<!--T:7--> | |||
<code>-o, --openWorld</code> Opens given world. If it doesn't exist it will be created | <code>-o, --openWorld</code> Opens given world. If it doesn't exist it will be created | ||
<!--T:8--> | |||
<code>-c, --connect</code> Connect to given server | <code>-c, --connect</code> Connect to given server | ||
<!--T:9--> | |||
<code>--pw</code> Password for the server (if any) | <code>--pw</code> Password for the server (if any) | ||
<!--T:10--> | |||
<code>--rndWorld</code> Creates a new world with a random name. Use -p modifier to set playstyle | <code>--rndWorld</code> Creates a new world with a random name. Use -p modifier to set playstyle | ||
<!--T:11--> | |||
<code>-p, --playStyle</code> (Default: creativebuilding) Used when creating a new world. Possible values are "creativebuilding", "preset-surviveandbuild", "preset-exploration", and "preset-wildernesssurvival" | <code>-p, --playStyle</code> (Default: creativebuilding) Used when creating a new world. Possible values are "creativebuilding", "preset-surviveandbuild", "preset-exploration", and "preset-wildernesssurvival" | ||
<!--T:12--> | |||
<code>--dataPath</code> Set a custom data path, default is Environment.SpecialFolder.ApplicationData | <code>--dataPath</code> Set a custom data path, default is Environment.SpecialFolder.ApplicationData | ||
<!--T:13--> | |||
<code>--logPath</code> Default logs folder is in dataPath/Logs/. This option can only set an absolute path. | <code>--logPath</code> Default logs folder is in dataPath/Logs/. This option can only set an absolute path. | ||
<!--T:14--> | |||
<code>--addOrigin</code> Tells the asset manager to also load assets from this path | <code>--addOrigin</code> Tells the asset manager to also load assets from this path | ||
<!--T:15--> | |||
<code>--addModPath</code> Tells the mod loader to also load mods from this path | <code>--addModPath</code> Tells the mod loader to also load mods from this path | ||
<!--T:16--> | |||
{{Navbox/modding|Vintage Story}} | {{Navbox/modding|Vintage Story}} | ||
</translate> | </translate> |