[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
Mon Nov 23 13:32:48 CST 2015


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

--- Comment #8 from Nikolay Sivov <bunglehead at gmail.com> ---
This program uses OpenFile() function that has a limit of 128 characters per
path. From the log:

---
trace:file:SearchPathW found L"C:\\Program Files\\DotEmu\\All Cossacks And
American Conquest Series\\Cossacks II - Napoleonic
Wars\\SOUND\\INTERFACE\\INTERF_SELECT1.WAV"
trace:file:OpenFile found "l\xdf3"
---

1\xdf3 <- most likely a garbage. SearchPathW was able to locate this sound
resource, but was unable to store it in OFSTRUCT.szPathName[OFS_MAXPATHNAME],
because OFS_MAXPATHNAME is 128, but you need 130 (if I counted it right) for
this path.

In comment 4 you said it works if moved to shorter path, so I don't think
there's anything to fix in Wine.

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