LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   Is it possible to have CoD run under WINE? (https://www.linuxquestions.org/questions/linux-games-33/is-it-possible-to-have-cod-run-under-wine-350055/)

CPUFreak91 08-04-2005 06:08 PM

Is it possible to have CoD run under WINE?
 
I tried installing CoD but I can't get it to work! It says to uload the debugger. Also.. I didn't install DirectX 9.0b is it needed? Has anyone else run CoD under WINE?

damicatz 08-04-2005 06:18 PM

Plain WINE (with the exception of the latest CVS sources) does not have DirectX 9 support nor can you install Microsoft's DirectX 9 package under it. Transgaming's Cedega is available for a small monthly fee at http://www.transgaming.com and will run Call of Duty. Cedega is a commercial version of Wine with DirectX 9 support.

If you are adventurous, you can download the WINE CVS sources (read the site for instructions) and compile them yourself. A few people have been working a lot on DirectX 9 support in vanilla WINE but most of the work has not made it to the binaries yet. You may or may not get Call of Duty to work using this method.

CPUFreak91 08-04-2005 06:32 PM

Quote:

Originally posted by damicatz
If you are adventurous, you can download the WINE CVS sources (read the site for instructions) and compile them yourself.
Well I compiled WINE but not from the CVS sources. Is there any difference?

damicatz 08-04-2005 06:39 PM

Quote:

Originally posted by CPUFreak91
Well I compiled WINE but not from the CVS sources. Is there any difference?
Yes, the CVS sources have the latest and greatest code additions including the experimental/partial DirectX 9 support.

CPUFreak91 08-04-2005 07:05 PM

Ok but still... can I unload the debugger? I will go and download the CVS (hoepfully soon). Thanks :)

otchie1 08-05-2005 06:32 AM

CoD will only work under Cedega and then it works quiet well.

There are occasional problems with punkbuster though and that aspect is not officially supported yet.

Expansions packs work fine aswell, UO is a blast

damicatz 08-05-2005 11:35 AM

Quote:

Originally posted by CPUFreak91
Ok but still... can I unload the debugger? I will go and download the CVS (hoepfully soon). Thanks :)
The debugger is run using the command winedbg <file.exe>. If you use the command wine <file.exe> the debugger isn't run.

CPUFreak91 08-05-2005 02:37 PM

Grrr. I used wine <.exe> in the firstplace. Ok... to try Cedega or the new CVS version.

otchie1 08-05-2005 07:07 PM

Having said that, Frank's corner lists it as a runner under wine...doesn't say HOW though. Maybe he uses mesa headers or something.

http://frankscorner.org/index.php

CPUFreak91 08-06-2005 10:30 AM

Oooh. I tried the instructions at franks corner but now I get an error message that says "can not load default.cfg please make sure it is in the correct folder"

nolimitz 08-06-2005 11:06 AM

CPU Freak i have a similar problem and hope both of us will be solved...mine is:::
how do i define the windows drives in cedega(if i do, cedega won't run anymore:( ).because the windows drives are undefined, half-life won't "see"conterstrike, cod won't launch..:(.PLEASE help.
and btw, i found a site where i downloaded cedega 4 free.anyone want the rpm, there is a site something like hard linux.google 4 it...the version works..:).

otchie1 08-06-2005 12:37 PM

nolimitz..oddly enough there are limitz; if you want help for 'proper' cedega BUY it.
cvscedega is free anyway and there are a host of howtos on how to configure that.

why not go over to http://ww.linux-gamers.net and do it properly?

nolimitz 08-06-2005 07:31 PM

otchie no 10x.i in't got the money.i'd rather get some free help from around here...:D.

heema 08-07-2005 02:18 AM

have you tried installing it using the loki installer ??

http://liflg.org/?catid=7&gameid=1

nolimitz 08-07-2005 09:53 AM

ok cpufreak i did it, and this is the howto, please post if it workz...in your user's home folder, there's a transgaming_drive link.follow the link, press up, and u should be in a directory called /../.transgaming then , edit config file, and define the windows drives like this :
[Drive X]
"Path" = "/mnt/x"
"Type" = "hd"
"Label" = "X drive"
"Filesystem" = "vfat"(if it's fat32, win95 if it's ext2 or fat16...)
remember, the partitions MUST be mounted...and do not try 2 replace c drive, even if u have win installed, it did not work 4 me...now, if this ain't working, do something like this :
on desktop->rite click->create new->link 2 aplication:
description = blablabla
command = cedega /mnt/path2cod
working dir = /mnt/path2cod
Remember, it is very important 2 set the working dir!!!and if the path contains spaces, it won't work(eg. /mnt/my games/cod).good luk.Remember 2 post if it workz.plz.NoLimitz.
and otchie, oddly enough, there aren't any...

CPUFreak91 08-07-2005 12:29 PM

woa woa woa.... i need something from transgaming???

Oh one more thing.. the loki installler... I don't have CoD 1.5 I have CoD 1.0 (and a 1.4 to install if it works :))

sc3252 08-07-2005 01:32 PM

Quote:

Originally posted by CPUFreak91
woa woa woa.... i need something from transgaming???

Oh one more thing.. the loki installler... I don't have CoD 1.5 I have CoD 1.0 (and a 1.4 to install if it works :))

Just download the installer and install it. I dont care what cd's you think you have it will work. I cant belive someone said he needs direct x 9 for a opengl game! Also it works fine in regular wine so dont stress about transgaming.

CPUFreak91 08-16-2005 10:50 AM

well I got the cvs cedega. But it tells me:

Your video card seemes to be missing one or more features required to run Call of Duty.

I don't get this message on Windows so is it some video card emulation problem?

otchie1 08-31-2005 07:08 PM

Quote:

Originally posted by sc3252
Just download the installer and install it. I dont care what cd's you think you have it will work. I cant belive someone said he needs direct x 9 for a opengl game! Also it works fine in regular wine so dont stress about transgaming.
Now there's odd.

CoD has only ever run for me under Cedega/cvscedega and never wine.

On the back of my copy of CoD it clearly states DirectX9b is required to the point that it is included on the disks.

nolimitz 08-31-2005 09:00 PM

Ok, bout CoD, this is the PERFECT place to ask and debate : i got cod flying with cedega, better performance than windows, the only problem : i cant play on punkbusters enabled servers ; it kicks me inadequate o/s privileges...:( And almost all good servers are punkbustered...:(( What should i do...i have cod on a fat32 partition, i copied it to a ext3 and 777'ed it...didn't work,played as root...neighter...i am outa ideas...please help..

jaksamarkotic 09-03-2005 04:35 AM

I installed CoD using loki installer. The 1.5 patch is included and it means it will install the 1.5 patch after the 1.0 is installed from CDs. Call of Duty runs fine under standard wine for me. The "Your video card seemes to be missing one or more features required to run Call of Duty." means you didn't install the graphics driver for linux (It works fine with ATI and i hear it works fine with nVidia).

If "can not load default.cfg please make sure it is in the correct folder" happens, run CoD with codmp (not CoDMP.exe) script which installed with the loki.

I can only play on punkbuster-enabled servers which have the PB for linux installed. Many servers have the PB installed only for windows. I think this is your problem too. The solution is mail the admin and tell him to install all of the six PB files. See punkbuster.com/index.php?page=dl-cod.php.

If the sound delays after video just uncomment and change the following in your ~/.wine/config:
[dsound]
"HELmargin" = "2"
"HELqueue" = "2"
"SndQueueMax" = "7"
"SndQueueMin" = "3"
"HardwareAcceleration" = "Emulation"

You could try lower values for SndQueues if this isn't good. I am using alsa.

jaksamarkotic 09-03-2005 04:42 AM

I was wrong about pb. I think inadequate o/s privileges has something to do with just copying the game, not installing it. Maybe the installer writes something in registry and it's needed to play with PB. The same thing will probably happen on windows when yoou just copy the game. Try installing it with loki. If you get kicked for something like "Couldn't update PB client" then it's a server problem. See post above.

CPUFreak91 09-03-2005 10:41 AM

Mebbe if I made a FAT partition and ran COD of of that.... I read somewehre that that works.

dmn_clown 09-03-2005 12:24 PM

Quote:

Originally posted by otchie1
Having said that, Frank's corner lists it as a runner under wine...doesn't say HOW though. Maybe he uses mesa headers or something.

http://frankscorner.org/index.php

Call of Duty and Call of Duty: United Offensive run perfectly under wine. Use the Loki installer found at http://liflg.org to install the games and patch them to the latest version for multiplayer.

The games actually run better in vanilla WINE than Cedega.

CPUFreak91 09-04-2005 09:55 AM

Oh well the FAT partition idea was a perfect bummer...

I'm gonna try the loki installer if I can download it. (Bad internet)

dmn_clown 09-04-2005 10:55 PM

Either use one of the torrents (to save their bandwidth) or wget (or Kget if you use KDE), either of these should be able to download an uncorrupted file no matter your connection.

CPUFreak91 09-05-2005 03:26 PM

I do do that for download < 10 megs because I pay $ 0.04 a minute whil online.

Enkidu_ak 11-01-2005 09:18 AM

After using the loki installer, when I try to run CoDMP.exe under cvswine, the server starts, but I get an error message stating that 168 sound files are in a bad format and then I am forced to exit. I haven't seen any mention of this under this thread so far, perhaps one of you could offer a suggestion as to how to rectify this? cvswine was compiled under gcc 4.0.2, in case that lends to the problem. The game seems to execute just fine until it searches for the sound files.

Enkidu

shazam75 11-03-2005 10:28 PM

I cant find this "FREE" cadega anywhere?

Regards
Shelton.


All times are GMT -5. The time now is 11:54 PM.