Gaming: Difference between revisions
Appearance
No edit summary |
more formatting + temporary nixpkgs section in game launchers |
||
| Line 4: | Line 4: | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|+ | |+ | ||
!Application | ! scope="col" | Application | ||
!Platform | ! scope="col" | Platform | ||
! | ! scope="col" | Notes | ||
! scope="col" | nixpkgs | |||
|- | |- | ||
|[[Steam]] | | [[Steam]] | ||
|Steam | | Steam | ||
|Stable support for Windows games. Linux games often incompatible due to interoperating differences. | | Stable support for Windows games. Linux games often incompatible due to interoperating differences. | ||
| <code>steam</code> <code>steam-run</code> <code>steam-runtime</code> <code>steam-original</code> <code>steam-unwrapped</code> <code>steam-small</code> | |||
|- | |- | ||
|[[Lutris]] | | [[Lutris]] | ||
|Epic Games, EA App, Flatpak, GOG, Humble Bundle, Steam, Ubisoft Connect, Wine | | Epic Games, EA App, Flatpak, GOG, Humble Bundle, Steam, Ubisoft Connect, Wine | ||
| | | | ||
| <code>lutris</code> <code>lutris-free</code> <code>lutris-unwrapped</code> | |||
|- | |- | ||
|[[Heroic Games Launcher|Heroic]] | | [[Heroic Games Launcher|Heroic]] | ||
|Epic Games, GOG, Prime Gaming, Wine | | Epic Games, GOG, Prime Gaming, Wine | ||
|Supports gamepad navigation. Unlike Lutris, uses open-source Legendary for Epic Games. | | Supports gamepad navigation. Unlike Lutris, uses open-source Legendary for Epic Games. | ||
| <code>heroic</code> <code>heroic-unwrapped</code> | |||
|- | |- | ||
| | | Itch.io | ||
| | | Itch.io | ||
| | | | ||
| <code>itch</code> | |||
|- | |- | ||
| | | PPSSPP | ||
| | | PSP emulation | ||
| | | | ||
| <code>ppsspp</code> | |||
|- | |- | ||
|RPCS3 | | [[Playstation2|PCSX2]] | ||
|PS3 emulation | | PS2 emulation | ||
|Contains unfree blobs (PS3 firmware). | | | ||
| | |||
|- | |||
| RPCS3 | |||
| PS3 emulation | |||
| Contains unfree blobs (PS3 firmware). | |||
| <code>rpcs3</code> | |||
|- | |- | ||
|[[RetroArch]] | | [[RetroArch]] | ||
|Retro games emulation | | Retro games emulation | ||
| | |||
| | | | ||
|- | |- | ||
|[[Wine]] | | [[Wine]] | ||
|Windows emulation | | Windows emulation | ||
| | | | ||
| <code>wineWow64Packages</code> <code>winetricks</code> | |||
|- | |- | ||
|Dosbox | | Dosbox | ||
|DOS emulation | | DOS emulation | ||
| | | | ||
| <code>dosbox</code> | |||
|- | |- | ||
|nixpgs | | nixpgs | ||
|Linux games | | Linux games | ||
| | |||
| | | | ||
|- | |- | ||
Revision as of 20:30, 20 August 2026
Game launchers
Games can be run by different applications. Some are able to include libraries from different platforms.
| Application | Platform | Notes | 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 | 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 |
| Luanti | Sandbox | In nixpkgs | An open source voxel game engine. |
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.