Linux and quake 4

Ubuntu Documentation

Needs Updating
This article needs updating to include the latest versions of Ubuntu. More info.

Download

Installation

To install and run Quake4 you need a Windows installation disk , and a CD-key. The installation process is straight forward copy data files from the Windows installation disk to your installation path, then run the installation file for Linux. Which you can download for free from the link above.

Data Files (DVD Edition)

The by default will be your home folder e.g. /home/user, whereas can be one of the following locations, depending on your current system set-up:

You can find out which mount point is the correct one and/or where your Quake4 disk has been mounted on your system by typing:

Binary

This will run the installer. Make sure the installation path is the same as you used previously.

md5sum

Playing

From the installation directory, by default /home/user/quake4:

For modern 64 bit version use:

Issues and Fixes

Since the game client is a bit older, there are sometimes issues with newer versions of Ubuntu.

Sound Lag

In the event the in game and menu sounds delay by a few seconds this fix with correct that issue with pulse audio.

Navigate to the installation directory and edit the executable script that is used to launch the game. For quake4, modify the last line to the following:

For quake4-smp, use:

Dual Monitor Full Screen

Full screen might not default to the correct monitor. The current fix needed is for Nvidia Twinview setups and requires a modification to the xorg.conf file, adding a new metamode. (this fix also works for Quake3 (ioQuake) and UT2004

Games/Native/Quake4 (последним исправлял пользователь ckimes 2017-09-06 16:53:52)

The material on this wiki is available under a free license, see Copyright / License for details
You can contribute to this wiki, see Wiki Guide for details

Источник

Quake 4 Guide

booman Grand High Exalted Mystic Emperor of Linux Gaming Staff Member

Quake has been an on-going franchise begginning with the first game to be completely developed in 3D. It’s popularity grew and now there are several Quake games with focus on single-player and multi-player game types.

ID Software has always released Linux binaries for their games, so Quake 4 has native support in Linux.

Follow my step-by-step guide on installing, configuring and optimizing Quake 4 in Linux.

Note: This guide applies to the Retail version of Quake 4. Other versions may require additional steps.

Download Linux Binaries

Читайте также:  Активатор windows 10 ошибка 0x8007000d

Right-Click quake4-linux-1.4.2.x86.run
Click «Save link as. »
Navigate to your desktop
Click Save

Installing Binaries with Terminal

When the download is done.
Launch Terminal
Ctrl+Alt+T

Note: There should be a terminal menu item or shortcut in your distribution

Navigate to your desktop
Type:

Make binaries executable
Type:

Press Enter

Note: To avoid making «typos» type the first 5 letters and hit Tab to auto-populate

Launch Quake 4 Installer
Type:

Uncompressing.

License Agreement
Press Space to scroll to the bottom

Type: Y to agree
Press Enter

README?
Type: N
Press Enter

Please enter the installation path
Use your home directory for the installation
Type:

Note: Type your login in place of «username»

This will automatically create a folder called «quake4» and copies all the binaries into it

Please enter the path for symbolic links
Translation: Where do you want the game shortcuts?
The desktop of course!
Type:

Press Enter
Note: Type your login in place of «username»

All versions?
Type: Y
Press Enter

Punkbuster?
Punkbuster is required for online play
Type: Y
Press Enter

Punkbuster License Agreement
Type: Y
Press Enter

Continue Install?
Type: Y
Press Enter

Start Now?
Type: N
Press Enter

Copying pk4 files

In order to play the full Quake 4, you will need all of the pk4 files
You can find these on the CD-ROMs, DVD, Steam installation or your Quake 4 Windows Installation.

Navigate to your home
Open the quake4/q4base folder
There are already some existing pk4 files, but you will need all of them to play the full game.

Pop in your CD’s one at a time and copy all of the pk4 files into this q4base folder.
Windows Steam:
Go to c:\Program Files\steam\steamapps\common\quake4\q4base
Windows Quake:
Go to c:\Program Files\Quake4\q4base

Do not overwrite any existing files!

When the copying is complete, you should have the following pk4 files:

  • pak001.pk4
  • pak002.pk4
  • pak003.pk4
  • pak004.pk4
  • pak005.pk4
  • pak006.pk4
  • pak007.pk4
  • pak008.pk4
  • pak009.pk4
  • pak010.pk4
  • pak011.pk4
  • pak012.pk4
  • pak013.pk4
  • pak014.pk4
  • pak015.pk4
  • pak016.pk4
  • pak017.pk4
  • pak018.pk4
  • pak019.pk4
  • pak020.pk4
  • pak021.pk4
  • pak022.pk4

Don’t forget the zpak with the language you want to use.

Quake 4 Shortcut

Open the quake folder in your home
right-click
Click «Make Link»
Drag-n-drop this link to your desktop

Launching Quake 4

Double-Click your Quake 4 Link
Click «Run in Terminal»

Click Settings

Click System

Adjust the Quality, Screen size and Advanced settings.
Quake 4 is an older game so it should run on most laptops, but try to keep the screen size smaller.

Rule of thumb:
High settings
= More detail, lower frame rates
Low settings = Less detail, higher frame rates

To apply the video settings, Exit Quake 4 and launch again.

Conclusion:
Originaly I tried Quake 4 in PlayOnLinux and the performance was very slow no matter which Wine version or Video settings I selected. Textures were always low resolution and the game just wasn’t going to run properly. I knew there were Linux binaries available, so after installing them, Quake 4 was beautiful! Performance was great and it supported modern widescreen resolutions.

Screenshots:

Источник

Quake4 for linux

Решил сабж поставить: купить вендовую версию и прикрутить, стащить пакаджы и прикрутить к линуксовым бинарникам.

Но дело в том что наши издатели бывает перелапачивают пакаджы и после этого линуксовая версия не хочет с ними работать.

У меня так было с RTCW.

Кто-нибудь уже ставил сабж под линуксом? От какого издателя?

Re: Quake4 for linux

Так вроде ж версия под линукс есть? Зачем какой-то изврат делать?

Re: Quake4 for linux

Могу залить любой пак на твой сервер.

Re: Quake4 for linux

Какой изврат?
Товарищ не знает что для игры нужны пакаджи?
Как же игра пойдет без текстур и звуков?

Для этого и нужна вендовая версия.

Re: Quake4 for linux

К сожалению траффик у меня дорогой.
Поэтому хочу купить вендовую версию, но как бы не ошибиться.

Кто-нибудь запускал Quake4 по такому сценарию? Т.е. ставил WinQuake, стаскивал пакаджы, запускал с линуховскими бинарниками?

Читайте также:  Папка windows system32 как почистить

Re: Quake4 for linux

> Кто-нибудь запускал Quake4 по такому сценарию? Т.е. ставил WinQuake, стаскивал пакаджы, запускал с линуховскими бинарниками?

ты ку3 когда нибудь ставил? я не думаю что с ку4 что нибудь изменится

так же запускаешь инсталер, ставишь куда нибудь в /usr/local, кидаешь туда baseq4 и запускаешь quake4.x86-smp

Re: Quake4 for linux

Quake3 я ставил именно по такому сценарию.

Так вот, основной вопрос: ОТ КАКОГО ИЗДАТЕЛЯ БРАТЬ QUAKE4?

Re: Quake4 for linux

> Так вот, основной вопрос: ОТ КАКОГО ИЗДАТЕЛЯ БРАТЬ QUAKE4?

какая разница если pak’и одни и теже?

Re: Quake4 for linux

>>какая разница если pak’и одни и теже?

русским по чёрному написано — НЕ ФАКТ. Подтверждаю.

Re: Quake4 for linux

Блин в виндузе даже 2к3 побыстрее ИМХО бегает чем в линуксе =(

Re: Quake4 for linux

> русским по чёрному написано — НЕ ФАКТ. Подтверждаю.

версия q4 от Васи Пупкина из нижнего бобруйска? что то не особо верится, обычно перевод осуществляется через ковыряние в кишках у quake4.exe

Re: Quake4 for linux

Мля! Порипаные паки — обычное дело. Откуда по твоему беруться суперпуперупиханные в 2КД вместо 4?

Re: Quake4 for linux

ну так нечего брать версии на одном диске, это и тузи^W ежу понятно

Re: Quake4 for linux

>>версия q4 от Васи Пупкина из нижнего бобруйска? что то не особо верится, обычно перевод осуществляется через ковыряние в кишках у quake4.exe

а перевод-то тут при чём ? :/

Re: Quake4 for linux

> а перевод-то тут при чём ? :/

многие пирацкие контры любят заниматься любительским переводом при помощи промта или сократа

Re: Quake4 for linux

>>многие пирацкие контры любят заниматься любительским переводом при помощи промта или сократа

мы же говорили о паках. А ковырять паки есть много причин. И при неверно собранном паке линуксовая версия Q3/Q4 может его не понять. У меня такое было дважды с Q3.

Re: Quake4 for linux

Так что, никто еще не играл в Quake4 под линуксом?

Re: Quake4 for linux

А какого хера вообще игры переводят? Я запарился искать нормальные, непереведённые версии — начал на Amazon.com покупать.

Re: Quake4 for linux

> А какого хера вообще игры переводят?

лично я предпочитаю или профессиональный перевод от официальных локализаторов либо оригинальный английский

Re: Quake4 for linux

КТО-НИБУДЬ ГОНЯЛ QUAKE4 ПОД ЛИНУКСОМ?

Re: Quake4 for linux

сейчас распаковываю quake4.rar с пирацкого двд

Re: Quake4 for linux

ну я гонял только что. Тормозит жутко (еще больше, чем под виндой) и вообще отстой. Достали индустриальные темные пейзажи и биокибернетические зверюги.

Re: Quake4 for linux

ключик с диска не подошел, обидно

обладатели лицензионных версий 😉 скажите как должен выглядить правильный ключ — XXXX-XXXX-XXXX-XXXX-XXXX или XXXXXXXXXXXXXXXXXXX?

Re: Quake4 for linux

ключ вида XXXX-XXXX-XXXX-XXXX-XXXX у меня просто не помещается, последниии XXXX невлезают в едитбокс

Re: Quake4 for linux

я вводил без дэшей MPJGX. 🙂

Re: Quake4 for linux

разобрался, надо было инет отключить 😉 а то игра стучалась на сервер авторизации

Re: Quake4 for linux

при появлении инета она опять добится на сервер

точный адрес сервера никто незнает? надо на фаирволле запретить нафиг

Re: Quake4 for linux

я забанил нафиг 192.246.40.0/24

Re: Quake4 for linux

> я забанил нафиг 192.246.40.0/24

192 это же локалка?

Re: Quake4 for linux

учить матчасть 🙂 192.168/16 это локалка

Re: Quake4 for linux

Re: Quake4 for linux

-A OUTPUT -d 192.246.40.0/24 -j DROP не помогло

похоже придется tcpdump’ом ковырять

Re: Quake4 for linux

на p4-2.8, 512, geforce 5700 тормозит даже в разрешении 800х600

сама игра лучше чем дум3, но хуже чем ку2

Re: Quake4 for linux

Я не ору.
Я только что купил перацкий DVD.

У мен он зеленый. На верху написано «Quake 4″, еще веше маленькими буквами Русская и английская версии».

Внизу «Ativision, Raven, id».

У тебя такой? Как распаковывал? Я под седегой ставлю.
Какой лагон, пароль к ftp?

Читайте также:  Mrt dongle драйвера windows 10

Re: Quake4 for linux

у меня черно-зеленый бокс, наверху надпись PC DVD-ROM, по центру QUAKE и лого, внизу Русская и Английская версия

цедегу можешь выкинуть, достаточно распаковать game.rar в /usr/local/games/quake4/q4base

Re: Quake4 for linux

Не, у меня не такой:

$ find /mnt/cdrom
/mnt/cdrom
/mnt/cdrom/DirectX
/mnt/cdrom/DirectX/BDA.cab
/mnt/cdrom/DirectX/BDANT.cab
/mnt/cdrom/DirectX/BDAXP.cab
/mnt/cdrom/DirectX/DirectX.cab
/mnt/cdrom/DirectX/DSETUP.dll
/mnt/cdrom/DirectX/dsetup32.dll
/mnt/cdrom/DirectX/dx.inf
/mnt/cdrom/DirectX/dxnt.cab
/mnt/cdrom/DirectX/dxsetup.exe
/mnt/cdrom/DirectX/ManagedDX.CAB
/mnt/cdrom/SRC
/mnt/cdrom/SRC/data.exe
/mnt/cdrom/SRC/q4.cab
/mnt/cdrom/SRC/q4.msi
/mnt/cdrom/SRC/q4_rus.exe
/mnt/cdrom/SRC/setup.exe
/mnt/cdrom/autorun.inf
/mnt/cdrom/game.ico
were@localhost

Re: Quake4 for linux

Народ, подскажите пароль на ftp ID-Software!
Логин/пароль просит.

Или в другом месте можно взять бинарники?

Re: Quake4 for linux

/.transgaming/c_drive/Program Files/QUAKE 4 $ find
.
./Mss32.dll
./Docs
./Docs/htm
./Docs/htm/side_ie.css
.
./Docs/htm/man_top.htm
./Docs/manual.htm
./Docs/PBEULA.txt
./Docs/MSR.txt
./Docs/License.txt
./Docs/images
./Docs/images/line2_b.gif
.
./Docs/images/quad_damage.png
./Docs/readme.txt
./Docs/help.htm
./quake4.exe
./mssvoice.asi
./Toolsx86.dll
./Quake4Ded.exe
./q4base
./q4base/Quake4Config.cfg
./q4base/mapcycle.scriptcfg
./q4base/quake4key
./q4base/savegames
./q4base/savegames/Checkpoint0.tga
./q4base/savegames/Checkpoint0.txt
./q4base/savegames/Checkpoint0.save
./q4base/savegames/Autosave_game_airdefense1.txt
./q4base/savegames/Autosave_game_airdefense1.save
./q4base/zpak_english.pk4
./q4base/pak001.pk4
.
./q4base/pak012.pk4
./q4base/gamex86.dll
./q4base/config.spec
./q4base/game000.pk4
./uninstall.exe
./MayaImportx86.dll
were@localhost

/.transgaming/c_drive/Program Files/QUAKE 4 $

q4base достаточно кинуть в /usr/local/games/quake4/q4base?
И все?

Re: Quake4 for linux

Все, запускается, но требует ключ.
Щас попробую инет вырубить.

Re: Quake4 for linux

JB, стукни в аську.

Re: Quake4 for linux

Нашел ключ, работает.
Если отключить навароты типа теней и АА, то не тормозит.

Только опять темные коридоры. Ужос!
Со звуком лажа:

$ quake4
Quake4 Final V1.0.0.0 Build 2147.12 linux-x86 Oct 20 2005
found interface lo — loopback
found interface eth0 — 10.100.8.232/255.255.255.224
CPU: Intel CPU with MMX & SSE & SSE2 & SSE3
enabled Flush-To-Zero mode
——— Initializing File System ———-
Loaded pk4 /usr/local/games/quake4/q4base/game000.pk4 with checksum 0x9321cee4
Loaded pk4 /usr/local/games/quake4/q4base/game100.pk4 with checksum 0x6f346a2
Loaded pk4 /usr/local/games/quake4/q4base/pak001.pk4 with checksum 0xf2cbc998
Loaded pk4 /usr/local/games/quake4/q4base/pak002.pk4 with checksum 0x7f8d80d1
Loaded pk4 /usr/local/games/quake4/q4base/pak003.pk4 with checksum 0x1b57b207
Loaded pk4 /usr/local/games/quake4/q4base/pak004.pk4 with checksum 0x385aa578
Loaded pk4 /usr/local/games/quake4/q4base/pak005.pk4 with checksum 0x60d50a1d
Loaded pk4 /usr/local/games/quake4/q4base/pak006.pk4 with checksum 0x9099ed11
Loaded pk4 /usr/local/games/quake4/q4base/pak007.pk4 with checksum 0xaf301fff
Loaded pk4 /usr/local/games/quake4/q4base/pak008.pk4 with checksum 0x4ac6f6d9
Loaded pk4 /usr/local/games/quake4/q4base/pak009.pk4 with checksum 0x36030c7d
Loaded pk4 /usr/local/games/quake4/q4base/pak010.pk4 with checksum 0x4b80fbda
Loaded pk4 /usr/local/games/quake4/q4base/pak011.pk4 with checksum 0x8acf4cfa
Loaded pk4 /usr/local/games/quake4/q4base/pak012.pk4 with checksum 0xbe4120b0
Loaded pk4 /usr/local/games/quake4/q4base/zpak_english.pk4 with checksum 0x5868f530
Current search path:
/home/were/.quake4/q4base
/usr/local/games/quake4/q4base
/usr/local/games/quake4/q4base/zpak_english.pk4 (3457 files)
/usr/local/games/quake4/q4base/pak012.pk4 (1081 files)
/usr/local/games/quake4/q4base/pak011.pk4 (5620 files)
/usr/local/games/quake4/q4base/pak010.pk4 (5539 files)
/usr/local/games/quake4/q4base/pak009.pk4 (1284 files)
/usr/local/games/quake4/q4base/pak008.pk4 (1289 files)
/usr/local/games/quake4/q4base/pak007.pk4 (1330 files)
/usr/local/games/quake4/q4base/pak006.pk4 (1343 files)
/usr/local/games/quake4/q4base/pak005.pk4 (1395 files)
/usr/local/games/quake4/q4base/pak004.pk4 (2249 files)
/usr/local/games/quake4/q4base/pak003.pk4 (1281 files)
/usr/local/games/quake4/q4base/pak002.pk4 (313 files)
/usr/local/games/quake4/q4base/pak001.pk4 (5837 files)
/usr/local/games/quake4/q4base/game100.pk4 (2 files)
/usr/local/games/quake4/q4base/game000.pk4 (2 files)
game DLL: 0x0 in pak: 0x0
Addon pk4s:
file system initialized.
———————————————
———— Initializing Decls ————-
Loading guides. 59 loaded
284ms to load 1071k of material
77ms to load 43k of skin
190ms to load 716k of sound
4ms to load 1k of materialType
325ms to load 2078k of lipSync
78ms to load 105k of playback
1337ms to load 1665k of effect
———————————————
——— Initializing renderSystem ———-
using ARB renderSystem
renderSystem initialized.
———————————————
Found default language English with VO
632 strings read from strings/english_code.lang
1654 strings read from strings/english_guis.lang
5616 strings read from strings/english_lips.lang
6085 strings read from strings/english_maps.lang
Couldn’t open journal files
execing default.cfg
couldn’t exec editor.cfg
execing Quake4Config.cfg
couldn’t exec autoexec.cfg
——— Initializing Sound System ———-
sound system initialized.
———————————————
————— R_InitOpenGL —————-
Initializing SDL subsystem
Loading GL driver ‘libGL.so.1’ through SDL
8/8/8/8 RGBA bits, 24 depth bits, 8 stencil bits
dlopen(libasound.so.2)
asoundlib version: 1.0.9
Alsa is available
—— Alsa Sound Initialization ——
opened Alsa PCM device default for playback
buffer size select failed: Invalid argument
close pcm
dlclose
WARNING: sound subsystem disabled

Re: Quake4 for linux

> buffer size select failed: Invalid argument

Ага, диагноз ясен 🙂 Используем ALSA и dmix на каком-нибудь уродце из серии AC’97, да? Тогда идем в /etc/asound.conf и выставляем там buffer size в районе 8192 или даже 16384 вместо 1024/2048/4096, которые у тебя стоят.

Re: Quake4 for linux

У меня Creative Live 5.1
Сейчас посмотрю, что у меня там в /etc/.

Источник

Оцените статью