Wine & directx9

Questions about Wine on Linux
Locked
gillles
Newbie
Newbie
Posts: 4
Joined: Fri Jun 23, 2017 6:11 am

Wine & directx9

Post by gillles »

Bonjour

Since 2015 working very well on my PC KDE + wine + directx9 (playing trackmania TmForever).(WINEARCH = win32)
Distro Manjaro x64 linux 4.9.33 - GPU Nvidia 9600 drive Nvidia 340xx

After the Gellivara update wine is unable to run directx9, I try :
- downgrade wine => doesn't work
- clean manual install => doesn't work
- winetricks install => doesn"t work

always the same error dxsetup error runtime ....

So How to install directx 9 on win (winearch win32)
... i want Tmforever working back
thanks
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Wine & directx9

Post by Bob Wya »

gillles wrote:...
After the Gellivara update wine is unable to run directx9
...
What do mean by wine is unable to run directx9?
  • A bundled DX9 installer with the Trackmania installer ?
  • winetricks directx9 ?
  • something else?
Are you actually trying to play one of these Nadeo Trackmania variants???
It would be helpful to know this - to find out what the current DirectX requirements are of the game you are trying to play.

Bob
gillles
Newbie
Newbie
Posts: 4
Joined: Fri Jun 23, 2017 6:11 am

Re: Wine & directx9

Post by gillles »

OK
when i launch TmForever (Trackmania 1) https://appdb.winehq.org/objectManager. ... ngId=52021
nothing happens

I try to make a clean new install as I done the first time using "my" how to (=>http://www.manjaro.fr/forum/viewtopic.p ... nia#p67385) sorry it is in french
Then i try to launch Trackmania o pop up error windows from wine tell me "dxsetup error runtime"

Using winetricks to install directx 9 => same error

I'm sure that trackmania work very well on wine ... but how to install it ?
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Wine & directx9

Post by Bob Wya »

gillles wrote:...
I try to make a clean new install as I done the first time using "my" how to (=>http://www.manjaro.fr/forum/viewtopic.p ... nia#p67385)
...
Things move on with Wine...

If you're using Wine workarounds from 2 years - especially with a boatload of overrides (most of which where probably always unnecessary)...
Then it's time to start from scratch with a clean 32-bit WINEPREFIX... :roll:

Certainly on, my system the Trackmania 1 demo version installs and plays OK - without any overrides.
I tested with a clean 32-bit WINEPREFIX set to Windows XP.

Bob
gillles
Newbie
Newbie
Posts: 4
Joined: Fri Jun 23, 2017 6:11 am

Re: Wine & directx9

Post by gillles »

Lucky you are

I start from scratch
1- Del all wine stuff
2- install Wine
3- Winearch =win32 wwinecfg
4 answer yes to install mono et gekco
5 install TMforever
Here is the log during TM installation and when i try to launch the game

Code: Select all

[user@MyPC ~]$ WINEARCH=win32 winecfg 
wine: created the configuration directory '/home/user/.wine' 
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046} 
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa} 
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002 
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002 
err:ole:get_local_server_stream Failed: 80004002 
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046} 
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa} 
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002 
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002 
err:ole:get_local_server_stream Failed: 80004002 
fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20 
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet 
err:mscoree:LoadLibraryShim error reading registry key for installroot 
err:mscoree:LoadLibraryShim error reading registry key for installroot 
err:mscoree:LoadLibraryShim error reading registry key for installroot 
err:mscoree:LoadLibraryShim error reading registry key for installroot 
fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20 
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet 
fixme:dwmapi:DwmIsCompositionEnabled 0x6d5d3018 
fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x6a0cb608, context 0xa486b0, init_notify 0, handle 0x127e794): stub 
wine: configuration in '/home/k004102/.wine' has been updated. 
fixme:ntdll:server_ioctl_file Unsupported ioctl 24000 (device=2 access=1 func=0 method=0) 
fixme:ntdll:server_ioctl_file Unsupported ioctl 24000 (device=2 access=1 func=0 method=0) 
[user@MyPC ~]$ wine /Wd-TERA/Prg-Drivers/Jeux/TM/TmUnitedForever_Setup.exe 
fixme:msg:ChangeWindowMessageFilter c048 00000001 
fixme:win:DisableProcessWindowsGhosting : stub 
err:richedit:ReadStyleSheet skipping begin 
err:richedit:ReadStyleSheet skipping begin 
err:richedit:ReadStyleSheet skipping begin x 27 times

err:richedit:ReadStyleSheet skipping optional destination x 27 times

fixme:sfc:SfcIsFileProtected ((nil), L"C:\\Program Files\\TmUnitedForever\\unins000.exe") stub 

Ne reconnaît pas « C:\windows\ehome\registermceapp.exe /allusers "C:\Program Files\TmUnitedForever\registermca.xml"  » comme comm
ande interne ou externe, ou fichier de commandes. 

fixme:sfc:SRSetRestorePointA 0x33fad0 0x6b4294 
err:setupapi:do_file_copyW Unsupported style(s) 0x144  x 15 time

Code: Select all

[ user@MyPC ~]$ wine TmForever.exe 
wine: cannot find L"C:\\windows\\system32\\TmForever.exe"
doesn't work :?
gillles
Newbie
Newbie
Posts: 4
Joined: Fri Jun 23, 2017 6:11 am

Re: Wine & directx9

Post by gillles »

... and the miracle
Update lib32nvidia => TmNationForever works but on Tmnation you can only play stadium ...

So I try to re-install TmUnitedForever and alleluia it works like a charm !...

I'm an happy man !

Thank's very much
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Wine & directx9

Post by Bob Wya »

np. Glad you got it sorted out. 8)

Bob
Locked