[Bug 1201] Microsoft Golf 99 (Direct3D game) crashes on startup (IDirect3D::EnumDevices needs to return at least two devices for the requested Direct 3D Version 1)

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Dec 17 07:00:06 CST 2015


https://bugs.winehq.org/show_bug.cgi?id=1201

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Microsoft golf 99 trial     |Microsoft Golf 99 (Direct3D
                   |(Direct3D game) doesn't     |game) crashes on startup
                   |run.                        |(IDirect3D::EnumDevices
                   |                            |needs to return at least
                   |                            |two devices for the
                   |                            |requested Direct 3D Version
                   |                            |1)

--- Comment #37 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

still present.

--- quote ---
Depending on the selection (SOLO, twosome, BingoBango) the Golfdemo.exe invokes
batch files which cannot be processed.
--- quote ---

That's bug 37789

You use a 64-bit WINEPREFIX and the 32-bit app lives by design in
'%PROGRAMFILES(x86)%' path which contains '(' and ')', confusing the cmd
parser.

--- snip ---
$ WINEDEBUG=+tid,+seh,+relay,+cmd wine start Golf\ \'99\ Trial.lnk >>log2.txt
2>&1
...
002b:trace:cmd:wmain Full commandline 'L"C:\\windows\\system32\\cmd.exe /c
\"C:\\Program Files (x86)\\Microsoft Games\\Golf '99 Trial\\ccsolo.bat\""'
002b:trace:cmd:wmain Command line parm: 'L"C:\\windows\\system32\\cmd.exe /c
\"C:\\Program Files (x86)\\Microsoft Games\\Golf '99 Trial\\ccsolo.bat\""'
002b:trace:cmd:wmain Command line parm: 'L"/c \"C:\\Program Files
(x86)\\Microsoft Games\\Golf '99 Trial\\ccsolo.bat\""'
...
002b:trace:cmd:wmain /c command line: 'L"\"C:\\Program Files (x86)\\Microsoft
Games\\Golf '99 Trial\\ccsolo.bat\""'
...
002b:trace:cmd:wmain Set L"=C:" to L"C:\\Program Files (x86)\\Microsoft
Games\\Golf '99 Trial"
...
002b:trace:cmd:WCMD_ReadAndParseLine Found '(' conditions: curLen(17), inQ(0),
onlyWS(0), for(0, In:0, Do:0), if(0, else:0, lwe:0)
...
002b:trace:cmd:WCMD_DumpCommands Parsed line:
002b:trace:cmd:WCMD_DumpCommands 0x132cc0 0 00 (nil) L"C:\\Program Files
(x86)\\Microsoft Games\\Golf '99 Trial\\ccsolo.bat" Redir:L""
002b:trace:cmd:WCMD_process_commands Executing command: 'L"C:\\Program Files
(x86)\\Microsoft Games\\Golf '99 Trial\\ccsolo.bat"'
...
002b:trace:cmd:WCMD_execute command on entry:L"C:\\Program Files
(x86)\\Microsoft Games\\Golf '99 Trial\\ccsolo.bat" (0x33b3d0)
...
002b:trace:cmd:WCMD_execute Command: 'L"C:\\Program Files (x86)\\Microsoft
Games\\Golf '99 Trial\\ccsolo.bat"'
...
002b:trace:cmd:WCMD_execute param1: L":\\Program", param2: L"Files"
002b:trace:cmd:WCMD_run_program Running 'L"C:\\Program Files (x86)\\Microsoft
Games\\Golf '99 Trial\\ccsolo.bat"' (0)
...
002b:Call KERNEL32.FindFirstFileW(00332748 L"C:\\\\Program.*",00332950)
ret=7ecc05e7
002b:Ret  KERNEL32.FindFirstFileW() retval=ffffffff ret=7ecc05e7
002b:Call KERNEL32.FindClose(ffffffff) ret=7ecc05f8
...
002b:Call KERNEL32.WideCharToMultiByte(000001b5,00000000,0013b438 L"Can't
recognize 'C:\\Program Files (x86)\\Microsoft Games\\Golf '99
Trial\\ccsolo.bat' as an internal or external command, or batch
script.\r\n",00000089,0013b558,0000ffff,7ecc6888,0033267c) ret=7ecbe338
002b:Ret  KERNEL32.WideCharToMultiByte() retval=00000089 ret=7ecbe338 
--- snip ---

vs.

--- snip ---
002b:trace:cmd:wmain Full commandline 'L"C:\\windows\\system32\\cmd.exe /c
\"C:\\Program Files\\Microsoft Games\\Golf '99 Trial\\ccsolo.bat\""'
002b:trace:cmd:wmain Command line parm: 'L"C:\\windows\\system32\\cmd.exe /c
\"C:\\Program Files\\Microsoft Games\\Golf '99 Trial\\ccsolo.bat\""'
002b:trace:cmd:wmain Command line parm: 'L"/c \"C:\\Program Files\\Microsoft
Games\\Golf '99 Trial\\ccsolo.bat\""' 
...
002b:trace:cmd:wmain /c command line: 'L"\"C:\\Program Files\\Microsoft
Games\\Golf '99 Trial\\ccsolo.bat\""'
...
002b:trace:cmd:wmain First parameter is 'L"C:\\Program Files\\Microsoft
Games\\Golf '99 Trial\\ccsolo.bat"'
...
002b:trace:cmd:wmain Full path name 'L"C:\\Program Files\\Microsoft Games\\Golf
'99 Trial\\ccsolo.bat"'
...
002b:trace:cmd:wmain Found file as 'L"C:\\Program Files\\Microsoft Games\\Golf
'99 Trial\\ccsolo.bat"'
...
002b:trace:cmd:wmain Set L"=C:" to L"C:\\Program Files\\Microsoft Games\\Golf
'99 Trial"
...
002b:trace:cmd:WCMD_DumpCommands Parsed line:
002b:trace:cmd:WCMD_DumpCommands 0x132bd0 0 00 (nil) L"\"C:\\Program
Files\\Microsoft Games\\Golf '99 Trial\\ccsolo.bat\"" Redir:L""
002b:trace:cmd:WCMD_process_commands Executing command: 'L"\"C:\\Program
Files\\Microsoft Games\\Golf '99 Trial\\ccsolo.bat\""' 
...
002b:trace:cmd:WCMD_execute command on entry:L"\"C:\\Program Files\\Microsoft
Games\\Golf '99 Trial\\ccsolo.bat\"" (0x33b3d0)
...
002b:trace:cmd:WCMD_execute Command: 'L"\"C:\\Program Files\\Microsoft
Games\\Golf '99 Trial\\ccsolo.bat\""' 
...
002b:trace:cmd:WCMD_execute param1: L"C:\\Program Files\\Microsoft Games\\Golf
'99 Trial\\ccsolo.bat", param2: L""
002b:trace:cmd:WCMD_run_program Running 'L"\"C:\\Program Files\\Microsoft
Games\\Golf '99 Trial\\ccsolo.bat\""' (0) 
...
002b:trace:cmd:WCMD_run_program Searching in 'L"C:\\Program Files\\Microsoft
Games\\Golf '99 Trial\\"' for 'L"ccsolo.bat"' 
...
002b:trace:cmd:WCMD_run_program Found as L"C:\\Program Files\\Microsoft
Games\\Golf '99 Trial\\\\ccsolo.bat"
002b:Call KERNEL32.CreateFileW(00332748 L"C:\\Program Files\\Microsoft
Games\\Golf '99
Trial\\\\ccsolo.bat",80000000,00000007,00000000,00000003,00000080,00000000)
ret=7eca0ea8
002b:Ret  KERNEL32.CreateFileW() retval=00000034 ret=7eca0ea8 
...
--- snip ---

$ wine --version
wine-1.8-rc4

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list