Click to See Complete Forum and Search --> : WineX error...
Siskmarek
02-04-2002, 01:42 AM
Whenever I try and run an executable it says this:
No built-in EXE module loaded! Did you create a .spec file?
This problem has probably come up before, but forum search is broken, and google reveals nothing.
This is with the latest CVS from Transgaming..
~ Siskie
Icarus
02-04-2002, 09:44 AM
I've seen this before, but can't remember where...I think it's posted in the Transgaming forums...
Just checked...yes it is, but no answer yet (was just posted the other day). I'll keep an eye on that thread, I have another one up there for myself :)
[ 04 February 2002: Message edited by: mahdi ]
Siskmarek
02-04-2002, 09:33 PM
*keeps eye on thread, as well*
~ Siskie
Icarus
02-04-2002, 11:36 PM
by wulfram<STRONG>The CVS source may be buggy, I suggest you try the binaries.</STRONG>
He must be part of the team to suggest binaries :)
I downloaded the CVS last night and I haven't seen a single difference in anything, same errors, same bugs...did I do it right?
Never used CVS before...what a n00b I am! :p
Siskmarek
02-05-2002, 02:00 AM
Aren't you supposed to be a paying member of Transgaming before you can have access to the binaries?
~ Siskie
Icarus
02-05-2002, 09:47 AM
Yes, but I am so I don't have a problem :)
Support Linux gaming and pay the $5/month :p
I tried the CVS again last night, I'm sure I was doing it right and still have no noticable changes in it behaviour...maybe try the CVS again? They do update that frequently...
ScRapZ_1
02-05-2002, 10:10 PM
No, you did do it right... I tried WineX CVS last Thursday... and I got the exact same error. I just installed the Codeweavers wine that I had and it worked fine. (Hey, that rhymes! :D ) So maybe its a bug in the source... I'm not going to even THINK of doing it myself!
TTFN,
ScRapZ_1 :p
Siskmarek
02-05-2002, 10:32 PM
I dunno.. those Transgaming dudes sound a bit shady.. my bro was paying 5 bucks a month but then he lost his username and password ( :rolleyes: ) and now he wants to quit... all he gets from Transgaming and an associated payment handling company is the run-around. My brother's pissed...
Granted, I remember passwords a lot better.. but if their user support is gonna be THAT crappy...
And I tried the codeweavers RPM... contrary to what has been said here, OpenGL does not work through this implementation of Wine. I'm stuck using butt-ugly software mode in Half-Life.. =/
~ Siskie
nathaniel
02-06-2002, 01:37 AM
no u are not (u can see my post in LNO Ideas: where's the NHFs I've submitted!) heres the install ground up for codeweavers rpms w/opengl support!
Installing Wine, Half-life and CS in Linux Focusing in Linux RedHat 7.1.
Credit where credit is do:
All that I learn I have learned by doing w/ the exception of gathering the last tit-bits from this is from a site, which does a world of good for the Linux wine community:
http://lhl.linuxgames.com/
Individual thanks:
Mark Myers (Closer) //testing and extra input
Quick Summary:
What I plan on doing is really a preference, meaning that I use Codeweavers wine rpms because of the easy of auto-detecting devices (hard drives, cd-roms, etc) scripts that they wrote. Also for Open-GL applications like Half-Life (called HL from now on) your Video Drivers need to be installed. I have a NIVIDA Geforce X2 card which fully functions under RH 7.1. If anyone has trouble getting NVIDIA cards to run Let me know and I will update the HOW-TO to include the video card driver install (just e-mail nbentzinger{NODAMSPAM!}@hotmail.com me). Like all applications that run in Linux make sure that when you run wine you run as a non-root like account, if you don’t (I learned this from experience) you will end up writing to files you shouldn’t do in which you will not see X w/out a reinstall L
Files needed:
All files unless noted can be found at www.rpmfind.net (http://www.rpmfind.net) make sure u check your file versions before downloading to make your life easier.
Codeweavers-wine-20010305-1.i386.rpm
Codeweavers-wine-20010305-1.src.rpm
(You can get both at www.codeweavers.com/wine/download.html) (http://www.codeweavers.com/wine/download.html))
itcl-3.1.0-53.i386.rpm or newer
glext.h http://lhl.linuxgames.com/glext.h http://lhl.linuxgames.com/glext.h
(Need to right click and Save Link-As)
Half-life CD
Counter-Strike full install patch www.couter-strike.net (http://www.couter-strike.net)
Opposing Force CD (Optional)
Installing Wine: The Basic Concept
::I assume that you have installed the correct Open-GL drivers for your video card, that they work, and you have mounted all partitions (including windows if you have them) if not read the first paragraph::
First what we are going to do to make life a lot easier is to first check for any wine installs:
# rpm -qa |grep wine
<uninstall any packages w/ rpm -e (the exact name that shows up) >
then to double check:
# rpm -qa|grep WINE
<uninstall any packages w/ rpm -e (the exact name that shows up) >
This removes any possibility of any RPM versions of wine that you could have installed previously. Next we install the itcl rpm file:
# rpm -ivh itcl-3.1.0-53.i386.rpm
Then the Codeweavers-pre3.i386.rpm package:
# rpm -ivh codeweavers-wine-20010305-1.i386.rpm
Doing this we are able to save some time compiling a lot of extra ‘make’ files that don’t always work under RH. Next we are going to install the source code for the package we just installed. This will allow us to compile in the open-GL that is needed. Lets just check to see if you have the glext.h file on the computer:
# updatedb
# locate glext.h
It should be in:
"/usr/X11R6/include/GL/”
But mine ended up in:
"/usr/X11R6/include/”
If yours is not where it should be then just do:
# mkdir /usr/X11R6/include/GL/
# cp /<dir where glext.h is>/glext.h /usr/X11R6/include/GL/
Great, now we are going to go and install the source version of the wine from Codeweavers:
# rpm -ivh codeweavers-wine-20010305-1.src.rpm
This will dump a tar file into the /usr/src/linux/SOURCES/:
# cd /usr/src/linux/SOURCES/
Now inside are all the files that we will need. Lets open the files:
# tar -zxf <codeweavers-wine>.tar.gz
# cd <codeweavers-wine>
Here is want needs what we need to tell the configure file:
# ./configure --enable-opengl --with-x
The --with-x shouldn't be needed but you never know. This could take a bit but once it is done look for lines talking about glext.h file being found if it isn't then do the following:
# rm config.cache
This removes the file that holds all the locations where it found the files it use from Linux to "make" wine. ***If you don't remove this file and then correctly cp the glext.h file it will still show that it can't find the glext.h file, that is why it is called config.CACHE *** If all works well lets move on.
Do what the configure file tells us once the glext file is found:
# make depend
A lot of code pops up and it may take awhile but that is ok since we are doing this for HL & CS (Counter-Strike). This next step you might want to go for a smoke or grab a beer watch two half-hour programs in a row.
# make
or
# make > wine_log_file& (this logs all output to the file wine_log_file and the '&' puts it in the background so you can do other things)
This really takes along time. I recommend running X to check for errors. If you full screen the terminal that you are compiling on or run the log option, you will be able to correctly identify an errors. My install took about an hour and my system is a 700mhz Athlon classic w/ 256mb ram 10k rpm SCSI hard drives. If you have less of a machine just go make your self a sandwich :)
Once that is done run:
# make install
This will drop all the newly created files to the correct directory. This point is also critical. When I would run this part or the 'make' part sometimes it would complain that it couldn't find a file. It would say this about 10 lines from when it finishes. If you have this problem and the missing file was expected to be in a ../bin directory (example /usr/local/bin and you do a 'locate <file name> and you find it in a ../bin send me an e-mail w/ this report and I will let you know want course of action to take, I have in the past, just copied the needed files to the directory where it was looking for them.
Hopefully all complied well for you.
Our next step is to login in as a no-root account, then run:
# winesetup
Configuring Wine: Knowing your system
Congrates, you will see a little tux if you got it right :-) If not make sure you did not open X as root and are just ‘su’ing to another user. ::me shakes his finger. Now here is where the road forks, do you have a windows partitions on the box or do you not have one and would like to have wine pretend to have a windows partitions (it doesn't effect partitions at all it just uses your /tmp and /opt directory for the wine windows) *** IF you install wine using an existing windows partitions keep in mind when it talks about configuring the "Feel" of windows make sure that you chose the correct version of windows that you have on the partition, I once by accident chose win95, needless to say I had to run a “D:\setup /iv /is” in dos to get my windows back. (Ex. win98 for win98 and win98se, win95 for win95, or win3 for old windows [not recommended]).
The first screen asks about where wine.conf is, if you have one you can show wine where it is I recommend making a clean one, since systems change often.
Next the program will auto detect whether you have a windows partitions I recommend specifying that you want to use a fake windows install, also I have in my system installed the fake system into a dir called /tmp/windows/ instead of the default since this can allow anyone to access it in the same group. If you have a partition that is really empty and will be empty like /usr for example make a dir called /usr/local/applications/windows/ for the fake windows install.
The next window talks about what wine will emulate: (at this point if anything messes up you can still rerun this program and it will backup your wine.conf w/ the date on it)
Set the windows version to win98, and click on the window mode on the left.
I set it to managed or desktop just incase of a problem with wine crashing (yes it is common). Also I find that running wine from a terminal window in X is better because you can see in pending wine crashes. If you leave it unmanaged half-life will run in the upper left hand corner of the screen possibly blocking icons you need and you will not be able to move it.
Next click on Drives on the left, just check out if wine detected your partitions correctly. *** Make sure that your cd-rom(s) are detected right. It reads the /etc/fstab but u never know***
Next click on "Look & Feel" and click on "use dga", "Double-buffered desktop" and "use X shared Memory" I have seen reports that some options in here need to off instead, if you can't get half-life install (explained later on) then try taking some of these off or on to test.
Once this is all done hold your breath and click the Finish button on the bottom.
Installing HALF-LIFE: The reasons we exist and miss our 5:30pm Discrete classes (just one more round, then class. . .).
3/4s of the way done. Sweet!
For a quick test open a console up and check if wine works
# wine
You should get back a list of Options, if it says it couldn't find a lib.so file (mine couldn't find libntdll.so) just do:
# updatedb
# locate <lib file name>
# cd <to dir of the lib>
# cp *.* /usr/lib/
(I know there is some line in the configure file I can set to avoid this but I have tried endlessly reading the configure file. If you know what to do just e-mail me and I will add it in to the next revision (by the way just coping the files in my experience has no effect on the install and functionality of HL, it just makes it work)
Ok in X pop in your HL ‘cd’ into your cd-rom. auto mount should mount your cd and you should have a windows, which you can just click on the setup.exe file (only if it shows up w/ a little wine glass on it [WINE]). If the cdrom auto mount doesn’t pop up go into a console and run:
# mount /dev/cdrom/
# cd /mnt/cdrom/
# ls (to check and see if it mounted)
# wine setup.exe
or
# wine SETUP.EXE
*** Make sure you do not install direct X as it will crash wine***
Well you can exhale now if you see a Serria setup window (make sure it completely prepares for the install, meaning you see a full screen HL install beginning to try to test your sound), if it fails at 99% go back to the "winesetup” and under the "look and feel" section play around w/ the settings"
From here just simply install HL where u please, (I chose /tmp simply because I have /tmp at 2.5 gigs and only 300mb are taken) it might talk about it not being able to create a folder on that hard drive (read-only). This means you have to go into the linuxconf and edit who owns the hard drive. If you mounted your windows hard drive you should know how to do this if not drop me a line at the email address on top.
If you ran it as Managed each window is one separate thing to control, so during the install (if you’re an idiot like me w/ the multi-tasking, alt-tabing, I can run a thousand applications in X and hot have a problem person) you may find your self w/ just the background, don't chicken out, just hit alt-f2 and then close the command run program you just opened, and you will see the next window for the HL install. (If you find this annoying just re-run winesetup and set the “look and feel” to Desktop) RH 7.1 w/wine is just buggy like that. At any point you think wine has crashed just do a
# killall wineserver
# killall wine
This will wipe the hung program off.
(At this point if you also have the Opposing Force, you can install that too, the same way)
Note: I couldn't run Sierra Utilizes but try and if you can update your HL version let me know if you did anything differently. I tried but got nothing but Hex errors.
For your convince I have run a crossed a script the can executes the HL w/ all extra options rather nicely. You can grab it here:
http://lhl.linuxgames.com/hl
Just edit the line about where you installed the program and extra settings and do this line:
# chmod +x hl
This makes this file excutable from the terminal.
# ./hl
From here go it is pretty straightforward. The only thing that looks weird is the console but if you move your mouse around it will clean up the screen allowing you to view the options, is I believe is because of the lack of direct draw. Send me an e-mail of your results w/ frame rates and what card you have. I have a Geforce DDR and I get at 800x600, 35 fps.
If you have started playing CS you’ll notice a problem w/ the sound and the fact that it is a little delayed. To correct this simply add this line to your config file:
_snd_mixahead "0.23"
or type it in the console. I have mine set to .22, which is very close to the limit of me noticing a difference.
If you find that there is still some sound, video card, issues or you are in need of tweaks check out http://lhl.linuxgames.com/
Misc. Ranting
If you miss Gamespy, grab XQF (www.linuxgames.com/xqf). If you want to be a wise guy try downloading Gamespy and give it a shot in wine. I have gotten a lot of things in wine working (list below), but it seems that it looks like a 16bit arch-tech in wine, so if you can deal w/New Times Roman font then just emulate Gamespy.
Wine work list:
1. Gamespy
2. Winamp (but why? Why not J, just for fun (giess’s open-gl app works in it too)
3. AOL Instant Messenger (pointless also but fun to try)
4. Alice (yes it works but I only have a pirated copy of it I am waiting until my birthday May 31st. Amazingly it works almost as good as the window version but can get a little choppy)
5. Quake 3, yet again- why? Why not?
6. MS Office 2000 but you need to install it via a real windows partition in order to make it even install and have wine use that partition. But once you got it works fine. (Then again there is Star Office, www.sun.com) (http://www.sun.com))
NDB
----edited by Strike----
code tags make that thing WAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY too wide for most people's screens
[ 06 February 2002: Message edited by: Strike ]
ScRapZ_1
02-06-2002, 05:28 AM
Um, you could have just 'trimmed up that post'...
Yes it is possible... I use it. Get glext.h and put it in your /usr/include/GL (chances are that it's already in there, but best to make sure) and in /usr/X11R6/include/GL (chances are that you'll have to create this dir.) Compile Wine from source.
'nuff said...
TTFN,
ScRapZ_1 :p
[ 06 February 2002: Message edited by: ScRapZ_1 ]
Siskmarek
02-06-2002, 06:48 PM
glext.h IS in both locations mentioned, and I've compiled from source. Yet Half-Life says that the current OpenGL mode is not supported for every single mode... what am I doing wrong?
~ Siskie
ScRapZ_1
02-06-2002, 10:23 PM
Oh, well... thats different then...
Um, prolly a stoopid question, but one thats needs to be asked... what kind of video card do you have, is it supported by linux, and do you have the corerct binaries installed for them?
My guess the answers are: nVidia based card, yes, I'm not sure...
If it is an nVidia based card (the easiest to configure) goto nVidia (http://www.nvidia.com/view.asp?PAGE=linux) website and grab the latest NVIDIA_GLX and the NVIDIA_kernel that suits your system. Install the NVIDIA_kernel first, NVIDIA_GLX second. Edit /etc/X11/XF86Config-4 and look for the line Driver "nv" in the 'Device' section. Change 'nv' to 'nvidia'. Go up a bit and put Load "glx" amongst the others. Chances are its there, but if its not.....
Can you get GL to work outside of wine? ie: GL screensavers? Tuxracer? Anything?
TTFN,
ScRapZ_1 :p
Siskmarek
02-07-2002, 12:47 AM
Yup... latest everything from nvidia.. I didn't even use the RPMs from MandrakeUser... grabbed the tarballs and compiled myself... installation was flawless.. and games such as TuxRacer, Quake 3 Arena, Quake 2, and Unreal Tourney run great...
Bah.
~ Siskie
ScRapZ_1
02-07-2002, 05:28 AM
Hmmm... very curious indeed... hmmm, yes...
Um, I remember a similar problem like this, but it was in Win2k... it was fixed by using slightly earlier drivers I think. I really cant think of a solution... just that for now. The only other thing I can think of (although its a REALLY long shot) is permissions. Try running it as root and see what happens. Otherwise...
BAH!
TTFN,
ScRapZ_1 :p
Icarus
02-11-2002, 09:38 AM
I was messing with the transgaming CVS this weekend...yup, they are fscked. I can't get anything to work using it, bad X window or something everytime. Keep trying them or get CodeWeavers, I know they have stable releases of those out :)
Siskmarek
02-11-2002, 07:11 PM
I just recently compiled a wineX cvs over the regular codeweavers thing and everything seemed alright, except that I still can't get opengl. Hmph.
Running as root seems to want a config file somewhere. I'm too lazy to copy mine over. *yawns*
I guess we just sit tight and wait. =/
~ Siskie
Strike
02-11-2002, 08:33 PM
Well, last night's CVS was pretty good to me - got farther along in more things than I had before. So if anyone wants a mirror of it, I saved a copy - http://www.dipaolo.f2s.com/wine-20020211.tar.gz
Icarus
02-12-2002, 11:25 AM
That looks like a codeweaver number ID, it that right or is it transgamings?
Strike
02-12-2002, 11:34 AM
Originally posted by mahdi:
<STRONG>That looks like a codeweaver number ID, it that right or is it transgamings?</STRONG>
Heh, it's a transgaming CVS snapshot and the "number ID" is the date (2002-02-11).