Gaming: Difference between revisions
Appearance
more formatting + temporary nixpkgs section in game launchers |
No edit summary |
||
| Line 1: | Line 1: | ||
== Game launchers == | == Game 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. | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|+ | |+ | ||
! scope="col" | Application | ! scope="col" | Application | ||
! scope="col" | Platform | ! scope="col" | Platform | ||
! scope="col" | | ! scope="col" | Description | ||
! scope="col" | nixpkgs | ! scope="col" | nixpkgs | ||
|- | |- | ||
| Line 67: | Line 69: | ||
== List of NixOS supported games == | == List of NixOS supported games == | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|+ | |+ | ||
!Name | ! scope="col" | Name | ||
!Category | ! scope="col" | Category | ||
! | ! scope="col" | Description | ||
! | ! scope="col" | nixpkgs | ||
|- | |- | ||
|[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/356578 pending pull request] | | Stealth game inspired by the Thief series. | ||
| [https://github.com/NixOS/nixpkgs/pull/356578 pending pull request] | |||
|- | |- | ||
|[https://endless-sky.github.io/ Endless Sky] | | [https://endless-sky.github.io/ Endless Sky] | ||
|Space simulation, RPG | | Space simulation, RPG | ||
| Explore a universe with different factions and ships. | |||
|Explore a universe with different factions and ships. | | available | ||
|- | |- | ||
|[https://www.veloren.net/ Veloren] | | [https://www.veloren.net/ Veloren] | ||
|RPG, Sandbox | | RPG, Sandbox | ||
| Multiplayer voxel RPG set in a procedurally generated world. | |||
|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. | | available | ||
|- | |- | ||
|[https://play0ad.com/ 0 A.D.] | | [https://play0ad.com/ 0 A.D.] | ||
|Strategy, Historical | | Strategy, Historical | ||
| Historical real-time strategy game. | |||
|Historical real-time strategy game. | | available | ||
|- | |- | ||
|[https://supertuxkart.net/de/Main_Page SuperTuxKart] | | [https://supertuxkart.net/de/Main_Page SuperTuxKart] | ||
|Arcade, Racing | | Arcade, Racing | ||
| Kart racing game (like Super Mario Kart) featuring Tux and friends. | |||
|Kart racing game (like Super Mario Kart) featuring Tux and friends. | | available | ||
|- | |- | ||
|[https://www.openra.net/ OpenRA] | | [https://www.openra.net/ OpenRA] | ||
|Strategy, RTS | | Strategy, RTS | ||
| Open-source implementation of Command & Conquer. | |||
|Open-source implementation of Command & Conquer. | | 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://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] | | [https://www.openttd.org/ OpenTTD] | ||
|Simulation, Management | | Simulation, Management | ||
| Business simulation game based on Transport Tycoon Deluxe. | |||
|Business simulation game based on Transport Tycoon Deluxe. | | available | ||
|- | |- | ||
|[https://www.wesnoth.org/ Battle for Wesnoth] | | [https://www.wesnoth.org/ Battle for Wesnoth] | ||
|Strategy, Turn-based | | Strategy, Turn-based | ||
| Turn-based strategy game with fantasy themes. | |||
|Turn-based strategy game with fantasy themes. | | available | ||
|- | |- | ||
|[https://freedoom.github.io/ FreeDoom] | | [https://freedoom.github.io/ FreeDoom] | ||
|FPS | | FPS | ||
|''''' | | Free alternative to the Doom series. | ||
| '''''unavailable''''' | |||
|- | |- | ||
|[https://xonotic.org/ Xonotic] | | [https://xonotic.org/ Xonotic] | ||
|FPS, Arena shooter | | FPS, Arena shooter | ||
| Fast-paced multiplayer shooter. | |||
|Fast-paced multiplayer shooter. | | available | ||
|- | |- | ||
|[https://sourceforge.net/projects/lincity/ LinCity] | | [https://sourceforge.net/projects/lincity/ LinCity] | ||
|Simulation, Management | | Simulation, Management | ||
| City simulation game. | |||
|City simulation game | | available | ||
|- | |- | ||
|[https://github.com/lincity-ng/lincity-ng LinCity-NG] | | [https://github.com/lincity-ng/lincity-ng LinCity-NG] | ||
|Simulation, Management | | Simulation, Management | ||
| City simulation game. | |||
|City simulation game | |||
|- | |- | ||
|[https://mindustrygame.github.io/ Mindustry] | | [https://mindustrygame.github.io/ Mindustry] | ||
|Strategy, Sandbox | | Strategy, Sandbox | ||
| Sandbox tower defense game. | |||
|Sandbox tower defense game. | | available | ||
|- | |- | ||
|[https://nethack.org/ NetHack] | | [https://nethack.org/ NetHack] | ||
|Rogue-like, RPG | | Rogue-like, RPG | ||
| Rogue-like game. | |||
|Rogue-like game | | available | ||
|- | |- | ||
|[https://cataclysmdda.org/ Cataclysm: Dark Days Ahead] | | [https://cataclysmdda.org/ Cataclysm: Dark Days Ahead] | ||
|Survival, Rogue-like | | Survival, Rogue-like | ||
| Post-apocalyptic survival game. | |||
|Post-apocalyptic survival game. | | 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://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] | ||
|Puzzle | | Puzzle | ||
| Simon Tatham's portable puzzle collection. | |||
|Simon Tatham's portable puzzle collection | | available | ||
|- | |- | ||
|[https://luanti.org Luanti] | | [https://luanti.org Luanti] | ||
|Sandbox | | Sandbox | ||
| An open source voxel game engine. | |||
|An open source voxel game engine. | | available | ||
|} | |} | ||
Revision as of 20:52, 20 August 2026
Game launchers
Games can be run by different applications. Some are able to include libraries from different platforms.
| Application | Platform | Description | nixpkgs |
|---|---|---|---|
| Steam | Steam | Stable support for Windows games. Linux games often incompatible due to interoperating differences. | steam steam-run steam-runtime steam-original steam-unwrapped steam-small
|
| Lutris | Epic Games, EA App, Flatpak, GOG, Humble Bundle, Steam, Ubisoft Connect, Wine | lutris lutris-free lutris-unwrapped
| |
| Heroic | Epic Games, GOG, Prime Gaming, Wine | Supports gamepad navigation. Unlike Lutris, uses open-source Legendary for Epic Games. | heroic heroic-unwrapped
|
| Itch.io | Itch.io | itch
| |
| PPSSPP | PSP emulation | ppsspp
| |
| PCSX2 | PS2 emulation | ||
| RPCS3 | PS3 emulation | Contains unfree blobs (PS3 firmware). | rpcs3
|
| RetroArch | Retro games emulation | ||
| Wine | Windows emulation | wineWow64Packages winetricks
| |
| Dosbox | DOS emulation | dosbox
| |
| nixpgs | Linux games |
List of NixOS supported games
| Name | Category | Description | nixpkgs |
|---|---|---|---|
| The Dark Mod | Stealth, FPS | Stealth game inspired by the Thief series. | pending pull request |
| Endless Sky | Space simulation, RPG | Explore a universe with different factions and ships. | available |
| Veloren | RPG, Sandbox | Multiplayer voxel RPG set in a procedurally generated world. | available |
| Armagetron Advanced | Arcade, Racing | A multiplayer Tron-like lightcycle racing game. | available |
| 0 A.D. | Strategy, Historical | Historical real-time strategy game. | available |
| SuperTuxKart | Arcade, Racing | Kart racing game (like Super Mario Kart) featuring Tux and friends. | available |
| OpenRA | Strategy, RTS | Open-source implementation of Command & Conquer. | available |
| FreeCiv | Strategy, Turn-based | Civilization-building strategy game. | available |
| FreeDink | Adventure, RPG | Free, portable and enhanced version of the Dink Smallwood game engine | available |
| OpenTTD | Simulation, Management | Business simulation game based on Transport Tycoon Deluxe. | available |
| Battle for Wesnoth | Strategy, Turn-based | Turn-based strategy game with fantasy themes. | available |
| FreeDoom | FPS | Free alternative to the Doom series. | unavailable |
| Xonotic | FPS, Arena shooter | Fast-paced multiplayer shooter. | available |
| LinCity | Simulation, Management | City simulation game. | available |
| LinCity-NG | Simulation, Management | City simulation game. | |
| Mindustry | Strategy, Sandbox | Sandbox tower defense game. | available |
| NetHack | Rogue-like, RPG | Rogue-like game. | available |
| Cataclysm: Dark Days Ahead | Survival, Rogue-like | Post-apocalyptic survival game. | available |
| Shattered Pixel Dungeon | Rogue-like, RPG | Rogue-like dungeon crawler with pixel graphics. | available |
| Simon Tatham's Portable Puzzle Collection | Puzzle | Simon Tatham's portable puzzle collection. | available |
| Luanti | Sandbox | An open source voxel game engine. | available |
Example of games installation
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.