Client startup parameters: Difference between revisions

From Vintage Story Wiki
(Marked this version for translation)
m (Updated game version and extra startup params.)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{GameVersion|1.15}}
{{GameVersion|1.19}}


<!--T:2-->
<!--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 (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>


Line 25: Line 25:
<!--T:8-->
<!--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-->
<!--T:9-->
Line 33: Line 35:


<!--T:11-->
<!--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", "preset-homosapiens" and "preset-wildernesssurvival"


<!--T:12-->
<!--T:12-->
Line 47: Line 49:
<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-->
<code>--version</code> Displays version information
</translate>
{{Navbox/modding|Vintage Story}}
{{Navbox/modding|Vintage Story}}
 
{{Game navbox}}
</translate>

Latest revision as of 16:44, 19 February 2024

Other languages:

This page was last verified for Vintage Story version 1.19.


To get a list of all the startup parameters (command line arguments) currently implemented, go to your game directory and call VintageStory.exe --help. Parameters with multiple values can be supplied with the values separated by space, for example: VintageStory.exe --addModPath="path/to/dir1" "path/to/dir2"

Currently implemented startup parameters are:

-v, --version Print game version and exit

-h, --help Print help info and exit

--tracelog Print log also via Trace.WriteLine() to get it to show up in the visual studio output window

-o, --openWorld Opens given world. If it doesn't exist it will be created

-c, --connect Connect to given server

-i, --installmod Install given mod in the format: modid@version

--pw Password for the server (if any)

--rndWorld Creates a new world with a random name. Use -p modifier to set playstyle

-p, --playStyle (Default: creativebuilding) Used when creating a new world. Possible values are "creativebuilding", "preset-surviveandbuild", "preset-exploration", "preset-homosapiens" and "preset-wildernesssurvival"

--dataPath Set a custom data path, default is Environment.SpecialFolder.ApplicationData

--logPath Default logs folder is in dataPath/Logs/. This option can only set an absolute path.

--addOrigin Tells the asset manager to also load assets from this path

--addModPath Tells the mod loader to also load mods from this path

--version Displays version information

Icon Sign.png

Wondering where some links have gone?
The modding navbox is going through some changes! Check out Navigation Box Updates for more info and help finding specific pages.

Modding
Modding Introduction Getting Started Theme Pack
Content Modding Content Mods Developing a Content Mod Basic Tutorials Intermediate Tutorials Advanced Tutorials Content Mod Concepts
Code Modding Code Mods Setting up your Development Environment
Property Overview ItemEntityEntity BehaviorsBlockBlock BehaviorsBlock ClassesBlock EntitiesBlock Entity BehaviorsCollectible BehaviorsWorld properties
Workflows & Infrastructure Modding Efficiency TipsMod-engine compatibilityMod ExtensibilityVS Engine
Additional Resources Community Resources Modding API Updates Programming Languages List of server commandsList of client commandsClient startup parametersServer startup parameters
Example ModsAPI DocsGitHub Repository


Wiki Navigation
Vintage Story Guides[[::Category:Guides| ]]Frequently Asked Questions Soundtrack Versions Controls
Game systems Crafting Knapping Clay forming Smithing Cooking Temperature Hunger Mining Temporal stability Mechanical power Trading Farming Animal husbandry
World World generation Biomes Weather Temporal storms
Items Tools Weapons Armor Clothing Bags Materials Food
Blocks Terrain Plants Decorative Lighting Functional Ore
Entities Hostile entities Animals NPCs Players
Miscellaneous List of client commands List of server commands Creative Starter Guide Bot System WorldEdit Cinematic Camera Adjustable FPS Video Recording ServerBlockTicking