You are not logged in.

#1 2009-04-11 14:41:43

mythus
Member
From: MS Gulf Coast
Registered: 2008-05-15
Posts: 509
Website

[SOLVED!] Can't start Heroes4 in wine

Greetings,

I am trying to get an old game of mine, Heroes IV of Might and Magic, to play under wine. I know it plays under wine; or at least it does under the other distros I had used extensively in the past (namely Kubuntu and Sabayon). It usually runs better under wine than in windows.

However despite setting up wine just as I had in the past, the game will not run. It installs fine, and I have applied the no-cd exe as always before. However it simply won't run. Here's is what I get when running it in command line.

[mythus@norova Heroes of Might and Magic IV]$ wine heroes4.exe
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
fixme:win:EnumDisplayDevicesW ((null),0,0x33f890,0x00000000), stub!  
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 16
err:d3d:IWineD3DDeviceImpl_SetupFullscreenWindow (0x146768): Want to change the window parameters of HWND 0x10028, but another style is stored for restoration afterwards                 
err:d3d:IWineD3DDeviceImpl_SetupFullscreenWindow (0x146768): Want to change the window parameters of HWND 0x10028, but another style is stored for restoration afterwards                 
wine: Unhandled page fault on read access to 0x000000dc at address 0x7e9c3087 (thread 0009), starting debugger...                                                                         
Unhandled exception: page fault on read access to 0x000000dc in 32-bit code (0x7e9c3087).    
Register dump:                                                                               
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b                                             
 EIP:7e9c3087 ESP:0033f64c EBP:0033f6a4 EFLAGS:00010246(   - 00      -RIZP1)                 
 EAX:0013f68c EBX:7ea03508 ECX:7ea020e0 EDX:0013f68c                                         
 ESI:00000000 EDI:0013f668                                                                   
Stack dump:                                                                                  
0x0033f64c:  00000000 00000000 00000000 00000000                                             
0x0033f65c:  00000000 00000000 00000020 00000400                                             
0x0033f66c:  00000300 00000000 00000032 7e1b4ad0                                             
0x0033f67c:  00000000 00000000 00000000 00000000                                             
0x0033f68c:  00000000 00000000 00000000 7e1ec190                                             
0x0033f69c:  001423a8 00142218 0033f824 7e11db25                                             
Backtrace:                                                                                   
=>0 0x7e9c3087 device_parent_CreateRenderTarget+0x37() in ddraw (0x0033f6a4)                 
  1 0x7e11db25 IWineD3DDeviceImpl_CreateSwapChain+0x2c5() in wined3d (0x0033f824)            
  2 0x7e9c43eb device_parent_CreateSwapChain+0x8b() in ddraw (0x0033f864)                    
  3 0x7e1161aa IWineD3DDeviceImpl_InitGDI+0x4a() in wined3d (0x0033f8a4)                     
  4 0x7e9c8855 IDirectDrawImpl_CreateSurface+0xea5() in ddraw (0x0033fa54)                   
  5 0x00843e4e in heroes4 (+0x443e4e) (0x00000300)                                           
  6 0x00000000 (0x00000000)                                                                  
0x7e9c3087 device_parent_CreateRenderTarget+0x37 in ddraw: movl 0xdc(%esi),%ecx              
Modules:                                                                                     
Module  Address                 Debug info      Name (69 modules)                            
PE        400000-  a1d000       Export          heroes4                                      
PE      10000000-10051000       Deferred        binkw32                                      
PE      21100000-2115e000       Deferred        mss32                                        
ELF     7bf00000-7bf03000       Deferred        <wine-loader>                                
ELF     7d0d4000-7dfec000       Deferred        libglcore.so.1                               
ELF     7dfec000-7e0a6000       Deferred        libgl.so.1                                   
ELF     7e0cc000-7e1ee000       Export          wined3d<elf>                                 
  \-PE  7e0e0000-7e1ee000       \               wined3d                                      
ELF     7e216000-7e22a000       Deferred        midimap<elf>                                 
  \-PE  7e220000-7e22a000       \               midimap                                      
ELF     7e22a000-7e24f000       Deferred        msacm32<elf>                                 
  \-PE  7e230000-7e24f000       \               msacm32                                      
ELF     7e24f000-7e258000       Deferred        librt.so.1                                   
ELF     7e258000-7e320000       Deferred        libasound.so.2                               
ELF     7e320000-7e356000       Deferred        winealsa<elf>                                
  \-PE  7e330000-7e356000       \               winealsa                                     
ELF     7e356000-7e35f000       Deferred        libxcursor.so.1                              
ELF     7e35f000-7e364000       Deferred        libxfixes.so.3                               
ELF     7e364000-7e367000       Deferred        libxcomposite.so.1                           
ELF     7e367000-7e36e000       Deferred        libxrandr.so.2                               
ELF     7e36e000-7e376000       Deferred        libxrender.so.1                              
ELF     7e376000-7e37b000       Deferred        libxxf86vm.so.1                              
ELF     7e37b000-7e37e000       Deferred        libxinerama.so.1                             
ELF     7e37e000-7e39d000       Deferred        imm32<elf>                                   
  \-PE  7e380000-7e39d000       \               imm32                                        
ELF     7e39d000-7e3a2000       Deferred        libxdmcp.so.6                                
ELF     7e3a2000-7e3bb000       Deferred        libxcb.so.1                                  
ELF     7e3bb000-7e3be000       Deferred        libxau.so.6                                  
ELF     7e3be000-7e3c2000       Deferred        libuuid.so.1                                 
ELF     7e3c2000-7e4df000       Deferred        libx11.so.6                                  
ELF     7e4df000-7e4ee000       Deferred        libxext.so.6                                 
ELF     7e4ee000-7e506000       Deferred        libice.so.6                                  
ELF     7e506000-7e5a1000       Deferred        winex11<elf>                                 
  \-PE  7e510000-7e5a1000       \               winex11                                      
ELF     7e687000-7e6ad000       Deferred        libexpat.so.1                                
ELF     7e6ad000-7e6d8000       Deferred        libfontconfig.so.1                           
ELF     7e6d8000-7e6ec000       Deferred        libz.so.1                                    
ELF     7e6ec000-7e771000       Deferred        libfreetype.so.6                             
ELF     7e771000-7e7bc000       Deferred        dsound<elf>                                  
  \-PE  7e780000-7e7bc000       \               dsound                                       
ELF     7e7bc000-7e84e000       Deferred        winmm<elf>                                   
  \-PE  7e7d0000-7e84e000       \               winmm                                        
ELF     7e84e000-7e8b9000       Deferred        rpcrt4<elf>                                  
  \-PE  7e860000-7e8b9000       \               rpcrt4                                       
ELF     7e8b9000-7e9ae000       Deferred        ole32<elf>                                   
  \-PE  7e8d0000-7e9ae000       \               ole32                                        
ELF     7e9ae000-7ea05000       Export          ddraw<elf>                                   
  \-PE  7e9c0000-7ea05000       \               ddraw                                        
ELF     7ea05000-7ea5a000       Deferred        advapi32<elf>                                
  \-PE  7ea10000-7ea5a000       \               advapi32                                     
ELF     7ea5a000-7eaf9000       Deferred        gdi32<elf>                                   
  \-PE  7ea70000-7eaf9000       \               gdi32                                        
ELF     7eaf9000-7ec43000       Deferred        user32<elf>                                  
  \-PE  7eb10000-7ec43000       \               user32                                       
ELF     7edc1000-7eefb000       Deferred        kernel32<elf>                                
  \-PE  7ede0000-7eefb000       \               kernel32                                     
ELF     7eefb000-7ef06000       Deferred        libnss_files.so.2                            
ELF     7ef06000-7ef2c000       Deferred        libm.so.6                                    
ELF     7ef38000-7ef3a000       Deferred        libnvidia-tls.so.1                           
ELF     7ef3a000-7ef52000       Deferred        msacm32<elf>                                 
  \-PE  7ef40000-7ef52000       \               msacm32                                      
ELF     7ef52000-7f000000       Deferred        ntdll<elf>                                   
  \-PE  7ef60000-7f000000       \               ntdll                                        
ELF     b7d31000-b7d39000       Deferred        libsm.so.6                                   
ELF     b7d3b000-b7d3f000       Deferred        libdl.so.2                                   
ELF     b7d3f000-b7e86000       Deferred        libc.so.6                                    
ELF     b7e86000-b7e9e000       Deferred        libpthread.so.0                              
ELF     b7ec4000-b7fff000       Deferred        libwine.so.1
ELF     b8000000-b801e000       Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Program Files\3DO\Heroes of Might and Magic IV\heroes4.exe
        00000009    0 <==
0000000c
        00000013    0
        00000012    0
        0000000e    0
        0000000d    0
0000000f
        00000015    0
        00000014    0
        00000011    0
        00000010    0
00000016
        00000017    0
Backtrace:
=>0 0x7e9c3087 device_parent_CreateRenderTarget+0x37() in ddraw (0x0033f6a4)
  1 0x7e11db25 IWineD3DDeviceImpl_CreateSwapChain+0x2c5() in wined3d (0x0033f824)
  2 0x7e9c43eb device_parent_CreateSwapChain+0x8b() in ddraw (0x0033f864)
  3 0x7e1161aa IWineD3DDeviceImpl_InitGDI+0x4a() in wined3d (0x0033f8a4)
  4 0x7e9c8855 IDirectDrawImpl_CreateSurface+0xea5() in ddraw (0x0033fa54)
  5 0x00843e4e in heroes4 (+0x443e4e) (0x00000300)
  6 0x00000000 (0x00000000)
[mythus@norova Heroes of Might and Magic IV]$

I am running for my desktop kdemod 4.2.2. Wine version is 1.1.18-1.

In case it might help, here is my xorg.conf.

  GNU nano 2.0.9                                File: /etc/X11/xorg.conf                                                             Modified

 GNU nano 2.0.9 File: /etc/X11/xorg.conf# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Mon Mar 23 15:33:27 PST 2009 nvidia-xconfig: X configuration file generated by
# nvidia-xconfig nvidia-xconfig: version 1.0 (buildmeister@builder63) Mon Mar 23 15:33:27 PST 2009Section "ServerLayout"
    Identifier "Layout0" Section "ServerLayout" Screen 0 "Screen0"
    Identifier "Layout0" InputDevice "Keyboard0" "CoreKeyboard"
    Screen 0 "Screen0" InputDevice "Mouse0" "CorePointer" EndSection
    InputDevice "Keyboard0" "CoreKeyboard" Section "Files" EndSection
    InputDevice "Mouse0" "CorePointer" Section "Module"
End    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "RenderAccel" "true"
    Option         "EnablePageFlip" "true"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "True"
    SubSection     "Display"
        Depth       24
    EndSubSection
    Modes "1280x1024" "1024x768" "800x600"
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

I would love to get this solved so that I don't have to dual boot. I am working on eliminating my need for a windows partition. So thanks very much for any help on this. If this is posted in the wrong section, please for give me and feel free to move it.

Thanks again in advance for any and all help on this matter.

Last edited by mythus (2009-04-16 05:18:00)


Legends of Nor'Ova - role playing community devoted to quality forum-based and table-top role play, home of the Legends of Nor'Ova Core Rule Book and Legends of Nor'Ova: Saga of Ablution steam punk like forum based RPG

Offline

#2 2009-04-12 17:09:12

mythus
Member
From: MS Gulf Coast
Registered: 2008-05-15
Posts: 509
Website

Re: [SOLVED!] Can't start Heroes4 in wine

Greetings,

Here's some more information, hopefully it will be helpful in helping me solve this issue.

The graphic's card is an Nvidia 6200, I am using the latests Nvidia driver.

The sound card is Nvidia as well.

Processor is an AMD64 Anthlon however I am running the i686 build Arch (don't like messing with programs that hate the 64 bit builds).

I have 2 gig ram, and a 4 gig swap, so slow down really isn't a problem.

I am running ext4 for my root and home partitions, rieserfs for my var partition.

I mainly run KDEMod 4.2 (I like how I can make it look and work), but I also tested this in e17 and LXDE (two of my other favorite environments), I even tried it on GNOME even though I am not much of a GNOME fan (do like some of the GTK themes, myXenon and Cloud to name a few, though). And this problem presists in those environments, leading me to believe that it is not a desktop environment issue.

My WINE setup is for WinXP, I have set up the My Documents, Videos, Music, Pictures folder and set up the drives/mounts. Alsa is the sound driver that I am using, and I am using the default video settings (no virtual desktop and the likes). However I had tried it with a virtual desktop setting, and no go.

I am really at a loss here. This game runs wonderfully under wine (better than even in windows) in kubuntu, linux mint, sabayon, open suse, debian, and mempis. But since I had been using Arch Linux for a while now, I wanted to get this running in Wine here. I am using Virtual Box already to prevent me from having to boot into windows just for my use of InDesign CS3. Now I just want to get HOMMIV running under WINE and then I can finally remove my old winxp partition withouth loosing the chance to play my old favorite once and awhile.


If there is any more info I can give to help solve this issue please let me know. If I somehow missed over a wiki article or post already stating on how to fix this type of issue, please direct me to it.

Thanks again for any help on this matter.


Legends of Nor'Ova - role playing community devoted to quality forum-based and table-top role play, home of the Legends of Nor'Ova Core Rule Book and Legends of Nor'Ova: Saga of Ablution steam punk like forum based RPG

Offline

#3 2009-04-13 18:25:28

mythus
Member
From: MS Gulf Coast
Registered: 2008-05-15
Posts: 509
Website

Re: [SOLVED!] Can't start Heroes4 in wine

Greetings,

Here';s some update.

I have tested a couple other programs. Sim City 4 is running perfectly well under wine. HOMMIV Map Editor works well under wine. Only thing not working is HOMMIV. It will try to load, flicker a black screen for a sec, then laugh at me and quit.


Legends of Nor'Ova - role playing community devoted to quality forum-based and table-top role play, home of the Legends of Nor'Ova Core Rule Book and Legends of Nor'Ova: Saga of Ablution steam punk like forum based RPG

Offline

#4 2009-04-16 03:25:17

mythus
Member
From: MS Gulf Coast
Registered: 2008-05-15
Posts: 509
Website

Re: [SOLVED!] Can't start Heroes4 in wine

Greetings,

I like to think I've been patient about this but I have to admit, I am losing my patience. By now I'd thought I'd at least hear a "um.. sorry... not sure what the problem is" or a 'go read blah blah blah post or wiki".. but instead I have only been talking to myself. Please, if there is anything that anyone can think of that might help me with this one little issue, I'd be most appreciative. I have tried everything I can think of, from going over xorg with a fine tooth comb to doing seances (that last bit is a joke obviously:P )

I did manage to get rid of part of an error, no longer getting the "Xlib:  extension "Generic Event Extension" missing on display ":0.0".". Not sure what I did actually to get rid of that though lol.

So anyways, here's a new wine output from trying to run Heroes4:

[mythus@norova Heroes of Might and Magic IV]$ wine heroes4.exe
fixme:win:EnumDisplayDevicesW ((null),0,0x33f890,0x00000000), stub!
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 16
err:d3d:IWineD3DDeviceImpl_SetupFullscreenWindow (0x146e90): Want to change the window parameters of HWND 0x10028, but another style is stored for restoration afterwards                                                                                                                     
err:d3d:IWineD3DDeviceImpl_SetupFullscreenWindow (0x146e90): Want to change the window parameters of HWND 0x10028, but another style is stored for restoration afterwards                                                                                                                     
wine: Unhandled page fault on read access to 0x000000dc at address 0x7e9be057 (thread 0009), starting debugger...                              
Unhandled exception: page fault on read access to 0x000000dc in 32-bit code (0x7e9be057).                                                      
Register dump:                                                                                                                                 
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b                                                                                               
 EIP:7e9be057 ESP:0033f64c EBP:0033f6a4 EFLAGS:00010246(   - 00      -RIZP1)                                                                   
 EAX:0013fda4 EBX:7e9fe504 ECX:7e9fd0e0 EDX:0013fda4                                                                                           
 ESI:00000000 EDI:0013fd80                                                                                                                     
Stack dump:                                                                                                                                    
0x0033f64c:  00000000 00000000 00000000 00000000                                                                                               
0x0033f65c:  00000000 00000000 00000020 00000400                                                                                               
0x0033f66c:  00000300 00000000 00000032 7e1c08f0                                                                                               
0x0033f67c:  00000000 00000000 00000000 00000000                                                                                               
0x0033f68c:  00000000 00000000 00000000 7e1f7e28                                                                                               
0x0033f69c:  00142ac8 00142920 0033f824 7e129365                                                                                               
Backtrace:                                                                                                                                     
=>0 0x7e9be057 device_parent_CreateRenderTarget+0x37() in ddraw (0x0033f6a4)                                                                   
  1 0x7e129365 IWineD3DDeviceImpl_CreateSwapChain+0x2c5() in wined3d (0x0033f824)                                                              
  2 0x7e9bf3bb device_parent_CreateSwapChain+0x8b() in ddraw (0x0033f864)                                                                      
  3 0x7e1219aa IWineD3DDeviceImpl_InitGDI+0x4a() in wined3d (0x0033f8a4)                                                                       
  4 0x7e9c3825 IDirectDrawImpl_CreateSurface+0xea5() in ddraw (0x0033fa54)                                                                     
  5 0x00843e4e in heroes4 (+0x443e4e) (0x00000300)                                                                                             
  6 0x00000000 (0x00000000)                                                                                                                    
0x7e9be057 device_parent_CreateRenderTarget+0x37 in ddraw: movl 0xdc(%esi),%ecx                                                                
Modules:                                                                                                                                       
Module  Address                 Debug info      Name (69 modules)                                                                              
PE        400000-  a1d000       Export          heroes4                                                                                        
PE      10000000-10051000       Deferred        binkw32                                                                                        
PE      21100000-2115e000       Deferred        mss32                                                                                          
ELF     7bf00000-7bf03000       Deferred        <wine-loader>                                                                                  
ELF     7d0d2000-7dfea000       Deferred        libglcore.so.1                                                                                 
ELF     7dfea000-7e0a4000       Deferred        libgl.so.1                                                                                     
ELF     7e0d8000-7e1fa000       Export          wined3d<elf>                                                                                   
  \-PE  7e0f0000-7e1fa000       \               wined3d                                                                                        
ELF     7e222000-7e247000       Deferred        msacm32<elf>                                                                                   
  \-PE  7e230000-7e247000       \               msacm32                                                                                        
ELF     7e247000-7e250000       Deferred        librt.so.1                                                                                     
ELF     7e250000-7e318000       Deferred        libasound.so.2                                                                                 
ELF     7e318000-7e34e000       Deferred        winealsa<elf>                                                                                  
  \-PE  7e320000-7e34e000       \               winealsa                                                                                       
ELF     7e34e000-7e357000       Deferred        libxcursor.so.1                                                                                
ELF     7e357000-7e35c000       Deferred        libxfixes.so.3                                                                                 
ELF     7e35c000-7e35f000       Deferred        libxcomposite.so.1                                                                             
ELF     7e35f000-7e366000       Deferred        libxrandr.so.2                                                                                 
ELF     7e366000-7e36f000       Deferred        libxrender.so.1                                                                                
ELF     7e36f000-7e374000       Deferred        libxxf86vm.so.1                                                                                
ELF     7e374000-7e377000       Deferred        libxinerama.so.1                                                                               
ELF     7e377000-7e396000       Deferred        imm32<elf>                                                                                     
  \-PE  7e380000-7e396000       \               imm32                                                                                          
ELF     7e396000-7e39b000       Deferred        libxdmcp.so.6                                                                                  
ELF     7e39b000-7e3b4000       Deferred        libxcb.so.1                                                                                    
ELF     7e3b4000-7e4d1000       Deferred        libx11.so.6                                                                                    
ELF     7e4d1000-7e4e0000       Deferred        libxext.so.6                                                                                   
ELF     7e4e0000-7e4f8000       Deferred        libice.so.6                                                                                    
ELF     7e4f8000-7e593000       Deferred        winex11<elf>                                                                                   
  \-PE  7e510000-7e593000       \               winex11                                                                                        
ELF     7e682000-7e6a8000       Deferred        libexpat.so.1                                                                                  
ELF     7e6a8000-7e6d3000       Deferred        libfontconfig.so.1                                                                             
ELF     7e6d3000-7e6e7000       Deferred        libz.so.1                                                                                      
ELF     7e6e7000-7e76c000       Deferred        libfreetype.so.6                                                                               
ELF     7e76c000-7e7b7000       Deferred        dsound<elf>                                                                                    
  \-PE  7e770000-7e7b7000       \               dsound                                                                                         
ELF     7e7b7000-7e849000       Deferred        winmm<elf>                                                                                     
  \-PE  7e7c0000-7e849000       \               winmm                                                                                          
ELF     7e849000-7e8b4000       Deferred        rpcrt4<elf>                                                                                    
  \-PE  7e860000-7e8b4000       \               rpcrt4                                                                                         
ELF     7e8b4000-7e9a9000       Deferred        ole32<elf>                                                                                     
  \-PE  7e8d0000-7e9a9000       \               ole32                                                                                          
ELF     7e9a9000-7ea00000       Export          ddraw<elf>                                                                                     
  \-PE  7e9b0000-7ea00000       \               ddraw                                                                                          
ELF     7ea00000-7ea55000       Deferred        advapi32<elf>                                                                                  
  \-PE  7ea10000-7ea55000       \               advapi32                                                                                       
ELF     7ea55000-7eaf4000       Deferred        gdi32<elf>                                                                                     
  \-PE  7ea70000-7eaf4000       \               gdi32                                                                                          
ELF     7eaf4000-7ec3e000       Deferred        user32<elf>                                                                                    
  \-PE  7eb10000-7ec3e000       \               user32                                                                                         
ELF     7edbc000-7eef7000       Deferred        kernel32<elf>                                                                                  
  \-PE  7ede0000-7eef7000       \               kernel32                                                                                       
ELF     7eef7000-7ef1d000       Deferred        libm.so.6                                                                                      
ELF     7ef26000-7ef3a000       Deferred        midimap<elf>                                                                                   
  \-PE  7ef30000-7ef3a000       \               midimap                                                                                        
ELF     7ef3a000-7ef51000       Deferred        msacm32<elf>                                                                                   
  \-PE  7ef40000-7ef51000       \               msacm32                                                                                        
ELF     7ef51000-7f000000       Deferred        ntdll<elf>                                                                                     
  \-PE  7ef60000-7f000000       \               ntdll                                                                                          
ELF     b7ca0000-b7ca2000       Deferred        libnvidia-tls.so.1                                                                             
ELF     b7ca2000-b7ca6000       Deferred        libuuid.so.1                                                                                   
ELF     b7ca6000-b7cae000       Deferred        libsm.so.6                                                                                     
ELF     b7cb0000-b7cb4000       Deferred        libdl.so.2                                                                                     
ELF     b7cb4000-b7dfb000       Deferred        libc.so.6                                                                                      
ELF     b7dfb000-b7e13000       Deferred        libpthread.so.0                                                                                
ELF     b7e15000-b7e20000       Deferred        libnss_files.so.2                                                                              
ELF     b7e40000-b7e43000       Deferred        libxau.so.6                                                                                    
ELF     b7e47000-b7f82000       Deferred        libwine.so.1                                                                                   
ELF     b7f83000-b7fa1000       Deferred        ld-linux.so.2                                                                                  
Threads:                                                                                                                                       
process  tid      prio (all id:s are in hex)                                                                                                   
00000008 (D) C:\Program Files\3DO\Heroes of Might and Magic IV\heroes4.exe                                                                     
        00000009    0 <==                                                                                                                      
0000000c                                                                                                                                       
        00000019    0                                                                                                                          
        00000013    0                                                                                                                          
        00000012    0                                                                                                                          
        0000000e    0                                                                                                                          
        0000000d    0                                                                                                                          
0000000f                                                                                                                                       
        00000015    0                                                                                                                          
        00000014    0                                                                                                                          
        00000011    0                                                                                                                          
        00000010    0                                                                                                                          
00000016                                                                                                                                       
        0000001a    0                                                                                                                          
        00000018    0
        00000017    0
0000001b
        0000001c    0
Backtrace:
=>0 0x7e9be057 device_parent_CreateRenderTarget+0x37() in ddraw (0x0033f6a4)
  1 0x7e129365 IWineD3DDeviceImpl_CreateSwapChain+0x2c5() in wined3d (0x0033f824)
  2 0x7e9bf3bb device_parent_CreateSwapChain+0x8b() in ddraw (0x0033f864)
  3 0x7e1219aa IWineD3DDeviceImpl_InitGDI+0x4a() in wined3d (0x0033f8a4)
  4 0x7e9c3825 IDirectDrawImpl_CreateSurface+0xea5() in ddraw (0x0033fa54)
  5 0x00843e4e in heroes4 (+0x443e4e) (0x00000300)
  6 0x00000000 (0x00000000)
[mythus@norova Heroes of Might and Magic IV]$

Here is my Xorg.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Mon Mar 23 15:33:27 PST 2009

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    # Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "DamageEvents" "True"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

If you need any other info to further help me with this issue, please let me know. Please.

Thanks.


Legends of Nor'Ova - role playing community devoted to quality forum-based and table-top role play, home of the Legends of Nor'Ova Core Rule Book and Legends of Nor'Ova: Saga of Ablution steam punk like forum based RPG

Offline

#5 2009-04-16 03:31:30

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED!] Can't start Heroes4 in wine

Check which version of wine you were using in Sabayon. Maybe a later version of wine breaks compatibility.

Offline

#6 2009-04-16 03:39:25

mythus
Member
From: MS Gulf Coast
Registered: 2008-05-15
Posts: 509
Website

Re: [SOLVED!] Can't start Heroes4 in wine

Greetings,

I am thinking that was the one right before their stable release. I am not sure why the newer wine wouldn't play it yet would rung other components, such as hommiv campaign editor... but I'll build the stable version from AUR and give that a try. I'll post back any results.

Thanks for your tip!


Legends of Nor'Ova - role playing community devoted to quality forum-based and table-top role play, home of the Legends of Nor'Ova Core Rule Book and Legends of Nor'Ova: Saga of Ablution steam punk like forum based RPG

Offline

#7 2009-04-16 04:26:06

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED!] Can't start Heroes4 in wine

mythus wrote:

I am not sure why

They apply *hundreds* of patches between releases. That's a heck of a lot of patches. Some of those patches have undesirable side-effects.

Offline

#8 2009-04-16 05:17:15

mythus
Member
From: MS Gulf Coast
Registered: 2008-05-15
Posts: 509
Website

Re: [SOLVED!] Can't start Heroes4 in wine

Well it seems that was the problem after all. After removing wine and .wine,  compiling the wine-stable, running winecfg again, reinstalline HOMMIV again,  it ran fine.

So thanks for your help! I appreicate it. I guess I should have guessed newer does not always mean better.. but it is just something that never occured to me until you brought it up, and i found wine-stable floating in AUR-land. I wonder why wine-stable isn't the default package and wine-current isn't in testing or aur, but oh well.. I finally have that issue resolved and am greatful for it because the other day I went ahead and removed windows completely off my pc (thought it was silly to keep just for an odd game when I'd never boot into it or hadn't for over a year lol).


Legends of Nor'Ova - role playing community devoted to quality forum-based and table-top role play, home of the Legends of Nor'Ova Core Rule Book and Legends of Nor'Ova: Saga of Ablution steam punk like forum based RPG

Offline

#9 2009-04-19 20:29:09

calliuz
Member
Registered: 2008-04-27
Posts: 16

Re: [SOLVED!] Can't start Heroes4 in wine

.

Last edited by calliuz (2009-04-19 20:29:40)

Offline

#10 2009-04-22 16:02:46

göteborg-johan
Member
Registered: 2009-02-27
Posts: 36

Re: [SOLVED!] Can't start Heroes4 in wine

One suggestion is that you use Playonlinux next time, it allows you to use different versions of wine for different games, if you wish. The game installation is also fully automated by the program, anything special needed to get the game running is installed and you don't even have to think about it. The downsides is that there are not scripts out for every game yet, and that some of the scripts might be outdated. Give it a try if you dont think it is a good idea to downgrade wine permanently for all your apps.

Last edited by göteborg-johan (2009-04-22 16:03:16)

Offline

Board footer

Powered by FluxBB