# Vintage Story portable Version

## Recommended Posts

Portable or self-contained. I am not sure what the right expression is.

What I mean is for either the game itself changed or to have a version that is contained in one Directory.

I would like for a way to modify game files without messing with my personal game files.

I wish for a game that keeps all its files inside one directory, no %appdat%, no user/local/temp.

The main benefit for me is that at any moment I would be able to keep my working files in that directory and go play for a bit, without the need to constantly have to restore the original files and remove my not yet working mods.

Also, that in itself would make possible to have different versions of the game on the same computer. Something that any player that uses Multiplayer needs one time or another.

When an update comes, sometimes it breaks compatibility with one or another mod. Everyone wants to try the new update, but it may take a while for servers to be able to get the new update. Most of the times, servers need to wait for modders to update their mods before the server can update.

##### Share on other sites

I usually come to the forum before going to discord. So I posted this before realising that we actually have a new update there. Now, I want to try the update but cannot update the server until some mods get updated.

##### Share on other sites

This is already possible with the --dataPath argument though.

But some Multi-VS launcher would be nice.

##### Share on other sites

How exactly do I use this argument? I tried yesterday but got no result. Could you please give me an example?

##### Share on other sites

Make a launch.bat file containing

VintageStory.exe --dataPath D:\path\to\datafolder

alternatively, what just came into my mind, you can make vintagestory believe it's in a dev environmenet which causes it to place it's data files into the same folder as the binaries. For that you have to move out the assets from the binaries folder, i.e.

1. Create a new folder vintagestory. Place the %appdata%/VintageStory/assets in there
2. Create a subfolder binaries. Place the rest of %appdata%/VintageStory/assets in there
3. In the vintagestory folder create a launch.bat like this
rem set cwd to the directory of the exe file
cd %~dp0
cd binaries
call VintageStory.exe

##### Share on other sites

Thank you very much, Tyron, I really appreciate.

It may look petty to others, but it is important to me. So I appreciate your candour.

##### Share on other sites
On 5/2/2018 at 2:15 AM, Tyron said:

Make a launch.bat file containing


VintageStory.exe --dataPath D:\path\to\datafolder

alternatively, what just came into my mind, you can make vintagestory believe it's in a dev environmenet which causes it to place it's data files into the same folder as the binaries. For that you have to move out the assets from the binaries folder, i.e.

1. Create a new folder vintagestory. Place the %appdata%/VintageStory/assets in there
2. Create a subfolder binaries. Place the rest of %appdata%/VintageStory/assets in there
3. In the vintagestory folder create a launch.bat like this

rem set cwd to the directory of the exe file
cd %~dp0
cd binaries
call VintageStory.exe﻿

4

I am really sorry to keep bothering, but I cant understand steps 1 and 2. Once I place the %appdata%/Vintagestory/assets in there, I have no rest of %appdata%/Vintagestory/assets.

##### Share on other sites

Sorry I meant the remaining files and folders in %appdata%/VintageStory/

##### Share on other sites

Could this approach be made for a self contained server?  I've tried it without much luck.  I noticed the .sh script in there, but I'm sadly not in a linux environment to use it.

##### Share on other sites

Yes...  yes it will.  I reinstalled the server and now it's working.

## Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×

×

• Wiki
• Forums
• Chat
• #### Store

×
• Create New...