[cod] COD5 Linux using wine and CLI - My progress so far (not yet working)
Harry Rietberg
harry at rietberg.speedlinq.nl
Sun Dec 7 13:03:06 EST 2008
I tried COD5 in Wine too on my Linux server with VNC server and got this
error message:
set: glxcmds.c:343: CreateContext: Assertion `mode != ((void *)0)' failed.
fixme:faultrep:ReportFault 0x32f148 0x0 stub
Segmentation fault
Now I have a VMWARE server running on my Linux box with a COD5 server in
console mode. It takes more CPU time then the Linux bins for sure but it
works! (try it if you like cod.blutch.nl:28961). My COD4 Linux server is
running on the same server(Atom 1,6 Ghz board).
Blutch
Georgecooldude wrote:
> Its telling me Wine 0.9.9
>
>
> On Sun, Dec 7, 2008 at 4:27 PM, evolutioncrazy at gmail.com
> <mailto:evolutioncrazy at gmail.com> <evolutioncrazy at gmail.com
> <mailto:evolutioncrazy at gmail.com>> wrote:
>
> witch version of wine comes with such an old os (ubuntu 6)? :/
>
> btw: I really do not think it's possible to fool codwawmp.exe to
> run from cmdline... it NEEDS to create a window ... :/
>
> Georgecooldude ha scritto:
>> OK so seeing the threads about COD5 being run in a graphical
>> interface has made me want to try and get it running via wine on
>> the CLI. Well at least as a proof of concept until
>> Activision/Treyarch release the linux files if they ever do....
>>
>> (Figured I'd create a new thread as the other has a chain of
>> about 50 plus emails)
>>
>> My environment is ubuntu server 6 CLI edition running within
>> VMWARE. This is my test environment so i don't care if it breaks.
>>
>> Here's what I've done so far:
>> 1. I've done apt-get install wine and then run winecfg
>> 2. I've copied the windows install files (patched to 1.1) over to
>> my linux server except the videos directly.
>> They are located here "/home/myuser/.wine/drive_c/Program
>> Files/Activision/Call of Duty - World at War"
>>
>> 3. I'd CD to the directory and tried executing the executable
>> using this command (it works on windows via the command line).
>>
>> sudo wine CoDWaWmp.exe +set dedicated 2 +set net_ip 192.168.1.249
>> <http://192.168.1.249> +set net_port 28960 +map_rotate +set
>> sv_punkbuster 0 +set sv_maxclients 12 +set rcon login password
>>
>> Then I've been giving some errors about missing DLL files.
>>
>> -------------
>> On try #1
>> -------------
>> err:module:import_dll Library faultrep.DLL (which is needed by
>> L"C:\\Program Files\\Activision\\Call of Duty - World at
>> War\\CoDWaWmp.exe") not found
>> err:module:load_builtin_dll failed to load .so lib for builtin
>> L"d3d9.dll": libSM.so.6: cannot open shared object file: No such
>> file or directory
>> err:module:import_dll Loading library d3d9.dll (which is needed
>> by L"C:\\Program Files\\Activision\\Call of Duty - World at
>> War\\CoDWaWmp.exe") failed (error c000007a).
>> err:module:import_dll Library d3dx9_37.dll (which is needed by
>> L"C:\\Program Files\\Activision\\Call of Duty - World at
>> War\\CoDWaWmp.exe") not found
>> err:module:load_builtin_dll failed to load .so lib for builtin
>> L"DDRAW.dll": libSM.so.6: cannot open shared object file: No such
>> file or directory
>> err:module:import_dll Loading library DDRAW.dll (which is needed
>> by L"C:\\Program Files\\Activision\\Call of Duty - World at
>> War\\CoDWaWmp.exe") failed (error c000007a).
>> err:module:LdrInitializeThunk Main exe initialization for
>> L"C:\\Program Files\\Activision\\Call of Duty - World at
>> War\\CoDWaWmp.exe" failed, status c0000135
>>
>>
>> So I copied over the DLL files to the wine windows directory and
>> tried again.
>> -------------
>> On try #2
>> -------------
>> err:module:import_dll Library USERENV.dll (which is needed by
>> L"C:\\windows\\faultrep.DLL") not found
>> err:module:import_dll Library faultrep.DLL (which is needed by
>> L"C:\\Program Files\\Activision\\Call of Duty - World at
>> War\\CoDWaWmp.exe") not found
>> err:module:load_builtin_dll failed to load .so lib for builtin
>> L"d3d9.dll": libSM.so.6: cannot open shared object file: No such
>> file or directory
>> err:module:import_dll Loading library d3d9.dll (which is needed
>> by L"C:\\Program Files\\Activision\\Call of Duty - World at
>> War\\CoDWaWmp.exe") failed (error c000007a).
>> err:module:load_builtin_dll failed to load .so lib for builtin
>> L"DDRAW.dll": libSM.so.6: cannot open shared object file: No such
>> file or directory
>> err:module:import_dll Loading library DDRAW.dll (which is needed
>> by L"C:\\Program Files\\Activision\\Call of Duty - World at
>> War\\CoDWaWmp.exe") failed (error c000007a).
>> err:module:LdrInitializeThunk Main exe initialization for
>> L"C:\\Program Files\\Activision\\Call of Duty - World at
>> War\\CoDWaWmp.exe" failed, status c0000135
>>
>>
>> This time it was asking for USERENV.dll so I also copied that.
>> And incase of case sensitivity I renamed ddraw.ddl to DDRAW.dll
>>
>> -------------
>> On try #3
>> -------------
>> err:module:load_builtin_dll failed to load .so lib for builtin
>> L"d3d9.dll": libSM.so.6: cannot open shared object file: No such
>> file or directory
>> err:module:import_dll Loading library d3d9.dll (which is needed
>> by L"C:\\Program Files\\Activision\\Call of Duty - World at
>> War\\CoDWaWmp.exe") failed (error c000007a).
>> err:module:load_builtin_dll failed to load .so lib for builtin
>> L"DDRAW.dll": libSM.so.6: cannot open shared object file: No such
>> file or directory
>> err:module:import_dll Loading library DDRAW.dll (which is needed
>> by L"C:\\Program Files\\Activision\\Call of Duty - World at
>> War\\CoDWaWmp.exe") failed (error c000007a).
>> err:module:LdrInitializeThunk Main exe initialization for
>> L"C:\\Program Files\\Activision\\Call of Duty - World at
>> War\\CoDWaWmp.exe" failed, status c0000135
>>
>> This is where I'm at now. I've managed to reduce the errors being
>> displayed but unable to get any further. I'm new to wine today so
>> am by no means an expert. Just wondering if anyone has any
>> suggestions? I'll keep trying in the mean time and documenting
>> all the changes I make.
>>
>>
>> Oh I also did get some errors when running winecfg. They seem to
>> be around the fact I don't have a graphical interface running.
>> Maybe I also need to find a workaround for that...
>>
>> Wine cannot find the FreeType font library. To enable Wine to
>> use TrueType fonts please install a version of FreeType greater than
>> or equal to 2.0.5. <http://2.0.5.>
>> http://www.freetype.org
>> err:module:load_builtin_dll failed to load .so lib for builtin
>> L"winex11.drv": libSM.so.6: cannot open shared object file: No
>> such file or directory
>> err:imagelist:ImageList_ReplaceIcon no color!
>> err:imagelist:ImageList_ReplaceIcon no color!
>> err:imagelist:ImageList_ReplaceIcon no color!
>> err:imagelist:ImageList_ReplaceIcon no color!
>> err:module:load_builtin_dll failed to load .so lib for builtin
>> L"winex11.drv": libSM.so.6: cannot open shared object file: No
>> such file or directory
>> Application tries to create a window, but no driver could be loaded.
>> Make sure that your X server is running and that $DISPLAY is set
>> correctly.
>>
>>
>>
>>
>>
>
More information about the Cod
mailing list