http://bugs.winehq.org/show_bug.cgi?id=3687
Summary: The longest journey: almost working Product: Wine Version: 20050930 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-directx-ddraw AssignedTo: wine-bugs@winehq.org ReportedBy: enno.rehling@gmail.com
I am a programmer at Funcom. We made an adventure game, "The longest journey" some 6 years back. Strictly in my free time, I've been testing whether the game would run under wine. I was told to report problems here. I have access to the source of the game, and could make changes to the game in my free time if that would help.
The game complains about 24 bit surfaces, something I was able to circumvent by starting my X server in 16 bit mode. It then comes up nicely, the bink intro video plays, and I get to the main screen where everything looks good so far except some glitches in the transparency of a font. There are warnings galore, and when I start the game, crashes o na null-pointer access inside it's rendering engine (I assume because some DirectX call doesn't do waht it's supposed to).
Almost all the error messages are DirectDraw-related. Here's a list of them, I'll attach a full log at the end. If there's anyhthing I can do to help make this work, please let me know. I can provide a legal copy of the game. In the meantime I'll spend a little time trying to find out what the crash is all about.
err:ddraw:d3ddevice_lock_update Wrong surface type for locking ! err:ddraw:d3ddevice_unlock_update Wrong surface type for locking ! err:ddraw:serr:ddraw:set_render_state Unhandled dwRenderStateType D3DRENDERSTATE_EDGEANTIALIAS (00000028) value : 00000000 ! err:ddraw:set_render_state Unhandled dwRenderStateType D3DRENDERSTATE_EXTENTS (0000008a) value : 00000000 ! err:ddraw:set_render_state Unhandled dwRenderStateType D3DRENDERSTATE_LASTPIXEL (00000010) value : 00000001 ! 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_PLANEMASK (0000000d) value : ffffffff ! err:ddraw:set_render_state Unhandled dwRenderStateType D3DRENDERSTATE_RANGEFOGENABLE (00000030) value : 00000000 ! err:ddraw:set_render_state Unhandled dwRenderStateType D3DRENDERSTATE_ROP2 (0000000c) value : 0000000d ! err:ddraw:set_render_state Unhandled dwRenderStateType D3DRENDERSTATE_VERTEXBLEND (00000097) value : 00000000 ! err:ddraw:set_render_state Unhandled dwRenderStateType D3DRENDERSTATE_ZVISIBLE (0000001e) value : 00000000 ! err:ddraw:setup_rect_and_surface_for_blt Only BLT override to front or back-buffer is supported for now ! fixme:ddraw:DIB_DirectDrawSurface_Blt dwFlags DDBLT_WAIT and/or DDBLT_ASYNC: can't handle right now. fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x7fdd9a68)->(0x10026,0000000a) fixme:ddraw:Main_DirectDraw_WaitForVerticalBlank (0x7fdd9a68)->(flags=0x00000001,handle=(nil)) fixme:ddraw:gltex_download_texture This is not supported yet... Expect some graphical glitches !!! fixme:profile:GetPrivateProfileIntW result may be wrong! fixme:x11drv:X11DRV_DDHAL_CreatePalette stub