Click to See Complete Forum and Search --> : Half-Life & Wine
animex2
04-17-2003, 11:51 AM
I am trying to run Half-Life using Codeweavers wine. It loads up and stuff. When i click on single player or hazard corse or whatever, The game says loading for awhile. Im trying to run Half-Life in OpenGL mode using Codeweavers Wine. I also am trying to get RTCW to work. Im aware there is a Linux version but im trying to use the windows version. When im loading it, it tells me there is no open gl.
I tried downloading WineX but every time i did i got some error. So im trying this using Codeweavers Wine. Any idea how to fix or suggestions?
onlythetony
04-17-2003, 12:02 PM
I'm no expert on Wine.. but I was under the impression that Wine-X is needed to translate any Micro$oft Direct-X instructions (hence the "X" in the name) which I assume the standard Wine cannot do.
What is the error you get when you try to download Wine-X?
animex2
04-17-2003, 12:09 PM
Im downloading the WineX from here -
http://ting.homeunix.org/cvs_wine/GetWineX.html
I got this error in the stage of Make
Im not logged in as SU. Anyone know what im doing wrong?
--------- Error log - file /home/louis/temp/cvswinex/.ErrorLog : ---------
ts_xlib.c: In function `TSXOpenIM':
ts_xlib.c:1176: `XIM' undeclared (first use in this function)
ts_xlib.c:1176: parse error before "r"
ts_xlib.c:1178: `r' undeclared (first use in this function)
ts_xlib.c:1178: warning: implicit declaration of function `XOpenIM'
ts_xlib.c:1178: `a0' undeclared (first use in this function)
ts_xlib.c:1178: `a1' undeclared (first use in this function)
ts_xlib.c:1178: `a2' undeclared (first use in this function)
ts_xlib.c:1178: `a3' undeclared (first use in this function)
ts_xlib.c: At top level:
ts_xlib.c:1183: parse error before "TSXCheckIfEvent"
ts_xlib.c:1183: parse error before '*' token
ts_xlib.c:1183: warning: type defaults to `int' in declaration of `TSXCheckIfEvent'
ts_xlib.c:1183: `TSXCheckIfEvent' declared as function returning a function
ts_xlib.c:1183: warning: type defaults to `int' in declaration of `XPointer'
ts_xlib.c:1183: parse error before "a3"
ts_xlib.c:1186: warning: type defaults to `int' in declaration of `wine_tsx11_lock'
ts_xlib.c:1186: `wine_tsx11_lock' redeclared as different kind of symbol
../include/ts_xlib.h:18: previous declaration of `wine_tsx11_lock'
ts_xlib.c:1186: warning: data definition has no type or storage class
ts_xlib.c:1187: warning: type defaults to `int' in declaration of `r'
ts_xlib.c:1187: `r' used prior to declaration
ts_xlib.c:1187: warning: implicit declaration of function `XCheckIfEvent'
ts_xlib.c:1187: `a0' undeclared here (not in a function)
ts_xlib.c:1187: `a1' undeclared here (not in a function)
ts_xlib.c:1187: `a2' undeclared here (not in a function)
ts_xlib.c:1187: `a3' undeclared here (not in a function)
ts_xlib.c:1187: initializer element is not constant
ts_xlib.c:1187: warning: data definition has no type or storage class
ts_xlib.c:1188: warning: type defaults to `int' in declaration of `wine_tsx11_unlock'
ts_xlib.c:1188: `wine_tsx11_unlock' redeclared as different kind of symbol
../include/ts_xlib.h:19: previous declaration of `wine_tsx11_unlock'
ts_xlib.c:1188: warning: data definition has no type or storage class
ts_xlib.c:1189: parse error before "return"
ts_xlib.c:1192: parse error before '*' token
ts_xlib.c:1192: parse error before '*' token
ts_xlib.c: In function `TSXSynchronize':
ts_xlib.c:1194: parse error before '*' token
ts_xlib.c:1196: warning: implicit declaration of function `XSynchronize'
ts_xlib.c:1196: `a0' undeclared (first use in this function)
ts_xlib.c:1196: `a1' undeclared (first use in this function)
ts_xlib.c:1196: warning: assignment makes pointer from integer without a cast
ts_xlib.c: At top level:
ts_xlib.c:1201: parse error before '*' token
ts_xlib.c:1203: parse error before '*' token
ts_xlib.c: In function `TS_XInitImageFuncPtrs':
ts_xlib.c:1206: `a0' undeclared (first use in this function)
make[1]: *** [ts_xlib.o] Error 1
make[1]: Leaving directory `/home/louis/temp/cvswinex/wine/tsx11'
make: *** [tsx11/libwine_tsx11.so] Error 2
onlythetony
04-17-2003, 12:30 PM
This may be a daft question.. but are you trying to install it as root or as a "normal" user?
Perhaps attempting the install as superuser (su) may help.
sasKuatch
04-17-2003, 12:42 PM
You can configure Half-Life to use software rendering and it shall work. If you want OpenGL rendering get the wine source and compile it with OpenGL support and that'll work for any OpenGL app that wants to run with wine. As for RtCW I see no reason you would want to use the windows version.
animex2
04-17-2003, 05:59 PM
I tried running half life with its normal software. Still does not work.
I will try installing it as a SU. That may work.
I am trying to get RTCW to work as a test, once that works i know most of my games will.
animex2
04-17-2003, 06:10 PM
I installed in SU (root) it still didnt work, got same error.
trondum
04-17-2003, 06:20 PM
What video card are you using?
If it's Nvidia, you must install the driver before you can use opengl. (might explain RtCW)
animex2
04-17-2003, 06:34 PM
A onboard video card made by Intel. I upgraded the drivers when i was in WinXP if that means anything.
I dicided to install wine from another place. I got this error than -
*** Warning: X development files not found. Wine will be built without
*** X support, which currently does not work, and would probably not be
*** what you want anyway. You will need to install devel packages of
*** Xlib/Xfree86 at the very least.
I have Xfree86 installed from RPM on the mandrake 9.1 CD 2. I am trying to work on this instead of the other type. Anyone know what the problem could be now?
sasKuatch
04-17-2003, 07:58 PM
Originally posted by animex2
I tried running half life with its normal software. Still does not work.
I will try installing it as a SU. That may work.
I am trying to get RTCW to work as a test, once that works i know most of my games will.
Can't really test compatibility that way, it all depends on how the program was written. Something as complex at a game (UT, Unreal, etc) might run fine, but the dinkiest little pathetic excuse for a program might not.
animex2
04-17-2003, 10:25 PM
I found out something intresting tonight. When i installed wine from a .tar file i downloaded, when i typed in wine nothing loaded. And i looked in /usr/local/bin/ and there was no file called wine. I belive thats why when i type in wine it doesnt work :-/ Know how to fix this or what i did wrong?
sasKuatch
04-18-2003, 08:07 PM
Wine is usally just a link to wine-bin or something like that (sorry, don't have it installed ATM). I take it you compiled from source? Check /op just for the heck of it, and also /usr/bin
animex2
04-18-2003, 08:31 PM
i got that error fixed, it was beacuse Xfree86 wasnt installed
Now im having problems with opengl
It is telling me open gl isnt in ..../GL/glu.h but i ran a search and it was in that folder, check the other post for details. It still wont work
sasKuatch
04-19-2003, 08:31 PM
I don't know, I've never messed with it much. I might be able to figure it out if it were on my box, but I"m not telepathic. *shrugs*
animex2
04-19-2003, 08:56 PM
i fixed all my problems sorta....
I got winex from CVS all installed
Than someone tells me i cant run it on Mandrake 9.1 beacuse the GLIBC is too new for WineX cvs to run on, i need to wait for a new cvs release
sasKuatch
04-20-2003, 12:42 PM
Did you try it? I never heard of anything being too new:confused:
trondum
04-22-2003, 02:15 PM
The threads implementation in WINE is currently a hack-job. Linux threads have only recently come of age and WINE had to override some of the methods used for threading to get it to work. Glibc-2.3 upgrades the linux threads to have the features WINE needs, but WINE hasn't been upgraded yet since it would break backward compatability with all distributions that don't use glibc-2.3 (all but Mandrake 9.1 and RH 9)
WineHQ (winehq.com) lists the hacked fix in Issue #164: Run configure with --with-nptl (Native POSIX Thread Library) to compile for glibc-2.3.
Winex may or may not have this patch already applied. It wouldn't hurt to try. You might also try out the version directly from winehq. It runs Wolf fine on my system (RH 9, ATI).
Disclaimer: I am not a threads expert. I recently went through the hassle of finding all this out when WINE broke after upgrading from RH8 to RH9.
Icarus
04-22-2003, 02:28 PM
WineX should have the fix in the CVS by now, the latest WineX3.0 seems to work with RH9 without much problems. If it does give you problems try running it with [-use-pthreads <yes/no>]
Transgaming does say that the stock RedHat Kernel has issues with WineX, read the WineX 3.0 Release Notes (http://downloads.transgaming.com/files/winex-3_0_releasenotes.txt) for full details