“UbuntuHelp:Doom3”的版本间的差异
来自Ubuntu中文
小 |
小 |
||
(未显示2个用户的9个中间版本) | |||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/Doom3}} | {{From|https://help.ubuntu.com/community/Doom3}} | ||
− | {{Languages| | + | {{Languages|UbuntuHelp:Doom3}} |
− | Parent: [[UbuntuHelp:Games]] | + | Parent: [[UbuntuHelp:Games|Games]] |
− | + | === Install Scripts === | |
+ | Linux Guy Marshall has prepared some scripts and the guide to use them on his site [http://sites.google.com/site/lgmscripts/scripts/games/doom-3 here] | ||
== Acquiring Doom3 for Linux == | == Acquiring Doom3 for Linux == | ||
You can download the latest version from [ftp://ftp.idsoftware.com/idstuff/doom3/linux/ id Software's ftp server] | You can download the latest version from [ftp://ftp.idsoftware.com/idstuff/doom3/linux/ id Software's ftp server] | ||
− | + | As of 2008-03-19, the latest version is doom3-linux-1.3.1.1304.x86.run. | |
This package contains only the binary sources for Linux! | This package contains only the binary sources for Linux! | ||
− | |||
== Installation of the Linux binary == | == Installation of the Linux binary == | ||
+ | The installation writes to /usr/local/games/doom3 by default. You should install using sudo to ensure write permissions to /usr/local/games/doom3, and make sure that the installation file is executable. | ||
<pre><nowiki> | <pre><nowiki> | ||
− | + | chmod +x doom3-linux-x.x.xxxx.x86.run | |
− | + | sudo ./doom3-linux-x.x.xxxx.x86.run | |
+ | # As of 2008-03-19 this is: | ||
+ | sudo ./doom3-linux-1.3.1.1304.x86.run | ||
+ | </nowiki></pre> | ||
== Add the missing files == | == Add the missing files == | ||
The following files need to be copied from the win32 install CDs to your <code><nowiki>base/</nowiki></code> directory. | The following files need to be copied from the win32 install CDs to your <code><nowiki>base/</nowiki></code> directory. | ||
by default, <code><nowiki>/usr/local/games/doom3/base</nowiki></code> | by default, <code><nowiki>/usr/local/games/doom3/base</nowiki></code> | ||
<pre><nowiki> | <pre><nowiki> | ||
− | base/pak000. | + | base/pak000.pk4 |
− | base/pak001. | + | base/pak001.pk4 |
− | base/pak002. | + | base/pak002.pk4 |
− | base/pak003. | + | base/pak003.pk4 |
− | base/pak004. | + | base/pak004.pk4 |
− | + | ||
+ | # On Ubuntu 7.04, you can find these by inserting discs 1-3 one-after-the-other | ||
+ | # and then doing, for each disk: | ||
+ | sudo cp /media/cdrom0/Setup/Data/base/pak00*.pk4 /usr/local/games/doom3/base | ||
+ | </nowiki></pre> | ||
== Resurrection of Evil Expansion Pack == | == Resurrection of Evil Expansion Pack == | ||
If you are also installing the Resurrection of Evil Expansion Pack, you need to copy the following file to your <code><nowiki>d3xp/</nowiki></code> directory by default, <code><nowiki>/usr/local/games/doom3/d3xp</nowiki></code> | If you are also installing the Resurrection of Evil Expansion Pack, you need to copy the following file to your <code><nowiki>d3xp/</nowiki></code> directory by default, <code><nowiki>/usr/local/games/doom3/d3xp</nowiki></code> | ||
第29行: | 第36行: | ||
d3xp/pak000.pk4 | d3xp/pak000.pk4 | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
== Start Doom3 == | == Start Doom3 == | ||
Start Doom3 with the following command: | Start Doom3 with the following command: | ||
第35行: | 第41行: | ||
doom3 | doom3 | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
== Start the dedicated server == | == Start the dedicated server == | ||
Start the dedicated server with the command: | Start the dedicated server with the command: | ||
第41行: | 第46行: | ||
doom3-dedicated | doom3-dedicated | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
== Start Expansion Pack == | == Start Expansion Pack == | ||
If installed, you can start the Expansion Pack directly from the command line with the command: | If installed, you can start the Expansion Pack directly from the command line with the command: | ||
第48行: | 第52行: | ||
</nowiki></pre> | </nowiki></pre> | ||
Or you can select it in the mods menu of the base game. | Or you can select it in the mods menu of the base game. | ||
− | |||
== Localization == | == Localization == | ||
Localization is untested in the Linux builds at this point. More localization features are possible in future release. Until then you should '''not copy over''' the <code><nowiki>zpak000.pk4</nowiki></code> file at all. | Localization is untested in the Linux builds at this point. More localization features are possible in future release. Until then you should '''not copy over''' the <code><nowiki>zpak000.pk4</nowiki></code> file at all. | ||
− | |||
== Sound Problems == | == Sound Problems == | ||
If sound is distorted, (to the extent speech is not understandable) then try running doom 3 with the command: | If sound is distorted, (to the extent speech is not understandable) then try running doom 3 with the command: | ||
− | <pre><nowiki>doom3 +set s_driver oss +set s_numberOfSpeakers 2 | + | <pre><nowiki> |
+ | doom3 +set s_driver oss +set s_numberOfSpeakers 2 | ||
+ | </nowiki></pre> | ||
+ | == Mouse Problems or Small or OffCenter Window Problems == | ||
+ | My doom3 install worked but when I ran doom3, it came up in a small window and the mouse either didn't work or wouldn't move properly. Consequently, I could enter the CD key but could not click the '''OK''' button to continue. | ||
+ | The cause was that I was running Xinerama to drive my dual monitors off of an nvidia dual-out videocard. Once I switched to NVidia TwinView, it worked perfectly! See the article [http://www.oreillynet.com/linux/blog/2007/02/nvidia_twinview_and_xorgconf.html Nvidia, TwinView, and xorg.conf] for details on how to switch to TwinView if you are having this problem. | ||
+ | If you are using Xinerama but cannot use TwinView (e.g., if you do not have an NVidia video card) then try shutting off Xinerama and see if that helps (by editing /etc/X11/xorg.conf and restarting X by logging out and back in, or typing <code><nowiki>sudo /etc/init.d/gdm restart</nowiki></code>). | ||
+ | == Jerky frame rates in-game == | ||
+ | If you experience hitching or jerky frame rates, try typing ONE or BOTH of the following in the ingame console. | ||
+ | Do this one first of all before you try any other commands in the console. | ||
+ | Could lock the weapon zoom until you load a new level. | ||
+ | <pre><nowiki> | ||
+ | vid_restart | ||
+ | </nowiki></pre> | ||
+ | this one could also solve it. | ||
+ | <pre><nowiki> | ||
+ | com_PreciseTic 0 | ||
+ | </nowiki></pre> | ||
+ | Causes really fast framerate | ||
+ | <pre><nowiki> | ||
+ | com_fixedtic 1 | ||
+ | </nowiki></pre> | ||
+ | == Blank screen on amd64 with NVIDIA proprietary drivers == | ||
+ | ''This problem has been reported on Ubuntu Gutsy 7.10 amd64 with the NVIDIA proprietary drivers.'' | ||
+ | If the screen goes blank after you start Doom3, try starting it with this command: | ||
+ | <pre><nowiki> | ||
+ | LD_PRELOAD=/usr/lib/libGL.so.1 doom3 | ||
+ | </nowiki></pre> | ||
+ | If it works, you can replace the /usr/local/bin/doom3 symlink with this script and the menu icon should start it properly: | ||
+ | <pre><nowiki> | ||
+ | #!/bin/sh | ||
+ | LD_PRELOAD=/usr/lib/libGL.so.1 /usr/local/games/doom3/doom3 | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
== Further Information == | == Further Information == | ||
[http://zerowing.idsoftware.com/linux/doom/ DOOM III GNU/Linux FAQ] | [http://zerowing.idsoftware.com/linux/doom/ DOOM III GNU/Linux FAQ] | ||
---- | ---- | ||
− | + | [[category:CategoryGames]] | |
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2009年5月12日 (二) 16:30的最新版本
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
Parent: Games
目录
- 1 Install Scripts
- 2 Acquiring Doom3 for Linux
- 3 Installation of the Linux binary
- 4 Add the missing files
- 5 Resurrection of Evil Expansion Pack
- 6 Start Doom3
- 7 Start the dedicated server
- 8 Start Expansion Pack
- 9 Localization
- 10 Sound Problems
- 11 Mouse Problems or Small or OffCenter Window Problems
- 12 Jerky frame rates in-game
- 13 Blank screen on amd64 with NVIDIA proprietary drivers
- 14 Further Information
Install Scripts
Linux Guy Marshall has prepared some scripts and the guide to use them on his site here
Acquiring Doom3 for Linux
You can download the latest version from id Software's ftp server As of 2008-03-19, the latest version is doom3-linux-1.3.1.1304.x86.run. This package contains only the binary sources for Linux!
Installation of the Linux binary
The installation writes to /usr/local/games/doom3 by default. You should install using sudo to ensure write permissions to /usr/local/games/doom3, and make sure that the installation file is executable.
chmod +x doom3-linux-x.x.xxxx.x86.run sudo ./doom3-linux-x.x.xxxx.x86.run # As of 2008-03-19 this is: sudo ./doom3-linux-1.3.1.1304.x86.run
Add the missing files
The following files need to be copied from the win32 install CDs to your base/
directory.
by default, /usr/local/games/doom3/base
base/pak000.pk4 base/pak001.pk4 base/pak002.pk4 base/pak003.pk4 base/pak004.pk4 # On Ubuntu 7.04, you can find these by inserting discs 1-3 one-after-the-other # and then doing, for each disk: sudo cp /media/cdrom0/Setup/Data/base/pak00*.pk4 /usr/local/games/doom3/base
Resurrection of Evil Expansion Pack
If you are also installing the Resurrection of Evil Expansion Pack, you need to copy the following file to your d3xp/
directory by default, /usr/local/games/doom3/d3xp
d3xp/pak000.pk4
Start Doom3
Start Doom3 with the following command:
doom3
Start the dedicated server
Start the dedicated server with the command:
doom3-dedicated
Start Expansion Pack
If installed, you can start the Expansion Pack directly from the command line with the command:
doom3 +set fs_game d3xp
Or you can select it in the mods menu of the base game.
Localization
Localization is untested in the Linux builds at this point. More localization features are possible in future release. Until then you should not copy over the zpak000.pk4
file at all.
Sound Problems
If sound is distorted, (to the extent speech is not understandable) then try running doom 3 with the command:
doom3 +set s_driver oss +set s_numberOfSpeakers 2
Mouse Problems or Small or OffCenter Window Problems
My doom3 install worked but when I ran doom3, it came up in a small window and the mouse either didn't work or wouldn't move properly. Consequently, I could enter the CD key but could not click the OK button to continue.
The cause was that I was running Xinerama to drive my dual monitors off of an nvidia dual-out videocard. Once I switched to NVidia TwinView, it worked perfectly! See the article Nvidia, TwinView, and xorg.conf for details on how to switch to TwinView if you are having this problem.
If you are using Xinerama but cannot use TwinView (e.g., if you do not have an NVidia video card) then try shutting off Xinerama and see if that helps (by editing /etc/X11/xorg.conf and restarting X by logging out and back in, or typing sudo /etc/init.d/gdm restart
).
Jerky frame rates in-game
If you experience hitching or jerky frame rates, try typing ONE or BOTH of the following in the ingame console. Do this one first of all before you try any other commands in the console. Could lock the weapon zoom until you load a new level.
vid_restart
this one could also solve it.
com_PreciseTic 0
Causes really fast framerate
com_fixedtic 1
Blank screen on amd64 with NVIDIA proprietary drivers
This problem has been reported on Ubuntu Gutsy 7.10 amd64 with the NVIDIA proprietary drivers. If the screen goes blank after you start Doom3, try starting it with this command:
LD_PRELOAD=/usr/lib/libGL.so.1 doom3
If it works, you can replace the /usr/local/bin/doom3 symlink with this script and the menu icon should start it properly:
#!/bin/sh LD_PRELOAD=/usr/lib/libGL.so.1 /usr/local/games/doom3/doom3