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