Jump to content

0gladih

Vintarian
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

0gladih's Achievements

Wolf Bait

Wolf Bait (1/9)

0

Reputation

1

Community Answers

  1. Hi Vintarians! I wrote some help on updating VS in the questions section for a fellow vintarian, and I figured this might be useful for other Linux+VS users. The solution so far works for Ubuntu and Debian. I would like to know whether it works on Fedora, Alpine, or other distributions. This is applicable for VS 1.22 onwards, which requires dotnet 10. Installing dotnet10 following these steps shouldn't mess up the system-wide configuration, only the current user. Materials (downloads): VS 1.22 tarball (tar.gz file) from https://account.vintagestory.at/ dotnet 10 (AKA dotnet core): https://dotnet.microsoft.com/en-us/download/dotnet/10.0 Go to the section ".NET Runtime 10.0.7" and get the Linux - Binaries (probably x64 or x64 Alpine). Open a terminal and check if the "Downloads" directory has the 2 files: ls ~/Downloads/{dotnet*,vs_client*} Expected output: Downloads/dotnet-runtime-10.0.7-linux-x64.tar.gz Downloads/vs_client_linux-x64_1.22.2.tar.gz Install dotnet10: mkdir ~/dotnet10 tar -C ~/dotnet10 -xf ~/Downloads/dotnet-runtime-10.0.7-linux-x64.tar.gz Edit the file: ~/.bashrc Any editor will do the job. At the end of the file, add the following lines: export DOTNET_ROOT=~/dotnet10 export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools To update the environment, reboot, or logout/login, or open another terminal. Test the environment by executing: dotnet --info The output should look like: Host: Version: 10.0.7 Architecture: x64 Commit: b16286c228 RID: linux-x64 <... and lots more babble> If step 6 works, then install VS client 1.22. First, check and backup any previous installation. Renaming the directory will be enough. For example: mv ~/vintagestory{,.back} If not important or just don't care, deleting the old directory works too. Untar the latest client: tar -C ~/ -xf ~/Downloads/vs_client_linux-x64_1.22.2.tar.gz Then it's time to rock : ~/vintagestory/run.sh If a dotnet update happens (for example, a version 10.0.0.8 appears) and VS website recommends the update, delete the ~/dotnet10 directory and repeat step 3. If a VS update happens (most likely), repeat step 7 and step 8 (backup, untar). If you have performance issues with your nvidia card (as me) edit the file ~/vintagestory/run.sh, and make it look like this: < ... more stuff ... > export __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia # Run the game, pass along all arguments given to the script ./Vintagestory "$@" HTH. I I
  2. In your .bashrc, put them at the end of the file. After you do, don't forget to open a new terminal. You can also test the variables before editing, just copy/paste the same lines into your terminal and try dotnet --info
  3. Hi Kyutsuru, You've installed vintagestory into the dotnet10 directory. It is going to be a little bit cumbersome that way when updating dotnet or VS. Fix your installation by doing: mv ~/dotnet10/vintagestory ~/ You have the old dotnet pestering you (dot net 8), you need to uninstall it, list the packages like this: dpkg -l dotnet\* Depending on what you found (can be dotnet-runtime-<version> or dotnet-sdk-<version>), uninstall it: sudo dpkg -r dotnet-<the name you found> Double-check your ~/.bashrc file, look for the environment variables: export DOTNET_ROOT=~/dotnet10 export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools In a new terminal, test your new dotnet10 installation: dotnet --info It should return some babble containing something similar to this: Host: Version: 10.0.7 Architecture: x64 Commit: b16286c228 RID: linux-x64 If it looks like that, you are ready to run: ~/vintagestory/run.sh Good luck!
  4. Hi Kyutsuru, I use Debian; I don't use the install.sh script (I think that procedure is outdated). This procedure may work with Ubuntu, too. Make sure dot-net 10 is installed, VS 1.22 requires it. I use a user installation: Download dotnet-runtime-10.0.7-linux-x64.tar.gz from Microsoft (search for the file name; it will take you to it). Open a terminal and untar it in your home, like so: mkdir dotnet10 cd dotnet10 tar xf ~/Downloads/dotnet-runtime-10.0.7-linux-x64.tar.gz Setup environment variables by editing .bashrc, for example: export DOTNET_ROOT=~/dotnet10 export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools Backup your previous vintage story directory, download vs_client_linux-x64_1.22.1.tar.gz from Vintage Story Game Account, open a terminal, and untar it: mv {vintagestory,.back} tar xf ~/Downloads/vs_client_linux-x64_1.22.1.tar.gz If you didn't install the previous version in your home, don't bother with the `mv` first step shown. This will create the directory vintagestory with the `run.sh` script inside, which you can use to run the game. I also use this to get good FPS with my old nvidia card. My VS user configuration doesn't live in .local/share but in .config/VintagestoryData HTH, and happy survival.
  5. I upgraded from Debian Bookworm to Trixie. If you use release 1.21.1 out of the box, then a segmentation fault is issued after world loading. The problem is in line 9 of the `run.sh` script: export DRI_PRIME=1 If you remove the line, then the game becomes sluggish. Instead, replace line 9 with: export __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia HTH.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.