[wiki]Cedega

参与到Ubuntu的翻译中来
回复
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

[wiki]Cedega

#1

帖子 oneleaf » 2005-07-22 14:19

1. Acquiring Cedega
2. How To Install Cedega
3. Installing a Game Using Cedega
1. Installing from CD or DVD
2. Installing from the HD
3. Multi-Disc Installers
4. Playing a Game Using Cedega
1. Using the Desktop Icon
2. Using the Start Menu
3. Using the Command Line
5. Play a game without CD
6. Configuring Cedega
7. Troubleshooting
1. OpenGL Support
2. Performance Test
3. multiple OpenGL libraries
4. User Access on CD-ROM mountpoint
5. Graphic Problems
6. Sound Problems
7. Free space limitations

Acquiring Cedega

Cedega is a commercial product, available to purchase on a subscription basis at [WWW] http://transgaming.com

You can use a CVS version of cedega (this is free), instructions on how to install this are at [WWW] http://www.linux-gamers.net/modules/wfs ... ticleid=45
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 mounte to /media/cdrom and the installer is called setup.exe

IconTip.png 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 run in 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 drives and the disc will unmount and eject automatically.

IconWarning3.png Care should be taken when enabling this option on systems which have compact flash drives.
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 both to 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 up 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 functionality. This option is off by default and typically only needs to be enabled for some multidisk installers.

IconWarning3.png Care should be taken when enabling this option on systems which have compact flash drives.
Play a game without CD

You can get NO-CD PC Games fixes from [WWW] 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 FPS 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

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 requires 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 is attempting to use and make sure that resolution is listed in the xorg.conf or XF86Config-4 file.

IconTip.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.


https://wiki.ubuntu.com/Cedega
当净其意如虚空,远离妄想及诸取,令心所向皆无碍
头像
lyreopera
帖子: 771
注册时间: 2005-05-23 13:38
来自: gdsz

#2

帖子 lyreopera » 2005-07-22 18:27

正好在用cedega,遇到不少问题,
尝试着翻译,问题不少,先放上目录:

1.获取cedega
2.如何安装cedega (how to 一般翻译成什么好?)
3.使用cedega安装游戏
(1).从CD或DVD安装
(2).从硬盘安装
(3).多张光盘安装
4.使用cedega玩游戏
(1).使用桌面图标
(2).使用开始菜单
(3).使用命令行
5.不使用CD玩游戏 (这个……)
6.设置cedega
7.故障解决
(1).OpenGL支持
(2).参数测试 (可能翻译错了)
(3).mulitple OpenGL库 (汗……)
(4).在CD-ROM挂载点上的用户数据
(5).显示问题 (graphic在这里翻译成什么好?)
(6).声音问题
(7).空闲空间限制
上次由 lyreopera 在 2005-07-23 1:28,总共编辑 1 次。
……
eshmily
帖子: 5
注册时间: 2005-07-08 22:58

#3

帖子 eshmily » 2005-07-22 20:41

lyreopera 写了: (how to 一般翻译成什么好?)
....方式?
....方法?
....步骤?
头像
lyreopera
帖子: 771
注册时间: 2005-05-23 13:38
来自: gdsz

#4

帖子 lyreopera » 2005-07-23 15:23

暂译,待修正:

1.获取cedega
2.如何安装cedega
3.使用cedega安装游戏
(1).从CD或DVD安装
(2).从硬盘安装
(3).多张光盘安装
4.使用cedega玩游戏
(1).使用桌面图标
(2).使用开始菜单
(3).使用命令行
5.不使用CD玩游戏
6.配置cedega
7.故障排除
(1).OpenGL支持
(2).性能测试
(3).多个OpenGL库
(4).在CD-ROM挂载点上的用户权限
(5).显示故障
(6).声音故障
(7).空闲空间限制

1.获取cedega

cedega是一个商业软件,可以通过订购凭证在http://transgaming.com购买。 (subscription basis到底是什么?)


你也可以使用cedega的CVS版本(这是免费的),这个的安装说明在http://www.linux-gamers.net/modules/wfsection/ ... ticleid=45


2.如何安装cedega

安装debian文件

代码: 全选

sudo dpkg -i cedega_[version].deb 
3.使用cedega安装游戏
(1).从CD或DVD安装

找出正确的可执行安装程序使用如下的命令安装游戏:

代码: 全选

cedega /media/cdrom/setup.exe
假设你的cdrom挂载在/media/cdrom并且安装程序名为setup.exe

你可能在复制过程中遇到一些显示错误。这通常是无害的。

(2).从硬盘安装

如果你拥有足够的空闲空间,你可以复制每一张CD的内容到你主文件夹的Transgaming_Drive目录下。这样你就不会有换CD的问题。
cd ~/TransGaming_Drive
找出正确的可执行安装程序使用如下的命令安装游戏:
cedega setup.exe
(3).多张光盘安装

运行安装程序并加上-monitor-cdrom-eject参数,接下来你可能要按下CD-RW或DVD驱动器的弹出按键,光盘将会被卸载并自动弹出。

如果系统存在便携可擦写驱动器(即u盘),在启用这个选项的时候你应该要小心。

4.使用cedega玩游戏

如果游戏已经安装好了,有三种方法来开始游戏。

(1).使用桌面图标

一些游戏在安装过程中会创建一个桌面图标。如果你想给cedega或这个游戏加上特殊的参数,请编辑这个桌面快捷方式。

(2).使用开始菜单

有些游戏会在开始菜单上创建一个链接。点击开始菜单,选TransGaming -> Programs和游戏名或vendor(这个没法译了,小贩?)并选择游戏的图标。如果你想给cedega或这个游戏加上特殊的参数,请编辑这个菜单快捷方式。 (这一段译起来很难,但是大家都知道是怎么回事……)

(3).使用命令行

进入游戏所在目录:

代码: 全选

cd ~/.transgaming/c_drive/Program Files/[Game Directory]


开始游戏:

代码: 全选

cedega [wine参数] game.exe [game参数]
cedega的一些重要的参数:

-bigexe:
*
这个参数是大的可执行文件所需的。这些的典型是被打包成一个大的可执行文件的试完版游戏的安装程序。

-use-pthreads:
*
一种避免使用pthreads(PISOX线程包)的方法。这个参数应该由cedega自动设置,如果存在问题的话它可以用来更改pthreads选项。可选值是yes或no。

-monitor-cdrom-eject
*
开启CD弹出功能。这个选项默认是关闭的,仅仅在一些多张光盘安装程序里需要开启。

如果系统存在便携可擦写驱动器(即u盘),在启用这个选项的时候你应该要小心。

5.不使用CD玩游戏

你可以在 [WWW] MegaGames 得到免CD补丁。

6.配置cedega

用你常用的文本编辑器打开~/.transgaming/config来编辑cedega配置设定。更多的细节请参阅提供的Cedega_howto txt文件。


7.故障排除

(1).OpenGL支持

执行下面的命令行来测试你的显卡对OpenGL的支持:

代码: 全选

glxinfo | grep #direct rendering#
结果将输出到"direct rendering:"

如果结果是“yes”或“enable”那么OpenGL很可能已经正确的设置好了。如果列出像“no”或“disable”请重新检查你的3D设置。

(2).性能测试

如果你的显卡已经正确开启了3D加速功能,那么在默认的窗口大小下(这个会不会是分辨率),所报告的FPS应该在500FPS以上。如果输出结果表明低于500FPS请重新检查你的3D设置。

(3).复合OpenGL库 (汗……,谁能给我一个正式的译名)

检查是否存在复合OpenGL库:

代码: 全选

locate libGL
这将显示你的系统上所存在的OpenGL库。值得注意的是,你应该留心在 /usr/lib 和 /usr/X11R6/lib 都要有 libGL 。有时候,software-only Mesa(请告诉我这是什么)OpenGL库安装在/usr/X11R6/lib而硬件加速驱动安装在别的地方。我们不建议你从/usr/X11R6/lib移除Mesa库除非你在cedega下玩游戏时速度非常缓慢。

== CD驱动器和挂载点许可 =许多windows下的游戏使用防复制系统,这需要cedega有在你的CD-ROM驱动器上读取的权限,和在你的CD-ROM挂载点同时读取和执行的权限。更改许可:

代码: 全选

sudo chmod a+r [CD-ROM驱动器] 
sudo chmod a+rx [CD-ROM挂载点]
检查到驱动器的软链接并更改许可:

代码: 全选

ls -la [CD-ROM 驱动器]
(4).在CD-ROM挂载点上的用户权限

在某些情况下,你需要编辑/etc/fstab文件以保证所有用户拥有CD-ROM挂载点的使用权限。

(5).显示故障

游戏常常会试图改变你的屏幕分辨率来适合它们的需要。请确保你的xorg.conf或XF86Config-4文件的“Screen”部分存在若干分辨率。最常见的分辨率是1600X1200, 1280X1024, 1024X768, 800X600, 640X480。如果游戏不是在全屏下运行请检查游戏设置,看看游戏正在尝试使用哪一种分辨率并确保这个分辨率已经在xorg.conf或XF86Config-4文件中列出。

当你在16位色深下运行X server时,你可能会在某些游戏体验到性能的提升。

(6).声音故障

如果你遇到声音故障,请确保关掉了声音服务(音效服务?)或其他可能正在使用声音的应用程序,比如“xmms”。

(7).空闲空间限制

一些系统可能在/home目录设置了空间配额。如果可用的空间被报告说不正确(不太懂什么意思)或你系统上的可用空间不足,你可能在安装游戏的过程中遇到问题:

取消配额



s做个软链接到一个有更多可用空间的驱动器上。



https://wiki.ubuntu.com/Cedega
上次由 lyreopera 在 2005-07-27 19:41,总共编辑 5 次。
……
头像
lyreopera
帖子: 771
注册时间: 2005-05-23 13:38
来自: gdsz

#5

帖子 lyreopera » 2005-07-23 15:32

文章不难,水平太差……

请教几个术语:

subscription basis
symbolically link
上次由 lyreopera 在 2005-07-24 16:37,总共编辑 2 次。
……
soboy
帖子: 16
注册时间: 2005-04-13 21:25

#6

帖子 soboy » 2005-07-23 16:07

CVS=Concurrent Version System
并发版本系统
yongyi
帖子: 3025
注册时间: 2005-05-07 23:57
联系:

#7

帖子 yongyi » 2005-07-23 16:34

you should be cautious of having libGL in both /usr/lib as well as in /usr/X11R6/lib
你应该留心在 /usr/lib 和 /usr/X11R6/lib 都要有 libGL

We do not recommend removing the Mesa libraries from /usr/X11R6/lib
我们不建议从 /usr/X11R6/lib 移除 Mesa 库

另:
Mesa是一个3D图形库
术语之类,如果不知怎么翻,可以用E文。
独自看一看大海
总想起身边走在路上的朋友
Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

[WWW]没有必要翻译出来

#8

帖子 millenniumdark » 2005-07-23 16:45


[WWW]有没有必要翻译出来?
没有必要。因为文章原来是在网页上的
[WWW]表示这里本来是一个超链接

这个不关翻译的事。
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#9

帖子 oneleaf » 2005-07-28 12:10

当净其意如虚空,远离妄想及诸取,令心所向皆无碍
头像
lyreopera
帖子: 771
注册时间: 2005-05-23 13:38
来自: gdsz

#10

帖子 lyreopera » 2005-08-28 1:58

吐血了……

找到一篇有点老的东西:

http://www.ftvnet.net/printthread.php?t=3271
……
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

#11

帖子 millenniumdark » 2006-07-30 20:04

便携可擦写驱动器
flash翻成闪存较好吧
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

#12

帖子 millenniumdark » 2006-07-30 20:07

†vendor(这个没法译了,小贩?)
这个应该是指生产游戏的公司名。
比如说conami公司的yugioh- joey the passion游戏,在开始菜单里显示为conami(只是举个例子) :D
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

#13

帖子 millenniumdark » 2006-07-30 20:23

校对后的译文
http://wiki.ubuntu.org.cn/Cedega

英文新加了一些内容,等待翻译。
回复