You are not logged in.
This will finally work fo me!! TRY it and tell me your Problems
I wrote a PKGBUILD for the CVS-Version of cedega.
I know there´s a very good script for installing/updating/removing cvscedega called WineCVS.sh. And a good instruction how to use it here.
I´ve this script breaks for you have look at the Arch Linux wiki.
But i want to handle the installation of cvscedega with pacman. That´s the reason for this PKGBUILD.
PKGBUILD
pkgname=cvscedega
pkgver=20052101
pkgrel=1
pkgdesc="CVS-Version of cedega, for playing Windows games under Linux"
url="http://www.transgaming.org"
license="Aladdin Free Public License"
depends=('glut' 'fontconfig' 'freetype2' 'bison' 'flex' 'libjpeg' 'libpng' 'zlib')
makedepends=('cvs' 'wget')
source=( )
install=cvscedega.install
build() {
cd $startdir/src
#Downloading the sources
cvs -d:pserver:cvs:cvs@cvs.transgaming.org:/cvsroot login
cvs -z3 -d:pserver:cvs@cvs.transgaming.org:/cvsroot co winex
#build
cd winex/tools
mv widl/ppl.l widl/ppl.l.new
tail -n1388 widl/ppl.l.new > widl/ppl.l
mv wrc/ppl.l wrc/ppl.l.new
tail -n1388 wrc/ppl.l.new > wrc/ppl.l
cd ..
./configure --enable-pthreads --with-x --enable-opengl --prefix=/usr/lib/cvscedega
make depend
make || return 1
mkdir -p $startdir/pkg/usr/lib/cvscedega
make prefix=$startdir/pkg/usr/lib/cvscedega install
cd $startdir
mkdir -p pkg/usr/bin
install -m755 cvscedega pkg/usr/bin
}
you also need two other files. Copy them to you buildpath
cvscedega
#!/bin/bash
export WINEPREFIX="$HOME/.cvscedega"
/usr/lib/cvscedega/bin/wine $0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10
cvscedega.install
# This is a default template for a post-install scriptlet. You can
# remove any functions you don't need (and this header).
# arg 1: the new package version
pre_install() {
if ! [ `grep '/usr/lib/cvscedega/lib' etc/ld.so.conf` ]; then
echo "/usr/lib/cvscedega/lib" >>etc/ld.so.conf
sbin/ldconfig -r .
fi
}
# arg 1: the new package version
post_install() {
/bin/true
}
# arg 1: the new package version
# arg 2: the old package version
pre_upgrade() {
/bin/true
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
/bin/true
}
# arg 1: the old package version
pre_remove() {
/bin/true
}
# arg 1: the old package version
post_remove() {
/bin/true
}
op=$1
shift
$op $*
There won´t be a fake-windwos-drive or a config-file after the installation. You can download it here extract it into you /home/<username>.
cd
tar -xvzf cvscedega_Cdrive.tar.gz
[/code]
Offline
you have 2 spelling errors. the configure line must be:
./configure --enable-pthreads --with-x --disable-trace --enable-opengl --disable-debug --prefix=/opt/cvscedega
which version of cedega is in the cvs repos? i've thought that transgaming stopped "free" distribution of their products via cvs?
Offline
It was very late yesterdy night. There were much more mistakes in the PKGBUILD
Offline
Transgaming doesn't like linux distros putting pre-compiled cedega packages in their repos. I guess they feel like people will just install the cvs version and forget that they can buy a full version for $5/mo. I heard that they have threatened to remove CVS access in the past if linux distros didn't stop packaging their product.
Offline
The difference is that this one isn't in an officiall responsitory, so they can' threaten to remove it of the distribution, since it never was a real part of the distribution.
Of course, they forced to remove the ebuild of the gentoo portage, but there still are working ebuilds around. That's something users are doing, and what transgaming can not gain control of.
STi
Ability is nothing without opportunity.
Offline
When trying to makepkg I get the following
make[1]: Leaving directory `/var/abs/local/cvscedega/src/winex/tsx11'
make[1]: Entering directory `/var/abs/local/cvscedega/src/winex/dlls'
Makefile is older than Makefile.in, please rerun ../configure
make[1]: *** [Makefile] Error 1
make[1]: Leaving directory `/var/abs/local/cvscedega/src/winex/dlls'
make: *** [dlls] Error 2
==> ERROR: Build Failed. Aborting...
Edit: This was an issue with my configuration. Cedega compiled but now it can't find it's config files.
Offline
HI. There´s no config/fake-windows-drive after the installation.
Download THIS and unpack it into /home/<username>.
cd $HOME
tar -xvzf cvscedega_Cdrive.tar.gz
After this, fake-windows-drive and config-file will be in /home/<uername>/.cvscedega. So cvscedega can be installed next to native wine without trouble.
And if you speak german, here´s another usefull link for cvscedega/wine.
http://www.linuxforen.de/forums/showthr … 570#248570
[/code]
Offline
Hi, I used the configure flags that cstorm suggested. I'm pretty sure it compiled fine and installed fine (I came back and there were no errors).
But when I try to run executables I get this error:
err:wave:OSS_WaveOutInit OpenDevice failed (1)
Warning: unprotecting the first 64KB of memory to allow real-mode calls.
NULL pointer accesses will no longer be caught.
/usr/lib/cvscedega/bin/wine: can't exec '/usr/bin/cvscedega ./i_view32.exe ./i_view32.exe0': invalid exe file
And the program doesn't run. I haven't really dug around much as I only just tried it out but any help would be appreciated.
Thanks
Offline
Sorry, But i can´t help you.I´m not a cedega/wine-guru. I just wrote this PKBUILD for myself, to handle cvscedega with pacman.
The best way to solve you problems may be, going to the Transgaming-Forum.
Or yoz can go into the #cedega channel on irc.freenode.net.
Offline
Can you play HL 2 with the CVS version of Cedega or do you need some extra stuff to run it?
Offline
I haven´t tried it. Only played CS 1.6 Condition zero and CS Source with cvscedega.
Works godd for me without any "extra-stuff"
Offline
The CVS version of Cedega doesn't support InstallShield and copy protection schemes used in lots of newer games. Other than that, I'm pretty sure the only other thing missing is Point2Play, which isn't really necessary. Is there a HL2 demo or something floating around?
Offline
I'm installing my games on WinXP and then run em through cedega, guess I don't need InstallShield or Point2Play thingies;)
I don't know about HL2 demo, but the game is awesome...time consuming though;) Guess i'll try the CVS Cedega real soon as I'm not eager to sit on WinXP too often
Offline
ill give you a tip, I've been using the 2.6.10-ck5 kernel and since updating it, i've been getting a vast increase in games performance in cedega.
http://members.optusnet.com.au/ckolivas/kernel/
have fun!
Offline
Hi, I used the configure flags that cstorm suggested. I'm pretty sure it compiled fine and installed fine (I came back and there were no errors).
But when I try to run executables I get this error:
err:wave:OSS_WaveOutInit OpenDevice failed (1)
Warning: unprotecting the first 64KB of memory to allow real-mode calls.
NULL pointer accesses will no longer be caught.
/usr/lib/cvscedega/bin/wine: can't exec '/usr/bin/cvscedega ./i_view32.exe ./i_view32.exe0': invalid exe fileAnd the program doesn't run. I haven't really dug around much as I only just tried it out but any help would be appreciated.
Thanks
Hmm.. now I've got the same error message. Any luck?
Offline
Warning: unprotecting the first 64KB of memory to allow real-mode calls.
NULL pointer accesses will no longer be caught.
/usr/lib/cvscedega/bin/wine: can't exec '/usr/bin/cvscedega hl2.exe hl2.exe0': invalid exe file
fixme:xrender:X11DRV_XRender_Finalize Free cached glyphsets
Same here. I'll try to compile cvs-cedega normally.[/code]
Offline
When trying to log in to Cedega CVS repository I get:
cvs -d:pserver:cvs@cvs.transgaming.org:/cvsroot login
Logging in to :pserver:cvs@cvs.transgaming.org:2401/cvsroot
CVS password:
PAM start error: Critical error - immediate abort
Fatal error, aborting.
cvs [login aborted]: unrecognized auth response from cvs.transgaming.org: pam failed to release authenticator
That's preety annoying. :x
Do you also encounter this error?
Offline
I figured out whats going on with this error.
Warning: unprotecting the first 64KB of memory to allow real-mode calls.
NULL pointer accesses will no longer be caught.
/usr/lib/cvscedega/bin/wine: can't exec '/usr/bin/cvscedega hl2.exe hl2.exe0': invalid exe file
The 0 at the end of the exe gives it away.
Change cvscedega file as follows.
#!/bin/bash
export WINEPREFIX="$HOME/.cvscedega"
/usr/lib/cvscedega/bin/wine $1 $2 $3 $4 $5 $6 $7 $8 $9 $10
For some reason its reading it wrong when $0 is there, works fine without it.
Offline
Something is going terribly wrong during make of that script. I also tried it the PKGBUILD way, same error. Which leads me to believe it's either my poor skills, something missing in my system or something wrong with the code. Since I'm the only one reporting this (here) I tend to think it's my system or me.
Does anyone know anything that might resolve this?
Part of the presented errorlog:
make[1]: Leaving directory `/root/.WineCVS/sources/cvscedega/winex/dlls'
make[1]: Entering directory `/root/.WineCVS/sources/cvscedega/winex/miscemu'
LD_LIBRARY_PATH="../unicode:$LD_LIBRARY_PATH" ../tools/winebuild/winebuild -fPIC -L../dlls -o wine.spec.c -spec wine.spec
gcc -MMD -c -I. -I. -I../include -I../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fno-keep-static-consts -D__const=const -fno-strict-aliasing -D__int8=char -D__int16=short -D__int32=int "-D__int64=long long" -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o wine.spec.o wine.spec.c
gcc -MMD -c -I. -I. -I../include -I../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fno-keep-static-consts -D__const=const -fno-strict-aliasing -D__int8=char -D__int16=short -D__int32=int "-D__int64=long long" -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o main.o main.c
main.c: In function `main':
main.c:114: warning: implicit declaration of function `set_shared_memory_reserved'
ld -r wine.spec.o main.o -o miscemu.o
make[1]: Leaving directory `/root/.WineCVS/sources/cvscedega/winex/miscemu'
gcc -o wine miscemu/miscemu.o -L./dlls -lntdll -L./library -lwine -L./unicode -lwine_unicode -L./port -lwine_port -lm
miscemu/miscemu.o(.text+0x133a): In function `main':
/root/.WineCVS/sources/cvscedega/winex/miscemu/main.c:114: undefined reference to `set_shared_memory_reserved'
miscemu/miscemu.o(.text+0x1383):/root/.WineCVS/sources/cvscedega/winex/miscemu/main.c:118: undefined reference to `wine_mmap_add_reserve'
collect2: ld returned 1 exit status
make: *** [wine] Error 1
Error in Make
Try fixing the error based on the output above, and
run the script again, without paramaters (Eg: WineCVS.sh)
Offline
Right. Having no experience with programming in whatever way I just thougt I'd remove the lines that gave the error. Since it wined about implicit declaration, I commented out that line. Then, well, it didn't complain about that anymore. (.WineCVS/sources/cvscedega/winex/miscemu/main.c:114).
Further on, then, it complains about an undefined reference. Well, if it's undefined, I don't need it, I thought. .
Again, remember: I am not bothered by any knowledge of c.
Well, it DID complete and gave me the message
Installing launcher script ...
Packing sourcetree...
All done ... CVS installed
Installed as: cvscedega
Config path : <homedir>/.cvscedega
I'll check back here with further results. (I do not expect it to work, though.)
Offline
it is cvs... so its expected to break...
Offline
mvdlubbe: I tried your trick and got the same errors and made the same fixes. It finished and installed, but cvcedega crashes all the time
time to go wash some cars and scrounge up 15 bux
Offline
Well, I wouldn't go as far as calling it a trick .
I was struggling with alsa sound problems in cedega.(Thing wanted to use /dev/snd/req but that doesn't exist) Now I suddenly didn't feel like playing puzzles anymore so I put that on hold.
But yes. 'Progress' so far is that I saw the thing say it's installed okay but then never do anything.
Maybe I too gonna have to go get my hands dirty washing cars...
Offline
I'm, ehm, somewhat surprised but I just played Quake III in cvscedega. Cedega is complaining about not being able to open the OSS sound device but I was able to play.
No idea if it's going to work for anyone else and I'll mention it when I got sound working. But at the moment I don't think that is a related issue...
Offline
You have lost the lead
The sound problem was unrelated. It was just silly me having the wrong dsp device. Not of any significent interest to this topic.
However: I can state that for me, commenting out the two sections
set_shared_memory_reserved
wine_mmap_add_reserve
in main.c solved the make problem and subsequently made cvscedega install correctly.
Offline