Its telling me Wine 0.9.9<br><br><br><div class="gmail_quote">On Sun, Dec 7, 2008 at 4:27 PM, <a href="mailto:evolutioncrazy@gmail.com">evolutioncrazy@gmail.com</a> <span dir="ltr">&lt;<a href="mailto:evolutioncrazy@gmail.com">evolutioncrazy@gmail.com</a>&gt;</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;">


  
  

<div bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Verdana">witch version of wine comes with
such an old os (ubuntu 6)? :/<br>
<br>
btw: I really do not think it&#39;s possible to fool codwawmp.exe to run
from cmdline... it NEEDS to create a window ... :/<br>
</font></font><br>
Georgecooldude ha scritto:
<div><div></div><div class="Wj3C7c"><blockquote type="cite">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.... <br>
  <br>
(Figured I&#39;d create a new thread as the other has a chain of about 50
plus emails)<br>
  <br>
My environment is ubuntu server 6 CLI edition running within VMWARE.
This is my test environment so i don&#39;t care if it breaks.<br>
  <br>
Here&#39;s what I&#39;ve done so far:<br>
1. I&#39;ve done apt-get install wine and then run winecfg<br>
2. I&#39;ve copied the windows install files (patched to 1.1) over to my
linux server except the videos directly. <br>
They are located here &quot;/home/myuser/.wine/drive_c/Program
Files/Activision/Call of Duty - World at War&quot;<br>
  <br>
3. I&#39;d CD to the directory and tried executing the executable 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>
+set net_port 28960 +map_rotate +set sv_punkbuster 0 +set sv_maxclients
12 +set rcon login password<br>
  <br>
Then I&#39;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
L&quot;C:\\Program Files\\Activision\\Call of Duty - World at
War\\CoDWaWmp.exe&quot;) not found<br>
err:module:load_builtin_dll failed to load .so lib for builtin
L&quot;d3d9.dll&quot;: libSM.so.6: cannot open shared object file: No such file
or directory<br>
err:module:import_dll Loading library d3d9.dll (which is needed by
L&quot;C:\\Program Files\\Activision\\Call of Duty - World at
War\\CoDWaWmp.exe&quot;) failed (error c000007a).<br>
err:module:import_dll Library d3dx9_37.dll (which is needed by
L&quot;C:\\Program Files\\Activision\\Call of Duty - World at
War\\CoDWaWmp.exe&quot;) not found<br>
err:module:load_builtin_dll failed to load .so lib for builtin
L&quot;DDRAW.dll&quot;: libSM.so.6: cannot open shared object file: No such file
or directory<br>
err:module:import_dll Loading library DDRAW.dll (which is needed by
L&quot;C:\\Program Files\\Activision\\Call of Duty - World at
War\\CoDWaWmp.exe&quot;) failed (error c000007a).<br>
err:module:LdrInitializeThunk Main exe initialization for L&quot;C:\\Program
Files\\Activision\\Call of Duty - World at War\\CoDWaWmp.exe&quot; failed,
status c0000135<br>
  <br>
  <br>
So I copied over the DLL files to the wine windows directory and tried
again.<br>
-------------<br>
On try #2<br>
-------------<br>
err:module:import_dll Library USERENV.dll (which is needed by
L&quot;C:\\windows\\faultrep.DLL&quot;) not found<br>
err:module:import_dll Library faultrep.DLL (which is needed by
L&quot;C:\\Program Files\\Activision\\Call of Duty - World at
War\\CoDWaWmp.exe&quot;) not found<br>
err:module:load_builtin_dll failed to load .so lib for builtin
L&quot;d3d9.dll&quot;: libSM.so.6: cannot open shared object file: No such file
or directory<br>
err:module:import_dll Loading library d3d9.dll (which is needed by
L&quot;C:\\Program Files\\Activision\\Call of Duty - World at
War\\CoDWaWmp.exe&quot;) failed (error c000007a).<br>
err:module:load_builtin_dll failed to load .so lib for builtin
L&quot;DDRAW.dll&quot;: libSM.so.6: cannot open shared object file: No such file
or directory<br>
err:module:import_dll Loading library DDRAW.dll (which is needed by
L&quot;C:\\Program Files\\Activision\\Call of Duty - World at
War\\CoDWaWmp.exe&quot;) failed (error c000007a).<br>
err:module:LdrInitializeThunk Main exe initialization for L&quot;C:\\Program
Files\\Activision\\Call of Duty - World at War\\CoDWaWmp.exe&quot; failed,
status c0000135<br>
  <br>
  <br>
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<br>
  <br>
-------------<br>
On try #3<br>
-------------<br>
err:module:load_builtin_dll failed to load .so lib for builtin
L&quot;d3d9.dll&quot;: libSM.so.6: cannot open shared object file: No such file
or directory<br>
err:module:import_dll Loading library d3d9.dll (which is needed by
L&quot;C:\\Program Files\\Activision\\Call of Duty - World at
War\\CoDWaWmp.exe&quot;) failed (error c000007a).<br>
err:module:load_builtin_dll failed to load .so lib for builtin
L&quot;DDRAW.dll&quot;: libSM.so.6: cannot open shared object file: No such file
or directory<br>
err:module:import_dll Loading library DDRAW.dll (which is needed by
L&quot;C:\\Program Files\\Activision\\Call of Duty - World at
War\\CoDWaWmp.exe&quot;) failed (error c000007a).<br>
err:module:LdrInitializeThunk Main exe initialization for L&quot;C:\\Program
Files\\Activision\\Call of Duty - World at War\\CoDWaWmp.exe&quot; failed,
status c0000135<br>
  <br>
This is where I&#39;m at now. I&#39;ve managed to reduce the errors being
displayed but unable to get any further. I&#39;m new to wine today so am by
no means an expert. Just wondering if anyone has any suggestions? I&#39;ll
keep trying in the mean time and documenting all the changes I make.<br>
  <br>
  <br>
Oh I also did get some errors when running winecfg. They seem to be
around the fact I don&#39;t have a graphical interface running. Maybe I
also need to find a workaround for that...<br>
  <br>
Wine cannot find the FreeType font library.&nbsp; To enable Wine to<br>
use TrueType fonts please install a version of FreeType greater than<br>
or equal to <a href="http://2.0.5." target="_blank">2.0.5.</a><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
L&quot;winex11.drv&quot;: libSM.so.6: cannot open shared object file: No 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
L&quot;winex11.drv&quot;: libSM.so.6: cannot open shared object file: No 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
correctly.<br>
  <br>
  <br>
  <br>
  <br>
  <br>
</blockquote>
</div></div></div>

</blockquote></div><br>