http://bugs.winehq.org/show_bug.cgi?id=9191
Summary: Roller Coaster Tycoon Will not switch to fullscreen
(EnumDisplayModes bug?)
Product: Wine
Version: 0.9.42.
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-directx-ddraw
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: phillipezolt(a)gmail.com
In roller coaster tycoon, when I try to switch to full-screen mode 640x480 (from
windowed), it won't work. The application stays in windowed mode and turns
black. (I can get the window back by moving various sub-windows around.)
'xrandr -s 640x480' works so it isn't a permission problem. Also, another
version of roller coaster tycoon (Rct2) works just fine.
This used to work with:
1) FC6
2) Wine (v.????)
3) Original Roller Coaster Tycoon
But then I upgraded to:
1) FC7,
2) wine 0.9.42,
3) RCT + Corkscreen Follies V. 1.20.013
And things don't work. I reverted to wine-0.9.36-2.fc7, and that also doesn't
work.
I traced the ddraw code, and I have a theory (which I can't yet prove) about why
it is failing:
On windows, EnumDisplayModes returns the lower bitdepth versions of a resolution
before the high bitdepth versions. When running on wine the 32-bit version is
returned first. On wine, the application sees that it has 32-bit bitdepth
version of the resolution and (erroneously) decides that means it already missed
the 8-bit version.
Here's why I say that:
Looking at the trace these are the last few lines after issuing the request, the
application terminates the enumeration after it sees a 640x480@32, and never
gets to the 640x480@8:
trace:ddraw:IDirectDrawImpl_EnumDisplayModes
(0x16e3e8)->((nil),0x32fd10,0x60fd5120): Relay
.....
trace:ddraw:IDirectDrawImpl_EnumDisplayModes Enumerating 800x600@32
trace:ddraw:PixelFormat_WineD3DtoDD Converting WINED3DFORMAT 22 to DDRAW
trace:ddraw:PixelFormat_WineD3DtoDD Returning: ( DDPF_RGB , RGB bits: 32, R
00ff0000 G 0000ff00 B 000000ff)
trace:ddraw:IDirectDrawImpl_EnumDisplayModes Enumerating 640x480@32
trace:ddraw:IDirectDrawImpl_EnumDisplayModes Application asked to terminate the
enumeration
....
If I look at the whole trace, EARLIER in the execution that application does
iterate through all of the modes, and the 640x480@8 modes show up. However,
every attempt at full screen stops with 640x480@32.
BTW. I looked at the wine code, and it wasn't immediately obvious how to
reorder things so that this is sorted. Suggestions welcome.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=8417
liquitsnake(a)gmx.net changed:
What |Removed |Added
----------------------------------------------------------------------------
URL|http://sake906.assaulttech1.|http://sake906.assaulttech1.
|com/AT1a210ins.exe |com/AT1a215ins.exe
------- Additional Comments From liquitsnake(a)gmx.net 2007-05-08 07:21 -------
(Updating link)
Thanks for testing Austin!
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=9121
xerox_xerox2000(a)yahoo.co.uk changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://www.download.com/Worl
| |d-Soccer-Winning-Eleven-8-
| |International-demo/3000-
| |7476_4-10361475.html
Status|UNCONFIRMED |NEW
Component|wine-misc |wine-directx-d3d
Ever Confirmed| |1
Keywords| |download
------- Additional Comments From xerox_xerox2000(a)yahoo.co.uk 2007-05-08 06:28 -------
I can confirm the crash for we8.exe. (however settings.exe works just fine right
here). For me, the crash in we8.exe only happens when i choose the (default)
setting Resolution 800x600 in setting.exe.
When choosing 640x480, the game starts up just fine for me (though i had to use
some native dlls for DirectMusic, to work around another crash)
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=5504
------- Additional Comments From Ronny.Standtke(a)gmx.net 2007-05-08 06:10 -------
Hmm, I just tested wine-0.9.18 and while the spinners are gone in Office 97
they have always been there with Office 2000. So this is no regression. Sorry
for the confusion...
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=9184
------- Additional Comments From kiirani(a)gmail.com 2007-05-08 06:05 -------
Ah, heh. Thanks :) I'm sorry for wasting your time.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=9154
xerox_xerox2000(a)yahoo.co.uk changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|wine-directx-ddraw |wine-misc
Summary|IDirectDrawImpl_WaitForVerti|Balls of Steel fails to
|calBlank |start
------- Additional Comments From xerox_xerox2000(a)yahoo.co.uk 2007-05-08 05:27 -------
(Changed title to something more useful, changed category as this looks not a
ddraw bug)
Hi Ryan, I had a look at the debug log of the demo. Some highlights:
0011:Call advapi32.RegCreateKeyExA(80000002,00391bdc "Software\\Wildfire
Studios\\Balls of Steel\\Display profile",00000000,
00478484,00000000,000f003f,00000000,0033f8dc,0033f8c4) ret=0040bd33
0011:Ret advapi32.RegCreateKeyExA() retval=00000000 ret=0040bd33
0011:Call advapi32.RegQueryValueExA(0000009c,00391c20 "Refresh
rate",00000000,0033f8c0,0033f794,0033f8bc) ret=0040be3d
0011:Ret advapi32.RegQueryValueExA() retval=00000002 ret=0040be3d
It cannot find the registry key HKLM\\Software\\Wildfire Studios\\Balls of
Steel\\Display profile\\Refresh rate.
I set this key manually ( "Refresh rate" = "60" and the demo starts up fine
then. Ryan, could you check 2 things please:
1. Can you get the retail version running by setting this key.
2. Could you check if this key is present after a default install on windows. If
so, something might have gone wrong during install of the app
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=8223
------- Additional Comments From sdcruz(a)netspace.net.au 2007-05-08 04:03 -------
Hello
Using wine 0.9.39 and when i try and run wine BVE.exe, i get a message box pop
up saying "Could not Initialise Direct3D"
Now this message comes up from the String.ini file in the same directory as the
exe - and part of that file has the following:
MsgBox9="Could not initialize Direct3D."
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=9190
------- Additional Comments From xerox_xerox2000(a)yahoo.co.uk 2007-05-08 04:03 -------
>"Please set the surface implementation to opengl or autodetection to allow 3D
>rendering"
>How??
Just reinstall the program on a new ~/.wine, or if you want to do it manually,
start regedit and look under the key
HKCU\\Software\\Wine\\Direct3D\\"DirectDrawRenderer", it should not be set to
gdi then
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=7814
------- Additional Comments From me(a)benmassey.ca 2007-05-08 03:30 -------
Running a nVIDIA 8600GT, I also get this bug. So score one more for the nVIDIA
origin theory. Wine 0.9.41 on Slackware 12.0.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.