Difference between revisions of "TTDWineXOskar"

From TTWiki
Jump to navigationJump to search
Line 14: Line 14:
 
'''3.''' Use a native msvcrt.dll
 
'''3.''' Use a native msvcrt.dll
   
<pre> ~/c/windows/system should have a msvcrt.dll</pre>
+
<pre> &lt;fakedrive&gt;/windows/system should have a msvcrt.dll</pre>
   
'''4.''' Add the registry information to system.reg
+
'''4.''' You need cmd.exe and or command.com
   
  +
<pre>Put cmd.exe and or command.com to &lt;fakedrive&gt;/windows/system</pre>
'''5.''' Disable verbose switch in ttdpatch.cfg (keyboard inputs seems to be a bit broken)
 
   
  +
'''5.''' Add the registry information to system.reg
'''6.''' Enable win2k in ttdpatch.cfg (otherwise crash)
 
   
'''7.''' Be sure to have no dxmci.dll in your folder (otherwise crash)
+
'''6.''' Disable verbose switch in ttdpatch.cfg (keyboard inputs seems to be a bit broken)
   
 
'''7.''' Enable win2k in ttdpatch.cfg (otherwise crash)
'''8.''' Use this script to start TTDPatchW, change startwine to your wrapper, aka cvswine
 
  +
  +
'''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
   
 
<pre>~pp~#!/bin/bash
 
<pre>~pp~#!/bin/bash
Line 60: Line 64:
 
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:
Try to use this script:
 
   
 
<pre>~pp~#!/bin/bash
 
<pre>~pp~#!/bin/bash

Revision as of 22:04, 26 January 2004

-=TTD with CVS WineX =-

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 informations

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

~pp~#!/bin/bash

LANG=English

startwine -winver winxp -dll msvcrt.dll=n ttdpatchw.exe

~/pp~

-=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

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

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:

~pp~#!/bin/bash

LANG=English

setarch i386 cvswine -winver winxp -dll msvcrt.dll=n ttdpatchw.exe

~/pp~