Jump to content

Recommended Posts

Posted
On 10/19/2024 at 4:45 AM, Dorian Grey said:
  • ОS: Linux Mint 22 Wilma (x86_64 Linux) (gnome)
  • Linux 6.8.0-47-generic
  • driver: nvidia-driver-550.107.02 (NVIDIA GeForce RTX™ 2060 Laptop GPU)
  • .net: dotnet-sdk-7.0
  • MP/SP: testet only singleplayer mode 😉
  • VS version: vs_client_linux-x64_1.19.8
  • start game: Thsough shortcut

 

SOLUTION that work for my os:

sudo apt install dotnet-sdk-7.0

Thanks so much for the solution, before I was playing with flatpack version, now I confirm that the game runs with vs_client_linux-x64_1.19.8 too.

Testet Single and Multiplayer 🎏

OS: Linux Mint 22 x86_64
Kernel: 6.8.0-49-generic
GPU: Intel CoffeeLake-S GT2 [UHD Graphics 630] 
.net: dotnet-sdk-7.0
VS version: vs_client_linux-x64_1.19.8
Start Game: With the "Vintagestory" executable

 

Posted (edited)


Distro / Kernel Release :                   NixOS 24.11
Vintage Story version :                     1.19.8 and 1.20.0-pre.13
Mono / .NET package version :              dotnet-runtime 7.0.20
Graphics driver version :                   Nvidia Proprietary 560.35.03
Works for client, mp server or both :     client (Havent tried online)
Installation method used :                  vintagestory nix package & a custom vintagestory nix package for 1.20 in my configuration.nix
Hacks (if needed) :                          None (Though to play a different version I had to clone the package and edit the download url)

Also, I didnt have an issue before but when I updated to the latest stable nix channel (24.11) I got a warning saying dotnet-runtime-7.0.20 is insecure. So I had to add this to my configuration.nix:

nixpkgs.config.permittedInsecurePackages = [
	"dotnet-runtime-wrapped-7.0.20"
	"dotnet-runtime-7.0.20"
];

And everything now works perfectly

Edited by EmpressElise
  • Like 1
Posted (edited)
  • Distro / Kernel release :                         Debain 12 (bookworm)
  • Mono / .NET package version :             .NET 7.0.20 Runtime
  • Works for client, mp server or both :     Client
  • Installation method used :                     run.sh
  • Hacks:

    On Debian you have to install .NET 7.0 manually or via Microsofts install script. After downloading the script make it executable and run it via

    ./dotnet-install.sh --channel 7.0 --runtime dotnet

    After installation I got an error while executing Vintage Story via run.sh

    You must install .NET to run this application.

    App: /home/patte/Games/vintagestory/Vintagestory
    Architecture: x64
    App host version: 7.0.20
    .NET location: Not found

    Learn about runtime installation:
    https://aka.ms/dotnet/app-launch-failed

    Download the .NET runtime:
    https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=debian.12-x64&apphost_version=7.0.20

    To solve this you have to know how to set environment variables. I moved my .dotnet folder from $HOME to $HOME/.local/bin via

    mv ~/.dotnet ~/.local/bin/.dotnet

    and afterwards I set an environment variable

    export DOTNET_ROOT=$HOME/.local/bin/.dotnet

    Important: Make sure to use the right command for the shell you are using and set the environment variable permanently.

    Note: I believe if you don't move the .dotnet folder like I did in my example you have to also set another environment variable under $PATH.

    Hope that helps. I'm a noob and had to figure it out by myself for 2 hours.

    ---

    PS: I'm still trying to solve a problem with the Vintage Story install.sh script as I get the following error executing it:

    Fatal! I require sysctl but it's not installed. Aborting.

    sysctl is only usable as a super user (with sudo) so I believe install.sh is trying to run sysctl as a "normal" user which isn't possible.

Edited by Marshmellow
Posted
  • ОS: OpenSuSE Tumbleweed
  • kernel: 6.11.8-1-default
  • driver: nVidia 550.135
  • .net: dotnet-runtime-7.0
  • MP/SP: single player works tested, no idea about the server as I didn't try to start one.
  • VS version: 1.19.8
  • start game: run.sh
  • Installation method: tarball unpacked to a folder under my home directory, started from there.
Posted
  • Distro / Kernel release :                               openSUSE Tumbleweed 20241217 x86_64Linux 6.11.8-1-default             
  • Mono / .NET package version :                  Microsoft.NETCore.App 7.0.20 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
  • Graphics driver version :                              550.135
  • Works for client, mp server or both :          client (servers needs confirmation never started)
  • Installation method used :                           just downloaded files extracted and ran "run.sh"
  • Wayland + nvidia blinking bug fix for me: i increased fps cap to my monitor fps cap
  • 3 weeks later...
Posted
On 12/7/2024 at 4:08 PM, EmpressElise said:


Distro / Kernel Release :                   NixOS 24.11
Vintage Story version :                     1.19.8 and 1.20.0-pre.13
Mono / .NET package version :              dotnet-runtime 7.0.20
Graphics driver version :                   Nvidia Proprietary 560.35.03
Works for client, mp server or both :     client (Havent tried online)
Installation method used :                  vintagestory nix package & a custom vintagestory nix package for 1.20 in my configuration.nix
Hacks (if needed) :                          None (Though to play a different version I had to clone the package and edit the download url)

Also, I didnt have an issue before but when I updated to the latest stable nix channel (24.11) I got a warning saying dotnet-runtime-7.0.20 is insecure. So I had to add this to my configuration.nix:

nixpkgs.config.permittedInsecurePackages = [
	"dotnet-runtime-wrapped-7.0.20"
	"dotnet-runtime-7.0.20"
];

And everything now works perfectly

Well howdy there fellow NixOS user!

Distro / Kernel Release :                   NixOS 24.11 / Kernel 6.12.1 SMP PREEMPT_DYNAMIC x86_64
Vintage Story version :                     1.19.8
Mono / .NET package version :        Unsure (whatever comes with the current Vintage Story flatpak)
Graphics driver version :                   Nvidia Proprietary 565.57.01
Works for client, mp server or both : client - yes, open to LAN - yes, dedicated server - untested
Installation method used :                 Latest flatpak from flathub installed via Gnome Software app
Hacks (if needed) :                            None. It just works, which is absolutely wonderful! (Although the mouse occasionally has this weird glitch where clicks are offset from where the pointer appears to be.  Cycling from fullscreen to windowed mode and then back to fullscreen corrects it. Interestingly, I have the same issue when playing that other block game...)

I'll remember your dotnet hack if I ever get around to manually installing a RC version of Vintage Story to try out alongside the stable flatpak. 

Posted

This distro setup may already appear somewhere in this thread, but here goes anyway. I only recently moved to MX Linux, after successfully enjoying Vintage Story on Manjaro for the last two  years.

  • Distro / Kernel release :                         MX Linux 23 / 6.1.0-29-amd64 (64-bit)
  • Mono / .NET package version :           Does Not Apply (see below)
  • Graphics driver version :                       NVIDIA Driver Version 535.216.03
  • Works for client, mp server or both :   Tested successfully as client
  • Installation method used :                     Flatpak (download file at https://flathub.org/apps/at.vintagestory.VintageStory)
  • Hacks (if needed) :                                  at bash prompt: flatpak --user install /home/[user]/Downloads/at.vintagestory.VintageStory.flatpakref

I rarely use Flatpak applications, but thankfully the VS developers provided that option because when I moved to MX Linux from Manjaro, Dotnet installation proved to be too arcane (in MX Linux) to bother continuing to try and hack it. Manjaro's dotnet installation was a breeze. Not sure why a popular OS like MX doesn't make it just as easy. I prefer to avoid non-standard repositories.

  • 1 month later...
Posted
  • Distro / Kernel release :                         Debain 12 (bookworm)
  • Mono / .NET package version :             .NET 7.0.20 Runtime
  • Works for client, mp server or both :     Client
  • Installation method used :                     Flatpak

I don't properly know how to explain this, but I installed flatpak:
{sudo apt install flatpak}

and then I installed Vintagestory via flatpak.

{sudo flatpak search vintage}, figure out which one you want (at time of typing this, the only two options are vintage story and an adobe thing, so easy choice) and then type in:
{sudo flatpak install flathub at.vintagestory.VintageStory}
This just worked for me, when it's done installing everything, do a restart and it will just be there.
 

  • 2 weeks later...
Posted (edited)
  • Distro / Kernel release :                       Gentoo, gentoo-kernel 6.12.16
  • Mono / .NET package version :          dev-dotnet/dotnet-sdk-bin:7.0
  • Graphics driver version :                      amdgpu Ryzen 5700G
  • Works for client, mp server or both :  only tested client
  • Installation method used :                   untar
  • Hacks (if needed) :                                when dotnet 8 is installed, requires setting 7 as default or a custom command: /opt/dotnet-sdk-bin-7.0/dotnet Vintagestory.dll
Edited by shionobi
Posted
  • Distro / Kernel release : Debian 12 / 6.1.0-32-amd64
  • Mono / .NET package version : dotnet-runtime-7.0 7.0.20-1
  • Graphics driver version : NVIDIA 550.144.03
  • Works for client, mp server or both : Only tested client
  • Installation method used : Unpacked tarball (I didn't notice there was an install.sh and the game just worked)
  • Hacks (if needed) : None
  • Vintage version: 1.20.4
Posted
  • Distro / Kernel release : Endeavouros / 6.13.7-arch1-1
  • Mono / .NET package version : manual dotnet 7.0.20 (latest M$ release)
  • Graphics driver version : Latest NVIDIA Binary (570.124.04)
  • Works for client, mp server or both : Client
  • Installation method used :  manual
  • Hacks (if needed) : before libc 2.41 -> none, after -> own glibc 2.40 ld.so interpreter+patchelf magic+odd rpath issues to make it work. Goddamn harmony. 2 hours of work. :) Now stable.
  • Vintage version: 1.19.8/1.20.4 both with hacks.

 

And people wonder why linux is not more popular. :P 

  • 2 weeks later...
Posted (edited)

Distro / Kernel Release : Gentoo / gentoo-kernel 6.13.8
Vintage Story version : 1.20.7
Mono / .NET package version : dotnet-sdk-bin:7.0
Graphics driver version : Mesa 25.02, using Intel Arc B580 graphics card.
Works for client, mp server or both : Only tested singleplayer currently, works perfectly so far.
Installation method used : Unpacked tarball containing game and dropped it into my ./local/share/
Hacks (if needed) : Specifying dotnet version to run game with by starting it using /opt/dotnet-sdk-bin-7.0/dotnet ~/.local/share/vintagestory/Vintagestory.dll to start the game as it tried to use dotnet 9 by default.

Edited by Quill7
Posted (edited)

I had a bit of trouble getting the .desktop file to work, so I'm posting my solution here in case others have the same issue.

In particular, running either the desktop file or the application directly would seemingly do nothing, while running them through the terminal would work fine. I eventually traced it down to nemo (my file viewer) not knowing the environment variables that linked to Dot Net. The solution was to put them in the .desktop file manually.


Distro/Kernel Release: Linux Mint 22.1 Cinnamon / 6.8.0-55-generic
Vintage Story Version: 1.20.7
Mono/.Net version: Microsoft.NETCore.App 7.0.20
Graphics driver: nvidia-driver-550
Client/Server: Client works, haven't tested server yet.
Installation Method Used: install.sh
Hacks:

  • Ran the dot net install script as ./dotnet-install.sh --runtime dotnet --channel 7.0
  • Created the following .desktop file to launch the game with:
    #!/usr/bin/xdg-open
    [Desktop Entry]
    Name=Vintage Story 1.20.7
    GenericName=Sandbox Game
    Exec=env DOTNET_ROOT=/home/yourname/.dotnet /home/yourname/.local/share/vintagestory/run.sh
    Terminal=false
    Type=Application
    StartupNotify=false
    Categories=Game;
    Path=/home/yourname/.local/share/vintagestory
    Icon=/home/yourname/.local/share/vintagestory/assets/gameicon.xpm

    Thanks to this Stack Overflow post for pointing me in the right direction.

Edited by a52
  • Like 3
  • 2 months later...
Posted
  • Distro / Kernel release : NixOS 25.11 (Xantusia/unstable), linux 6.12.31
  • Mono / .NET package version : dotnet-runtime 7.0.20
  • Graphics driver version : mesa 25.1.1 / intel-media-driver 25.1.4
  • Works for client, mp server or both : both
  • Installation method used : NIXPKGS_ALLOW_INSECURE=1 nix profile install nixpkgs#vintagestory
  • Hacks (if needed) : Updated the package myself, but I maintain various packages in nixpkgs, normal user wouldn't have to do that
  • By the way: is there a way to get the latest stable version number of vintagestory programmatically? Like with a bash script? That would allow for an automated update.
Posted

OS: Linux Mint 22.1 Cinnamon
Kernel: 6.8.0-60-generic
GPU: Radeon RX 6600
.net: dotnet-sdk-8.0
Installation Method Used: Flatpak
VS version: vs_client_linux-x64_1.20.12
Start Game: Like any other app
Tips: The "sudo apt install dotnet-sdk-7.0" command don't work use "sudo apt install dotnet-sdk-8.0" instead

Tested in singleplayer

Posted
On 3/18/2025 at 6:16 PM, TheMadGod said:

And people wonder why linux is not more popular. :P 

The issue is mostly dotnet, which is more of a MS thing to blame. Flatpaks are as easy as it gets, at long as you don't need it to interact with anything outside its sandboxed environment (so far I only know of one mod that would benefit from that).

1 hour ago, Alfon Fdez said:

Tips: The "sudo apt install dotnet-sdk-7.0" command don't work use "sudo apt install dotnet-sdk-8.0" instead

Since I see this a lot: It's completely unnecessary if you use the Flatpak version of VS. Flatpaks come packaged with all dependencies they need to run the application and are entirely sandboxed in their own little environment. They do not touch any of your locally installed dotnet versions at all and you don't even need to have any installed to use them. Generally, listing Flatpak installations here is completely unnecessary because every distro that can run flatpaks (which I'd guess is probably almost all of them), can also run VS.

Posted (edited)
  • Distro / Kernel release :                         Linux Mint 22.1 Cinnamon / 6.8.0-62-generic
  • Mono / .NET package version :             .NET SDK 7.0.410
  • Graphics driver version :                       Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT]
  • Works for client, mp server or both :     client (will test mp soon)  
  • Installation method used :                     Scripted installation of .NET 7 with successful echo of $DOTNET_ROOT; unpacked tarball
  • Hacks (if needed) :                                Double clicking run.sh or the VintageStory executable and selecting "Run in Terminal" or "Run" yielded no results. The eventual start menu shortcut from install.sh would also not work. What would work is running "./run.sh", "./Vintagestory", or "bash run.sh"; so I threw "$SHELL" at the end of run.sh to get this:
    You must install .NET to run this application.
    
    App: /home/lupie/.local/share/vintagestory/Vintagestory
    Architecture: x64
    App host version: 7.0.20
    .NET location: Not found
    
    Learn about runtime installation:
    https://aka.ms/dotnet/app-launch-failed
    
    Download the .NET runtime:
    https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=linuxmint.22.1-x64&apphost_version=7.0.20

    Again, the game works in every way via terminal so my DOTNET_ROOT environment variable should be correct. Then I noticed @a52's post showing how to make a desktop shortcut with that handy: 
    DOTNET_ROOT=/home/yourname/.dotnet
    as an argument for run.sh and that worked perfectly.

    So, it seems like bash forgets about DOTNET_ROOT when the calling context is outside terminal and you have to remind it. But, I'm also very new to Linux so if someone could explain what's going on that'd be great thanks so much.
Edited by Lupie
added specific line from @a52's .desktop that fixed it
Posted
  • Distro / Kernel release :                         Arch Linux x86_64 / Linux 6.15.3-arch1-1
  • Mono / .NET package version :             dotnet-runtime-7.0 (7.0.20.sdk120-2)
  • Graphics driver version :                       NVIDIA binary driver 575.64-2384.130 (proprietary)
  • Works for client, mp server or both :     Tested client only
  • Installation method used :                     AUR
  • Hacks (if needed) :                                None. Just works

    Will test on my Gentoo system later.
Posted
  • Distro / Kernel release :                         Gentoo Linux x86_64 / Linux 6.12.31-gentoo
  • Mono / .NET package version :             dotnet-sdk-bin-7.0 (7.0.404-r4)
  • Graphics driver version :                       media-libs/mesa
  • Works for client, mp server or both :     Tested client only
  • Installation method used :                     untar the package and ran with dotnet directly (using /opt/dotnet-sdk-bin-7.0/dotnet VintageStory.dll)
  • Hacks (if needed) :                                Using the dotnet 7.0 directly to run helps the executable to find the dotnet binary, but didn't manage to run under wayland.

    Sadly it does not run under "pure" wayland, but I have seen multiple users in this very forum run the game under X11, maybe if you just enable XWayland or something similar it should work. 

    Error:
    Quote

    Unhandled exception. OpenTK.Windowing.GraphicsLibraryFramework.GLFWException: X11: The DISPLAY environment variable is missing
       at OpenTK.Windowing.Desktop.GLFWProvider.DefaultErrorCallback(ErrorCode errorCode, String description)
    zsh: IOT instruction  /opt/dotnet-sdk-bin-7.0/dotnet Vintagestory.dll

     

  • 4 weeks later...
Posted
  • Distro/Kernel : Fedora Linux 42 / 6.15.6-200.fc42.x86_64
  • Mono / .NET package version : (installed via flatpak so idk.)
  • Graphics driver version : nvidia 575.64.03
  • Works for client, mp server or both : only tested client
  • Installation method used : via flatpak
  • Hacks (if needed) : none, works out of the box

    (I see a surprising amount of NixOS users which makes me want to go back and try it again)
Posted

Operating System: Arch Linux
KDE Plasma Version: 6.4.1
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.4-arch2-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-6700 CPU @ 3.40GHz
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: AMD Radeon RX 6600

Posted (edited)
  • Vintage Story Version:                            1.20.12
  • Distro / Kernel release:                           Cachy OS /  Linux 6.15.7-3-cachyos
  • Graphics Platform:                                  Wayland
  • KDE Plasma Version:                              6.4.3
  • Graphics driver version:                         575.64.05
  • Works for client, mp server or both:     Client - Server not tested - Haven't found out how to install it yet
  • Installation method used:                       Flatpak
  • CPU:                                                          AMD Ryzen 7 3800X (16) @ 4.56 GH
  • GPU:                                                          NVIDIA GeForce RTX 2080 8GB
  • RAM:                                                          32 GiB
  • Max FPS:                                                   145
  • Average FPS:                                            101
  • Minimal FPS:                                             84         
  • Hacks (if needed):                                  None                           
Edited by HenkoHallows
  • 3 weeks later...
Posted (edited)
On 12/11/2024 at 12:06 AM, Marshmellow said:
  • Distro / Kernel release :                         Debain 12 (bookworm)
  • Mono / .NET package version :             .NET 7.0.20 Runtime
  • Works for client, mp server or both :     Client
  • Installation method used :                     run.sh
  • Hacks:

    On Debian you have to install .NET 7.0 manually or via Microsofts install script. After downloading the script make it executable and run it via

    ./dotnet-install.sh --channel 7.0 --runtime dotnet

    After installation I got an error while executing Vintage Story via run.sh

    You must install .NET to run this application.

    App: /home/patte/Games/vintagestory/Vintagestory
    Architecture: x64
    App host version: 7.0.20
    .NET location: Not found

    Learn about runtime installation:
    https://aka.ms/dotnet/app-launch-failed

    Download the .NET runtime:
    https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=debian.12-x64&apphost_version=7.0.20

    To solve this you have to know how to set environment variables. I moved my .dotnet folder from $HOME to $HOME/.local/bin via

    mv ~/.dotnet ~/.local/bin/.dotnet

    and afterwards I set an environment variable

    export DOTNET_ROOT=$HOME/.local/bin/.dotnet

    Important: Make sure to use the right command for the shell you are using and set the environment variable permanently.

    Note: I believe if you don't move the .dotnet folder like I did in my example you have to also set another environment variable under $PATH.

    Hope that helps. I'm a noob and had to figure it out by myself for 2 hours.

    ---

    PS: I'm still trying to solve a problem with the Vintage Story install.sh script as I get the following error executing it:

    Fatal! I require sysctl but it's not installed. Aborting.

    sysctl is only usable as a super user (with sudo) so I believe install.sh is trying to run sysctl as a "normal" user which isn't possible.

What I did as a workaround is manually add sysctl to the PATH. No idea how clean this is and quite frankly I don't care. Here's the commands:

nano ~/.bashrc

Then add the following line:

export PATH="$PATH:/sbin"

Then run:

exec bash

From that point onward you should be able to run install.sh without it yapping about sysctl.

Edited by SilvortheGrand
  • 3 weeks later...
Posted

OS: Debian 13 trixie

CPU: Ryzen5 2500u 2.0ghz 4 cores with Vega 8 1gb reserved vram

GPU: Amd Radeon rx650 4GB vram

I had troubles with install.sh not finding sysctl. If it happens export PATH=$PATH:/usr/sbin might help you. It helped me.

×
×
  • 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.