http://bugs.winehq.org/show_bug.cgi?id=29699
Bug #: 29699 Summary: Hardwar fails to start: unable to save file with the correct extension Product: Wine Version: 1.3.37 Platform: x86 URL: http://www.downloads.hardwar.info/ftp/demo/harddemo1.e xe OS/Version: Linux Status: NEW Keywords: download, regression Severity: normal Priority: P2 Component: comdlg32 AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com CC: alexhenrie24@gmail.com Classification: Unclassified Regression SHA1: 7a34094e6e3e8a321148c64b0c9e2b986e63a7d9
When starting a new game in Hardwar 2.04 the player must save the game first. There is a file dialog box asking for the save game name. The game accepts the given file name (by default this is Untitled.sav) and begins to load the game. However an error message appears soon, before the menu could appear. The text in the error dialog box says: 'Save file extension must be ".sav" - can't use "C:\Program Files\Hardwar\Untitled.a?ᵬ"
See the incorrect file extension? Thus the game fails to load and quits.
This is a regression, caused by
7a34094e6e3e8a321148c64b0c9e2b986e63a7d9 is the first bad commit commit 7a34094e6e3e8a321148c64b0c9e2b986e63a7d9 Author: Alex Henrie alexhenrie24@gmail.com Date: Fri Jan 20 14:52:18 2012 -0700
comdlg32: Correctly handle filters with multiple file extensions in Save As dialogs.
:040000 040000 a09f5d53eac9b84a775256e3c674a92cfb92a7ae 01d8f952110ad1aa3a628179bfc3686913749644 M dlls
The reverted patch fixed the issue.
The original demo for Hardwar doesn't have the option to save the game, but you can reproduce the problem after installing the 2.04 patch over the demo. Please follow the given instructions carefully (it's gonna be a little tricky doing this).
1. Launch harddemo1.exe (download link located in the URL field) which extracts the content of the installer. The default location for the installer will be C:\users\your_username\Temp\harddemo. 2. Launch the installer with Setup.exe. 3. Download, unpack and install the 2.04 patch, available here: http://www.downloads.hardwar.info/ftp/patch/official/u204patch.zip 4. Start the demo with Hardman.exe. In the launcher go to the Controls tab and change the flight controls from keyboard to mouse, then change it back to keyboard. 5. Go to the Display tab, select Direct3D Primary Display and choose a valid screen resolution. 6. Go back to the Game tab and click on the <Launch...> button. 7. In the first dialog click on <Ok>. A 'save file as...' dialog appears with the name Untitled, click on the <Save> button. The game begins to load but soon it is interrupted with an error message.
The only relevant line in the terminal is
fixme:commdlg:GetFileName95 Flags 0x00008000 not yet implemented
But this line was present before the regression too. Please let me know if you need a log with debug channels enabled.