特殊:Badtitle/NS100:Cedega:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第28行: | 第28行: | ||
Assuming your cdrom is mounted to <code><nowiki>/media/cdrom</nowiki></code> and the installer is named <code><nowiki>setup.exe</nowiki></code> | Assuming your cdrom is mounted to <code><nowiki>/media/cdrom</nowiki></code> and the installer is named <code><nowiki>setup.exe</nowiki></code> | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconTip.png You may experience some graphical errors during the copying process. These are generally not harmful. | |||
=== Installing from the HD === | === Installing from the HD === | ||
第42行: | 第42行: | ||
=== Multi-Disc Installers === | === Multi-Disc Installers === | ||
You should run the installer with the <code><nowiki>-monitor-cdrom-eject</nowiki></code> option, and then you may press the eject | You should run the installer with the <code><nowiki>-monitor-cdrom-eject</nowiki></code> option, and then you may press the eject | ||
button on CD-RW or DVD | button on CD-RW or DVD driveshttps://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconWarning3.png utomatically. | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconWarning3.png+Care+should+be+taken+when+enabling+this+option+on+systems+which+have+compact+flash+drives. | |||
== Playing a Game Using Cedega == | == Playing a Game Using Cedega == | ||
第75行: | 第75行: | ||
<code><nowiki>-monitor-cdrom-eject</nowiki></code> | <code><nowiki>-monitor-cdrom-eject</nowiki></code> | ||
Enables the CD eject polling | Enables the CD eject polling functihttps://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconWarning3.png and typically onhttps://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconWarning3.png+Care+should+be+taken+when+enabling+this+option+on+systems+which+have+compact+flash+drives.this option on systems which have compact flash drives. | ||
== Play a game without CD == | == Play a game without CD == | ||
第125行: | 第124行: | ||
=== Graphic Problems === | === Graphic Problems === | ||
Games often attempt to change your screen resolution to fit their needs. Make sure that the 'Screen' section of your <code><nowiki>xorg.conf</nowiki></code> or <code><nowiki>XF86Config-4</nowiki></code> file has a number of resolutions. The most common resolutions are: 1600X1200, 1280X1024, 1024X768, 800X600, 640X480. If the game is not running at full screen check the game settings to see what resolution it | Games often attempt to change your screen resolution to fit their needs. Make sure that the 'Screen' section of your <code><nowiki>xorg.conf</nowiki></code> or <code><nowiki>XF86Config-4</nowiki></code> file has a number of resolutions. The most common resolutions are: 1600X1200, 1280X1024, 1024X768, 800X600, 640X480. If the game is not running at full screen check the game settings to see what resolution it ihttps://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconTip.png that resolution is lihttps://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconTip.png+You+may+experience+improved+performance+with+some+games+when+running+the+X+server+at+16+bit+color+depth.p.png You may experience improved performance with some games when running the X server at 16 bit color depth. | ||
=== Sound Problems === | === Sound Problems === |
2007年5月13日 (日) 23:38的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Cedega }} |
点击翻译: |
English {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/af | • {{#if: php5|Afrikaans| [[::Cedega/af|Afrikaans]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/ar | • {{#if: php5|العربية| [[::Cedega/ar|العربية]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/az | • {{#if: php5|azərbaycanca| [[::Cedega/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/bcc | • {{#if: php5|جهلسری بلوچی| [[::Cedega/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/bg | • {{#if: php5|български| [[::Cedega/bg|български]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/br | • {{#if: php5|brezhoneg| [[::Cedega/br|brezhoneg]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/ca | • {{#if: php5|català| [[::Cedega/ca|català]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/cs | • {{#if: php5|čeština| [[::Cedega/cs|čeština]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/de | • {{#if: php5|Deutsch| [[::Cedega/de|Deutsch]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/el | • {{#if: php5|Ελληνικά| [[::Cedega/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/es | • {{#if: php5|español| [[::Cedega/es|español]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/fa | • {{#if: php5|فارسی| [[::Cedega/fa|فارسی]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/fi | • {{#if: php5|suomi| [[::Cedega/fi|suomi]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/fr | • {{#if: php5|français| [[::Cedega/fr|français]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/gu | • {{#if: php5|ગુજરાતી| [[::Cedega/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/he | • {{#if: php5|עברית| [[::Cedega/he|עברית]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/hu | • {{#if: php5|magyar| [[::Cedega/hu|magyar]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/id | • {{#if: php5|Bahasa Indonesia| [[::Cedega/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/it | • {{#if: php5|italiano| [[::Cedega/it|italiano]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/ja | • {{#if: php5|日本語| [[::Cedega/ja|日本語]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/ko | • {{#if: php5|한국어| [[::Cedega/ko|한국어]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/ksh | • {{#if: php5|Ripoarisch| [[::Cedega/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/mr | • {{#if: php5|मराठी| [[::Cedega/mr|मराठी]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/ms | • {{#if: php5|Bahasa Melayu| [[::Cedega/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/nl | • {{#if: php5|Nederlands| [[::Cedega/nl|Nederlands]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/no | • {{#if: php5|norsk| [[::Cedega/no|norsk]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/oc | • {{#if: php5|occitan| [[::Cedega/oc|occitan]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/pl | • {{#if: php5|polski| [[::Cedega/pl|polski]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/pt | • {{#if: php5|português| [[::Cedega/pt|português]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/ro | • {{#if: php5|română| [[::Cedega/ro|română]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/ru | • {{#if: php5|русский| [[::Cedega/ru|русский]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/si | • {{#if: php5|සිංහල| [[::Cedega/si|සිංහල]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/sq | • {{#if: php5|shqip| [[::Cedega/sq|shqip]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/sr | • {{#if: php5|српски / srpski| [[::Cedega/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/sv | • {{#if: php5|svenska| [[::Cedega/sv|svenska]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/th | • {{#if: php5|ไทย| [[::Cedega/th|ไทย]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/tr | • {{#if: php5|Türkçe| [[::Cedega/tr|Türkçe]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/vi | • {{#if: php5|Tiếng Việt| [[::Cedega/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/yue | • {{#if: php5|粵語| [[::Cedega/yue|粵語]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/zh | • {{#if: php5|中文| [[::Cedega/zh|中文]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/zh-hans | • {{#if: php5|中文(简体)| [[::Cedega/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Cedega}}/zh-hant | • {{#if: php5|中文(繁體)| [[::Cedega/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:php5|:Cedega|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Cedega/zh | | {{#ifexist: Cedega/zh | | {{#ifeq: {{#titleparts:Cedega|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Cedega|1|-1|}} | zh | | }}
Parent: UbuntuHelp:Games
Cedega allows many popular Windows games, including Battlefield 2, Half-Life 2, and World of Warcraft to be played under Linux.
Acquiring Cedega
Cedega is a proprietary product, that must be purchased from http://transgaming.com for full functionality. It is a fork of the UbuntuHelp:Wine project, which is available under a free and open source license.
You can use a CVS version of Cedega (this is free), instructions on how to install this are at http://www.linux-gamers.net/modules/wiwimod/index.php?page=HOWTO+Cedega+CVS
If the link to the script doesn't work, you can use this one: http://winecvs.linux-gamers.net/WineCVS.sh
How To Install Cedega
Install the debian file:
sudo dpkg -i cedega_[version].deb
Installing a Game Using Cedega
Installing from CD or DVD
Locate the correct installer executable and install the game using:
cedega /media/cdrom/setup.exe
Assuming your cdrom is mounted to /media/cdrom
and the installer is named setup.exe
You may experience some graphical errors during the copying process. These are generally not harmful.
Installing from the HD
If you have enough free space, you can copy the content of each CD in Transgaming_Drive
in your home directory. In that case, you don't encounter the cd changing problem.
cd ~/TransGaming_Drive
Locate the correct installer executable and install the game using:
cedega setup.exe
Multi-Disc Installers
You should run the installer with the -monitor-cdrom-eject
option, and then you may press the eject
button on CD-RW or DVD driveshttps://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconWarning3.png utomatically.
Playing a Game Using Cedega
There are three methods for starting a game once it has been installed.
Using the Desktop Icon
Some games will create a desktop icon during the installation process. If you wish to pass special options to Cedega or the game, edit the desktop shortcut.
Using the Start Menu
Some games will add a link to the start menu. Simply click the start menu, go to TransGaming -> Programs
and then the game name/vendor and select the game icon.
If you wish to pass special options to Cedega or the game, edit the menu item shortcut.
Using the Command Line
Enter the Game Directory:
cd ~/.transgaming/c_drive/Program Files/[Game Directory]
Start the game:
cedega [wine options] game.exe [game options]
Options can be passed to both Cedega and the game using the command line.
Important options for Cedega are:
-bigexe
:
This option is required for executables of a "large" size. Typically this is only for demo installers who come packaged in one large executable.
-use-pthreads
:
A way to override the use of pthreads. This option should be automatically set by Cedega, however, if problems exist it may be useful to change the pthreads option. Acceptable values are yes or no.
-monitor-cdrom-eject
Enables the CD eject polling functihttps://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconWarning3.png and typically onhttps://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconWarning3.png+Care+should+be+taken+when+enabling+this+option+on+systems+which+have+compact+flash+drives.this option on systems which have compact flash drives.
Play a game without CD
You can get NO-CD PC Games fixes from MegaGames
Configuring Cedega
To edit the Cedega configuration settings open ~/.transgaming/config
in your favorite text editor.
For more details read the supplied Cedega_howto txt file!
Troubleshooting
OpenGL Support
To test your graphics card for OpenGL support execute the following command:
glxinfo | grep 'direct rendering'
output will return "direct rendering:"
If this is 'Yes' or 'Enabled' then OpenGL is likely set up correctly. If it is listed as 'no' or 'disabled' then double check your 3D setup.
Performance Test
If 3D acceleration is correctly enabled for your video card then the reported framerate should be well over 500 FPS, at the default window size. If the output shows less than 500 FPS then you should double check your 3D setup.
glxgears -printfps
Multiple OpenGL libraries
Check if you have multiple OpenGL libraries:
locate libGL
This will display any OpenGL libraries you have on your system. In particular, you should be cautious of having libGL in both /usr/lib as well as in /usr/X11R6/lib. Sometimes, the software-only Mesa OpenGL libraries are installed in /usr/X11R6/lib and hardware accelerated drivers are installed elsewhere. We do not recommend removing the Mesa libraries from /usr/X11R6/lib unless you are seeing slow rendering in games running under Cedega.
CD Drives and Mountpoints permissions
Many Windows games use copy protection systems that require Cedega to have 'read' access to your CD-ROM device, as well as 'read' and 'execute' access to your CD-ROM mount point. Change permissions:
sudo chmod a+r [CD-ROM Device] sudo chmod a+rx [CD-ROM mount point]
Check for symbolically linked devices and change the permissions
ls -la [CD-ROM Device]
User Access on CD-ROM mountpoint
Under some circumstances, you may need to edit your /etc/fstab
file to ensure that all users have access to the CD-ROM mount point.
Graphic Problems
Games often attempt to change your screen resolution to fit their needs. Make sure that the 'Screen' section of your xorg.conf
or XF86Config-4
file has a number of resolutions. The most common resolutions are: 1600X1200, 1280X1024, 1024X768, 800X600, 640X480. If the game is not running at full screen check the game settings to see what resolution it ihttps://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconTip.png that resolution is lihttps://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconTip.png+You+may+experience+improved+performance+with+some+games+when+running+the+X+server+at+16+bit+color+depth.p.png You may experience improved performance with some games when running the X server at 16 bit color depth.
Sound Problems
If you are having sound problems make sure to disable any sound servers or other applications that may be using sound, such as 'xmms'.
Free space limitations
Some systems may be set up with restrictive space quotas on the /home directory. You may experience problems installing games if the available space is reported incorrectly, or if there is not enough space available on your system:
disable quotas
or
symbolically link to a device with more free space available.
Low Framerate
If you only get 15-30 fps
renice 17 -p `pgrep wineserver`
No 3D acceleration in 64bit version Ubuntu
In glxgears you get good results, but cedega's 3D test failed and games are slow. Set enviroment variable:
export LIBGL_DRIVERS_PATH=/usr/X11R6/lib32/modules/dri/:/usr/lib32/:/usr/X11R6/lib/modules/dri/: /usr/lib/
Resources
Install and configure Cedega (CVS and normal version) and install World of Warcraft (in french)
CategoryDocumentation CategoryGames