WineHQ

Command and Conquer 4: Tiberian Twilight

Official DVD release of C&C4.

Application Details:

Version: 1.0
License: Retail
URL: http://www.commandandconquer.c...
Votes: 0
Latest Rating: Platinum
Latest Wine Version Tested: 1.9.18

Maintainers: About Maintainership

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

  • Installation using the hack from HOWTO
  • Running the game with a fake­ auth-server
  • Videos play smoothly
  • Playing the game single player (campaign)
  • Saving/loading the game
­

What does not

  • Multiplayer will not work with the fake au­th-server
­

Workarounds

What was not tested

  • Multiplayer online
  • Multiplay­er LAN
  • Finishing campaign-mode
­

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

nVidia Corporation G92 [GeForce 9800 GT] (rev a2) with nvidia 190.42-r3 drivers This game is very playable! Shows some artifacts with shadows, nothing too extreme.

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowArch Linux x86_64Sep 24 20161.9.18Yes Yes Platinuman anonymous user 
ShowArch Linux x86_64Jul 30 20111.3.25Yes Yes BronzeJoseph Williams 
CurrentGentoo Linux x86_64Apr 05 20101.1.41Yes Yes Bronzean anonymous user 
ShowGentoo Linux x86_64Apr 02 20101.1.41Yes Yes GarbageNight Nord 
ShowUbuntu 8.04 "Hardy" amd64 (+ variants like Kubuntu)Mar 30 20101.1.41No, but has workaround Yes Bronzean anonymous user 

Known Bugs

Bug # Description Status Resolution Other apps affected

Show all bugs

HowTo / Notes

HOWTO Install and Launch
Note: If you fail to activate your game you will not be able to login and the error message will make it seem like a network problem­.  While you should be to associate your CD key with your email address using EA's activation website (https://activate.ea.com/applyentitlement.do), it appears that this does not properly setup your account.
  1. Merge a registry file to trick the installer that .NET 3.5 SP1 is installed:
    • Download the file (right-click, save file as): DotNetRegKeys.reg
    • Run "regedit DotNetRegKeys.reg­­"
  2. Install the game using t­he installer on the DVD
  3. Use winecfg to set a vir­tual desktop for "CNC4.game"
  4. Have a friend with a Windows PC associate your CD key with your email address using the Launcher
  5. Launch the game manually, skipping the launcher:
    wine "C:\\Program Files\\Electronic Arts\\Command & Conquer 4 Tiberian Twilight\\Data\\CNC4.game" -config "C:\\Program Files\\Electronic Arts\\Command & Conquer 4 Tiberian Twilight\\CNC4_English.SkuDef"­
­

Comments

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

steam
by Eric Thierer on Monday July 18th 2011, 8:57
I bought command and conquer 4 from steam and I installed it and every thing. When it was finished doing every thing it had to do i clicked play game and it loaded but no other screen showed up or any thing. I tried launching it from the desktop and it didn't load either. I went into the folder were it was located and it did nothing again. If any one knows what could be wrong please let me know. Thank you.
RE: steam
by Erich E. Hoover on Monday July 18th 2011, 9:19
Please try running the game from a terminal and post (using pastebin, or a similar service) the messages that get output when you try to run the game. If you are unfamiliar with this process then please read the relevant FAQ item:
wiki.winehq.org/FAQ#run_from_terminal
RE: steam
by Joseph Williams on Saturday July 30th 2011, 1:48
Hi Erich, I'm having the same issue. here is my terminal output when using the command WINEPREFIX=~/.wine wine "C:\Program Files (x86)\Steam\Steam.exe" -applaunch 47700

pastebin.com/02bzsMjD

I get the same "The entry point method could not be loaded" error no matter which way I launch CnC 4. NOTE: I'm using a new clean WINEPREFIX with the DotNet35 regfix plus the vcrun2005_sp1 and d3dx9_36.dll setup as advised ( I tried without the winetrick fixes first before puting them in) with the latest winetrick version.
RE: steam
by Joseph Williams on Saturday July 30th 2011, 1:50
OOPS!! also note I install mono2.8 aswell
RE: steam
by Erich E. Hoover on Saturday July 30th 2011, 10:02
Based on the message toward the end of the log:
--
Install script executed.Could not load file or assembly 'PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
--
I am guessing that it's bailing because you don't have the .NET Windows Presentation Framework. This package is not provided by Mono and I do not believe the version of .NET that has it is supported yet under Wine. See if you can find a "CNC4.game" file anywhere, maybe you can skip the part that needs .NET in a way similar to what I have in the instructions.
RE: steam
by Joseph Williams on Saturday July 30th 2011, 13:04
Erich your a genius.

OK start installation as reccommended above and install the Dot Net reg fix. the only difference is is to start steam then start CnC4 with the following long winded command...

WINEPREFIX=~/.wine wine "C:\Program Files (x86)\Steam\steamapps\common\command and conquer 4 tiberian twilight\Data\CNC4.game"-config "C:\Program Files (x86)\Steam\steamapps\common\command and conquer 4 tiberian twilight\CNC4_English.SkuDef"
RE: steam
by Erich E. Hoover on Saturday July 30th 2011, 13:35
I'll update the HOWTO, is it necessary to start steam first or can you just run the command?
RE: steam
by Joseph Williams on Sunday July 31st 2011, 5:10
didn't properly check last night, I try and start without steam tonight when I'm back in front of my system
RE: steam
by Joseph Williams on Sunday July 31st 2011, 16:47
LOL Good news Steam is not required to run CNC4. play solo campaign now performance good :D
DoNotRegKeys
by Alec Bart on Monday March 14th 2011, 11:13
Hi, i'm completely new to this process of installing PC games on mac. I'm right clicking the above file but it saves an .html- is that correct? Crossover doesn't seem to want to run it. Can anyone be a little more specific on how to make this work??

Thanks
RE: DoNotRegKeys
by Erich E. Hoover on Monday March 14th 2011, 11:30
No, it should be named "DotNetRegKeys.reg" (with no quotes). Hopefully it's just saving it with the wrong extension so if you rename it then it will work. I haven't tested CNC4 in a while, but I play CNC3 regularly and they use the same engine - so I imagine it still works fine.
RE: DoNotRegKeys
by Alec Bart on Monday March 14th 2011, 11:38
Hmm... i tried to rename- and it saves it as DoNotRegKeys.Reg--but when i go to Run Command in Crossover it doesn't work. If i browse for the file it brings up the full file directory and includes .html. That just opens a webpage full of code. If i enter DoNotRegKeys.reg i get a windows error saying windows does not have the software to open this (or something along those lines)...and then crossover gives me this
Command error text:
wine: cannot find L"C:\\windows\\system32\\DoNotRegKeys.Reg"
winewrapper.exe:error: cannot start L"DoNotRegKeys.Reg" (error 31)
RE: DoNotRegKeys
by Erich E. Hoover on Monday March 14th 2011, 11:46
Is there a way to run terminal commands in crossover? You normally need to run "regedit DotNetRegKeys.reg". However, if the extension is correct then crossover will likely run it with the correct windows program (regedit). Alternatively, you can run regedit manually (it's located in the "windows" folder on the fake C drive) and then import the file from inside the program.
RE: DoNotRegKeys
by Alec Bart on Monday March 14th 2011, 12:21
ok i think i got it to work. should anything really happen when it does work?? i didn't get any errors this time- i ran "regedit (the file name-user/documents/blahblahblah.reg.html)"....so i think it worked?
RE: DoNotRegKeys
by Erich E. Hoover on Monday March 14th 2011, 12:33
That's right, it will launch an error dialog if it fails. The Windows versions launches a dialog when it succeeds too, but for some reason Wine hasn't implemented that yet. The installer should be able to run now that you've installed those registry keys (otherwise it'll want you to load .NET 3.5, which doesn't work yet).
RE: DoNotRegKeys
by Alec Bart on Monday March 14th 2011, 12:34
awesome man. really appreciate it. now the installer takes decades to install- is this normal?
RE: DoNotRegKeys
by Alec Bart on Monday March 14th 2011, 12:37
i ran the task manager while using the installer- C&C is stuck on "copying new files" and doesn't seem to be making any progress (it's done this every time i try and install...)- and it's saying that C&C is not responding. any thoughts on why this might be?
RE: DoNotRegKeys
by Erich E. Hoover on Monday March 14th 2011, 12:39
Try launching it from a terminal and see if it says anything. I'm not near my disc or I'd try to install fresh and make sure nothing broke. Do you know what version of wine your crossover build is based off of?
RE: DoNotRegKeys
by Alec Bart on Monday March 14th 2011, 12:49
i'll give it a shot. it's version 10.0.1
RE: DoNotRegKeys
by Alec Bart on Monday March 14th 2011, 14:29
cool. got it installed. how do i authenticate the CD key on a friends windows PC without installing the game? do i have to install it?
RE: DoNotRegKeys
by Erich E. Hoover on Monday March 14th 2011, 14:34
You either have to install it (at least temporarily) or they can have it installed if they own their own copy. You just need to run the launcher on a Windows PC and associate your EA account email with your CD-key. I am not aware of any way that actually works to do that on any of the many EA websites, but if you find one that works then let me know. Once you've registered your email with your key then it will let you play on Mac/Linux, just launch the game from the terminal* as described in the HOWTO.

* (or create a shortcut that launches it appropriately)
RE: DoNotRegKeys
by Alec Bart on Monday March 14th 2011, 15:26
so close. okay so i got it to run. i entered the code in step 5 and got it to work when i removed wine from the beginning of the code. it played the whole opening video, with sound, and then i came to the online login page- and i tried logging in with my EA account- and every time it'd say i was disconnected from my internet and that was it. any ideas?
RE: DoNotRegKeys
by Erich E. Hoover on Monday March 14th 2011, 15:45
You have to register it on a Windows PC first, that's the error you get if the key isn't registered to your EA account yet.
RE: DoNotRegKeys
by Alec Bart on Monday March 14th 2011, 15:47
Finally got past that. Any advice on getting sound- i can't seem to get any sound.
RE: DoNotRegKeys
by Erich E. Hoover on Monday March 14th 2011, 15:50
Run the wine configuration tool (not sure where that is in crossover) and try choosing different audio subsystems, last I checked you need to use OSS audio. Actually, I'm not even sure if they give you different options on OS X - it may be that you'll have to file a bug for it.
RE: DoNotRegKeys
by Alec Bart on Monday March 14th 2011, 16:15
awesome. got sound now. one final thing- i can't see the physical units during gameplay- i tried lowering all of the graphics settings on the game itself its to it's lowest possible-but i still don't see the actual unit. any ways to fix this?
RE: DoNotRegKeys
by Erich E. Hoover on Monday March 14th 2011, 20:32
Does this issue sound like your problem?:
bugs.winehq.org/show_bug.cgi?id=25932
RE: DoNotRegKeys
by Alec Bart on Tuesday March 15th 2011, 10:51
That's exactly it..
RE: DoNotRegKeys
by Alec Bart on Tuesday March 15th 2011, 11:08
is there a known solution yet?
ALSA on Ubuntu 10.04
by Erich E. Hoover on Saturday May 8th 2010, 15:02
Has anyone else upgraded to Ubuntu 10.04? I can only play the game with OSS now, ALSA locks up before the title sequence can finish loading (going back to known-good Wine versions makes no difference).
Can't Login
by Milena on Monday April 19th 2010, 6:17
I have the problem described above at the Installation Instructions. I can't login it says check your internet connection. Can anybody actually explain how the server emulator works ?
RE: Can't Login
by Milena on Monday April 19th 2010, 6:27
Well this is the error: i191.photobucket.com/albums/z13/Mileena_07/Screenshot-3.jpg
If I install and activate the Game properly under Windows (I have no Windows...) Will I still be asked to login when I start the Game ?
Thanks in advance
RE: Can't Login
by Erich E. Hoover on Monday April 19th 2010, 7:24
Yes, if you have a friend who has Windows then all you need to do is have them associate your CD key with your email using the launcher.
No Install???
by DaRQsiDe on Friday April 9th 2010, 23:01
Hi,

I don't know any of you has come across this problem...

I did everything as instructed (.net 3.5 hack, vcrun libraries, native dx9 libraries - courtesy of winetricks) but the installer gets stuck spitting...

err:msi:ACTION_InstallFiles compressed file wasn't extracted (L"C:\\Program Files\\Electronic Arts\\Command & Conquer 4 Tiberian Twilight\\Data\\Apt.big")
err:msi:ITERATE_Actions Execution halted, action L"InstallFiles" returned 1603
err:msi:ITERATE_Actions Execution halted, action L"ExecuteAction" returned 1603

Is there a workaround to this?
RE: No Install???
by Erich E. Hoover on Saturday April 10th 2010, 0:16
No, I have not seen this problem - what version of Wine are you running? Also, it should not be necessary to use winetricks to install either vcrun or dx9 libraries unless you copy the game from a Windows PC (the game installs everything it needs).
RE: No Install???
by DaRQsiDe on Sunday April 11th 2010, 0:17
I've tried both with 1.41 and 1.42... I am using Karmic.
RE: No Install???
by Erich E. Hoover on Sunday April 11th 2010, 14:54
I am also using Karmic. I just successfully tested installing in a fresh Wine 1.1.42 prefix, both by following the HOWTO and by installing vcrun and d3dx9 before starting (./winetricks vcrun2005 d3dx9).

Are you possibly installing the "Direct Download" version rather than the DVD version? Did you start with a fresh Wine prefix? I originally setup the game just fine on a "dirty" prefix but it might help to try on a fresh prefix.
Runs good.
by hash on Sunday March 21st 2010, 15:57
I've been able to install and currently playing it.
I've bypassed the problem of connecting with official EA authentification server using "EA authentification server emulator".
I'm not posting it here since I think it's not safe for WINE and community.
It's very simple in setup only note is that you need to add modification to /etc/hosts so that auth requests would go to "your" server rather then to EA's one and run this "EA authentification server emulator" before you start the game, all that covered in a readme.txt which goes with "EA authentification server emulator".

The name of file is "CnC4_NoDVD.rar" thou it doesn't have anything to do with DVD, the server file name is "CNC4SERVER.exe", but I'm in doubt that this file names will aid any one in searching for it.
RE: Runs good.
by hash on Sunday March 21st 2010, 16:00
PS: When runes it post this string in terminal:
Command & Conquer 4 Server Emulator ver 0.1a by KoriTama
RE: Runs good.
by Erich E. Hoover on Sunday March 21st 2010, 16:31
Did you try activating your game with the manual activation website?
RE: Runs good.
by hash on Sunday March 21st 2010, 20:06
Yes, did this, after trying to connect I receive a message like:
"Unexpected disconnected from server"
Or something like this, don't remember the full message.
RE: Runs good.
by Erich E. Hoover on Sunday March 21st 2010, 21:32
Hmm, have you tried using the launcher on a Windows PC? Once the key is validated and associated with your email it will let you on, apparently the online validation isn't good enough.
RE: Runs good.
by hash on Monday March 22nd 2010, 10:04
No, don't have any windows in vicinity.
Unknown mod
by Immolo on Sunday March 21st 2010, 11:36
Using the above guide I keep getting an error message saying Unknown mod did you do anything else to your wine install before this?
RE: Unknown mod
by Erich E. Hoover on Sunday March 21st 2010, 12:25
I just reinstalled with a completely fresh prefix and Wine 1.1.41 and had no problems (not using winetricks or anything). Where are you encountering this error?
RE: Unknown mod
by Immolo on Sunday March 21st 2010, 12:44
This error message come as soon as I launch the app and I have just retried this using the same setup as you
RE: Unknown mod
by Erich E. Hoover on Sunday March 21st 2010, 12:48
Can you send me a screenshot? Also, are you using the version from the DVD or the downloadable version?
RE: Unknown mod
by Immolo on Sunday March 21st 2010, 13:16
DVD version, I have taken a screenshot but I removed the virtual desktop as it shows more of the error message although it's the same message if I do run it in a virtual desktop.

i39.tinypic.com/15eu59j.png
RE: Unknown mod
by Erich E. Hoover on Sunday March 21st 2010, 13:19
Great, that's what i needed. Did you install the game to a different folder? It's very important that the file after -config points exactly to the *.SkuDef file.
RE: Unknown mod
by Immolo on Sunday March 21st 2010, 13:57
Locations are standard and correct
RE: Unknown mod
by Erich E. Hoover on Sunday March 21st 2010, 14:15
Are you using the English edition of the game? Does CNC4_English.SkuDef exist in the main game folder?
RE: Unknown mod
by Immolo on Sunday March 21st 2010, 14:15
Yes on both questions
RE: Unknown mod
by Erich E. Hoover on Sunday March 21st 2010, 14:26
That's really bizarre, let's see if our files are the same, run the following command (it will take a while):

find . -type f | while read FILE; do md5sum "$FILE" >> ~/Desktop/cnc4-broken.md5; done

Then compare it to the one I've posted to my website (www.compholio.com/misc/cnc4.md5):
diff -u cnc4.md5 cnc4-broken.md5
RE: Unknown mod
by Immolo on Sunday March 21st 2010, 15:15
I'm guessing this is run from inside the C&C4 Program files directory and if correct this output will be what you asked for.

pastebin.com/fpKDAZ8r
RE: Unknown mod
by Erich E. Hoover on Sunday March 21st 2010, 15:17
Hmm, that method is a little hard to check - try doing this instead:
md5sum -c ~/Desktop/cnc4.md5 | grep -v "OK"

That should tell us if any files don't match.
RE: Unknown mod
by Immolo on Monday March 22nd 2010, 5:12
md5sum -c cnc4.md5 | grep -v "OK"
./Data/VivoxLogs/vx-2010.03.21..txt: FAILED
md5sum: WARNING: 1 of 1631 computed checksums did NOT match

Which doesn't seem bad in my books

Could the host system play a part here as I'm running AMD64 Ubuntu 9.10 using the official wine ppa 1.1.41 deb
RE: Unknown mod
by Erich E. Hoover on Monday March 22nd 2010, 8:04
I suppose it's possible, I'm also running the AMD64 Ubuntu 9.10, though I've compiled Wine myself. This evening I can try running the PPA deb. It's very bizarre to me that you're having trouble here, especially since it's the error I've seen when the game cannot find its files. Could you try running the game piping the terminal output to a file and upload that to pastebin?
RE: Unknown mod
by Immolo on Monday March 22nd 2010, 9:17
pastebin.com/Ty7s6if2

That will be great if you could try the ppa for me, I'll compile myself a copy and test that tonight as well.
RE: Unknown mod
by Immolo on Monday March 22nd 2010, 13:32
Well my self compiled version took me to the login screen which is odd but at least it loads but I didn't get the intro movie like I did on windows was this true for you or do I do I need to look a little deeper.
RE: Unknown mod
by hash on Monday March 22nd 2010, 13:38
The game is saving the fact that you already saw movie and after first or second show stop showing it.
RE: Unknown mod
by Immolo on Monday March 22nd 2010, 16:17
Well the movie is playing as I can hear it but the other movies in game do display. The game does now work using that emulation server but still nothing with the login screen not using the crack.

Thank you for your time and help on this.
RE: Unknown mod
by Erich E. Hoover on Tuesday March 23rd 2010, 15:44
Huh, I loaded the PPA version and I'm not seeing any problem with loading up the game. Could you try reloading the PPA version and see if you still have trouble?

Note: To "unload" your compiled version you will need to run "sudo make uninstall" in the source code directory. You can test that you are using the PPA version by running "which wine" in a terminal. If the command responds "/usr/bin/wine" then it's the PPA version, if it responds "/usr/local/bin/wine" then it's the version you compiled.
RE: Unknown mod
by Immolo on Tuesday March 23rd 2010, 16:36
I've been running my complied version from my home directory anyway but you are right the ppa version works now so I have no idea why it wasn't working in the first place
Back