Jump to content

Games: Difference between revisions

From NixOS Wiki
Parasew (talk | contribs)
m Other resources: adding open source games list
Iedame (talk | contribs)
Added lincity and lincity-ng to open source games list
 
(7 intermediate revisions by 4 users not shown)
Line 10: Line 10:
|[https://www.thedarkmod.com/main/ The Dark Mod]
|[https://www.thedarkmod.com/main/ The Dark Mod]
|Stealth, FPS
|Stealth, FPS
|[https://github.com/NixOS/nixpkgs/pull/267239 pending pull request]
|[https://github.com/NixOS/nixpkgs/pull/356578 pending pull request]
|Stealth game inspired by the Thief series.
|Stealth game inspired by the Thief series.
|-
|-
Line 20: Line 20:
|[https://www.veloren.net/ Veloren]
|[https://www.veloren.net/ Veloren]
|RPG, Sandbox
|RPG, Sandbox
|[https://github.com/NixOS/nixpkgs/issues/95226 In progress]
|In nixpkgs
|Multiplayer voxel RPG set in a procedurally generated world.
|Multiplayer voxel RPG set in a procedurally generated world.
|-
|-
Line 47: Line 47:
|In Nixpkgs
|In Nixpkgs
|Civilization-building strategy game.
|Civilization-building strategy game.
|-
|[https://www.gnu.org/software/freedink/ FreeDink]
|Adventure, RPG
|In Nixpkgs
|Free, portable and enhanced version of the Dink Smallwood game engine
|-
|-
|[https://www.openttd.org/ OpenTTD]
|[https://www.openttd.org/ OpenTTD]
Line 67: Line 72:
|In nixpkgs
|In nixpkgs
|Fast-paced multiplayer shooter.
|Fast-paced multiplayer shooter.
|-
|[https://sourceforge.net/projects/lincity/ LinCity]
|Simulation, Management
|In nixpkgs
|City simulation game
|-
|[https://github.com/lincity-ng/lincity-ng LinCity-NG]
|Simulation, Management
|In nixpkgs
|City simulation game
|-
|-
|[https://mindustrygame.github.io/ Mindustry]
|[https://mindustrygame.github.io/ Mindustry]
Line 72: Line 87:
|In nixpkgs
|In nixpkgs
|Sandbox tower defense game.
|Sandbox tower defense game.
|-
|[https://nethack.org/ NetHack]
|Rogue-like, RPG
|In nixpkgs
|Rogue-like game
|-
|-
|[https://cataclysmdda.org/ Cataclysm: Dark Days Ahead]
|[https://cataclysmdda.org/ Cataclysm: Dark Days Ahead]
Line 82: Line 102:
|In nixpkgs
|In nixpkgs
|Rogue-like dungeon crawler with pixel graphics.
|Rogue-like dungeon crawler with pixel graphics.
|-
|[https://www.chiark.greenend.org.uk/~sgtatham/puzzles/ Simon Tatham's Portable Puzzle Collection]
|Puzzle
|In nixpkgs
|Simon Tatham's portable puzzle collection
|}
|}


Line 89: Line 114:
* [https://osgameclones.com/ Open Source Game Clones]
* [https://osgameclones.com/ Open Source Game Clones]
* [https://github.com/bobeff/open-source-games open-source-games list on Github by bobeff]
* [https://github.com/bobeff/open-source-games open-source-games list on Github by bobeff]
* [https://trilarion.github.io/opensourcegames/games/top50.html 50 highest rated (by stars on Github) playable open source games]  
* [https://trilarion.github.io/opensourcegames/games/top.html 100 highest rated (by stars on Github) playable open source games]
* [[wikipedia:List_of_open-source_video_games|List of open-source video games (en.wikipedia)]]  
* [[wikipedia:List_of_open-source_video_games|List of open-source video games (en.wikipedia)]]  
* [https://github.com/topics/open-source-game Topic "open-source-game" on github]  
* [https://github.com/topics/open-source-game Topic "open-source-game" on github]  
Line 109: Line 134:
|
|
|-
|-
|[[Heroic]]
|[[Heroic Games Launcher|Heroic]]
|Epic, GOG, Prime Gaming, Wine
|Epic, GOG, Prime Gaming, Wine
|
|

Latest revision as of 21:14, 12 October 2025

Open source games and their status on NixOS

Name Category nixpkg status Short Description
The Dark Mod Stealth, FPS pending pull request Stealth game inspired by the Thief series.
Endless Sky Space simulation, RPG In nixpkgs Explore a universe with different factions and ships.
Veloren RPG, Sandbox In nixpkgs Multiplayer voxel RPG set in a procedurally generated world.
Armagetron Advanced Arcade, Racing In nixpkgs A multiplayer Tron-like lightcycle racing game.
0 A.D. Strategy, Historical In nixpkgs Historical real-time strategy game.
SuperTuxKart Arcade, Racing In nixpkgs Kart racing game (like Super Mario Kart) featuring Tux and friends.
OpenRA Strategy, RTS In nixpkgs Open-source implementation of Command & Conquer.
FreeCiv Strategy, Turn-based In Nixpkgs Civilization-building strategy game.
FreeDink Adventure, RPG In Nixpkgs Free, portable and enhanced version of the Dink Smallwood game engine
OpenTTD Simulation, Management In nixpkgs Business simulation game based on Transport Tycoon Deluxe.
Battle for Wesnoth Strategy, Turn-based In nixpkgs Turn-based strategy game with fantasy themes.
FreeDoom FPS Not in nixpkgs Free alternative to the Doom series.
Xonotic FPS, Arena shooter In nixpkgs Fast-paced multiplayer shooter.
LinCity Simulation, Management In nixpkgs City simulation game
LinCity-NG Simulation, Management In nixpkgs City simulation game
Mindustry Strategy, Sandbox In nixpkgs Sandbox tower defense game.
NetHack Rogue-like, RPG In nixpkgs Rogue-like game
Cataclysm: Dark Days Ahead Survival, Rogue-like In nixpkgs Post-apocalyptic survival game.
Shattered Pixel Dungeon Rogue-like, RPG In nixpkgs Rogue-like dungeon crawler with pixel graphics.
Simon Tatham's Portable Puzzle Collection Puzzle In nixpkgs Simon Tatham's portable puzzle collection

Other resources

Game starters

Games can be run by different applications. Some are able to include libraries from different plattforms.

Application Platform Remarks
Steam Steam Windows games work fine. Linux games are often incompatible due to how NixOS works.
Lutris GOG, Humble Bundle, Epic, EA App, Ubisoft Connect, Steam, Flatpak, Wine
Heroic Epic, GOG, Prime Gaming, Wine
Wine Windows applications/games often easier to use Lutris install scripts for wine applications/games
nixpgs Linux games There are several games in nixpgs. You can install them directly, e.g. vintagestory, flightgear, lots of racing games.
Dosbox DOS applications/games


List of games

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.