[Bug 27324] Cossacks II (DotEmu version) refuses to start from its install directory (path too long?)

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Nov 24 22:39:51 CST 2015


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

Bruno Jesus <00cpxxx at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #14 from Bruno Jesus <00cpxxx at gmail.com> ---
Confirming in wine 1.8-rc1. The log shows exactly what Alexandre said.

002e:trace:mmio:MMIO_Open ("SOUND\\INTERFACE\\INTERF_ARMY1.WAV", (nil),
00010000, ansi);
002e:trace:mmio:MMIO_ParseExtA ("SOUND\\INTERFACE\\INTERF_ARMY1.WAV")
002e:trace:mmio:MMIO_SetBuffer (0x154f1b40 (nil) 8192 0)
002e:trace:mmio:mmioDosIOProc (0x154f1b40, 3, 0x52908460, 0x0);
002e:trace:file:OpenFile SOUND\INTERFACE\INTERF_ARMY1.WAV OF_READ
OF_SHARE_COMPAT 
002e:trace:file:OpenFile SOUND\INTERFACE\INTERF_ARMY1.WAV 0000
002e:trace:file:RtlGetFullPathName_U (L"SOUND\\INTERFACE\\INTERF_ARMY1.WAV" 520
0x33d8e8 0x33d8e4)
002e:trace:file:RtlDosPathNameToNtPathName_U (L"C:\\Program Files\\DotEmu\\All
Cossacks And American Conquest Series\\Cossacks II - Napoleonic
Wars\\SOUND\\INTERFACE\\INTERF_ARMY1.WAV",0x33d6d8,(nil),(nil))
...
002e:trace:file:SearchPathW found L"C:\\Program Files\\DotEmu\\All Cossacks And
American Conquest Series\\Cossacks II - Napoleonic
Wars\\SOUND\\INTERFACE\\INTERF_ARMY1.WAV"
002e:trace:file:OpenFile found "\xc5\x1d\xca{\xf4\xdb3"
002e:trace:file:_lopen ("\xc5\x1d\xca{\xf4\xdb3",0000)
002e:trace:file:CreateFileW L"\00c5\001d\00ca{\00f4\00db3" GENERIC_READ
FILE_SHARE_READ FILE_SHARE_WRITE  creation 3 attributes 0x80
002e:trace:file:RtlDosPathNameToNtPathName_U
(L"\00c5\001d\00ca{\00f4\00db3",0x33d9f8,(nil),(nil))
002e:trace:file:RtlGetFullPathName_U (L"\00c5\001d\00ca{\00f4\00db3" 520
0x33d778 (nil))
002e:warn:file:CreateFileW Unable to create file L"\00c5\001d\00ca{\00f4\00db3"
(status c0000033)
002e:trace:file:CreateFileW returning 0xffffffff
002e:warn:file:OpenFile (SOUND\INTERFACE\INTERF_ARMY1.WAV): return =
HFILE_ERROR error= 123

The code:

/**************************************************************************
 *                   mmioDosIOProc                   [internal]
 */
static LRESULT CALLBACK mmioDosIOProc(LPMMIOINFO lpmmioinfo, UINT uMessage,
                      LPARAM lParam1, LPARAM lParam2)
...
    /* if filename NULL, assume open file handle in adwInfo[0] */
    if (szFileName) {
        OFSTRUCT    ofs;
        lpmmioinfo->adwInfo[0] = OpenFile(szFileName, &ofs, lpmmioinfo->dwFlags
& 0xFFFF);
    }
    if (lpmmioinfo->adwInfo[0] == HFILE_ERROR)
    ret = MMIOERR_FILENOTFOUND;
...

-- 
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