Gaming: Difference between revisions

Arborodin (talk | contribs)
added Rare and Legendary
Arborodin (talk | contribs)
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:


== Game launchers ==
== Emulating and launchers ==


Games can be run by different applications. Some are able to include libraries from different platforms.
Games can be run by different applications. Some are able to include libraries from different platforms.
Line 56: Line 56:
|
|
|-
|-
| [[Wine]]
| [[Wine]] & [[Bottles]]
| Windows emulation
| Windows emulation and software management
|
|
| <code>wineWow64Packages</code> <code>winetricks</code>
| <code>wineWow64Packages</code> <code>winetricks</code> <code>bottles</code>
|-
|-
| Dosbox
| Dosbox
Line 66: Line 66:
| <code>dosbox</code>
| <code>dosbox</code>
|-
|-
| [[Nixpkgs]]
| Linux games
|
|
|-
|
|}
|}


== List of NixOS supported games ==
== List of games in Nixpkgs ==


{| class="wikitable sortable"
{| class="wikitable sortable"
Line 83: Line 77:
! scope="col" | nixpkgs
! scope="col" | nixpkgs
|-
|-
| [https://www.thedarkmod.com/main/ The Dark Mod]
| [https://play0ad.com/ 0 A.D.]
| Stealth, FPS
| Strategy, Historical
| Stealth game inspired by the Thief series.
| Historical real-time strategy game.
| [https://github.com/NixOS/nixpkgs/pull/356578 pending pull request]
| [https://github.com/NixOS/nixpkgs/blob/master/pkgs/games/0ad/default.nix available]
|-
| [https://endless-sky.github.io/ Endless Sky]
| Space simulation, RPG
| Explore a universe with different factions and ships.
| available
|-
| [https://www.veloren.net/ Veloren]
| RPG, Sandbox
| Multiplayer voxel RPG set in a procedurally generated world.
| available
|-
|-
| [https://www.armagetronad.org/ Armagetron Advanced]
| [https://www.armagetronad.org/ Armagetron Advanced]
| Arcade, Racing
| Arcade, Racing
| A multiplayer Tron-like lightcycle racing game.
| A multiplayer Tron-like lightcycle racing game.
| [https://github.com/NixOS/nixpkgs/pull/263675 available]
|-
| [https://www.wesnoth.org/ Battle for Wesnoth]
| Strategy, Turn-based
| Turn-based strategy game with fantasy themes.
| [https://github.com/NixOS/nixpkgs/blob/master/pkgs/games/wesnoth/default.nix available]
|-
| [https://cataclysmdda.org/ Cataclysm: Dark Days Ahead]
| Survival, Rogue-like
| Post-apocalyptic survival game.
| [https://github.com/NixOS/nixpkgs/blob/master/pkgs/games/cataclysm-dda/default.nix available]
|-
| [https://chromium-bsu.sourceforge.io/ Chromium B.S.U.]
| Arcade, Space Shooter
| Fast paced, arcade-style, top-scrolling space shooter.
| available
| available
|-
|-
| [https://play0ad.com/ 0 A.D.]
| [https://crawl.develz.org/ Dungeon Crawl]
| Strategy, Historical
| Rogue-like, Adventure, Turn-based
| Historical real-time strategy game.
| Open-source, single-player, role-playing roguelike game.
| available
| available
|-
|-
| [https://supertuxkart.net/de/Main_Page SuperTuxKart]
| [https://www.bay12games.com/dwarves/ Dwarf Fortress]
| Arcade, Racing
| Simulation, Management, Rogue-like, Sandbox
| Kart racing game (like Super Mario Kart) featuring Tux and friends.
| Single-player fantasy game with a randomly generated adventure world.
| available
| available
|-
|-
| [https://www.openra.net/ OpenRA]
| [https://endless-sky.github.io/ Endless Sky]
| Strategy, RTS
| Space simulation, RPG
| Open-source implementation of Command & Conquer.
| Explore a universe with different factions and ships.
| available
| [https://github.com/NixOS/nixpkgs/blob/master/pkgs/games/endless-sky/default.nix available]
|-
|-
| [https://freeciv.org/ FreeCiv]
| [https://freeciv.org/ FreeCiv]
| Strategy, Turn-based
| Strategy, Turn-based
| Civilization-building strategy game.
| Civilization-building strategy game.
| available
| [https://github.com/NixOS/nixpkgs/blob/master/pkgs/games/freeciv/default.nix available]
|-
|-
| [https://www.gnu.org/software/freedink/ FreeDink]
| [https://www.gnu.org/software/freedink/ FreeDink]
| Adventure, RPG
| Adventure, RPG
| Free, portable and enhanced version of the Dink Smallwood game engine
| Free, portable and enhanced version of the Dink Smallwood game engine.
| available
|-
| [https://www.openttd.org/ OpenTTD]
| Simulation, Management
| Business simulation game based on Transport Tycoon Deluxe.
| available
|-
| [https://www.wesnoth.org/ Battle for Wesnoth]
| Strategy, Turn-based
| Turn-based strategy game with fantasy themes.
| available
| available
|-
|-
Line 143: Line 132:
| '''''unavailable'''''
| '''''unavailable'''''
|-
|-
| [https://xonotic.org/ Xonotic]
| [https://github.com/ZDoom/gzdoom GZDoom]
| FPS, Arena shooter
| FPS
| Fast-paced multiplayer shooter.
| A feature-centric port for all Doom engine games, based on ZDoom, adding an OpenGL renderer and powerful scripting capabilities.
| available
| [https://github.com/NixOS/nixpkgs/tree/nixos-24.05/pkgs/games/doom-ports/gzdoom available]
|-
|-
| [https://sourceforge.net/projects/lincity/ LinCity]
| [https://sourceforge.net/projects/lincity/ LinCity]
Line 156: Line 145:
| Simulation, Management
| Simulation, Management
| City simulation game.
| City simulation game.
| available
|-
| [https://luanti.org Luanti]
| Sandbox
| An open source voxel game engine.
| available
|-
|-
| [https://mindustrygame.github.io/ Mindustry]
| [https://mindustrygame.github.io/ Mindustry]
| Strategy, Sandbox
| Strategy, Sandbox
| Sandbox tower defense game.
| Sandbox tower defense game.
| available
| [https://github.com/NixOS/nixpkgs/tree/master/pkgs/games/mindustry available]
|-
|-
| [https://nethack.org/ NetHack]
| [https://nethack.org/ NetHack]
Line 167: Line 162:
| available
| available
|-
|-
| [https://cataclysmdda.org/ Cataclysm: Dark Days Ahead]
| [https://openmw.org/ OpenMW]
| Survival, Rogue-like
| RPG, Open world, Action-adventure
| Post-apocalyptic survival game.
| Unofficial open source engine reimplementation of the game Morrowind.
| available
| available
|-
| [https://www.openra.net/ OpenRA]
| Strategy, RTS
| Open-source implementation of Command & Conquer.
| [https://github.com/NixOS/nixpkgs/blob/master/pkgs/games/openra/default.nix available]
|-
| [https://www.openttd.org/ OpenTTD]
| Simulation, Management
| Business simulation game based on Transport Tycoon Deluxe.
| [https://github.com/NixOS/nixpkgs/blob/master/pkgs/games/openttd/default.nix available]
|-
|-
| [https://shatteredpixel.com/ Shattered Pixel Dungeon]
| [https://shatteredpixel.com/ Shattered Pixel Dungeon]
| Rogue-like, RPG
| Rogue-like, RPG
| Rogue-like dungeon crawler with pixel graphics.
| Rogue-like dungeon crawler with pixel graphics.
| available
| [https://github.com/NixOS/nixpkgs/blob/master/pkgs/games/shattered-pixel-dungeon/default.nix available]
|-
|-
| [https://www.chiark.greenend.org.uk/~sgtatham/puzzles/ Simon Tatham's Portable Puzzle Collection]
| [https://www.chiark.greenend.org.uk/~sgtatham/puzzles/ Simon Tatham's Portable Puzzle Collection]
Line 182: Line 187:
| available
| available
|-
|-
| [https://luanti.org Luanti]
| [https://www.supertux.org/ Super Tux]
| Sandbox
| Platformer, Side-scroller
| An open source voxel game engine.
| Classic 2D jump'n run side-scroller game.
| available
| available
|-
|-
|[https://te4.org/ Tales of Maj'Eyal (ToME 4)]
| [https://supertuxkart.net/de/Main_Page SuperTuxKart]
|Rogue-like, RPG, Turn-based
| Arcade, Racing
|Rogue-like focused on exploration of procedurally generated dungeons.
| Kart racing game (like Super Mario Kart) featuring Tux and friends.
|available
| [https://github.com/NixOS/nixpkgs/blob/master/pkgs/games/super-tux-kart/default.nix available]
|-
|-
|[https://openmw.org/ OpenMW]
| [https://te4.org/ Tales of Maj'Eyal (ToME 4)]
|RPG, Open world, Action-adventure
| Rogue-like, RPG, Turn-based
|Unofficial open source engine reimplementation of the game Morrowind.
| Rogue-like focused on exploration of procedurally generated dungeons.
|available
| available
|-
|-
|[https://powdertoy.co.uk/ The Powder Toy]
| [https://www.thedarkmod.com/main/ The Dark Mod]
|Sandbox
| Stealth, FPS
|Classic 'falling sand' physics sandbox game.Classic 2D jump'n run sidescroller game.
| Stealth game inspired by the Thief series.
|available
| [https://github.com/NixOS/nixpkgs/pull/356578 pending pull request]
|-
|-
|[https://www.supertux.org/ Super Tux]
| [https://powdertoy.co.uk/ The Powder Toy]
|Platformer, Side-scroller
| Sandbox
|Classic 2D jump'n run side-scroller game.
| Classic 'falling sand' physics sandbox game.Classic 2D jump'n run sidescroller game.
|available
| available
|-
|-
|[https://chromium-bsu.sourceforge.io/ Chromium B.S.U.]
| [https://www.veloren.net/ Veloren]
|Arcade, Space Shooter
| RPG, Sandbox
|Fast paced, arcade-style, top-scrolling space shooter.
| Multiplayer voxel RPG set in a procedurally generated world.
|available
| [https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/ve/veloren/package.nix available]
|-
|-
|[https://www.bay12games.com/dwarves/ Dwarf Fortress]
| [https://xonotic.org/ Xonotic]
|Simulation, Management, Rogue-like, Sandbox
| FPS, Arena shooter
|Single-player fantasy game with a randomly generated adventure world.
| Fast-paced multiplayer shooter.
|available
| [https://github.com/NixOS/nixpkgs/tree/master/pkgs/games/xonotic available]
|-
|-
|[https://crawl.develz.org/ Dungeon Crawl]
|Rogue-like, Adventure, Turn-based
|Open-source, single-player, role-playing roguelike game.
|available
|}
|}


== Example of games installation ==
== Installing games ==
 
=== Workarounds ===
 
Games that aren't yet available in nixpkgs can be played by other means, including but not limited to:
 
* <code>steam-run</code> as described in [[Steam]] or by installing it then running <code>steam-run $GAME</code> or <code>steam-run ./$GAME</code>.
* <code>programs.nix-ld = { enable = true; libraries = pkgs.steam-run.fhsenv.args.multiPkgs pkgs; };</code> to run nearly any binary by including all of the libraries used by Steam. [https://old.reddit.com/r/NixOS/comments/1d1nd9l/walking_through_why_precompiled_hello_world/ (Source)]
* <code>appimage-run</code> as described in [[Appimage]].
* [[Distrobox]] to virtualize an OS that has a package for your game.
 
=== 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 lang=nix>
<syntaxHighlight lang=nix>
Line 248: Line 260:


== See also ==
== See also ==
* [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/NixOS/nixpkgs/tree/master/pkgs/games Games in Nixpkgs]
* [https://github.com/bobeff/open-source-games open-source-games list on Github by bobeff]
* [https://github.com/fufexan/nix-gaming Gaming on Nix (by fufexan)]
* [https://trilarion.github.io/opensourcegames/games/top.html 100 highest rated (by stars on Github) playable open source games]
* [https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=game Search in nixpkgs by "game" keyword]
* [[wikipedia:List_of_open-source_video_games|List of open-source video games (en.wikipedia)]]  
* [https://www.reddit.com/r/linux_gaming/wiki/freegames/ Linux Gaming Reddit wiki]
* [https://github.com/topics/open-source-game Topic "open-source-game" on github]  
* [[wikipedia:List_of_open-source_video_games|List of open-source video games (en.wikipedia)]]
* [https://trilarion.github.io/opensourcegames/games/top.html List of top rated open-source games]
* [https://github.com/bobeff/open-source-games List of open-source games (by bobeff)]
* [https://libregamewiki.org/List_of_games List of libre games]
* [https://lgames.sourceforge.io/about.php LGames website]
* [[wikipedia:Porting|Porting (en.wikipedia)]]
* [https://osgameclones.com/ Open-Source Game Clones website]
* [[GameMode|NixOS Wiki GameMode page]]
* [[Chess|NixOS Wiki Chess page]]
* [[Chess|NixOS Wiki Chess page]]