Difference between revisions of "Games"

From NixOS Wiki
Jump to: navigation, search
m (add Software category)
m (update "FHS Environment only" links to updated section name (section name changed 2022-04-17))
Line 19: Line 19:
 
! scope="row"| Braid
 
! scope="row"| Braid
 
| BraidSetup-2015-06-11.sh (HB)  
 
| BraidSetup-2015-06-11.sh (HB)  
| [[Steam#FHS environment only (aka GOG/Humble)|steam-run-native]]
+
| [[Steam#FHS environment only|steam-run-native]]
 
| I could play a few levels without problem
 
| I could play a few levels without problem
 
|-
 
|-
 
! scope="row"| Project Hospital
 
! scope="row"| Project Hospital
 
| project_hospital_1_2_21186_40814.sh (Gog)  
 
| project_hospital_1_2_21186_40814.sh (Gog)  
| [[Steam#FHS environment only (aka GOG/Humble)|steam-run-native]]
+
| [[Steam#FHS environment only|steam-run-native]]
 
| Everything is OK
 
| Everything is OK
 
|-
 
|-
Line 34: Line 34:
 
! scope="row"| Vintage Story
 
! scope="row"| Vintage Story
 
| vs_archive_1.14.10.tar.gz
 
| vs_archive_1.14.10.tar.gz
| [[Steam#FHS environment only (aka GOG/Humble)|steam-run-native]]
+
| [[Steam#FHS environment only|steam-run-native]]
 
| <syntaxhighlight lang="sh">steam-run mono Vintagestory.exe</syntaxhighlight>
 
| <syntaxhighlight lang="sh">steam-run mono Vintagestory.exe</syntaxhighlight>
 
|}
 
|}

Revision as of 22:59, 20 April 2022

This page lists games and reports on their successful execution on NixOS.

Specific execution mode information can be found on these dedicated pages:


List of games

HB=humblebundle.com, Gog=gog.com
Name Version Mode Note
Braid BraidSetup-2015-06-11.sh (HB) steam-run-native I could play a few levels without problem
Project Hospital project_hospital_1_2_21186_40814.sh (Gog) steam-run-native Everything is OK
State of Mind 1.2.24280 Pure Steam Everything is OK
Vintage Story vs_archive_1.14.10.tar.gz steam-run-native
steam-run mono Vintagestory.exe

Renowned Explorers: International Society

Tested with version renowned_explorers_international_society_522_26056.sh from gog.com. It can be played with steam-run, but it needs some libraries that are not normally included in Steam's FHS environment. One way to solve this is to add an overlay:

  nixpkgs.overlays = [
    (self: super: {
      steam-run = (super.steam.override {
        extraLibraries = pkgs: with pkgs;
          [
            libxkbcommon
            mesa
            wayland
            (sndio.overrideAttrs (old: {
              postFixup = old.postFixup + ''
                ln -s $out/lib/libsndio.so $out/lib/libsndio.so.6.1
              '';
            }))
          ];
      }).run;
    })
  ];

Adding libxkbcommon, mesa, and wayland is straightforward. The game expects the shared library sdnio.so.6.1 to exist, so we need to create a symbolic link after the installation of sndio.