Client startup parameters: Difference between revisions

From Vintage Story Wiki
m
Updated game version and extra startup params.
No edit summary
m (Updated game version and extra startup params.)
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
To get a list of all the startup parameters currently implemented, go to your game directory and call <code>VintageStory.exe --help</code>.
<languages/>
<translate>
<!--T:1-->
{{GameVersion|1.19}}
 
<!--T:2-->
To get a list of all the startup parameters (command line arguments) 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


<code>-i, --installmod</code> Install given mod in the format: modid@version
<!--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


<code>-p, --playStyle</code> (Default: creativebuilding) Used when creating a new world
<!--T:11-->
<code>-p, --playStyle</code> (Default: creativebuilding) Used when creating a new world. Possible values are "creativebuilding", "preset-surviveandbuild", "preset-exploration", "preset-homosapiens" 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


<code>--help</code> Display the help screen.
<code>--version</code> Displays version information
</translate>
{{Navbox/modding|Vintage Story}}
{{Game navbox}}
Confirmedusers
538

edits