http://bugs.winehq.org/show_bug.cgi?id=10393
Summary: Wine fails to launch Product: Wine Version: 0.9.47. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P3 Component: wine-kernel AssignedTo: wine-bugs@winehq.org ReportedBy: cardcaptorstacey@gmail.com
Created an attachment (id=9081) --> (http://bugs.winehq.org/attachment.cgi?id=9081) Error logs returned in the Konsole
Wine fails to launch when I open Episode 4-6 of Sam & Max. (Previous episodes work fine)
http://bugs.winehq.org/show_bug.cgi?id=10393
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk Summary|Wine fails to launch |Sam and Max hits | |unimplemented function | |KERNEL32.dll.GetConsoleInpu | |tExeNameA
--- Comment #1 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2007-11-10 14:20:15 --- (change to more clear title)
Do the demo's have the same problem?
http://bugs.winehq.org/show_bug.cgi?id=10393
--- Comment #2 from EA Durbin ead1234@hotmail.com 2007-11-11 11:07:50 --- Created an attachment (id=9107) --> (http://bugs.winehq.org/attachment.cgi?id=9107) stub implementation of GetConsoleInputExeNameA
Does this help?
http://bugs.winehq.org/show_bug.cgi?id=10393
--- Comment #3 from Stacey cardcaptorstacey@gmail.com 2007-11-24 14:57:00 --- Created an attachment (id=9327) --> (http://bugs.winehq.org/attachment.cgi?id=9327) Error
Error reported with patch
http://bugs.winehq.org/show_bug.cgi?id=10393
--- Comment #4 from Stacey cardcaptorstacey@gmail.com 2007-11-24 14:57:34 --- Created an attachment (id=9328) --> (http://bugs.winehq.org/attachment.cgi?id=9328) Error
Error reported with patch
http://bugs.winehq.org/show_bug.cgi?id=10393
Stacey cardcaptorstacey@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #9327|Error |PLEASE DELETE description| |
http://bugs.winehq.org/show_bug.cgi?id=10393
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Alias|KERNEL32.dll | Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #5 from Vitaliy Margolen vitaliy@kievinfo.com 2007-11-24 16:01:59 --- Stub might not be enough. It could be using it to lookup something else.
http://bugs.winehq.org/show_bug.cgi?id=10393
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #6 from Anastasius Focht focht@gmx.net 2007-11-24 16:31:17 --- Hello,
the console InputExeName API functions are just simple get/set to (static) filename buffer. Pretty easy to implement.
Let me give some hints so you can make a patch which implements all functions...
SetConsoleInputExeNameA SetConsoleInputExeNameW GetConsoleInputExeNameA GetConsoleInputExeNameW
To avoid code duplication use the unicode versions to actually do the work (retrieve/store exe name).
SetConsoleInputExeNameW -> copy the exe name into module local WCHAR buffer of MAX_PATH+1 SetConsoleInputExeNameA -> convert to unicode and call SetConsoleInputExeNameW
GetConsoleInputExeNameW -> retrieve the exe name from WCHAR buffer GetConsoleInputExeNameA -> use GetConsoleInputExeNameW and convert to ansi
Use the console critical section in functions to guard against multithreaded buffer get/set. Validate input/output parameters, such as buffer length (should not exceed internal store) and the like.
This info should get you a good patch which works (tm) ;-)
Regards
http://bugs.winehq.org/show_bug.cgi?id=10393
--- Comment #7 from Hans Leidekker hans@it.vu.nl 2007-11-25 11:22:25 --- Created an attachment (id=9338) --> (http://bugs.winehq.org/attachment.cgi?id=9338) Implement and test {G, S}etConsoleInputExeName{A, W}.
Please try this patch, it implements the functions as outlined by Anastasius.
http://bugs.winehq.org/show_bug.cgi?id=10393
--- Comment #8 from Stacey cardcaptorstacey@gmail.com 2007-11-25 14:35:20 --- I'm sorry, I don't have that kind of knowledge. My brother added the patch before on for me, yet he doesn't know much about that. Can you be more noob friendly for me?
http://bugs.winehq.org/show_bug.cgi?id=10393
Marcus Meissner marcus@jet.franken.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |marcus@jet.franken.de
http://bugs.winehq.org/show_bug.cgi?id=10393
Hans Leidekker hans@it.vu.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@it.vu.nl Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #9 from Hans Leidekker hans@it.vu.nl 2007-12-03 12:18:59 --- Patch is in git. Noobs probably want to wait until Wine 0.9.51 is out ;-)
http://bugs.winehq.org/show_bug.cgi?id=10393
Hans Leidekker hans@it.vu.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Sam and Max hits |Sam and Max hits |unimplemented function |unimplemented function |KERNEL32.dll.GetConsoleInpu |KERNEL32.dll.GetConsoleInput |tExeNameA |ExeNameA
--- Comment #10 from Hans Leidekker hans@it.vu.nl 2007-12-03 12:22:25 --- Fix typo in bug title.
http://bugs.winehq.org/show_bug.cgi?id=10393
Stacey cardcaptorstacey@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Stacey cardcaptorstacey@gmail.com 2007-12-31 07:06:20 --- I've upgraded to 0.9.52 but hasn't solved the problem. Comes up with a different error :(
http://bugs.winehq.org/show_bug.cgi?id=10393
--- Comment #12 from Stacey cardcaptorstacey@gmail.com 2007-12-31 07:36:58 --- Created an attachment (id=9940) --> (http://bugs.winehq.org/attachment.cgi?id=9940) New error
http://bugs.winehq.org/show_bug.cgi?id=10393
Stacey cardcaptorstacey@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #9940|New error |New error from Konsole description| |
http://bugs.winehq.org/show_bug.cgi?id=10393
--- Comment #13 from Stacey cardcaptorstacey@gmail.com 2007-12-31 07:38:59 --- (From update of attachment 9940) Do I need to report this as a separate bug?
http://bugs.winehq.org/show_bug.cgi?id=10393
--- Comment #14 from Hans Leidekker hans@it.vu.nl 2007-12-31 08:29:39 --- Yes, that's a new bug report, this bug closed.
http://bugs.winehq.org/show_bug.cgi?id=10393
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |8f3afb41204ba9886b88da58d0b | |4478346940948