WineHQ

Command & Conquer: Generals

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.

Application Details:

Version: 1.0x
License: Retail
URL: http://www.commandandconquer.c...
Votes: 4
Latest Rating: Platinum
Latest Wine Version Tested: 1.9.15

Maintainers: About Maintainership

Link Homepage

Test Results

Old test results
The test results for this version are very old, and as such they may not represent the current state of Wine. Please consider submitting a new test report.
Selected Test Results

What works

Everything I tried - installing and playing work fine.

What does not

Nothing I tried.

Workarounds

What was not tested

Network play and running without a nocd crack(I'm not sure the nocd crack is required but I am unable to test it as my CD 1 wore out years ago).

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

This is platinum because there is nothing below here that I wouldn't expect to have to do for a multiple-cd game. 1) Deleted .wine folder in ~ (to create a fresh install) 2) Ran winecfg 3) Setup /media/cdrom0 as drive D (CDROM) and inserted disk 1, waiting for it to spin up 4) Mounted /media/cdrom0 (sudo mount /media/cdrom0) 5) Ran 'wine d:/setup.exe' 6) Followed the setup through until I was asked for disk 2 7) Unmounted cdrom0 (sudo umount /media/cdrom0) 8) Ejected disk 1 and inserted disk 2 9) Waited for it to spin up 10) Mounted /media/cdrom0 11) Clicked retry 12) Allowed rest of setup process to run 13) Copied across the nocd crack (not sure if this is required to run) 14) Ran the game from the desktop icon. My machine: HP i5, 8GB RAM, 2TB disk (1TB for Debian)

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
CurrentDebian GNU/Linux 8.x "Jessie" x86_64Jul 26 20161.9.15Yes Yes PlatinumDaniel Jones 
ShowDebian GNU/Linux 8.x "Jessie" x86_64Jul 24 20161.9.15Yes Yes PlatinumDaniel Jones 
ShowUbuntu 14.04 "Trusty" amd64 (+ variants like Kubuntu)Mar 06 20161.9.4Yes No Garbagean anonymous user 
ShowLinux Mint 17.3 "Rosa" x86_64Sep 14 20161.6.2Yes Yes Platinuman anonymous user 
ShowArch Linux x86_64Oct 27 20131.7.5Yes Yes Goldan anonymous user 

Known Bugs

Bug # Description Status Resolution Other apps affected
19433 Command & Conquer Generals network fails mid-game (mismatch in synchronization data) UNCONFIRMED View

Show all bugs

HowTo / Notes

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)

Comments

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

I seem to be running into this error although the dll is in the game directory and system 32 directory
by JM on Wednesday July 2nd 2014, 6:22
err:module:import_dll Library API-MS-Win-Core-ErrorHandling-L1-1-0.dll (which is needed by L"C:\\Program Files\\EA Games\\Command and Conquer Generals\\MSVCIRT.dll") not found
err:module:import_dll Library API-MS-Win-Core-Interlocked-L1-1-0.dll (which is needed by L"C:\\Program Files\\EA Games\\Command and Conquer Generals\\MSVCIRT.dll") not found
err:module:import_dll Library API-MS-Win-Core-LibraryLoader-L1-1-0.dll (which is needed by L"C:\\Program Files\\EA Games\\Command and Conquer Generals\\MSVCIRT.dll") not found
err:module:import_dll Library API-MS-Win-Core-Misc-L1-1-0.dll (which is needed by L"C:\\Program Files\\EA Games\\Command and Conquer Generals\\MSVCIRT.dll") not found
err:module:import_dll Library API-MS-Win-Core-Profile-L1-1-0.dll (which is needed by L"C:\\Program Files\\EA Games\\Command and Conquer Generals\\MSVCIRT.dll") not found
err:module:import_dll Library API-MS-Win-Core-SysInfo-L1-1-0.dll (which is needed by L"C:\\Program Files\\EA Games\\Command and Conquer Generals\\MSVCIRT.dll") not found
err:module:import_dll Library API-MS-Win-Core-Synch-L1-1-0.dll (which is needed by L"C:\\Program Files\\EA Games\\Command and Conquer Generals\\MSVCIRT.dll") not found
err:module:import_dll Library MSVCIRT.dll (which is needed by L"C:\\Program Files\\EA Games\\Command and Conquer Generals\\game.dat") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\EA Games\\Command and Conquer Generals\\game.dat" failed, status c0000135
RE: I seem to be running into this error although the dll is in the game directory and system 32 directory
by Borislav Sabev on Thursday July 3rd 2014, 5:32
You say that "you seem to be running into this error" - is your game playable or do you just get this error in you debug output?

Also is the filename absolutely the same?? Is the file readable?

Another thing to note are the double "\\" in your paths - just noting that they look strange.

Did you install the game or copy it over from somewhere?

Ultimately try to reinstall it.

Hope this helped. Post some more information if you need more help.
I am running the game just fine
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.
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!!
RE: Can't install it
by Sven on Friday September 14th 2012, 1:25
Ok, I got it solved.

For the protocol:

Somehow my user settings for wine got messed up and I needed to put them back by:

sudo rm -rf ~/.wine

Afterwards I could install it without further problems.

Thanks for the great job in maintaining the wine db!

Best,

Sven
RE: Can't install it
by Sven on Saturday September 15th 2012, 1:58
One more thing:

If you want a more modern type resolution then 1024x768:

Change home\Documents\Command and Conquer Generals Data\Options.ini Resolution = [to whatever your display has]
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 ;-)
RE: C&C Generals is runs very Slow...
by K1773R on Saturday February 25th 2012, 10:10
just set DirectDrawRenderer to opengl
RE: C&C Generals is runs very Slow...
by w4ri0r on Saturday February 25th 2012, 16:50
Thanks for your reply but in my case this registry entry has no effect.
I've also tried to start the Game with the option "-OpenGL" and install d3dx9 via "winetricks d3dx9" both dosen't work...

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 :((
RE:
by K1773R on Sunday February 19th 2012, 21:44
because you have to install it!
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
Gameplay video
by Jake ward on Monday August 9th 2010, 1:46
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.