http://bugs.winehq.org/show_bug.cgi?id=13554
Summary: Touhou 7.5 IaMP config.exe doesn't work Product: Wine Version: CVS/GIT Platform: Other URL: http://www.tasofro.net/arc/th075_t2.zip OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: leffeman@gmail.com
The included config.exe simply doesn't work (runs, does nothing, exits). I read on the Internet that this is a problem in Windows sometimes as well, but that setting the compatibility mode to Windows 95 lets it run.
I compiled in 16-bit support and tried some Windows version settings, no luck.
I haven't been able to find any clues in the traces or logs.
http://bugs.winehq.org/show_bug.cgi?id=13554
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
--- Comment #1 from Austin English austinenglish@gmail.com 2008-05-30 14:40:26 --- Please attach terminal output.
http://bugs.winehq.org/show_bug.cgi?id=13554
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |win16
http://bugs.winehq.org/show_bug.cgi?id=13554
--- Comment #2 from Philip Nilsson leffeman@gmail.com 2008-05-30 14:45:06 --- There is no output whatsoever.
http://bugs.winehq.org/show_bug.cgi?id=13554
--- Comment #3 from Philip Nilsson leffeman@gmail.com 2008-05-31 05:23:46 --- I have managed to find a replacement executable that does work, but I am unable to say how it differs.
http://iamp.mizuumi.net/stuff/tools/config.exe
http://bugs.winehq.org/show_bug.cgi?id=13554
yaske yaske@yaske.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #4 from yaske yaske@yaske.com 2008-07-07 01:12:30 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=13554
--- Comment #5 from David davidsboogs@gmail.com 2008-11-26 05:41:19 --- Created an attachment (id=17453) --> (http://bugs.winehq.org/attachment.cgi?id=17453) Debug and trace log for running config.exe with normal settings (18.1MB uncompressed)
The replacement config.exe linked in comment 3 does run, but does not appear to allow changing the keyboard controls (which is what I want to do to use the game on my laptop)
From a FAQ page on a wiki: http://iamp.mizuumi.net/index.php/FAQ
" * My config.exe file doesn't work.
If you are running Windows XP, right-click config.exe, select Properties, click the Compatibility tab, check the "Run this program in compatibility mode for:" box, and select Windows 2000.
* But I'm running Windows 2000!
[...] Set the compatibility to Windows 95 or 98 and the file should work without a problem. "
I attempted to do likewise using winecfg, but none of the settings I tried (Default - XP, 2000, 98, 95, even 3.1) made a noticeable difference.
Attached is the log from running the following command: WINEDEBUG=all wine config.exe 2>configLog.log with normal (XP) settings
There's yet another version of the same .exe I have via the English patch to the game, it also simply exits.
http://bugs.winehq.org/show_bug.cgi?id=13554
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
--- Comment #6 from Austin English austinenglish@gmail.com 2009-01-20 02:39:08 --- Removing deprecated CVS/GIT version tag. Please retest in current git. If the bug is still present in today's wine, but was not present in some earlier version of wine, please update version field to earliest known version of wine that had the bug. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=13554
tyle7@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tyle7@hotmail.com
--- Comment #7 from tyle7@hotmail.com 2009-01-21 13:09:22 --- (In reply to comment #6)
Still present in wine 1.1.13.
Judging from the date of submission I would say that the bug was first reported on git from between the releases 1.0-rc2 and 1.0-rc3.
http://bugs.winehq.org/show_bug.cgi?id=13554
--- Comment #8 from Philip Nilsson leffeman@gmail.com 2009-03-08 13:10:56 --- Running with +dialog the log ends at this line.
trace:dialog:DIALOG_GetControl32 L"msctls_trackbar32" L"Slider1" 1051, 190, 185, 65, 15, 50010018, 00000000, 00000000
I think msctls_trackbar32 is defined in comctl32.dll, which is not imported.
http://bugs.winehq.org/show_bug.cgi?id=13554
--- Comment #9 from Philip Nilsson leffeman@gmail.com 2009-08-15 08:01:15 --- I used a program called PEditor to add comctl32.dll to the import table (added InitCommonControls) and then it worked (msctls_trackbar32 is initialized in DllMain).
I guess Windows does something Wine does not.
http://bugs.winehq.org/show_bug.cgi?id=13554
--- Comment #10 from Vitaliy Margolen vitaliy@kievinfo.com 2009-08-15 11:18:27 --- (In reply to comment #9)
I used a program called PEditor to add comctl32.dll to the import table (added InitCommonControls) and then it worked (msctls_trackbar32 is initialized in DllMain).
Looks like a common bug in many app (forgetting to do what MSDN explicitly required applications to do). Relying that something else will do it for you (like explorer) is bad.
Might be worth adding InitCommonControls() to the Wine's explorer.
http://bugs.winehq.org/show_bug.cgi?id=13554
--- Comment #11 from Alexandre Julliard julliard@winehq.org 2009-08-15 13:09:25 --- (In reply to comment #10)
Might be worth adding InitCommonControls() to the Wine's explorer.
This wouldn't be of any help, window classes are per-process.
http://bugs.winehq.org/show_bug.cgi?id=13554
--- Comment #12 from Vitaliy Margolen vitaliy@kievinfo.com 2009-08-16 00:12:53 ---
Might be worth adding InitCommonControls() to the Wine's explorer.
This wouldn't be of any help, window classes are per-process.
Yes indeed, I even missed the part that InitCommonControls() isn't doing anything (on Wine at least). All classes get registered on DLL_PROCESS_ATTACH.
So one of the dlls it loads imports comctl32. The only one I could find is wow32.dll -> comdlg32.dll -> comctl32.dll
This means, all you need to do is to add comdlg32 to the imports list of wow32.dll. And wow32 to the imports of winevdm.
http://bugs.winehq.org/show_bug.cgi?id=13554
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Version|unspecified |1.0-rc2 Summary|Touhou 7.5 IaMP config.exe |Touhou 7.5: Immaterial and |doesn't work |Missing Power (IaMP) - | |config.exe (16 bit app) | |silently fails (missing | |comctl32.dll dependency)
--- Comment #13 from Anastasius Focht focht@gmx.net 2011-07-18 15:10:45 CDT --- Hello,
obviously still present. It would be helpful if someone could load "config.exe" app on Windows in Dependency Walker Tool (http://www.dependencywalker.com/). Configure it for Win95 compat mode before.
If there is no direct load dependency you might need to make a "profile" run to check which library imports comctl32.dll InitCommonControls() (select "hook" and "log GetProcAddress calls" in profile config dialog).
$ wine --version wine-1.3.24-216-gd385675
$ sha1sum th075_t2.zip 2197e3a6981ba76d00d309a32f0529fc3f44c714 th075_t2.zip
Regards
http://bugs.winehq.org/show_bug.cgi?id=13554
--- Comment #14 from Philip Nilsson leffeman@gmail.com 2011-07-22 06:05:51 CDT --- Created an attachment (id=35646) --> (http://bugs.winehq.org/attachment.cgi?id=35646) dependency graph
I loaded the program in depends running on Windows XP in Windows 95 compatability mode and had it generate a tree of the module dependencies.
comctl32.dll is a dependency in several places, all of them seem to have in common at least user32.dll->advapi32.dll->secur32.dll, possibly more.
http://bugs.winehq.org/show_bug.cgi?id=13554
Andrew Fan andrewsuicune@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrewsuicune@gmail.com
--- Comment #15 from Andrew Fan andrewsuicune@gmail.com 2013-07-18 17:23:39 CDT --- Still can't use Config.exe
Wine 1.6-rc4 MacOSX
http://bugs.winehq.org/show_bug.cgi?id=13554
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sagawa.aki+winebugs@gmail.c | |om
--- Comment #16 from Sagawa sagawa.aki+winebugs@gmail.com 2013-10-29 08:31:57 CDT --- Could you retest with latest git or next development release (should be 1.7.6)?
Recent Alexandre's commit[1] introduces automatically loading of comdlg32.dll. With the change, config.exe works fine on my environment.
[1] http://source.winehq.org/git/wine.git/commit/c25c0198833885581dd381240882fc9...
BTW, config.exe is 32-bit binary. So, I think this is not related to win16. % file config.exe config.exe: PE32 executable (GUI) Intel 80386, for MS Windows
http://bugs.winehq.org/show_bug.cgi?id=13554
Leffe leffeman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #17 from Leffe leffeman@gmail.com 2013-10-29 12:06:02 CDT --- With the latest Git version it works while at the same time it does not work with the latest released version.
http://bugs.winehq.org/show_bug.cgi?id=13554
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c25c0198833885581dd38124088 | |2fc9312c81f74
http://bugs.winehq.org/show_bug.cgi?id=13554
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Alexandre Julliard julliard@winehq.org 2013-11-08 12:33:28 CST --- Closing bugs fixed in 1.7.6.
http://bugs.winehq.org/show_bug.cgi?id=13554
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |user32 Hardware|Other |x86 OS|other |Linux