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.
http://bugs.winehq.org/show_bug.cgi?id=29699
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com 2012-01-24 17:56:02 CST --- Patch sent: http://source.winehq.org/patches/data/83155
http://bugs.winehq.org/show_bug.cgi?id=29699
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |f0b274bada9c4602e90b41c3890 | |67c9bd44bceea Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #2 from Austin English austinenglish@gmail.com 2012-01-25 15:53:28 CST --- (In reply to comment #1)
Patch sent: http://source.winehq.org/patches/data/83155
http://source.winehq.org/git/wine.git/commitdiff/f0b274bada9c4602e90b41c3890...
http://bugs.winehq.org/show_bug.cgi?id=29699
--- Comment #3 from Alex Henrie alexhenrie24@gmail.com 2012-01-25 17:04:43 CST --- GyB, thank you for the detailed instructions on how to reproduce the bug. They helped a lot!
http://bugs.winehq.org/show_bug.cgi?id=29699
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2012-01-27 14:18:03 CST --- Closing bugs fixed in 1.4-rc1.