http://bugs.winehq.org/show_bug.cgi?id=7863
Summary: worms armageddon frontend can't set screen resolution setting Product: Wine Version: 0.9.33. Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-directx-ddraw AssignedTo: wine-bugs@winehq.org ReportedBy: madewokherd@gmail.com CC: stefandoesinger@gmx.at
Worms Armageddon's options screen has a button for setting the in-game resolution. As of Wine 0.9.33, this button appears to be functional, but it does not cause in-game resolution to change, and the setting appears to revert when returning to the options screen. In Wine 0.9.31, it works fine.
The game stores this setting in the registry as: HKEY_CURRENT_USER\Software\Team17SoftwareLTD\WormsArmageddon\Options\DisplaySize (DWORD - 0 for 640x480, 1 for 800x600, 2 for 1024x768, 3 for anything else) HKEY_CURRENT_USER\Software\Team17SoftwareLTD\WormsArmageddon\Options\DisplayXSize (DWORD) HKEY_CURRENT_USER\Software\Team17SoftwareLTD\WormsArmageddon\Options\DisplayYSize (DWORD) As of 0.9.33, it reads this setting from the registry but does not write it.
git bisect shows that it was first broken after this patch:
27113156d96d20296409fcb92839609c8dd7e34a is first bad commit commit 27113156d96d20296409fcb92839609c8dd7e34a Author: Stefan Dösinger stefan@codeweavers.com Date: Mon Feb 19 15:24:00 2007 +0100
wined3d: Remove IWineD3DDevice::EnumDisplayModes.
:040000 040000 afd0c009c3f9cb6bad7847381ba483e3090158ee 0c02ddd2cdd26216c36a29051ad3ca8dccc21527 M dlls :040000 040000 b07da634cf0987c21e86d55e9a1695c1250b650d 45fdfe6b0129b5b110ff41e602fc8817ccc2feee M include