tony Liberatto Posted April 30, 2018 Report Share Posted April 30, 2018 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. 1 Link to comment Share on other sites More sharing options...
tony Liberatto Posted May 1, 2018 Author Report Share Posted May 1, 2018 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. Link to comment Share on other sites More sharing options...
Tyron Posted May 1, 2018 Report Share Posted May 1, 2018 This is already possible with the --dataPath argument though. But some Multi-VS launcher would be nice. Link to comment Share on other sites More sharing options...
tony Liberatto Posted May 1, 2018 Author Report Share Posted May 1, 2018 How exactly do I use this argument? I tried yesterday but got no result. Could you please give me an example? Link to comment Share on other sites More sharing options...
Tyron Posted May 2, 2018 Report Share Posted May 2, 2018 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. Create a new folder vintagestory. Place the %appdata%/VintageStory/assets in there Create a subfolder binaries. Place the rest of %appdata%/VintageStory/assets in there 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 Link to comment Share on other sites More sharing options...
tony Liberatto Posted May 2, 2018 Author Report Share Posted May 2, 2018 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. 1 Link to comment Share on other sites More sharing options...
tony Liberatto Posted May 4, 2018 Author Report Share Posted May 4, 2018 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. Create a new folder vintagestory. Place the %appdata%/VintageStory/assets in there Create a subfolder binaries. Place the rest of %appdata%/VintageStory/assets in there 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. Link to comment Share on other sites More sharing options...
Tyron Posted May 5, 2018 Report Share Posted May 5, 2018 Sorry I meant the remaining files and folders in %appdata%/VintageStory/ Link to comment Share on other sites More sharing options...
DasTebbers Posted May 14, 2019 Report Share Posted May 14, 2019 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. Link to comment Share on other sites More sharing options...
DasTebbers Posted May 14, 2019 Report Share Posted May 14, 2019 Yes... yes it will. I reinstalled the server and now it's working. Link to comment Share on other sites More sharing options...
Recommended Posts