Games: Difference between revisions

imported>Charlycoste
Add Project Hospital
m Other resources: Fix link.
 
(20 intermediate revisions by 14 users not shown)
Line 1: Line 1:
This page lists games and reports on their successful execution on NixOS.
Specific execution mode information can be found on these dedicated pages:
* [[Steam]]
* [[Playstation2]]


== Open source games and their status on NixOS ==
{| class="wikitable sortable"
|+
!Name
!Category
!nixpkg status
!Short Description
|-
|[https://www.thedarkmod.com/main/ The Dark Mod]
|Stealth, FPS
|[https://github.com/NixOS/nixpkgs/pull/267239 pending pull request]
|Stealth game inspired by the Thief series.
|-
|[https://endless-sky.github.io/ Endless Sky]
|Space simulation, RPG
|In nixpkgs
|Explore a universe with different factions and ships.
|-
|[https://www.veloren.net/ Veloren]
|RPG, Sandbox
|[https://github.com/NixOS/nixpkgs/issues/95226 In progress]
|Multiplayer voxel RPG set in a procedurally generated world.
|-
|[https://www.armagetronad.org/ Armagetron Advanced]
|Arcade, Racing
|In nixpkgs
|A multiplayer Tron-like lightcycle racing game.
|-
|[https://play0ad.com/ 0 A.D.]
|Strategy, Historical
|In nixpkgs
|Historical real-time strategy game.
|-
|[https://supertuxkart.net/de/Main_Page SuperTuxKart]
|Arcade, Racing
|In nixpkgs
|Kart racing game (like Super Mario Kart) featuring Tux and friends.
|-
|[https://www.openra.net/ OpenRA]
|Strategy, RTS
|In nixpkgs
|Open-source implementation of Command & Conquer.
|-
|[https://freeciv.org/ FreeCiv]
|Strategy, Turn-based
|In Nixpkgs
|Civilization-building strategy game.
|-
|[https://www.openttd.org/ OpenTTD]
|Simulation, Management
|In nixpkgs
|Business simulation game based on Transport Tycoon Deluxe.
|-
|[https://www.wesnoth.org/ Battle for Wesnoth]
|Strategy, Turn-based
|In nixpkgs
|Turn-based strategy game with fantasy themes.
|-
|[https://freedoom.github.io/ FreeDoom]
|FPS
|'''''Not in nixpkgs'''''
|Free alternative to the Doom series.
|-
|[https://xonotic.org/ Xonotic]
|FPS, Arena shooter
|In nixpkgs
|Fast-paced multiplayer shooter.
|-
|[https://mindustrygame.github.io/ Mindustry]
|Strategy, Sandbox
|In nixpkgs
|Sandbox tower defense game.
|-
|[https://cataclysmdda.org/ Cataclysm: Dark Days Ahead]
|Survival, Rogue-like
|In nixpkgs
|Post-apocalyptic survival game.
|-
|[https://shatteredpixel.com/ Shattered Pixel Dungeon]
|Rogue-like, RPG
|In nixpkgs
|Rogue-like dungeon crawler with pixel graphics.
|}


== List of games ==
== Other resources ==


* [https://github.com/NixOS/nixpkgs/tree/master/pkgs/games List of existing games in nixpkgs]
* [https://osgameclones.com/ Open Source Game Clones]
* [https://github.com/bobeff/open-source-games open-source-games list on Github by bobeff]
* [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)]]
* [https://github.com/topics/open-source-game Topic "open-source-game" on github]


== Game starters ==
Games can be run by different applications. Some are able to include libraries from different plattforms.
{| class="wikitable"
{| class="wikitable"
|+ HB=[https://www.humblebundle.com/ humblebundle.com], Gog=[https://www.gog.com/ gog.com]
|+
!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
|
|-
|-
! scope="col" | Name
|[[Heroic Games Launcher|Heroic]]
! scope="col" | Version
|Epic, GOG, Prime Gaming, Wine
! scope="col" | Mode
|
! scope="col" | Note
|-
|-
! scope="row"| Braid
|[[Wine]]
| BraidSetup-2015-06-11.sh (HB)
|Windows applications/games
| [[Steam|native's steam-run]]
|often easier to use Lutris install scripts for wine applications/games
| I could play a few levels without problem
|-
|-
! scope="row"| Project Hospital
|nixpgs
| project_hospital_1_2_21186_40814.sh (Gog)
|Linux games
| [[Steam|native's steam-run]]
|There are several games in nixpgs. You can install them directly, e.g. vintagestory, flightgear, lots of racing games.
| Everything is OK
|-
|[[Dosbox]]
|DOS applications/games
|
|}
|}


== List of games ==
=== Renowned Explorers: International Society ===
=== Renowned Explorers: International Society ===
Tested with version <code>renowned_explorers_international_society_522_26056.sh</code> from gog.com. It can be played with <code>steam-run</code>, 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:
Tested with version <code>renowned_explorers_international_society_522_26056.sh</code> from gog.com. It can be played with <code>steam-run</code>, 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:
<syntaxHighlight>
<syntaxHighlight lang=nix>
   nixpkgs.overlays = [
   nixpkgs.overlays = [
     (self: super: {
     (self: super: {
Line 50: Line 150:
</syntaxHighlight>
</syntaxHighlight>
Adding <code>libxkbcommon</code>, <code>mesa</code>, and <code>wayland</code> is straightforward. The game expects the shared library <code>sdnio.so.6.1</code> to exist, so we need to create a symbolic link after the installation of <code>sndio</code>.
Adding <code>libxkbcommon</code>, <code>mesa</code>, and <code>wayland</code> is straightforward. The game expects the shared library <code>sdnio.so.6.1</code> to exist, so we need to create a symbolic link after the installation of <code>sndio</code>.
[[Category:Gaming]]
[[Category:Applications]]