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

来自Ubuntu中文
跳到导航跳到搜索
Wikibot留言 | 贡献
无编辑摘要
Wikibot留言 | 贡献
无编辑摘要
 
第45行: 第45行:
<pre><nowiki>
<pre><nowiki>
sudo nano /etc/init.d/bootmisc.sh
sudo nano /etc/init.d/bootmisc.sh
add "echo 'wolf.x86 0 0 direct' > /proc/asound/card0/pcm0p/oss"
add "echo 'wolfsp.x86 0 0 direct' > /proc/asound/card0/pcm0p/oss"
</nowiki></pre>
</nowiki></pre>
above 'exit 0'
Add the following lines at the end of the file:
<pre><nowiki>
echo "wolf.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "wolfsp.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "wolfmp.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
</nowiki></pre>
=== Playing ===
=== Playing ===
==== Single Player ====
==== Single Player ====

2009年5月12日 (二) 16:56的最新版本

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

Instructions to install Return to Castle Wolfenstein.

Return to Castle Wolfenstein (Retail)

URL: http://www.idsoftware.com <
><
>

Installation

CD-ROM Files (Platinum Edition)

mkdir /<path to install>/wolfenstein
mkdir /<path to install>/wolfenstein/main

(Insert Disc 1)
  mount /cdrom
  cp -r /cdrom/Setup/Data/Main/* /<path to install>/wolfenstein/main
  umount /cdrom

(Insert Disc 2)
  mount /cdrom
  cp -r /cdrom/Setup/Data/main/* /<path to install>/wolfenstein/main
  umount /cdrom
Binaries
cd /<path to install>/wolfenstein
wget ftp://ftp.idsoftware.com/idstuff/wolf/linux/wolf-linux-1.41b.x86.run
chmod +x wolf-linux-1.41b.x86.run
./wolf-linux-1.41b.x86.run (Use "/<path to install>/wolfenstein" when asked)
Security Fix
wget ftp://ftp.idsoftware.com/idstuff/wolf/Wolf-1.41b.zip
unzip Wolf-1.41b.zip
cp Return\ To\ Castle\ Wolfenstein\ 1.41b/linux/* .
rm -rf Return\ To\ Castle\ Wolfenstein\ 1.41b/

Troubleshooting

Sound

If you have no sound with the following error message

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

you can try the following fix

sudo nano /etc/init.d/bootmisc.sh

Add the following lines at the end of the file:

echo "wolf.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "wolfsp.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "wolfmp.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss

Playing

Single Player

./wolfsp

Multi-Player

./wolfmp