WineHQ
Command & Conquer: Generals 1.0x



Category: Main > Games > Strategy Games > Real-Time Strategy > Command & Conquer: Generals > 1.0x


NameCommand & Conquer: Generals
Version1.0x
License Retail
URLhttp://www.commandandconquer.c...
Votes 3
Link Homepage
RatingPlatinum
Wine Version1.5.20
Maintainers of this version:
Description

Be the Ultimate Modern Warfare General.
Command and Conquer Generals puts your trigger finger on the pulse of modern warfare. Prepare your forces, General—it's time to engage in the next generation of real-time strategy.

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results (selected in 'Test Results' table below)

What works

World Builder

Single player campaigns, skirmish

Internet/network play (i don't guarantee)


What does not
Minimize/alt+tabMinimize/alt+tab


What was not tested
ummm... nothing


Additional Comments

Everything works flawlessly with very high fps. WorldBuilder (step 11) works too.

Everything works **without** any crack and/or disk!!!!!

Steps to make it work:
1. Add directx overrides http://www.wine-reviews.net/wine-reviews/microsoft/directx-90c-march-2008-redistributable-on-linux-with-wine.html
2. Copy msvcirt.dll from your windows installation's c:\WINDOWS\system32 and put it to .wine/drive_c/windows/system32. If you don't have windows installed, you must manually download msvcirt.dll
*Note: .wine folder is hidden
3. Copy first CD's contents to your harddisk, and data2.cab from second disk into same folder
4. Open winecfg, go to drives tab, add a new drive, and set path to what was in 3rd step
5. Install C&C Generals from that folder by running setup.exe
6. Download the 1.08 patch, put into your virtual c: disk, and patch the game
7. I recommend running in virtual desktop
8. !!!Open game.dat instead of generals.exe, that is: "wine game.dat"
hahaha found this ^^ by incident, game doesn't need any crack or disk this way, internet play should work too
9. In this step, game runs, but in my case there was no sound/music. I played a bit, opened/closed a few times, set to emulate virtual desktop, and sound suddenly appeared. Dunno what made it work, possibly virtual desktop. Though it worked excellent without losing sound after I turned off virtual desktop emulation
10. Do not alt+tab or minimize the game when *not* in a virtual desktop, it crashes with error for me
11. To get World Builder working, just install vcrun6 package in winetricks (it needs mfc42.dll)
12. Every time you exit the game, it won't reset back your desktop resolution. To set resolution to somthing higher then 1152x864, preferably to native res., go to "~/.wine/drive_c/users/my documents/command and conquer generals data", open the file options.ini by some text editor, find the line
Resolution = xxx yyy
and manually change xxx and yyy values. In my case I changed it to
Resolution = 1600 900
13. If you don't want step12 and the game looks too stretched in your monitor, open "nvidia x server settings", that is nvidia-settings and  go to the tab saying something like "DFP-0 - (%your monitor name%)" and set GPU scaling method to centered

some steps shamelessly copied from howto

RAM: 2gb
Video: nvidia 210 1gb
Video driver: version current-updates
OS: Ubuntu 12.04 x64
Desktop environment: Mate
Test Results
DistributionTest dateWine versionInstalls?Runs?RatingSubmitter
ShowUbuntu 12.04 "Precise" (+ variants like Kubuntu)Apr 07 20131.5.27 Yes Yes Gold Mike Frett 
ShowUbuntu 10.04 "Lucid" x86_64 (+ variants like Kubuntu)Jan 03 20131.5.20 N/A Yes Platinum K1773R 
CurrentUbuntu 12.04 "Precise" x86_64 (+ variants like Kubuntu)Jun 21 20121.4.1 Yes Yes Gold void0 
ShowopenSUSE 11.4Nov 11 20111.3.32 Yes Yes Platinum Konstanty Ścianecki 
ShowUbuntu 10.10 "Maverick" x86_64 (+ variants like Kubuntu)Jun 02 20111.3.20 Yes Yes Platinum K1773R 


Known bugs
Bug # Description Status Resolution Other apps affected
17755 Command and Conquer Generals networking fails with timeout NEW View
19433 Command & Conquer Generals network fails mid-game (mismatch in synchronization data) UNCONFIRMED View

 
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




 
Notes by Ambro

by Ambro on (May 1st 2007)
I also experienced the bug where the game failed to start after putting my options.ini file to "~/Command and Conquer Generals Data". However, I was able to bypass this bug by installing the game using the loki installer.

To get this game working:
- Copy msvcirt.dll to "~/.wine/drive_c/windows/system32"
- Install the game using the loki installer ( www.liflg.org/?catid=7)
- Modify the "generals" script so it will only call wine
- Create the file "~/Command and Conquer Generals Data/options.ini" and put the following inside (adjust the resolution) (this bypassed the splash screen freeze for me):



AntiAliasing = 4
BuildingOcclusion = yes
CampaignDifficulty = 0
DynamicLOD = yes
ExtraAnimations = yes
GameSpyIPAddress = 0.0.0.0
Gamma = 50
IPAddress = 0.0.0.0
IdealStaticGameLOD = Low
LanguageFilter = false
MaxParticleCount = 5000
MusicVolume = 76
Resolution = 1024 768
SFX3DVolume = 79
SFXVolume = 71
ScrollFactor = 50
SendDelay = no
ShowSoftWaterEdge = yes
ShowTrees = yes
StaticGameLOD = Custom
TextureReduction = 0
UseAlternateMouse = no
UseCloudMap = yes
UseLightMap = yes
UseShadowDecals = yes
UseShadowVolumes = yes
VoiceVolume = 70



- Run winecfg and in the Audio tab, select OSS, and in "Hardware Acceleration", select "Emulation"
- Start the game by running "/generals -quickstart" (quickstart will bypass the problem with sound blocking the second movie)


 

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

Slow game and crash-to-desktop
by Gijs on Saturday December 1st 2012, 19:25
Using Ubuntu 12.04, PlayOnLinux 4.1.8, Wine 1.4.

Having the same problem as one guy above: the game is very slow. When I try to click options, both in the main menu as in-game, the game crashes-to-desktop, leaving the resolution to 640×480 or something like that.

Further than that, the game runs fine. It's just terribly slow.

[post new] [reply to this]

Can't install it
by Sven on Friday September 14th 2012, 0:08
Hi,

I followed the how to but I fail even to start the installation.

It reports back with error:

1608: Unable to create IntsallDriver instance, Return code: -2147221164

I tried different Windows versions in the Wine configuration (98, 2000, xp) but none of them work.

I have to say that I start via rightclick and then "open with wine windows program launcher" as sudo wine setup.exe reports back "/.wine is not owned by you"

Any advice?

Thanks!!

[post new] [reply to this]

C&C Generals is runs very Slow...
by w4ri0r on Saturday February 25th 2012, 9:55
Hello,

i'm running Wine 1.4.3-rc3 on my Debian6(64bit) System.
Some System Infos:
OS: Debian 6.0.4
Kernel: 3.2.1
CPU: Intel Core i7-3930K @ 3,20GHz
RAM: 32GB
primary graphic adapter: NVIDIA GTX 560 Ti
secondary graphic adapter: NVIDIA GTX 560

I've installed the original NVIDIA driver and it works fine.
I'm using xinerama with my three 23" Samsung LCD TFTs(resolution 1920x1080).

C&C Generals is installed and the Videos on startup run normal.
But the main menu is very slow... it is not playable..

I've patched Generals to version 1.7

here is my options.ini:
-------------------------------
AntiAliasing = 2
BuildingOcclusion = no
CampaignDifficulty = 0
DrawScrollAnchor =
DynamicLOD = yes
ExtraAnimations = no
GameSpyIPAddress = 10.0.0.11
Gamma = 50
IPAddress = 10.0.0.11
IdealStaticGameLOD = Low
LanguageFilter = false
MaxParticleCount = 500
MoveScrollAnchor =
MusicVolume = 76
Resolution = 1152 864
SFX3DVolume = 79
SFXVolume = 71
ScrollFactor = 50
SendDelay = no
ShowSoftWaterEdge = no
ShowTrees = no
StaticGameLOD = Custom
TextureReduction = 2
UseAlternateMouse = no
UseCloudMap = no
UseLightMap = no
UseShadowDecals = no
UseShadowVolumes = no
VoiceVolume = 97
-------------------------------

And this is the Output from wine with enabled debugging:
-------------------------------
trace:wgl:wglGetProcAddress func: 'glAccum'
trace:wgl:X11DRV_WineGL_InitOpenglInfo GL version : 4.2.0 NVIDIA 295.20.
trace:wgl:X11DRV_WineGL_InitOpenglInfo GL renderer : GeForce GTX 560 Ti/PCIe/SSE2.
trace:wgl:X11DRV_WineGL_InitOpenglInfo GLX version : 1.4.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX version : 1.4.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX vendor: : NVIDIA Corporation.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX version : 1.4.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX vendor: : NVIDIA Corporation.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Direct rendering enabled: True
trace:wgl:has_opengl GLX is up and running error_base = 143
trace:wgl:register_extension_string ''
trace:wgl:register_extension - 'wglGetIntegerv'
trace:wgl:register_extension - 'wglFinish'
trace:wgl:register_extension - 'wglFlush'
trace:wgl:register_extension_string 'WGL_ARB_create_context'
trace:wgl:register_extension - 'wglCreateContextAttribsARB'
trace:wgl:register_extension_string 'WGL_ARB_create_context_profile'
trace:wgl:register_extension_string 'WGL_ARB_pixel_format_float'
trace:wgl:register_extension_string 'WGL_ATI_pixel_format_float'
trace:wgl:register_extension_string 'WGL_ARB_extensions_string'
trace:wgl:register_extension - 'wglGetExtensionsStringARB'
trace:wgl:register_extension_string 'WGL_ARB_make_current_read'
trace:wgl:register_extension - 'wglGetCurrentReadDCARB'
trace:wgl:register_extension - 'wglMakeContextCurrentARB'
trace:wgl:register_extension_string 'WGL_ARB_multisample'
...
trace:wgl:wglGetCurrentContext returning 0x5335dd8
trace:wgl:wglGetCurrentContext returning 0x5335dd8
trace:wgl:wglGetCurrentContext returning 0x5335dd8
trace:wgl:wglGetCurrentContext returning 0x5335dd8
trace:wgl:wglGetCurrentContext returning 0x5335dd8
trace:wgl:wglGetCurrentContext returning 0x5335dd8
trace:wgl:wglGetCurrentContext returning 0x5335dd8
fixme:console:CONSOLE_DefaultHandler Terminating process 8 on event 0
err:mmtime:TIME_MMTimeStop Timer still active?!
-------------------------------


Is there anything i can do to Play C&C Generals?

thanks a lot ;-)

[post new] [reply to this]


by ekinox2 on Sunday February 19th 2012, 18:15
pls help me I dont install generals why am I getting this error 1627 function failed plsss plss plsss help me :((

[post new] [reply to this]

  • RE: by K1773R on Sunday February 19th 2012, 21:44
When ground are white/green
by etienne on Wednesday March 30th 2011, 11:18
Hello, i have apply the REG from c&c generals zero hour (VideoPciDeviceID)

PAGE:
"appdb.winehq.org/objectManager.php?sClass=version&iId=4881"

The REG ARE:

[HKCU\Software\Wine\Direct3D]
VideoPciDeviceID=0x0141

I have make with the id from my graphic card, yepee, the ground apears... but not perfectly, (can have desert blocs in grass) i have tested different model ID, nothings, i have a stupid idea,

I have replaced the value By 0 (0x0000000) and... terrain is ok and with no bug, and the best, can add all effect in the game option ("Extra Ground Lighting" is now working), and Vertex Shader Support to yes and activate "Allow Pixel Shader" on wine is fully working

My graphiccard is a 7900GS.

Enjoy and have fun.

I have not tested thios on othe graphiccards, can work or not with othe, make test

[post new] [reply to this]

Gameplay video
by Jake ward on Monday August 9th 2010, 1:46
www.youtube.com/watch?v=1CS3l_gFNT0

Game runs brilliant!

[post new] [reply to this]

DRI on x86_64 system
by lirel on Friday April 9th 2010, 17:33
wine doesn't seem to correctly detect the necessary 32bit DRI-libraries generals relies on.
use
LIBGL_DRIVERS_PATH=/usr/lib32/dri wine generals.exe
to hint libgl/wine to 32bit versions of the libraries.

[post new] [reply to this]




   << Back

Page loaded in 0.04433 seconds.