I just had a missionforce cyberstorm moment last week
It *needs* 256 color's - even in windows. Also FWIW in
windows 2000 and xp the intro movies dont work :)
Anyway i quenched my cyberstorm twinge in windows, to get
it running i had to set it to win95 emulation and run in
256 colors (you right click and one of the tabs has the
options)
So in wine, try win95/win98 and have X in 256 colors.
For this very reason i was going to ask people if it
were possible to have a color depth translation layer.
However im sure it would be a nightmare with variable
palettes.
Dean
Samium Gromoff wrote:> What is the status of support for directx2 apps?
>
> The "failed to create surface" error in MissionForce: Cyberstorm
> seems to have persisted forever...
>
> I have a +relay log of the said game launch session, (if
> somebody wants it, i can provide the full version) --
> it appears that the graphics backend call pair
> which causes trouble is to winex11.drv.GetDCEx()/
> winex11.drv.GetSystemPaletteEntries(), which seem to suggest that
> the application asks for the drawing context (it wants 8bpp),
> realises that something is wrong with the palette and fails:
>
> 0009:Ret winex11.drv.GetDCEx() retval=000001ec ret=7ee6a102
> 0009:Ret user32.GetDC() retval=000001ec ret=00480a94
> 0009:Call
gdi32.GetSystemPaletteEntries(000001ec,00000000,00000100,0032f96c) ret=0
> 0480b05
> 0009:Call kernel32.97(7edbe980) ret=7ed7205f
> 0009:Call ntdll.RtlEnterCriticalSection(7edbe980) ret=7b8862a1
> 0009:Ret ntdll.RtlEnterCriticalSection() retval=00000000 ret=7b8862a1
> 0009:Ret kernel32.97() retval=7b918ce0 ret=7ed7205f
> 0009:Call
winex11.drv.GetSystemPaletteEntries(00184f58,00000000,00000100,0032f96c)
> ret=7ed7f080
> 0009:Ret winex11.drv.GetSystemPaletteEntries() retval=00000000
ret=7ed7f080
> 0009:Call kernel32.98(7edbe980) ret=7ed71ed4
> 0009:Call ntdll.RtlLeaveCriticalSection(7edbe980) ret=7b885fb0
> 0009:Ret ntdll.RtlLeaveCriticalSection() retval=00000000 ret=7b885fb0
> 0009:Ret kernel32.98() retval=00000000 ret=7ed71ed4
> 0009:Ret gdi32.GetSystemPaletteEntries() retval=00000000 ret=00480b05
> 0009:Call user32.MessageBeep(00000000) ret=0047d605
> 0009:Call advapi32.RegOpenKeyW(0000005c,7eeaaa80 L"Control
Panel\\Sound",0032eba4)
> ret=7ee75b7b
> 0009:Call ntdll.RtlInitUnicodeString(0032eabc,7eeaaa80 L"Control
Panel\\Sound") re
> t=7ec054df
> 0009:Ret ntdll.RtlInitUnicodeString() retval=00000026 ret=7ec054df
> 0009:Call ntdll.NtOpenKey(0032eba4,000f003f,0032eaa4) ret=7ec054fb
> 0009:Ret ntdll.NtOpenKey() retval=c0000034 ret=7ec054fb
> 0009:Call ntdll.RtlNtStatusToDosError(c0000034) ret=7ec05506
> 0009:Ret ntdll.RtlNtStatusToDosError() retval=00000002 ret=7ec05506
> 0009:Ret advapi32.RegOpenKeyW() retval=00000002 ret=7ee75b7b
> 0009:Call advapi32.RegOpenKeyW(80000001,7eeaaa80 L"Control
Panel\\Sound",0032eba4)
> ret=7ee75b98
> 0009:Call ntdll.RtlInitUnicodeString(0032eabc,7eeaaa80 L"Control
Panel\\Sound") re
> t=7ec054df
> 0009:Ret ntdll.RtlInitUnicodeString() retval=00000026 ret=7ec054df
> 0009:Call ntdll.NtOpenKey(0032eba4,000f003f,0032eaa4) ret=7ec054fb
> 0009:Ret ntdll.NtOpenKey() retval=c0000034 ret=7ec054fb
> 0009:Call ntdll.RtlNtStatusToDosError(c0000034) ret=7ec05506
> 0009:Ret ntdll.RtlNtStatusToDosError() retval=00000002 ret=7ec05506
> 0009:Ret advapi32.RegOpenKeyW() retval=00000002 ret=7ee75b98
> 0009:Call winex11.drv.Beep() ret=7ee5b4f1
> 0009:Call ntdll.RtlEnterCriticalSection(7ea3d160) ret=7ea15f40
> 0009:Ret ntdll.RtlEnterCriticalSection() retval=00000000 ret=7ea15f40
> 0009:Call kernel32.TlsGetValue(00000000) ret=7e9fc817
> 0009:Ret kernel32.TlsGetValue() retval=00179648 ret=7e9fc817
> 0009:Call ntdll.RtlLeaveCriticalSection(7ea3d160) ret=7ea15ed0
> 0009:Ret ntdll.RtlLeaveCriticalSection() retval=00000000 ret=7ea15ed0
> 0009:Ret winex11.drv.Beep() retval=00000000 ret=7ee5b4f1
> 0009:Ret user32.MessageBeep() retval=00000001 ret=0047d605
> 0009:Call user32.MessageBoxA(00010024,0032f11c "GFXCDSSurface::create:
Failed to c
> reate a surface.\r\n\r\nProgram: CyberStorm\r\nVersion: 1.10A , Win95 Dec
13 1996\
> r\nFile: graph\\gfx\\g_cds.c
(#114)\r\n\r\n---------------------------------------
> ---------------------------------------------------------------\r\nThis
problem pr
> ....
>
> regards, Samium Gromoff
>
> _______________________________________________
> wine-users mailing list
> wine-users@winehq.org
> http://www.winehq.org/mailman/listinfo/wine-users
>
--
WWW: http://deanpatrick.tk
LAN: http://www.fragfest.com.au
EMAIL: dean@bong.com.au