http://bugs.winehq.org/show_bug.cgi?id=15281
Summary: PROFILE_Load and friends doesn't handle ini files with CR-only line endings Product: Wine Version: 1.1.4 Platform: PC URL: http://www.widescreengamingforum.com/wiki/index.php/UniW S OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: knan-wine@anduin.net
Created an attachment (id=16083) --> (http://bugs.winehq.org/attachment.cgi?id=16083) +profile debug log
UniWS is a universal widescreen patcher used for multiple games.
At launch, wine fails to parse its .ini file correctly and uniws emits the error message: "Your PATCHES.INI file is for a different patcher version. A new version of Universal Widescreen Patcher may be available for download."
It turns out that patches.ini is in Mac format (CR-only line endings). Converting it to CRLF allows the application to start and work.
This works out of the box on windows, only wine users have reported this error message on message boards.
The shortcoming is in the kernel32:PROFILE_* set of functions. Ought to be pretty straightforward to fix in PROFILE_Load. The +profile debug log shows the bug quite clearly.