All pastes #15436 Raw Edit

cedaga

public text v1 · immutable
#15436 ·published 2005-06-21 22:49 UTC
rendered paste body
Using a Cedega Package (not downloaded and installed via P2P) with Point2Play
============================================================================
Point2Play can now make use of Cedega installed through regular 
package management (tgz, rpm or deb) although it should be noted that there
is no functional difference. You have two choices on how to use these
versions of Cedega from Point2Play.

1) Set up a global RC file
--------------------------

Using this method you can set up versions of Cedega that are accessible by an
user on your machine that uses Point2Play. 

Create a file, as root, called /usr/lib/transgaming_point2play/Point2PlayRC, 
and set it up as follows:

[winex]
<version number>=<path to installed cedega>:<cedega start script>

Versions of Cedega 4.0 or later require the addition of a special identifier
called a version credential, which lets Point2Play know about the
particular features supported by that version of Cedega.  This is required
because although you are recommended to fill in the space "<version number>"
above with the actual version number you are trying to use, you can actually
put almost anything you want as the version number (in case for example you want
several versions installed for testing)

Unlike previous versions of Point2Play, you only need to include the HIGHEST
version number credential that applies. If you wish to be compatible with
an older version of Point2Play you need to include a 4.0 and 4.0.1 credential
together. Also older versions of Point2Play will not react nicely to newer
credentials.

The credentials that currently exist are:
<40f> = Cedega version 4.0 (and > ) features
<401f> = Cedega version 4.0.1 (and > ) features

For example, in 4.0: 
[winex]
<40f>4.0=/usr/lib/transgaming_cedega:/usr/bin/cedega

And in 4.0.1 (and later):
<401f>4.0.1=/usr/lib/transgaming_cedega:/usr/bin/cedega

There is a line for each version of Cedega installed.

You can also set a default version of Cedega for all users by adding an entry:
default=<version>
(This can be overridden on a user by user basis)


An example /usr/lib/transgaming_point2play/Point2PlayRC file:
[winex]
default=4.0.1
<401f>4.0.1=/usr/lib/transgaming_cedega:/usr/bin/cedega
3.2.1=/usr/lib/transgaming_winex3:/usr/bin/winex3


2) Add an entry to your local RC file
-------------------------------------

Inside ~/.point2playrc, add a line in the following format:

<version number>=<path to installed cedega>:<cedega script>

Versions of Cedega 4.0 or later require the addition of version credential to unlock 
the special configuration options and other features only supported in the newer versions
of Cedega.  Unlike previous versions of Point2Play, you only need to include the HIGHEST
version number credential that applies. If you wish to be compatible with
an older version of Point2Play you need to include a 4.0 and 4.0.1 credential
together. Also older versions of Point2Play will not react nicely to newer
credentials.

The credentials that currently exist are:
<40f> = Cedega version 4.0 (and > ) features
<401f> = Cedega version 4.0.1 (and > ) features

For example: 
[winex]
<401f>4.0.1=/usr/lib/transgaming_cedega:/usr/bin/cedega



1. /usr/lib/transgaming_point2play/Point2PlayRC --->> 

[winex]
default=4.3.2
<4.3.2f>4.3.2=/user/lib/transgaming_cedega:/usr/bin/cedega

-----------------------------------------------------------------

2. ~/.point2playrc --->>

[transgaming]
gamedir=$HOME/.point2play

[winex]
<4.3.2f>4.3.2=/user/lib/transgaming_cedega:/usr/bin/cedega