Wiki Ubuntu-it

Indice
Partecipa
FAQ
Wiki Blog
------------------
Ubuntu-it.org
Forum
Chiedi
Chat
Cerca
Planet
  • Pagina non alterabile
  • Informazioni
  • Allegati

Versione 3 del 17/11/2005 17.59.27

Nascondi questo messaggio

BR


Guida all'installazione del software Cedega su Ubuntu.

Documento originale: https://wiki.ubuntu.com/Cedega Traduzione di: BlackDesert

Procurasi Cedega

Cedega è un prodotto commerciale, disponibile per l'acquisto sul sito: http://transgaming.com

E' possibile utilizzare la versione CVS di Cedega (che è free), le istruzioni per installarla si trovano a questo indirizzo: http://www.linux-gamers.net/modules/wfsection/article.php?articleid=45

Installazione di Cedega

Installate il pacchetto Debian:

sudo dpkg  -i  cedega_[version].deb

Installazione di un gioco con Cedega

Installazione da CD o DVD

Localizzate il file eseguibile corretto ed installate il gioco con questi comandi (da terminale):

cedega  /media/cdrom/setup.exe  

L'esempio sopra, supponendo che il vostro cdrom sia montato in /media/cdrom e il file d'installazione sia setup.exe

Nota - E' possibile che siano rilevati degli errori durante questa fase. In genere non sono rilevanti.

Installazione dall'hard disk

Se avete abbastanza spazio libero, potete copiare il contenuto di ciascun CD in Transgaming_Drive all'interno della vostra directory home. In questo caso non incorrerete in problemi derivanti dal cambio di CD. Ora digitate da terminale:

cd ~/TransGaming_Drive

Individuate il file eseguibile d'installazione ed installate il gioco digitando:

cedega setup.exe

anche in questo esempio supponendo che il nome del file sia 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.

attachment:IconsPage/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.

attachment:IconsPage/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 [http://www.megagames.com/ 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.

attachment:IconsPage/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.

Low FPS

If you get only 15-30 fps

renice 17 -p `pgrep wineserver`

Resources

[http://www.pcinpact.com/articles/d/51/1.htm Install and configure Cedega (CVS and normal version) and install World of Warcraft (in french)]


CategoryDocumentation CategoryGames