WineHQ

Command & Conquer: Red Alert 2

All releases (1.000-1.006).

Application Details:

Version: 1.00x
License: Retail
URL: http://www.westwood.com
Votes: 8
Latest Rating: Silver
Latest Wine Version Tested: 9.7-staging

Maintainers: About Maintainership

Link Download update Link Download maps

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

Scope of testing:

  • Original genuine serial number and personal backup copies of the original CDs. This will require a no-CD patch and complicates the installation. See workarounds below. 
  • Single player campaign only. No multiplayer tested. 

Working:

  • Single player campaign. Tested first two Allied missions. 
  • 1920x1080 and 1280x720 resolutions. Must be configured in ra2.ini; see workaround. 
  • Game saving and loading. 
  • Single player skirmish setup and game start. I did not finish a skirmish match.
  • Cutscene movies work perfectly. Sound works perfectly. 
  • No noticeable performance issues. No mouse or keyboard lag. Works better than I remember from the 2000s. 

What does not

Periodic crash due to

err:ntdll:RtlpWaitForCriticalSection section 01A40EF8 "?" wait timed out in thread 0104, blocked by 0024, retrying (60 sec) 

This does not appear to be linked to a specific portion of the game, as I can reload a save game and continue past the previous crash point. The error happens infrequently enough that I expect to be able to finish the campaign by saving my game more often than normal and reloading. 


Workarounds

Must be installed to a 32-bit wine prefix.


The CD installer crashed, but the method linked here worked well. Steps modified for Wine are summarized below, using the default prefix. 

  1. Create the install folder: ~/.wine/drive_c/Westwood/RA2
  2. From the Allied CD, copy maps01.mix and movies01.mix
  3. From the Soviet CD, copy maps02.mix and movies02.mix
  4. From either CD, copy multi.mix, theme.mix, wdt.mix
  5. From the INSTALL folder of either CD, copy rmcache/ and all items, Taunts/ and all items, BINKW32.DLL, blowfish.dll (note name change to lowercase "b"), Blowfish.tlb, game.exe, mph.exe, ra2.exe, Ra2.tlb , language.mix (extract from GAME1.CAB), and ra2.mix (extract from Game1.CAB)
  6. Install the registry entries listed below (typically load them into ra2.reg file and then use `wine regedit` to import). Replace the CDKEY with your CD key, no spaces. 
  7. Download the 1.06 patch (C&C Labs link) to the install folder then run with `wine ~/.wine/drive_c/Westwood/RA2/RA21006EN.EXE`. If the default directory is not identified, the updater should ask you to locate ra2.exe.
  8. Download the XWIS no-CD patch (XWIS link). Do not run the installer. Using an archive manager like 7-zip, extract game.exe, ra2.exe, and xwis.dll to the RA2 install folder, overwriting the previous versions. 


[HKEY_LOCAL_MACHINE\SOFTWARE\Westwood]
[HKEY_LOCAL_MACHINE\SOFTWARE\Westwood\Red Alert 2]
"Name"="Red Alert 2"
"InstallPath"="C:\\Westwood\\RA2\\ra2.exe"
"SKU"=dword:00002100
"Version"=dword:00010006
"Serial"="CDKEY"
"Expansions"=dword:00000001
"BuddyInstalled"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Westwood\WOLAPI\8448]
"Name"="Red Alert 2"

The install method above will allow the game to run through the intro movies, but the menu does not load. This is solved by substituting ts-ddraw.dll for the wine builtin. 

  1. Download the TS-DDRAW version of ddraw.dll (CnCNet Github Link) to the RA2 install folder. 
  2. Use winecfg to set the "ddraw" library to "native (Windows)"

Changing resolution in-game does not work. The confirmation buttons are not visible. Changing resolution in the configuration file works well. Edit "~/.wine/drive_c/Westwood/RA2/ra2.ini" [Video] section to show the correct ScreenWidth and ScreenHeight, in pixels; 1920x1080 and 1280x720 tested and working.

What was not tested

Multiplayer was not tested. The link in the installation workaround has notes for XWIS or CnCNet multiplayer, but these were beyond my desire to replay the campaign. Single player skirmish was briefly tested. I did not complete the campaign; I did complete the first two Allied missions as a test.


Hardware tested

Graphics:

  • GPU: Intel
  • Driver: open source

Additional Comments

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowmacOS 14 "Sonoma"Apr 25 20249.7-stagingYes Yes NoSilverYehia Hafez 
ShowArch Linux x86_64Mar 03 20238.2No, but has workaround Yes YesBronzeJzo4 
ShowFedora 35 x86_64Nov 18 20216.21-stagingYes Yes NoBronzeOrbit Li 
CurrentPop!_OS 20.04 LTSAug 22 20216.0.1No, but has workaround Yes YesSilverMatt K 
ShowmacOS 10.14 "Mojave"Jun 15 20205.0.1Yes Yes YesGoldRichard Orilla 

Known Bugs

Bug # Description Status Resolution Other apps affected
30155 SafeDisc v2.05.030 fails due to driver dispatch routine status and irp.IoStatus.u.Status differing (Command & Conquer: Red Alert 2) NEW View
31279 Age of Empires II SafeDisc v1.x driver crashes in IDT check (INT1/3 hooks) RESOLVED NOTOURBUG View
33211 C&C: Red Alert 2 still runs very slowly and mouse cursor flickers UNCONFIRMED View
37991 C&C Red Alert 2 - Scrolling the map area with arrow keys is sluggish UNCONFIRMED View

Show all bugs

HowTo / Notes

Performance issues
The game is much slower than it should be, but it may still run at a good speed depending on your computer.
Note

HOWTO

-- UPDATE --

Speed Fix

REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\AppDefaults\game.exe\Direct3D]
"DirectDrawRenderer"="opengl"
"RenderTargetLockMode"="readtex"
  1. Create a new file, ra2fix.reg, somewhere in your Wine C: directory.
  2. Open the file, paste the content above into it, and save.
  3. run wine regedit and choose Registry->Import Registry File
  4. Import ra2fix.reg
  5. close regedit

If the game does not run correctly after these changes, remove them.

 

Add the following lines to ra2.ini:

[Video]
VideoBackBuffer=no

If the game does not run correctly after these changes,remove them.

Network Play

IPX is tricky, and is fortunately no longer needed. Someone has written a patch to use TCP/IP instead.
  1. Download the LAN patch from understorm.net
  2. Save it in your Red Alert 2 folder and extract it.
  3. Open winecfg or Wine->Configure Wine from the application menu.
  4. Add an overwrite rule for wsock32.

Comments

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

Unhandled page fault
by Orbit Li on Thursday November 18th 2021, 4:30
page fault randomly at address 00775AC6
Black screen fix
by Eugene on Sunday October 11th 2020, 5:41
Running Manjaro 20.2,Wine-staging 5.17
Installed CD-ROM (pre-origin era) version of Red Alert 2 + Yuri's Revenge

As mentioned in the comments and how-to above, changed ddraw load order, downloaded and used ddwrapper, changed ra2.ini config, ran the program on exclusive 32-bit wine with Windows XP version. Still encountered the black screen bug or disappearing menus.

Finally downloaded launcher from cncnet.org/.
Ran it in the same 32-bit wine prefix that I installed the game into.
Pointed the directory of the game.
Launcher downloaded some files/fixes and installed into the directory.
[Note - requires winetricks (for noobs like me) to install microsoft XNA 4.0 framework, DirectX 9-11, dotNETFramework 4.5.]

Launched the newly available CnCNetYRLauncher.exe in the game directory from wine.
Everything worked as it should.
Tried campaign, single player skirmish with 4 other opponents. No slow-downs.

Hope this is helpful to someone
game freeze on load - possible solution
by hirschi on Sunday May 3rd 2015, 6:58
In case the game freezes about 1sec after loading/starting a mission (skirmish/campaign),
you may want to look at Bug33211 (see above),
in particular Post 11 (by meindertjan 2014-09-16).

Worked for me.
Wine doesn't shut down properly when exiting the game but whatever.

(dll-override--> "winecfg")

(Wine 1.6.2, Ubuntu 14.04LTS, ATI Radeon HD7730)
Back