LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   Call of Duty 4 on Linux (https://www.linuxquestions.org/questions/linux-games-33/call-of-duty-4-on-linux-597725/)

marisdembovskis 11-07-2007 03:31 AM

Call of Duty 4 on Linux
 
Hi.
Im trying to install Call of Duty 4 on Fedora, but I get this error:
wine CoD4MWDemoSetup.exe
wine: could not load L"Z:\\mnt\\cdrom\\CoD4MWDemoSetup.exe": Invalid



Thanks for any help.
Anybody had something like this before.

MS3FGX 11-08-2007 01:16 PM

That is the only error it gives, "invalid"?

Are you sure that is the proper executable? Have you looked into Cedega, by the way? In my experience, it is much better at running 3D games than plain Wine.

marisdembovskis 11-09-2007 02:50 AM

thank you for reply.
havent tried Cedega, as I understand it's not free. Why I need to pay for game and also for software that probably will understand?


what I did was:
I put COD4 DVD in dvd drive
then did:

$ su
Password:
[root@localhost mexi]# cd /media/
[root@localhost media]# ls
COD4
[root@localhost media]# cd COD4/
[root@localhost COD4]# ls
CoD4MWDemoSetup.exe
[root@localhost COD4]# wine CoD4MWDemoSetup.exe
wine: could not load L"Z:\\media\\COD4\\CoD4MWDemoSetup.exe": Invalid parameter
[root@localhost COD4]#

releana 11-09-2007 11:23 AM

I tried Wine and Cedega without any luck, I would also love to know how to do this

Micro420 11-10-2007 01:53 PM

Maybe try copying the DVD to your hard drive and run the setup.exe from there?

I really doubt this game will work with Wine. I am also going to get this game this weekend.

releana 11-11-2007 10:02 AM

http://wine-review.blogspot.com/2007...s-in-wine.html

Appears the Demo works. Retail should as well.

Micro420 11-11-2007 07:40 PM

I've been trying to install the demo in Wine 0.9.49 but I can't get it to work. Complains about DirectX not being installed, and then when I run the executable nothing happens. I'm afraid Windows is the only way to play it for right now

marisdembovskis 11-12-2007 01:07 AM

Thank you releana for your info sharing. So no cedega and wine could help.
Hei, Micro420, let us know if you have any success with this game. :) And yes, I tried also to copy on hdd, no fruit. :)
http://wine-review.blogspot.com/2007...s-in-wine.html is there any difference in setup file compare to my setup file? mine was CoD4MWDemoSetup.exe (downloaded via mininova)
huuuh, hard soft.
Well I will not buy it if I can not get it working.

jimmy512 11-16-2007 11:06 AM

It's a no go here too. The installer complains about no directx being installed. When I try to run the game, the wine terminal output gives missing DLL errors. When I try to install directx, it dies on me with one of those typical microsoft errors that tell you nothing about what went wrong. I will try and post some of the output up.

snares 11-16-2007 07:50 PM

why don't you try the older version of wine. 0.9.47 like the blog listed previously did. It could be something with the new wine. If that's the case then I am sure the guys working on wine will get it straightened out. This could be like the whole IE thing. The address bar worked in one wine then for two releases didn't work but was corrected.

Plus I am sure someone somewhere has already bought the game and is workign on getting it to work on linux. COD is too good to play on windows.

jimmy512 11-17-2007 05:27 AM

Okay. I got wine 0.9.47 installed and working, but the game is still giving me errors:

Code:

err:module:import_dll Library D3DX9_34.DLL (which is needed by L"C:\\Program Files\\Activision\\Call of Duty 4 - Modern Warfare\\iw3sp.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Activision\\Call of Duty 4 - Modern Warfare\\iw3sp.exe" failed, status c0000135

I am working on fixing the missing DLL problems, which I think are supplied by directx. This page (http://www.m3fe.com/760/) gave me a bit of advice, so I will try this and report back.

jimmy512 11-17-2007 06:01 AM

Right, I have (quickly) got a bit further! The game now loads, but gives me a graphics error:

Code:

----- Initializing Renderer ----
----- Client Initialization Complete -----
Attempting 22 kHz 16 bit [Windows default] sound
----- R_Init -----
Getting Direct3D 9 interface...
Pixel shader version is 1.4
Vertex shader version is 1.1
Video card or driver doesn't accelerate dynamic textures.
Video card or driver doesn't support separate alpha blend, glow will be disabled.


Error during initialization:
Video card or driver doesn't support separate alpha blend, glow will be disabled.


JBailey742 11-18-2007 12:32 PM

Full retail game
Mandriva 2007 Spring
Wine 9.49

I can't even install it. It just says Windows 95/98/2000 not supported, then it closes.

Played it all last night on Windows XP, and overall, it works great. It didn't give me the COD feel for a while, but maybe that was just me. They sure made some improvements. And I can't see this as really being a spoiler, unless you want to know for yourself on what is new, but you can FINALLY; after seeing your teammates do this; you can throw back the grenade.
As I typed that, I don't know if older COD games did that, like for the console systems; being I only own a PC.

snares 11-18-2007 03:42 PM

jimmy512 do you have the proprietary drivers installed? You need to have dri enabled, at least that's what iv'e found, for games( HL2,COD,FarCry), to function properly. The proprietary drivers are easy on some systems hard on others.

JBailey742 just go into wines configuration wizard and switch the Windows version from 2000 to XP and see how far you get.(putting winecfg in the terminal will open the wizard). But that's if you want to get it running on Linux. Since already have it on you windows side.

JBailey742 11-18-2007 06:04 PM

I only have Windows running for COD4. Normally I don't even bother with it. The more on Linux, the better.


All times are GMT -5. The time now is 12:47 PM.