Difference between revisions of "TTDWineXOskar"

From TTWiki
Jump to navigationJump to search
 
(Reformat and update)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
-=TTD with CVS WineX =-
 
 
 
Installing from CVS:
 
Installing from CVS:
   
 
'''1.''' Build WineX. Use the GetCVSWineX_Pthreads script from [http://ting.homeunix.org/ this page]. start GetCVSWineX_Pthreads and follow the onscreen information.
'''1.''' Build WineX.
 
   
 
'''2.''' Use a installed TTD Windows installation or copy <language>.exe to gamegfx.exe
<pre>Use the GetCVSWineX_Pthreads script from [http://ting.homeunix.org/|this page].
 
   
 
'''3.''' Use a native msvcrt.dll. <tt><fakedrive>/windows/system</tt> should have a msvcrt.dll.
start GetCVSWineX_Pthreads and follow the onscreen informations</pre>
 
   
  +
'''4.''' You need cmd.exe and or command.com. Put cmd.exe and or command.com to <tt><fakedrive>/windows/system</tt>.
'''2.''' Use a installed TTD Windows installation or copy &lt;language&gt;.exe to gamegfx.exe
 
   
'''3.''' Use a native msvcrt.dll
+
'''5.''' Add the registry information to system.reg
   
  +
'''6.''' Disable verbose switch in ttdpatch.cfg (keyboard inputs seems to be a bit broken)
<pre> ~/c/windows/system should have a msvcrt.dll</pre>
 
   
 
'''7.''' Enable win2k in ttdpatch.cfg (otherwise crash)
'''4.''' Add the registry information to system.reg
 
   
'''5.''' Disable verbose switch in ttdpatch.cfg (keyboard inputs seems to be a bit broken)
+
'''8.''' Be sure to have no dxmci.dll in your folder (otherwise crash)
   
 
'''9.''' Use this script to start TTDPatchW, change startwine to your wrapper, aka cvswine
'''6.''' Enable win2k in ttdpatch.cfg (otherwise crash)
 
 
'''7.''' Be sure to have no dxmci.dll in your folder (otherwise crash)
 
 
'''8.''' Use this script to start TTDPatchW, change startwine to your wrapper, aka cvswine
 
 
<pre>~pp~!/bin/bash
 
   
 
<pre>#!/bin/bash
 
LANG=English
 
LANG=English
 
 
startwine -winver winxp -dll msvcrt.dll=n ttdpatchw.exe
 
startwine -winver winxp -dll msvcrt.dll=n ttdpatchw.exe
 
</pre>
   
 
==Notes==
~/pp~</pre>
 
 
-=Notes=-
 
   
 
The fullscreenmode seems to have some palette problems, if you want to change settings you can copy the script and change ttdpatchw.exe to ttconfig.exe, run, change the config and click apply, then exit...
 
The fullscreenmode seems to have some palette problems, if you want to change settings you can copy the script and change ttdpatchw.exe to ttconfig.exe, run, change the config and click apply, then exit...
Line 44: Line 34:
 
The prelink option -no-exec-shield can help. Be sure to remake the prelink cache
 
The prelink option -no-exec-shield can help. Be sure to remake the prelink cache
   
<nowiki><nowiki>[The official line from Transgaming is that prelink should be disabled for minimal trouble - see /etc/sysconfig/prelink - C.]</nowiki></nowiki>
+
[The official line from Transgaming is that prelink should be disabled for minimal trouble - see /etc/sysconfig/prelink - C.]
   
 
Sometimes the CVS is broken, if it doesn't directly work try another day as I did ...
 
Sometimes the CVS is broken, if it doesn't directly work try another day as I did ...
Line 50: Line 40:
 
If you want to backup the sourcecode ~/temp/cvswine/winex.tar.gz
 
If you want to backup the sourcecode ~/temp/cvswine/winex.tar.gz
   
-= Results =-
+
==Results==
   
 
The net result of Chris's attempts at running this:
 
The net result of Chris's attempts at running this:
   
<pre>-+err:ntdll:MODULE_THREAD_WaitThreadModuleSafe this should never happen.+-</pre>
+
<pre>err:ntdll:MODULE_THREAD_WaitThreadModuleSafe this should never happen.</pre>
   
 
<u>Answer:</u>
 
<u>Answer:</u>
Line 60: Line 50:
 
That looks like to be a broken CVS Checkout (Had the same error).
 
That looks like to be a broken CVS Checkout (Had the same error).
   
The one works for me is from 2004/01/26.
+
The one works for me is from 2004/01/26
  +
  +
A MODULE_THREAD_WaitThreadModuleSafe workaround:
  +
  +
<pre>#!/bin/bash
  +
LANG=English
  +
setarch i386 cvswine -winver winxp -dll msvcrt.dll=n ttdpatchw.exe
  +
</pre>
  +
[[Category:TTD on Linux]]

Latest revision as of 13:42, 30 July 2011

Installing from CVS:

1. Build WineX. Use the GetCVSWineX_Pthreads script from this page. start GetCVSWineX_Pthreads and follow the onscreen information.

2. Use a installed TTD Windows installation or copy <language>.exe to gamegfx.exe

3. Use a native msvcrt.dll. <fakedrive>/windows/system should have a msvcrt.dll.

4. You need cmd.exe and or command.com. Put cmd.exe and or command.com to <fakedrive>/windows/system.

5. Add the registry information to system.reg

6. Disable verbose switch in ttdpatch.cfg (keyboard inputs seems to be a bit broken)

7. Enable win2k in ttdpatch.cfg (otherwise crash)

8. Be sure to have no dxmci.dll in your folder (otherwise crash)

9. Use this script to start TTDPatchW, change startwine to your wrapper, aka cvswine

#!/bin/bash
LANG=English
startwine -winver winxp -dll msvcrt.dll=n ttdpatchw.exe

Notes

The fullscreenmode seems to have some palette problems, if you want to change settings you can copy the script and change ttdpatchw.exe to ttconfig.exe, run, change the config and click apply, then exit...

If you have a prelink with exec-shield enabled, you can run it some memory problems with wine.

(Asks if you have a security kernel)

The prelink option -no-exec-shield can help. Be sure to remake the prelink cache

[The official line from Transgaming is that prelink should be disabled for minimal trouble - see /etc/sysconfig/prelink - C.]

Sometimes the CVS is broken, if it doesn't directly work try another day as I did ...

If you want to backup the sourcecode ~/temp/cvswine/winex.tar.gz

Results

The net result of Chris's attempts at running this:

err:ntdll:MODULE_THREAD_WaitThreadModuleSafe this should never happen.

Answer:

That looks like to be a broken CVS Checkout (Had the same error).

The one works for me is from 2004/01/26

A MODULE_THREAD_WaitThreadModuleSafe workaround:

#!/bin/bash
LANG=English
setarch i386 cvswine -winver winxp -dll msvcrt.dll=n ttdpatchw.exe