[Wine] Problems to find a usefull wine configuration

please.no.cheese at gmail.com please.no.cheese at gmail.com
Sun May 28 19:29:47 CDT 2006


Dear good wine people,
I wanted to use cedga or wine so i downloaded all the required packages
(mesa, SDL, freetype, etc) and downloaded wineCVs.sh and runned it.
I tryied downloading two profiles and compiling them and got two
different results.

Profile 1: cedega
---------------------
I compiled and installed without problem
I configured cedega to include its own virutal disc, i copied all the
dlls from the windows distribution to the system32 directory in
drive_c/windows.
I thought this could cause no problem because there is a dll override
section in the config file which protects wine from using the native
dll.
This is an extract from the config file
[DllOverrides]
"commdlg"      = "builtin, native"
"comdlg32"     = "builtin, native"
"ver"          = "builtin, native"
"version"      = "builtin, native"
"shell"        = "builtin, native"
"shell32"      = "builtin, native"
"shfolder"     = "builtin, native"
"shlwapi"      = "builtin, native"
   (..... it goes on and on....)

I run several windows programs and every single one seems to fail with
the following error:
  err:win:GetDesktopWindow Wine init error: either you're trying to use
an invalid native USER.EXE   config, or some graphics/GUI libraries or
DLLs didn't initialize properly. Aborting.
There are no more error lines.

I run cedega with some trace prints so i can add more information to
this message, here are the lines surrounding the error.
2227 - 0002:trace:dialog:DIALOG_ParseTemplate32  EXSTYLE 0x00000000
2227 - 0002:trace:dialog:DIALOG_ParseTemplate32  CAPTION L""
2227 - 0002:trace:heap:RtlAllocateHeap (b7aa0000,00000002,00000020):
returning b7aa0df0
2227 - 0002:trace:nonclient:AdjustWindowRectEx (0,0)-(0,0) 00c00000 0
00000001
2227 - 0002:trace:nonclient:AdjustWindowRectEx Adjusted values are:
(0,0)-(0,0)
2227 - 0002:trace:atom:ATOM_GetAtomNameW (global) 8002 -> L"#32770"
2228 - 0002:trace:win:WIN_CreateWindowEx L"" L"#32770" ex=00000001
style=80c80082 0,0 0x0 parent=0000 menu=0000 inst=00400000 params=(nil)
2228 - 0002:trace:win:dump_window_styles style: WS_POPUP WS_CAPTION
WS_SYSMENU 00000082
2228 - 0002:trace:win:dump_window_styles exstyle: WS_EX_DLGMODALFRAME
2228 - 0002:trace:win:WIN_CreateWindowEx winproc type is 3
(WIN_PROC_32W)
2228 - 0002:err:win:GetDesktopWindow Wine init error: either you're
trying to use an invalid native USER.EXE config, or some graphics/GUI
libraries or DLLs didn't initialize properly. Aborting.
2228 - 0002:trace:module:MODULE_InitDLL (zrgeom.dll,PROCESS_DETACH,0x1)
- CALL
2

I found no usefull information about that error and have no ideas
regarding the possible cause of it.

Now, i still tried a different configuration....
Profile 2: standard wine with directx9 patches
---------------------------------------------------------
It also compiled perfectly, i had the same disk configuration.
Because the last wine cvs is configured by the register and no the
config file as cedega.
I configured it separately, i just selected the proper options in the
winecfg executable.
As far as i understood the dll order is always bultin -> native in this
version so i needed not to worry because dll overwriting.
Now, this version worked much better, it was actually able to show the
main script of one game i have called Z2SteelSoldiers, i needed to run
it in a desktop window though, because i tries to change resolution to
640x480.
The game showed the main menu, drawed the mouse pointer and ever
produced sound. One problem was that the sound was very noisy and there
were buffer underrun messages about the sound printed in the console.
The most dissapointing fact was that the game window rejected the
mouse, the X11 mouse never entered the window while the game's mouse
pointer stayed always in the upper left corner of the window itself.
When i tried to enter the window with the mouse it dissapeared and
appeared somewhere else in the screen. This behaiviour appeared in all
the possible configurations i could thought about in graphics section
of the configuration utility including changing the Directx mouse
grabbing capability on and off. But when the option was on, it was ever
worse, because i could not do anything with the system and had to reset
the computer to continue using it.

I also tryied this configuration with another program. Is called
Anim8or. It is a 3D modeller, but pretty simple. I use it in windows
and is one of the reasons i still have to restart in Windows sometimes.

The programm reacted better, i could open a .an8 file and see and
object and interact with the programm. It worked fine but there were
defects in the drawing, for example the  title bar and the menu bar
were not allways drawn, sometimes i would see a black area in the
script instead of those parts of the window. also some of the faces i
designed could not be seen from the normal view but i still could see
them when rendering a preview of the image.
This behaiviour was very sensitive to window movement, when i placed
the window in a different place some of the errors were corrected, but
it was a specific position in the screen.

Conclusion
-------------
As you see i have two very different results with the differnt versions
of wine,and still both of them are far from the desired result. I would
like to know if those problems are wellknown and easy to fix. Also of
course which one of the two configurations seems more promising since
investing in both of them takes much time.
I Hope you can help me, and i am sorry for such and extended message,
but i wanted to describe the whole problem.
Have a nice day,
Regards,
Marcelo Taube



More information about the wine-users mailing list