[Bug 41002] Worms 2 (GOG version) fails to start, crashes with a Visual C++ runtime error

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Aug 9 10:26:05 CDT 2016


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

--- Comment #29 from Bruno Jesus <00cpxxx at gmail.com> ---
(In reply to Peter Beutner from comment #27)
> found the culprit:
> 
> trace:file:GetShortPathNameA ".\\\\data\\water\\Yellow"
> trace:file:GetShortPathNameW L".\\\\data\\water\\Yellow"
> trace:file:GetShortPathNameW not found!
> 
> this leads to frontend.exe calling landgen.exe without the path to the water
> sprites. landgen.exe then simply exits without updating data/land.dat with
> the correct paths.

Sounds awesome, I would never think about that. Please check file
kernel32\testes\path.c and add some tests to back your changes, at line 1381
you will find the function test_GetShortPathNameW, there is already a
extended_prefix test that I think you can duplicate and change. Then read
http://wiki.winehq.org/SubmittingPatches

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