Games for Linux: различия между версиями
Artem (обсуждение | вклад) |
Artem (обсуждение | вклад) (→Quake) |
||
(не показано 49 промежуточных версий этого же участника) | |||
Строка 4: | Строка 4: | ||
I'm using Ubuntu Linux 16.04 here. | I'm using Ubuntu Linux 16.04 here. | ||
<embedvideo service="youtube" dimensions="800x450">https://www.youtube.com/watch?v=ZhzXKMqZBBc</embedvideo> | |||
= Gamma Issue = | = Gamma Issue = | ||
Строка 13: | Строка 15: | ||
Where 1.5 - new gamma. By default 1. | Where 1.5 - new gamma. By default 1. | ||
= Wolf 3D, Spear Of Density = | = Ported Games = | ||
== Wolf 3D, Spear Of Density == | |||
Website http://wolf3d.net/wolf3d/ | Website http://wolf3d.net/wolf3d/ | ||
Строка 71: | Строка 75: | ||
<pre>wolf4sdl-sod</pre> | <pre>wolf4sdl-sod</pre> | ||
= Duke Nukem 3D = | === ECWolf === | ||
'''I didn't install this game yet''' | |||
<pre> | |||
wget -O- http://debian.drdteam.org/drdteam.gpg | sudo apt-key add - | |||
sudo apt-add-repository 'deb http://debian.drdteam.org/ stable multiverse' | |||
sudo apt-get update | |||
sudo apt-get install ecwolf | |||
</pre> | |||
== Return to Castle Wolfenstein == | |||
'''I didn't install this game yet. Ubuntu 18.04+''' | |||
<pre>sudo apt install rtcw</pre> | |||
== Duke Nukem 3D == | |||
Website https://www.eduke32.com/ | Website https://www.eduke32.com/ | ||
'''Damn. Those alien bastards are gonna pay for shooting up my ride.''' | |||
[[File:duke0005.png|thumb|none]][[File:duke0004.png|thumb|none]] | |||
<pre> | <pre> | ||
Строка 109: | Строка 133: | ||
<pre>eduke32</pre> | <pre>eduke32</pre> | ||
= DOOM, DOOM2, HEXEN, etc... = | === Build game === | ||
* Dockerfile | |||
<pre> | |||
FROM ubuntu:20.04 | |||
MAINTAINER "artem@aleksashkin.com" Artem Aleksashkin | |||
RUN \ | |||
DEBIAN_FRONTEND=noninteractive apt-get update && \ | |||
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends\ | |||
build-essential\ | |||
nasm\ | |||
libgl1-mesa-dev\ | |||
libsdl2-dev\ | |||
flac\ | |||
libflac-dev\ | |||
libvpx-dev\ | |||
libgtk2.0-dev\ | |||
freepats | |||
</pre> | |||
* docker-compose.yml | |||
<pre> | |||
version: '3' | |||
services: | |||
app: | |||
image: eduke32-build:latest | |||
user: "1000:1000" | |||
command: [ "/bin/bash" ] | |||
volumes: | |||
- .:/var/src | |||
working_dir: /var/src | |||
</pre> | |||
<pre> | |||
docker-compose run app | |||
make -j32 | |||
</pre> | |||
Game run | |||
<pre> | |||
./eduke32 | |||
</pre> | |||
== DOOM, DOOM2, HEXEN, etc... == | |||
Website https://zdoom.org/index | Website https://zdoom.org/index | ||
Строка 147: | Строка 215: | ||
Change resolution, zoom, controls, etc... | Change resolution, zoom, controls, etc... | ||
= Quake = | === Blade Of Agony === | ||
https://boa.realm667.com/ | |||
Download mod files. Unzip them somewhere. | |||
<pre>gzdoom ~/.config/gzdoom/boa/boa_c1.pk3</pre> | |||
== Quake == | |||
Website http://quakespasm.sourceforge.net/ | Website http://quakespasm.sourceforge.net/ | ||
Строка 172: | Строка 248: | ||
<pre>game-data-packager</pre> | <pre>game-data-packager</pre> | ||
= Quake | == Quake Brutalist Jam == | ||
<pre>sudo apt-get install | * https://www.youtube.com/watch?v=kYt1jA7CpiY&list=PLlacmd6lus1xi5-m0cOS_1SmONQDiogZc | ||
== Quake II == | |||
<pre>sudo apt-get install quake2</pre> | |||
Download original Quake 2(for windows, dos, etc) copy files | Download original Quake 2(for windows, dos, etc) copy files | ||
Строка 198: | Строка 278: | ||
<pre>quake2</pre> | <pre>quake2</pre> | ||
= Quake III Arena = | == Quake III Arena == | ||
<pre>sudo apt-get install quake3</pre> | <pre>sudo apt-get install quake3</pre> | ||
Строка 227: | Строка 307: | ||
<pre>quake3</pre> | <pre>quake3</pre> | ||
= Quake IV = | === High resolution textures === | ||
https://swissmacuser.ch/how-you-want-to-run-quake-iii-arena-in-2018-with-high-definition-graphics-120-fps-on-5k-resolution/ | |||
== Quake IV == | |||
'''I didn't run this game yet''' | |||
http://zerowing.idsoftware.com/linux/quake4/Quake4FrontPage/ | |||
https://help.ubuntu.com/community/Games/Native/Quake4 | |||
<pre>sudo apt-get install quake4</pre> | <pre>sudo apt-get install quake4</pre> | ||
Строка 244: | Строка 332: | ||
<pre>quake4</pre> | <pre>quake4</pre> | ||
= Hexen II = | == Hexen II == | ||
Website - http://uhexen2.sourceforge.net/ | Website - http://uhexen2.sourceforge.net/ | ||
Строка 263: | Строка 351: | ||
Change resolution, zoom, controls, etc... | Change resolution, zoom, controls, etc... | ||
= Tux Racer = | * [https://www.youtube.com/watch?v=RgYAbHWWk84 Hexen 2 (Walkthrough) | Part 1 | Getting inside the castle] | ||
== Prince Of Persia == | |||
https://itc-life.ru/prince-of-persia-dlya-ubuntu-i-windows/ | |||
== Star Wars Jedi Knight II: Jedi Outcast == | |||
* https://github.com/xLAva/JediOutcastLinux | |||
* https://www.youtube.com/watch?v=8l2KSym_s-4 | |||
* https://support.starwars.com/hc/en-us/articles/360000701746-Where-do-I-find-the-latest-patch-for-Jedi-Knight-II-Jedi-Outcast- | |||
<pre> | |||
sudo apt-get install ia32-libs | |||
sudo apt-get install libxxf86dga1:i386 | |||
sudo apt-get install git wine | |||
git clone git@github.com:xLAva/JediOutcastLinux.git | |||
</pre> | |||
== GTA 3 & GTA Vice City == | |||
* https://openrw.org/ | |||
[[File:Screenshot_20220529_160008.png|thumb|none]][[File:Screenshot_20220529_155951.png|thumb|none]] | |||
Game has a lot of bugs and not playable. Better to install Proton on Steam and run Windows game on Linux. | |||
== Need for Speed II: SE == | |||
* https://github.com/zaps166/NFSIISE | |||
== Serious Sam == | |||
= Native Linux Games = | |||
== Tux Racer == | |||
Website http://tuxracer.sourceforge.net/ | Website http://tuxracer.sourceforge.net/ | ||
= OpenArena = | <pre> | ||
sudo apt install extremetuxracer | |||
</pre> | |||
== OpenArena == | |||
Website http://openarena.ws/smfnews.php | Website http://openarena.ws/smfnews.php | ||
= Neverball = | == Neverball == | ||
Website https://neverball.org/ | Website https://neverball.org/ | ||
= GLtron = | == GLtron == | ||
Website http://www.gltron.org/ | Website http://www.gltron.org/ | ||
== Micropolis == | |||
Клон SimCity | |||
<pre>sudo apt-get install micropolis</pre> | |||
== Hedgewars == | |||
Клон Worms | |||
<pre>sudo apt-get install hedgewars</pre> | |||
== Nexuiz == | |||
3D shooter | |||
<pre>sudo apt-get install nexuiz</pre> | |||
== Neverball == | |||
Balls balancer game | |||
<pre>sudo apt-get install neverball</pre> | |||
https://www.linuxlinks.com/puzzlegames/ | |||
== Fragments of Euclid == | |||
https://nusan.itch.io/fragments-of-euclid | |||
== Five Or More == | |||
<pre>sudo apt install five-or-more</pre> | |||
= Steam Games = | = Steam Games = | ||
Строка 312: | Строка 462: | ||
* Alien: Isolation | * Alien: Isolation | ||
* Mad Max | * Mad Max | ||
== Using Proton == | |||
Enable Proton in Settings and games become available. | |||
[[File:Screenshot_20220529_044142.png]] | |||
= Consoles Emulation = | = Consoles Emulation = | ||
* https://www.emu-land.net/ | |||
== NES / Dendy / FDS == | == NES / Dendy / FDS == | ||
Строка 320: | Строка 478: | ||
= Windows Games = | = Windows Games = | ||
== Wine == | |||
Website: https://www.winehq.org/ | |||
Application database: https://appdb.winehq.org/ | |||
<pre>sudo apt-get install wine</pre> | |||
== Proton == | |||
Website: https://github.com/ValveSoftware/Proton | |||
== PlayOnLinux == | == PlayOnLinux == | ||
Строка 331: | Строка 501: | ||
sudo apt-get install playonlinux | sudo apt-get install playonlinux | ||
</pre> | </pre> | ||
Текущая версия от 23:46, 9 августа 2024
Yes, if you want to play GTA5, Watch Dogs and other modern games you have to install Windows(mb on dual boot).
Linux - mostly for work, because almost all servers work on Linux and it is very convenient to have the same environment on your workstation. But it doesn't mean that you can not run games on Linux. You can!
I'm using Ubuntu Linux 16.04 here.
Gamma Issue
Some games are too dark. You can set gamma using
xgamma -gamma 1.5
Where 1.5 - new gamma. By default 1.
Ported Games
Wolf 3D, Spear Of Density
Website http://wolf3d.net/wolf3d/
sudo apt-get install wolf4sdl
Download original wolf3d and spear of density
Copy files
sudo cp -R <Wolf3d folder>/. /usr/share/games/wolf3d/
For Spear Of Density copy all *.SOD files
Rename all files to lower case
cd /usr/share/games/wolf3d/ sudo rename 'y/A-Z/a-z/' *
You should have something like
artem@ThinkPad-X230:/usr/share/games/wolf3d$ ls -al итого 6080 drwxr-xr-x 2 root root 4096 июл 9 02:02 . drwxr-xr-x 8 root root 4096 июл 9 01:32 .. -rw-r--r-- 1 root root 1072 июл 9 02:01 audiohed.sod -rw-r--r-- 1 root root 1156 июл 9 01:36 audiohed.wl6 -rw-r--r-- 1 root root 328620 июл 9 02:01 audiot.sod -rw-r--r-- 1 root root 320209 июл 9 01:36 audiot.wl6 -rw-r--r-- 1 root root 3771 июл 9 01:36 faq.txt -rw-r--r-- 1 root root 68290 июл 9 02:01 gamemaps.sod -rw-r--r-- 1 root root 150652 июл 9 01:36 gamemaps.wl6 -rw-r--r-- 1 root root 402 июл 9 02:01 maphead.sod -rw-r--r-- 1 root root 402 июл 9 01:36 maphead.wl6 -rw-r--r-- 1 root root 569344 июл 9 01:36 newwolf.exe -rw-r--r-- 1 root root 266663 июл 9 01:32 pak0.pak -rw-r--r-- 1 root root 16501 июл 9 01:36 readme.txt -rw-r--r-- 1 root root 49152 июл 9 01:36 sndlib.dll -rw-r--r-- 1 root root 1024 июл 9 02:01 vgadict.sod -rw-r--r-- 1 root root 1024 июл 9 01:36 vgadict.wl6 -rw-r--r-- 1 root root 947979 июл 9 02:01 vgagraph.sod -rw-r--r-- 1 root root 275774 июл 9 01:36 vgagraph.wl6 -rw-r--r-- 1 root root 510 июл 9 02:01 vgahead.sod -rw-r--r-- 1 root root 450 июл 9 01:36 vgahead.wl6 -rw-r--r-- 1 root root 1616544 июл 9 02:01 vswap.sod -rw-r--r-- 1 root root 1544376 июл 9 01:36 vswap.wl6
Run the game
wolf4sdl --joystick -1
or
wolf4sdl --resf 1920 1080
For SoD
wolf4sdl-sod
ECWolf
I didn't install this game yet
wget -O- http://debian.drdteam.org/drdteam.gpg | sudo apt-key add - sudo apt-add-repository 'deb http://debian.drdteam.org/ stable multiverse' sudo apt-get update sudo apt-get install ecwolf
Return to Castle Wolfenstein
I didn't install this game yet. Ubuntu 18.04+
sudo apt install rtcw
Duke Nukem 3D
Website https://www.eduke32.com/
Damn. Those alien bastards are gonna pay for shooting up my ride.
sudo add-apt-repository "deb http://apt.duke4.net precise main" sudo apt-get update sudo apt-get install eduke32
For some reason it needs to have libvpx1
wget http://archive.ubuntu.com/ubuntu/pool/main/libv/libvpx/libvpx1_1.3.0-2_amd64.deb sudo dpkg -i libvpx1_1.3.0-2_amd64.deb sudo apt-get install eduke32
Download original Duke Nukem 3D Atomic Edition.
Copy DUKE3D.GRP to ~/.eduke32/
Run the game
eduke32
Change resolution and hit Run
High Resolution Pack
- Download HRP from https://hrp.duke4.net/download.php
- Unpack archive to ~/.eduke32/
- Loading levels can be a bit slow and it may decrease performance
Run the game
eduke32
Build game
- Dockerfile
FROM ubuntu:20.04 MAINTAINER "artem@aleksashkin.com" Artem Aleksashkin RUN \ DEBIAN_FRONTEND=noninteractive apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends\ build-essential\ nasm\ libgl1-mesa-dev\ libsdl2-dev\ flac\ libflac-dev\ libvpx-dev\ libgtk2.0-dev\ freepats
- docker-compose.yml
version: '3' services: app: image: eduke32-build:latest user: "1000:1000" command: [ "/bin/bash" ] volumes: - .:/var/src working_dir: /var/src
docker-compose run app make -j32
Game run
./eduke32
DOOM, DOOM2, HEXEN, etc...
Website https://zdoom.org/index
Download Ubuntu .deb and install it
Download original games.
Copy all WAD files to ~/.config/gzdoom/
artem@ThinkPad-X230:~/.config/gzdoom$ ls -al итого 152536 drwx------ 2 artem artem 4096 июл 8 23:27 . drwx------ 53 artem artem 4096 июл 8 22:09 .. -rw-rw-r-- 1 artem artem 85888 июл 8 23:24 auto1.zds -rw-r--r-- 1 artem artem 14610173 июл 8 19:56 DARKWAR.WAD -rw-r--r-- 1 artem artem 12408292 июл 8 19:57 DOOM1.WAD -rw-r--r-- 1 artem artem 14943400 июл 8 19:57 DOOM2.WAD -rw-r--r-- 1 artem artem 11159840 июл 8 19:57 DOOM.WAD -rw-rw-r-- 1 artem artem 31173 июл 8 23:31 gzdoom.ini -rw-r--r-- 1 artem artem 14189976 июл 8 19:57 HERETIC.WAD -rw-r--r-- 1 artem artem 4429700 июл 8 19:57 HEXDD.WAD -rw-r--r-- 1 artem artem 20128392 июл 8 19:57 HEXEN.WAD -rw-r--r-- 1 artem artem 17420824 июл 8 19:57 PLUTONIA.WAD -rw-rw-r-- 1 artem artem 87303 июл 8 23:20 save0.zds -rw-rw-r-- 1 artem artem 86783 июл 8 23:27 save1.zds -rw-r--r-- 1 artem artem 28377364 июл 8 19:57 STRIFE1.WAD -rw-r--r-- 1 artem artem 18195736 июл 8 19:57 TNT.WAD
Run the game
gzdoom
Change resolution, zoom, controls, etc...
Blade Of Agony
Download mod files. Unzip them somewhere.
gzdoom ~/.config/gzdoom/boa/boa_c1.pk3
Quake
Website http://quakespasm.sourceforge.net/
sudo apt-get install quake
Download original Quake(for windows, dos, etc) copy files
<Quake folder>/Id1/PAK0.PAK /usr/share/games/quake/id1/pak0.pak <Quake folder>/Id1/PAK1.PAK /usr/share/games/quake/id1/pak1.pak
Run the game
quake
Change resolution, zoom, controls, etc...
cat /usr/share/doc/quake/README.Debian
Other games/engines
game-data-packager
Quake Brutalist Jam
Quake II
sudo apt-get install quake2
Download original Quake 2(for windows, dos, etc) copy files
artem@ThinkPad-X230:~$ ls -al /usr/share/games/quake2/baseq2/ итого 192944 drwxr-xr-x 6 root root 4096 июл 11 00:51 . drwxr-xr-x 3 root root 4096 июл 11 00:51 .. -rw-r--r-- 1 root root 4327 июл 11 00:51 config.cfg -rw-r--r-- 1 root root 489486 июл 11 00:51 game.dll drwxr-xr-x 2 root root 4096 июл 11 00:51 maps -rw-r--r-- 1 root root 1063 июл 11 00:51 maps.lst drwxr-xr-x 2 root root 4096 июл 11 00:51 music -rw-r--r-- 1 root root 183997730 июл 11 00:51 pak0.pak -rw-r--r-- 1 root root 12992754 июл 11 00:51 pak1.pak -rw-r--r-- 1 root root 45055 июл 11 00:51 pak2.pak drwxr-xr-x 8 root root 4096 июл 11 00:51 players drwxr-xr-x 2 root root 4096 июл 11 00:51 video
Run the game
quake2
Quake III Arena
sudo apt-get install quake3
Download original Quake 3(for windows, dos, etc) copy files
artem@ThinkPad-X230:~$ ls -al /usr/share/games/quake3/baseq3/ итого 493760 drwxr-xr-x 2 root root 4096 июл 11 00:58 . drwxr-xr-x 3 root root 4096 июл 11 01:00 .. -rw-r----- 1 root root 498 июл 11 00:58 crashlog.txt -rw-r--r-- 1 root root 479493658 июл 11 00:58 pak0.pk3 -rw-r--r-- 1 root root 374405 июл 11 00:58 pak1.pk3 -rw-r--r-- 1 root root 7511182 июл 11 00:58 pak2.pk3 -rw-r--r-- 1 root root 276305 июл 11 00:58 pak3.pk3 -rw-r--r-- 1 root root 9600350 июл 11 00:58 pak4.pk3 -rw-r--r-- 1 root root 191872 июл 11 00:58 pak5.pk3 -rw-r--r-- 1 root root 7346884 июл 11 00:58 pak6.pk3 -rw-r--r-- 1 root root 320873 июл 11 00:58 pak7.pk3 -rw-r--r-- 1 root root 454478 июл 11 00:58 pak8.pk3 -rw-r--r-- 1 root root 7218 июл 11 00:58 q3config.cfg -rw-r--r-- 1 root root 74 июл 11 00:58 q3history
Run the game
quake3
High resolution textures
Quake IV
I didn't run this game yet
http://zerowing.idsoftware.com/linux/quake4/Quake4FrontPage/
https://help.ubuntu.com/community/Games/Native/Quake4
sudo apt-get install quake4
Download original Quake 4(for windows, dos, etc) copy files
artem@ThinkPad-X230:~$ ls -al /usr/local/games/quake4/q4base ??
Run the game
quake4
Hexen II
Website - http://uhexen2.sourceforge.net/
sudo apt-get install uhexen2
Download original Hexen 2(for windows, dos, etc) copy files
<Hexen2-folder>/data1/pak0.pak ~/.hexen2/data1/pak0.pak <Hexen2-folder>/data1/pak1.pak ~/.hexen2/data1/pak1.pak
Run the game
glhexen2
Change resolution, zoom, controls, etc...
Prince Of Persia
https://itc-life.ru/prince-of-persia-dlya-ubuntu-i-windows/
Star Wars Jedi Knight II: Jedi Outcast
- https://github.com/xLAva/JediOutcastLinux
- https://www.youtube.com/watch?v=8l2KSym_s-4
- https://support.starwars.com/hc/en-us/articles/360000701746-Where-do-I-find-the-latest-patch-for-Jedi-Knight-II-Jedi-Outcast-
sudo apt-get install ia32-libs sudo apt-get install libxxf86dga1:i386 sudo apt-get install git wine git clone git@github.com:xLAva/JediOutcastLinux.git
GTA 3 & GTA Vice City
Game has a lot of bugs and not playable. Better to install Proton on Steam and run Windows game on Linux.
Need for Speed II: SE
Serious Sam
Native Linux Games
Tux Racer
Website http://tuxracer.sourceforge.net/
sudo apt install extremetuxracer
OpenArena
Website http://openarena.ws/smfnews.php
Neverball
Website https://neverball.org/
GLtron
Website http://www.gltron.org/
Micropolis
Клон SimCity
sudo apt-get install micropolis
Hedgewars
Клон Worms
sudo apt-get install hedgewars
Nexuiz
3D shooter
sudo apt-get install nexuiz
Neverball
Balls balancer game
sudo apt-get install neverball
https://www.linuxlinks.com/puzzlegames/
Fragments of Euclid
https://nusan.itch.io/fragments-of-euclid
Five Or More
sudo apt install five-or-more
Steam Games
Website https://steampowered.com/
Games can be played natively from steam client:
- Half-Life
- Deathmatch Classic
- Half-Life: Blue Shift
- Half-Life: Opposing Force
- Half-Life: Source
- Half-Life 2
- Half-Life 2: Deathmatch
- Half-Life 2: Episode One
- Half-Life 2: Episode Two
- Half-Life 2: Lost Coast
- Black Mesa
- Counter Strike 1.6
- Counter Strike: Condition Zero
- Counter Strike: Condition Zero Deleted Scenes
- Counter Strike: Source
- Counter-Strike: Global Offensive
- Day Of Defeat
- Day Of Defeat: Source
- Left For Dead 2
- Portal
- Portal 2
- Ricochet
- Team Fortress Classic
- Team Fortress 2
- Wolfenstein: Old Blood
- Alien: Isolation
- Mad Max
Using Proton
Enable Proton in Settings and games become available.
Consoles Emulation
NES / Dendy / FDS
sudo apt-get install fceux
Windows Games
Wine
Website: https://www.winehq.org/
Application database: https://appdb.winehq.org/
sudo apt-get install wine
Proton
Website: https://github.com/ValveSoftware/Proton
PlayOnLinux
Website https://www.playonlinux.com/ru/
wget -q "http://deb.playonlinux.com/public.gpg" -O - | sudo apt-key add - sudo wget http://deb.playonlinux.com/playonlinux_precise.list -O /etc/apt/sources.list.d/playonlinux.list sudo apt-get update sudo apt-get install playonlinux