Linux Gaming?

Soldato
Joined
19 Oct 2002
Posts
6,943
Location
Bath
I have already asked this question in PC gaming section but i thought some of you guys might be able to help.

this thread in the Gaming section is the one im on about.

Does anyone know how to get bf1942 and c&c generals working in wine? i have followed the tutorials to the letter but have been unable to get either working.

system spec

Ubuntu 7.04 Feisty latest Kernal 32bit
wine 0.9.33
amd x64 3000+
1gb pc3200
2x 40gb maxtor 8mb cache ide drives
 
Last edited:
am currently using the Nvidia-GLX drivers as installed so i could use the desktop affects settings. Gfx card is a geforce 4 mx 440 with 64mb. could you point me at the right drivers.

I had downloaded a package from the nvidia site but is screwed up my X and had to reinstall to get it working again.
 
If your using XGL for the effects (which I think is default when enabling them on ubuntu) you won't get any OpenGL acceleration in games unless you turn it off. I believe this is still the case (not with AIGLX though).
 
so just disable the restricted driver?

As c&c generals gets to the startup screen and then hangs with a double buffer error.

bf1942 just does not run.
 
I'm not too up on these desktop effects, but you should be able to switch to regular x before you logon if you set it up the sensible way.

Does the error indicate a gfx or sound issue btw? Is it possible you missed the DX9 install?
 
FirebarUK said:
No, disable 'Desktop Effects'. It might help with the issues your having, but can't be certain :)


Done and C&C general seams to get a going but the screen dosent quite make it. It goes Blank then parts of the desktop appear corners of the desktop and the game exits.

Code:
ian@ian-desktop:~/.wine/drive_c/Program Files/EA Games/Command and Conquer Generals$ wine generals.exe
err:dsound:DSOUND_MixOne underrun on sound buffer 0x193f990
fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE
fixme:d3d:IWineD3DDeviceImpl_CreateAdditionalSwapChain The app requests more than one back buffer, this can't be supported properly. Please configure the application to use double buffering(=1 back buffer) if possible
fixme:d3d:IWineD3DDeviceImpl_GetAvailableTextureMem (0x4d77dc8) : stub, simulating 64MB for now, returning 64MB left
fixme:imm:ImmGetDefaultIMEWnd (0x10026 - (nil) 0x163308 ): semi-stub
fixme:d3d8:ValidatePixelShader (0x1e61fac (nil) 0 (nil)): stub
fixme:d3d8:ValidatePixelShader (0x1a108a8 (nil) 0 (nil)): stub
fixme:d3d8:ValidatePixelShader (0x1e61fac (nil) 0 (nil)): stub
fixme:imm:ImmReleaseContext (0x10026, 0x163308): stub

Any Ideas?

z0mbi3 said:
I'm not too up on these desktop effects, but you should be able to switch to regular x before you logon if you set it up the sensible way.

Does the error indicate a gfx or sound issue btw? Is it possible you missed the DX9 install?

How can i make my setup this way as i have been unable to workout where the startX command is run. As my system automatically runs Gnome at startup.
 
How can i make my setup this way as i have been unable to workout where the startX command is run. As my system automatically runs Gnome at startup.

If your desktop effects are disabled then XGL won't be running and you'll be in "normal X".

From that log I'd hazard a guess that it doesn't think your card supports pixel shaders, and then it bombs out. I'm afraid I can't help more than that.

Are your graphics drivers definately reinstalled? Download them from nvidia and simply follow the nvidia install instructions (make sure you install in runlevel 3 - type in "sudo runlevel 3" at a command prompt - when you install them).
 
card does not support pixel shader but that was never a problem with Windows XP as i have had the same ( all be it crappy) gfx card for a couple of years. (Geforce 4 mx440 64mb).

From what i read from the wine forums Double buffering has been disabled in wine for a long time due to a code memory leak. So am stuck.
 
As far as I know all nVidia cards support AIGLX (I'm not so sure about older cards), which should allow you to run Beryl/Compiz and use direct rendering for gaming at the same time.

Now that you've switched off your desktop effects, I'd suggest you check whether you're still able to use direct rendering. The following command should tell you this:
Code:
glxinfo | grep direct
 
BigBoy said:
card does not support pixel shader but that was never a problem with Windows XP as i have had the same ( all be it crappy) gfx card for a couple of years. (Geforce 4 mx440 64mb).
Required system:
Microsoft Windows XP
PC with 1.6 Ghz equivalent or higher processor
256 MB of system RAM
512 MB of system RAM for online play with 3 or more players
6 GB available hard disk space
8x speed or faster CD-ROM drive or DVD-ROM drive (for the Collector's Edition)
64 MB GeForce3-class video card. The game only officially supports cards with ATI (Radeon 8500 or greater) and Nvidia chipsets, and the Intel GMA 900 and GMA 950 products. The GeForce 4 MX is not supported
Sound card with speakers or headphones
Microsoft Mouse or compatible pointing device
56.6 Kbps or better modem for 1v1 online play
Broadband connection for online play with 3 or more players
DirectX 9.0c or above.

Time for an upgrade t b h.
 
Last edited:
as said in the other thread im wanting to play c&c generals not C&C3

And an upgrade is out of the question as all the games i have i know will work on my current hardware. That and my two young children drain any and all funds i may have for anything at the moment.
 
Last edited:
BigBoy said:
as said in the other thread im wanting to play c&c generals not C&C3

And an upgrade is out of the question as all the games i have i know will work on my current hardware. That and my two young children drain any and all funds i may have for anything at the moment.

Oh I do apologise, I just assumed it was C&C 3 :eek:

Back on track have you installed DX 8.1? I see that on the official requirements and it can be easy to miss it during the wine install.

edit:

HOWTO
1. Download msvcirt.dll and put it in your .wine/drive_c/windows/system32 directory
2. Copy both CD's to your harddisk into the same folder.
3. Install Command & Conquer Generals from your harddisk using wine setup.exe
4. Once the installation is done, find yourself a no-cd crack and replace the original game.dat and generals.exe with the cracked ones.
5. Start winecfg and, go to the Graphics tab, and at the bottom in the Direct3D area set Vertex Shader Support to none and unthick "Allow Pixel Shader" otherwise the world won't show but just the buildings.
6. Go into the Data folder and rename the folder Movies or delete it.
7. Next go into the english folder (sub-folder from data) and either rename or delete the Movies directory from there aswell.
8. Go back to your Generals Installation directory and launch the game using wine generals.exe
9. Go to the Options Menu. In the Display Options Area, Set Detail to Custom. A new window will pop-up. Make sure you unthick Extra Ground Lighting there to fix the bug that certain parts of the ground aren't showing.
10. Have fun playing the game! :D
Have you done all this?
 
Last edited:
Back
Top Bottom