特殊:Badtitle/NS100:Games/Native/Quake2:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Oneleaf留言 | 贡献
New page: {{From|https://help.ubuntu.com/community/Games/Native/Quake2}} {{Languages|php5}} == Quake 2 == Instructions to install Quake 2 and popular Quake 2 mods. === Installation (CD-ROM) === ==...
 
Oneleaf留言 | 贡献
无编辑摘要
第11行: 第11行:
mount /cdrom
mount /cdrom
cp -r /cdrom/Install/Data/baseq2 /<path to install>/quake2
cp -r /cdrom/Install/Data/baseq2 /<path to install>/quake2
</nowiki></code>
</nowiki></pre>


==== Binaries ====
==== Binaries ====
第18行: 第18行:
wget ftp://ftp.idsoftware.com/idstuff/quake2/unix/quake2-3.20-glibc-i386-unknown-linux2.0.tar.gz
wget ftp://ftp.idsoftware.com/idstuff/quake2/unix/quake2-3.20-glibc-i386-unknown-linux2.0.tar.gz
tar xvzf quake2-3.20-glibc-i386-unknown-linux2.0.tar.gz
tar xvzf quake2-3.20-glibc-i386-unknown-linux2.0.tar.gz
</nowiki></code>
</nowiki></pre>


==== Launcher ====
==== Launcher ====
第25行: 第25行:
echo cd \"/<path to install>/quake2\" >> quake2_
echo cd \"/<path to install>/quake2\" >> quake2_
echo exec ./quake2 \"\$\@\" >> quake2_
echo exec ./quake2 \"\$\@\" >> quake2_
</nowiki></code>
</nowiki></pre>


==== md5sum ====
==== md5sum ====
第32行: 第32行:
1ec55a724dc3109fd50dde71ab581d70  baseq2/pak0.pak
1ec55a724dc3109fd50dde71ab581d70  baseq2/pak0.pak
c8217cc5557b672a87fc210c2347d98d  baseq2/pak2.pak
c8217cc5557b672a87fc210c2347d98d  baseq2/pak2.pak
</nowiki></code>
</nowiki></pre>


=== Troubleshooting ===
=== Troubleshooting ===
第41行: 第41行:
ln -s /usr/lib32/libGL.so.1 libGL.so
ln -s /usr/lib32/libGL.so.1 libGL.so
ln -s libGL.so opengl32
ln -s libGL.so opengl32
</nowiki></code>
</nowiki></pre>


==== Sound ====
==== Sound ====
第48行: 第48行:
/dev/dsp: Input/output error
/dev/dsp: Input/output error
Could not mmap /dev/dsp
Could not mmap /dev/dsp
</nowiki></code>
</nowiki></pre>
you can try the following fix
you can try the following fix
<pre><nowiki>
<pre><nowiki>
sudo vi /etc/init.d/bootmisc.sh
sudo vi /etc/init.d/bootmisc.sh
add "echo 'quake2 0 0 direct' > /proc/asound/card0/pcm0p/oss" above : exit 0
add "echo 'quake2 0 0 direct' > /proc/asound/card0/pcm0p/oss" above : exit 0
</nowiki></code>
</nowiki></pre>


=== Playing ===
=== Playing ===
第59行: 第59行:
<pre><nowiki>
<pre><nowiki>
./quake2 +set vid_ref glx
./quake2 +set vid_ref glx
</nowiki></code>
</nowiki></pre>
==== Software Renderer ====
==== Software Renderer ====
<pre><nowiki>
<pre><nowiki>
./quake2 +set vid_ref softx
./quake2 +set vid_ref softx
</nowiki></code>
</nowiki></pre>


== Quake 2 Mods ==
== Quake 2 Mods ==

2007年5月13日 (日) 12:53的版本

{{#ifexist: :Games/Native/Quake2/zh | | {{#ifexist: Games/Native/Quake2/zh | | {{#ifeq: {{#titleparts:Games/Native/Quake2|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Games/Native/Quake2|1|-1|}} | zh | | }}


Quake 2

Instructions to install Quake 2 and popular Quake 2 mods.

Installation (CD-ROM)

Data Files

mkdir /<path to install>/quake2
mount /cdrom
cp -r /cdrom/Install/Data/baseq2 /<path to install>/quake2

Binaries

cd /<path to install>/quake2
wget ftp://ftp.idsoftware.com/idstuff/quake2/unix/quake2-3.20-glibc-i386-unknown-linux2.0.tar.gz
tar xvzf quake2-3.20-glibc-i386-unknown-linux2.0.tar.gz

Launcher

echo \#\!/bin/sh > quake2_
echo cd \"/<path to install>/quake2\" >> quake2_
echo exec ./quake2 \"\$\@\" >> quake2_

md5sum

f77d245ef7f011617625ad8ee0d0588e  baseq2/gamei386.so
1ec55a724dc3109fd50dde71ab581d70  baseq2/pak0.pak
c8217cc5557b672a87fc210c2347d98d  baseq2/pak2.pak

Troubleshooting

Rendering

sudo echo /<path to isntall>/quake2 > etc/quake2.conf
ln -s /usr/lib32/libGL.so.1 libGL.so
ln -s libGL.so opengl32

Sound

If you have no sound with the following error message in console

/dev/dsp: Input/output error
Could not mmap /dev/dsp

you can try the following fix

sudo vi /etc/init.d/bootmisc.sh
add "echo 'quake2 0 0 direct' > /proc/asound/card0/pcm0p/oss" above : exit 0

Playing

GL Renderer

./quake2 +set vid_ref glx

Software Renderer

./quake2 +set vid_ref softx

Quake 2 Mods

Web Links

Comments

Quake 2 is in Multiverse, and is called quake2. (However, for me it fails with a message: Error: Couldn't load pics/colormap.pcx ) -- Warbo

   The quake2 package in Multiverse isn't the full game, just the game engine. The engine is open sourced, but the game artwork and such has never been. -- Madpilot DateTime(2006-08-27T02:41:11Z)
            • Yes, when the package used to work for me (in Breezy) it would only play one (presumably freeware) level, but I was actually wondering if the "Binaries" section could include the package as well, or doesn't the Multiverse package work like that? (I know a few Doom packages which ask for the path to the WAD files and they work fine, but I only have Quake games on N64 so I haven't been able to test such a thing on my PC) -- Warbo

CategoryGames