[Wine]unhandled exception on sacred game

Rubén Gómez Antolí lobo at mucharuina.com
Tue Feb 8 16:13:39 CST 2005


Hi all,

Two days ago I send below post to wine newsgroup with no response.

Since I send mail I try to upgrade to wine-cvs version, but, It is a 
worst solution. Now I got this error:

razer at puerto-lobo:~/.wine/drive_c/Sacred$ wine sacred.exe
fixme:system:SystemParametersInfoW Unimplemented action: 8192 
(SPI_GETFOREGROUNDLOCKTIMEOUT)
fixme:system:SystemParametersInfoW Unimplemented action: 8193 
(SPI_SETFOREGROUNDLOCKTIMEOUT)
fixme:system:SystemParametersInfoW Unimplemented action: 84 
(SPI_GETPOWEROFFACTIVE)
fixme:system:SystemParametersInfoW Unimplemented action: 86 
(SPI_SETPOWEROFFACTIVE)
fixme:system:SystemParametersInfoW Unimplemented action: 59 
(SPI_SETSTICKYKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 53 
(SPI_SETTOGGLEKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 51 
(SPI_SETFILTERKEYS)
X Error of failed request:  BadMatch (invalid parameter attributes)
   Major opcode of failed request:  1 (X_CreateWindow)
   Serial number of failed request:  62
   Current serial number in output stream:  63

I look for this error in internet and know that it is posible that this 
error is due to a owner of X11, but, if i build wine from cvs with a 
wineinstall, and after wine -deb package from wine repository- runs 
well, what's happening here?

Any ideas concerning one error or another?

Sorry for my very bad english, and thanks in advance.

Lobo.

Ps.: Version game is 1.6.56, and I try with cracks with no results.

--------------- Mensaje reenviado (comienzo)

  Asunto: unhandled exception on Sacred game
  De: Rubén Gómez Antolí <mixtolobo at jazzfree.com>
  Fecha: Sun, 06 Feb 2005 16:55:11 +0100
  Grupos de noticias: comp.emulators.ms-windows.wine

  Hi all,

  I'm trying to execute Sacred game -spanish version- with wine in a debian
  system -Sarge/sid version-.

  My kernel and wine version is:

  razer at puerto-lobo:~/.wine/drive_c/Sacred$ uname -a
  Linux puerto-lobo 2.6.10+3.ii.2005-0 #1 Thu Feb 3 23:03:46 CET 2005 i686
  GNU/Linux
  razer at puerto-lobo:~/.wine/drive_c/Sacred$ dpkg -l |grep -i wine
  ii  wine           0.0.20050111-1 Microsoft Windows Compatibility Layer
  (Binar

  I was start to try with 0.0.20041019-1 wine version from debian sid, 
but the
  game don't run. I go to winehq.org and read documentation which cause that
  I decide to upgrade wine.

  By winetools I install basic system from scratch, including IE6 spanish
  version, english versions fails to install.

  When I try to install the game, I started with installer.

  If I executed the installer from cdrom, it fails:

  --------- console cut ----------------

razer at puerto-lobo:~/.wine/drive_c/sacred_instalacion$WINEDEBUG=warn+loaddll 
wine /cdrom/Instalar.exe

  wine: Unhandled exception (thread 0009), starting debugger...
  WineDbg starting on pid 0x8
  Unhandled exception: page fault on read access to 0x00000007 in 32-bit 
code
  (0x6806b0bf).
  In 32 bit mode.
  Register dump:
   CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033
   EIP:6806b0bf ESP:77a4ed94 EBP:77a4edec EFLAGS:00210246(   - 00 
-RIZP1)
   EAX:00000000 EBX:77a4f3ac ECX:00000007 EDX:77c5403c
   ESI:7c8b5710 EDI:7239ba4c
  Stack dump:
  0x77a4ed94:  68053e4f 77a4edb8 77a4eddc 7239ba4c
  0x77a4eda4:  680764d1 77a4edb8 000000a4 722acee4
  0x77a4edb4:  77a4f3ac 7239ba4c 722b4e3c 00000010
  0x77a4edc4:  74d94a80 00000850 00000000 00000000
  0x77a4edd4:  00000000 00000000 00000000 74d94a94
  0x77a4ede4:  00000000 74d94a80 77a4ef1c 680762a1
  Backtrace:
  =>1 0x6806b0bf in dirapi (+0x6b0bf) (0x77a4edec)
    2 0x680762a1 in dirapi (+0x762a1) (0x77a4ef1c)
    3 0x6805f48a in dirapi (+0x5f48a) (0x77a4ef44)
    4 0x6805ea53 in dirapi (+0x5ea53) (0x77a4f3d0)
    5 0x6805e4bd in dirapi (+0x5e4bd) (0x77a4f40c)
    6 0x6802e532  ?? +0x71d in dirapi (0x77a4f444)
    7 0x68007e8b  ?? +0x250 in dirapi (0x77a4f474)
    8 0x100030d2 in proj (+0x30d2) (0x77a4f900)
    9 0x10002e65 in proj (+0x2e65) (0x77a4fb1c)
    10 0x10002ba2 in proj (+0x2ba2) (0x77a4fb5c)
    11 0x100051c1  ?? +0x21f in proj (0x77a4fbdc)
    12 0x100050bc  ?? +0x11a in proj (0x77a4fe40)
    13 0x200016d8 in instalar (+0x16d8) (0x77a4fe94)
    14 0x200037a5  ?? +0xe0 in instalar (0x77a4ff20)
    15 0x77b639e2 in kernel32 (+0x539e2) (0x77a4fff4)
    16 0xb7fbc181  ?? +0x11 in libwine.so.1 (0x00000000)
  0x6806b0bf: xorl        0x0(%ecx),%ecx
  Wine-dbg>quit

  ----------- end of console cut --------

  I tried to extract cab install archive from cdrom and execute it:

  --------- console cut -----------

  razer at puerto-lobo:~/.wine/drive_c/sacred_instalacion$ 
WINEDEBUG=warn+loaddll
  wine Instalar.exe
  fixme:font:GetKerningPairsW (0x900,0,(nil)): almost empty stub!
  fixme:font:GetKerningPairsW (0x900,0,(nil)): almost empty stub!
  fixme:font:GetKerningPairsW (0x900,0,(nil)): almost empty stub!
  wine: Unhandled exception (thread 0009), starting debugger...
  WineDbg starting on pid 0x8
  Unhandled exception: page fault on read access to 0x77a56bc4 in 32-bit 
code
  (0x77f44c23).
  In 32 bit mode.
  Register dump:
   CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033
   EIP:77f44c23 ESP:77a4e4a4 EBP:77a4e8d0 EFLAGS:00210287(   - 00 
RISP1C)
   EAX:000021c0 EBX:77f9c0c4 ECX:77800c20 EDX:00000000
   ESI:73050260 EDI:77a4ea58
  Stack dump:
  0x77a4e4a4:  00000044 00000000 00000100 77a4e4c4
  0x77a4e4b4:  00000400 00000000 00000100 00000001
  0x77a4e4c4:  00000000 00000080 00008000 00008080
  0x77a4e4d4:  00800000 00800080 00808000 00c0c0c0
  0x77a4e4e4:  00c0dcc0 00f0caa6 00f0fbff 00a4a0a0
  0x77a4e4f4:  00808080 000000ff 0000ff00 0000ffff
  Backtrace:
  =>1 0x77f44c23 in x11drv (+0x14c23) (0x77a4e8d0)
    2 0x77f4cfdb X11DRV_DIB_CreateDIBSection+0x22b in x11drv (0x77a4e994)
    3 0x76f84953 DIB_CreateDIBSection+0xa3 in gdi32 (0x77a4e9c8)
    4 0x76f849c8 CreateDIBSection+0x48 in gdi32 (0x77a4e9f0)
    5 0x690322ab  ?? +0x28b in iml32 (0x72288c8c)
    6 0x0000002d (0x00000010)
    7 0x00000000 (0x00000000)
  0x77f44c23: movzbl      0xfffffbf4(%ebp,%eax,4),%eax
  Wine-dbg>quit
  WineDbg terminated on pid 0x8

  ----------- end of console cut -------------

  Then I extract cab archives from cdrom and reordenate tree directory
  according to a sacred install in a windows machine from a friend (no
  windows in this machine).

  I can fixed some error with google help, but actually i can't go on.

  Output is too long, I cut repeat lines:

  ------------- console cut ----------

  razer at puerto-lobo:~/.wine/drive_c/Sacred$ WINEDEBUG=warn+loaddll wine "C
  \\Sacred\\SacredLaunch.exe"
  fixme:system:SystemParametersInfoW Unimplemented action: 8192
  (SPI_GETFOREGROUNDLOCKTIMEOUT)
  fixme:system:SystemParametersInfoW Unimplemented action: 8193
  (SPI_SETFOREGROUNDLOCKTIMEOUT)
  fixme:system:SystemParametersInfoW Unimplemented action: 84
  (SPI_GETPOWEROFFACTIVE)
  fixme:system:SystemParametersInfoW Unimplemented action: 86
  (SPI_SETPOWEROFFACTIVE)
  fixme:system:SystemParametersInfoW Unimplemented action: 59
  (SPI_SETSTICKYKEYS)
  fixme:system:SystemParametersInfoW Unimplemented action: 53
  (SPI_SETTOGGLEKEYS)
  fixme:system:SystemParametersInfoW Unimplemented action: 51
  (SPI_SETFILTERKEYS)
  fixme:imm:ImmGetDefaultIMEWnd (0x10028 - (nil) 0x77c38ce0 ): semi-stub
  fixme:imm:ImmGetDefaultIMEWnd (0x10028 - (nil) 0x77c38ce0 ): semi-stub
  fixme:imm:ImmGetDefaultIMEWnd (0x10028 - 0x2002a 0x77c38ce0 ): semi-stub
  fixme:imm:ImmGetDefaultIMEWnd (0x10028 - 0x2002a 0x77c38ce0 ): semi-stub

  *** many repeat lines ******

  fixme:imm:ImmGetDefaultIMEWnd (0x10028 - 0x2002a 0x77c38ce0 ): semi-stub
  fixme:imm:ImmGetDefaultIMEWnd (0x10028 - 0x2002a 0x77c38ce0 ): semi-stub
  fixme:ddraw:DirectDrawEnumerateExA no non-display devices supported.
  fixme:ddraw:DirectDrawEnumerateExA no detached secondary devices 
supported.
  fixme:ddraw:Main_DirectDraw_SetCooperativeLevel
  (0x77c50750)->(00010028,00000c08)
  err:ddraw:set_render_state Unhandled dwRenderStateType
  D3DRENDERSTATE_LINEPATTERN (0000000a) value : 00000000 !
  err:ddraw:set_render_state Unhandled dwRenderStateType
  D3DRENDERSTATE_MONOENABLE (0000000b) value : 00000000 !
  err:ddraw:set_render_state Unhandled dwRenderStateType D3DRENDERSTATE_ROP2
  (0000000c) value : 0000000d !
  err:ddraw:set_render_state Unhandled dwRenderStateType
  D3DRENDERSTATE_PLANEMASK (0000000d) value : ffffffff !
  err:ddraw:set_render_state Unhandled dwRenderStateType
  D3DRENDERSTATE_LASTPIXEL (00000010) value : 00000001 !
  err:ddraw:set_render_state Unhandled dwRenderStateType
  D3DRENDERSTATE_ZVISIBLE (0000001e) value : 00000000 !
  err:ddraw:set_render_state Unhandled dwRenderStateType
  D3DRENDERSTATE_EDGEANTIALIAS (00000028) value : 00000000 !
  err:ddraw:set_render_state Unhandled dwRenderStateType
  D3DRENDERSTATE_RANGEFOGENABLE (00000030) value : 00000000 !
  err:ddraw:set_render_state Unhandled dwRenderStateType
  D3DRENDERSTATE_EXTENTS (0000008a) value : 00000000 !
  err:ddraw:set_render_state Unhandled dwRenderStateType
  D3DRENDERSTATE_VERTEXBLEND (00000097) value : 00000000 !
  fixme:ddraw:Main_DirectDrawClipper_Initialize
  (0x77c517f0)->(0x77c5075c,0x00000000),stub!
  err:ddraw:d3ddevice_lock_update Wrong surface type for locking !
  err:ddraw:d3ddevice_unlock_update Wrong surface type for locking !
  err:ddraw:d3ddevice_lock_update Wrong surface type for locking !
  err:ddraw:d3ddevice_unlock_update Wrong surface type for locking !
  err:ddraw:d3ddevice_lock_update Wrong surface type for locking !
  fixme:ddraw:DIB_DirectDrawSurface_Blt dwFlags DDBLT_WAIT and/or 
DDBLT_ASYNC:
  can't handle right now.
  err:ddraw:d3ddevice_unlock_update Wrong surface type for locking !
  err:ddraw:d3ddevice_lock_update Wrong surface type for locking !

  **** These pairs of line repeats. In this moment, game is charging and 
shows
  a progress bar *****

  err:ddraw:d3ddevice_unlock_update Wrong surface type for locking !
  err:ddraw:d3ddevice_lock_update Wrong surface type for locking !
  fixme:font:GetKerningPairsW (0x78,0,(nil)): almost empty stub!
  fixme:font:GetKerningPairsW (0x78,0,0x7d9affa0): almost empty stub!
  fixme:font:GetKerningPairsW (0x78,0,(nil)): almost empty stub!

  **** repeat lines ****

  fixme:font:GetKerningPairsW (0x78,0,0x7d9affa0): almost empty stub!
  fixme:font:GetKerningPairsW (0x78,0,(nil)): almost empty stub!
  fixme:font:GetKerningPairsW (0x78,0,0x7d9affa0): almost empty stub!
  err:ddraw:d3ddevice_unlock_update Wrong surface type for locking !
  err:ddraw:d3ddevice_lock_update Wrong surface type for locking !
  err:ddraw:d3ddevice_unlock_update Wrong surface type for locking !
  err:ddraw:d3ddevice_lock_update Wrong surface type for locking !
  err:ddraw:d3ddevice_unlock_update Wrong surface type for locking !
  fixme:mmtime:timeBeginPeriod Stub; we set our timer resolution at minimum
  fixme:mmtime:timeEndPeriod Stub; we set our timer resolution at minimum
  fixme:mmtime:timeBeginPeriod Stub; we set our timer resolution at minimum
  fixme:dsound:IDirectSoundImpl_SetCooperativeLevel level=DSSCL_PRIORITY not
  fully supported
  wine: Unhandled exception (thread 0014), starting debugger...
  WineDbg starting on pid 0xa
  fixme:dbghelp:SymLoadModule should have successfully loaded some debug
  information for image
  Unhandled exception: page fault on read access to 0x00000284 in 32-bit 
code
  (0x7fcdb642).
  In 32 bit mode.
  Register dump:
   CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033
   EIP:7fcdb642 ESP:765bf058 EBP:765bf0c4 EFLAGS:00210212(   - 00      - 
RIA1)
   EAX:00000000 EBX:7793e9f0 ECX:77c51c68 EDX:77c51c68
   ESI:00000000 EDI:765bf0a8
  Stack dump:
  0x765bf058:  778fa1b1 00000000 3ff00000 7d8a001c
  0x765bf068:  00000088 00000088 77bfe3e4 00000000
  0x765bf078:  00000000 765bf09c 77b41657 00000000
  0x765bf088:  7d8a0000 765c0000 00000000 77ec3ace
  0x765bf098:  00000000 7793e894 00000100 77efd740
  0x765bf0a8:  00000000 00000000 00000400 00000300
  Backtrace:
  =>1 0x7fcdb642  ?? +0x9e6 in libgl.so.1 (0x765bf0c4)
    2 0x778fa351 in ddraw (+0x1a351) (0x765bf0ec)
    3 0x778edc5b Main_IDirect3DDeviceImpl_7_Clear+0x5b in ddraw (0x765bf134)
    4 0x006adbde in sacred (+0x2adbde) (0x7bcdcb40)
    5 0x79a225a8 (0x00787220)
    6 0x006b2d80 in sacred (+0x2b2d80) (0x006ae220)
    7 0xff6a0000 (0x0000a164)
    8 0x00000000 (0x00000000)
  0x7fcdb642  ?? +0x9e6 in libgl.so.1: jmp        *0x284(%eax)
  Wine-dbg>quit
  WineDbg terminated on pid 0xa

  ----------- end of console cut ------------

  My config wine for game is this:

  ------------ config file --------

  ;; Configuración de Sacred, la leyenda
  ;; del arma sagrada

  [AppDefaults\\Instalar.exe\\x11drv]
  "Managed" = "Y"
  ;"Desktop" = "1024x768"

  [AppDefaults\\sacred.exe\\x11drv]
  "Managed" = "N"
  "Desktop" = "1024x768"
  ;"Desktop" = "N"
  "DXGrab" = "N"

  ;AppDefaults\\sacred.exe\\Version]
  "Windows" = "winxp"
  ;"Windows" = "win2k"

  [AppDefaults\\sacred.exe\\DllOverrides]
  ;;"*" = "builtin,native"
  ;;"msvcrt" = "native"
  ;;"msvcrt40" = "native"
  ;;"midimap" = "native"
  ;;"ntdll" = "builtin, native"
  ;;"oleaut32" = "builtin"
  ;;"ddraw" = "builtin"
  ;;"psapi" = "native"
  ;"kernel32" = "native"
  ;"gdi32" = "native"
  ;; La versión nativa de comctl32
  ;; provoca fallos.
  ;;"comctl32" = "native"
  ;;"ddsound" = "builtin"

  [AppDefaults\\sacred.exe\\dsound]
  ;; HEL only: Number of waveOut fragments ahead to mix in new buffers.
  "HELmargin" = "5"
  ;; HEL only: Number of waveOut fragments ahead to queue to driver.
  "HELqueue" = "5"
  ;; Max number of fragments to prebuffer
  "SndQueueMax" = "28"
  ;; Min number of fragments to prebuffer
  "SndQueueMin" = "12"
  ;; Forces emulation mode (using wave api)
  ;"HardwareAcceleration" = "Emulation"
  ;; Sets default playback device (0 - number of devices - 1)
  ;"DefaultPlayback" = "0"        ; use first device (/dev/dsp)
  ;"DefaultPlayback" = "1"        ; use second device (/dev/dsp1)
  ;"DefaultPlayback" = "2"        ; use third device (/dev/dsp2)
  ;; Sets default capture device (0 - number of devices - 1)
  ;"DefaultCapture" = "0"         ; use first device (/dev/dsp)
  ;"DefaultCapture" = "1"         ; use second device (/dev/dsp1)
  ;"DefaultCapture" = "2"         ; use third device (/dev/dsp2)

  ------------ end of config file ------------

  I must say that at first I'm trying by check-error method, and when I 
can't
  I start to read doc, ok, I admit that is my fault and the correct is read
  doc first.

  I'm googling a little for these error and for configuration with wine for
  Sacred with no success.

  ¡Ah!, Sacred game is listed in application database, but the comment 
no says
  how run it:

  http://appdb.winehq.org/appview.php?appId=1898

  Any helpful idea?

  Thanks in advance, and sorry for my very bad english and for the large 
post.

  Salud y Revolución.

  Lobo.


-- 
Libertad es poder elegir en cualquier momento. Ahora yo elijo GNU/Linux,
para no atar mis manos con las cadenas del soft propietario.
---------
Desde El Ejido, en Almería, usuario registrado linux #294013
http://www.counter.li.org



More information about the wine-users mailing list