[Bug 22572] New: Mechwarrior 4 Free Release downloader 'mtx' doesn't work with wine + Mono 2.6
http://bugs.winehq.org/show_bug.cgi?id=22572 Summary: Mechwarrior 4 Free Release downloader 'mtx' doesn't work with wine + Mono 2.6 Product: Wine Version: 1.1.43 Platform: x86 URL: http://mektek.net/projects/mw4/ OS/Version: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: dank(a)kegel.com The downloader installs ok, but running it says it needs mono, and with 'winetricks mono26', it fails with dialog ** ERROR **: implement type compare for 1b! http://www.mail-archive.com/mono-list(a)lists.ximian.com/msg28988.html suggests this is related to how we invoke .net apps with "mono foo.exe" instead of using mono's embedded api. (Also reported for another app here: http://www.fractalforums.com/3d-fractal-generation/free-mandelbulb-software-... ) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22572 --- Comment #1 from Vincent Povirk <madewokherd(a)gmail.com> 2010-05-03 20:26:46 --- No, it suggests that this works with MS .NET but not with Mono. Anyway, we already use the embedding api. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22572 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #2 from Dan Kegel <dank(a)kegel.com> 2010-05-04 01:07:44 --- Right, then. (And it gets further with 'winetricks dotnet20', too.) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22572 Vincent Povirk <madewokherd(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet Status|RESOLVED |REOPENED Resolution|INVALID | --- Comment #3 from Vincent Povirk <madewokherd(a)gmail.com> 2010-05-04 01:47:22 --- If you don't mind, I'd like to keep this open until there's a bug in the mono bugzilla or it's fixed in mono. Otherwise, the bug won't be tracked anywhere. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22572 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |mscoree -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22572 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEW --- Comment #4 from Austin English <austinenglish(a)gmail.com> 2010-07-29 18:35:17 --- Still in wine-1.2-562-ga6203f8 / mono26. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22572 --- Comment #5 from Vincent Povirk <madewokherd(a)gmail.com> 2010-12-30 12:19:19 CST --- This seems to have a mono bug now: https://bugzilla.novell.com/show_bug.cgi?id=660015 I also sent a patch, which got no response: http://lists.ximian.com/pipermail/mono-devel-list/2010-September/035934.html -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22572 Vincent Povirk <madewokherd(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fernandocarvalho1987(a)hotmai | |l.com --- Comment #6 from Vincent Povirk <madewokherd(a)gmail.com> 2011-02-25 10:56:56 CST --- *** Bug 24293 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22572 Vincent Povirk <madewokherd(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Mechwarrior 4 Free Release |Managed C++ assemblies |downloader 'mtx' doesn't |don't work in Wine + Mono |work with wine + Mono 2.6 | -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22572 --- Comment #7 from Vincent Povirk <madewokherd(a)gmail.com> 2011-02-25 11:06:36 CST --- The type compare bug appears to be fixed in the master branch of Mono, but it now (usually) fails trying to run native methods. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22572 --- Comment #8 from Vincent Povirk <madewokherd(a)gmail.com> 2011-02-25 16:00:10 CST --- It seems Mono only loads assemblies with the OS loader if ENABLE_COREE is defined, and my builds do not have that defined (the default), but the official Windows builds do. If it's not loaded by the OS loader, then there's no chance of native code working. ENABLE_COREE also causes Mono to hook mscoree.dll, replacing many of its functions. I don't think we want this. I need to understand better how Mono's coree code works before I can say how to resolve this. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22572 --- Comment #9 from Vincent Povirk <madewokherd(a)gmail.com> 2011-03-04 15:15:11 CST --- Created an attachment (id=33530) --> (http://bugs.winehq.org/attachment.cgi?id=33530) hello world in managed c++ This file was generated by creating a new console project in Visual C++ Express 2008, setting the configuration to Release, and compiling the generated code. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22572 --- Comment #10 from Vincent Povirk <madewokherd(a)gmail.com> 2011-03-24 14:19:08 CDT --- So, my current plan is to work on getting Hello World working in Mono on Windows, using a separate mscoree.dll. This should simplify things in Mono, and make it possible for Wine's mscoree to work the same way. For now, I'm trying to get some small cleanup into Mono (which they have mostly ignored so far), and hoping Kornel Pal will help with the hard parts. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22572 Jerome Leclanche <adys.wh(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh(a)gmail.com --- Comment #11 from Jerome Leclanche <adys.wh(a)gmail.com> 2012-02-26 13:23:00 CST --- I take it this wasn't fixed? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22572 --- Comment #12 from Vincent Povirk <madewokherd(a)gmail.com> 2012-02-26 16:21:16 CST --- Still not fixed. The plan is to fix this as part of the Mono packaging effort, and provide replacement msvcm dll's in that package as well (because MS's version doesn't appear to be worth supporting). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22572 --- Comment #13 from Vincent Povirk <madewokherd(a)gmail.com> 2013-04-05 10:21:28 CDT --- This has progressed since last time (we have an msvcm replacement, AND we can use the native version), but there's still a major piece missing which is support for thiscall calling convention (which is of course used extensively in C++ code). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22572 --- Comment #14 from Dan Kegel <dank(a)kegel.com> 2013-04-05 10:28:43 CDT --- Would thiscall support be an enhancement to Mono? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22572 --- Comment #15 from Vincent Povirk <madewokherd(a)gmail.com> 2013-04-05 10:56:59 CDT --- Yes. I'm working on it (slowly). I have something that seems to work, and I think what remains is to add test cases and go back and implement it cleanly, and get it accepted into Mono. I can post what I have as a diff if anyone is interested. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=22572 super_man(a)post.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man(a)post.com --- Comment #16 from super_man(a)post.com --- (In reply to Vincent Povirk from comment #15)
Yes. I'm working on it (slowly).
I have something that seems to work, and I think what remains is to add test cases and go back and implement it cleanly, and get it accepted into Mono. I can post what I have as a diff if anyone is interested.
Download dead. Is this fixed? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=22572 --- Comment #17 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- What's the status of this bug with wine-6.10 and wine-mono 6.2.0? At least the example from Comment #9 works. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=22572 --- Comment #18 from Bruni <earns.61(a)gmail.com> ---
Download dead. Is this fixed?
(In reply to Gijs Vermeulen from comment #17)
What's the status of this bug with wine-6.10 and wine-mono 6.2.0? At least the example from Comment #9 works.
It looks like the downloader app from the comment0 is accessible and runnable: https://web.archive.org/web/20100630193207/http://mtxgear.mektek.net/mtx/bet... SHA1 for SetupMTX1.0.3.5.exe (15 802 368 bytes): 2fc700e11e58598d8dda161fa1fcaa8401d29c1e -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=22572 --- Comment #19 from Bruni <earns.61(a)gmail.com> ---
It looks like the downloader app from the comment0 is accessible and runnable:
But I didn't test it against the last Wine-mono. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=22572 --- Comment #20 from Esme Povirk <madewokherd(a)gmail.com> --- Managed C++ Assemblies work, but this particular one fails: Unhandled Exception: System.EntryPointNotFoundException: #680 assembly:<unknown assembly> type:<unknown type> member:(null) at (wrapper managed-to-native) wyUpdate.VistaTools.IsUserAnAdmin() at updater.Form1..ctor (System.String[] args) [0x006e9] in <ad9c051884c743f298d67a77ee0c8662>:0 at (wrapper remoting-invoke-with-check) updater.Form1..ctor(string[]) at updater.Program.Main (System.String[] args) [0x0000b] in <ad9c051884c743f298d67a77ee0c8662>:0 [DllImport("shell32.dll", CharSet = CharSet.Unicode, EntryPoint = "#680")] public static extern bool IsUserAnAdmin(); Wine has this, so I'm guessing pinvokes by ordinal don't work correctly. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=22572 --- Comment #21 from Esme Povirk <madewokherd(a)gmail.com> --- Based on ecb03f01e1b994589c620be91315d1816bc9419a, Mono is supposed to support this, but it's not clear to me how that code is supposed to work. All it does is skip the '#' before the ordinal number, which would pass the number to GetProcAddress as a string. In my testing on Windows, GetProcAddress does not accept a string ordinal number. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=22572 --- Comment #22 from Esme Povirk <madewokherd(a)gmail.com> --- I wrote a patch to fix that: https://github.com/madewokherd/mono/commit/ordinal Still need to figure out how to write a test for it and send it upstream. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=22572 --- Comment #23 from Esme Povirk <madewokherd(a)gmail.com> --- Pull request sent: https://github.com/mono/mono/pull/21123 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=22572 --- Comment #24 from Esme Povirk <madewokherd(a)gmail.com> --- CI build with the fix: https://github.com/madewokherd/wine-mono/actions/runs/1020449159 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=22572 Esme Povirk <madewokherd(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |451a54bc7a77b8b816f28ad1c61 | |5745e650586ae Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #25 from Esme Povirk <madewokherd(a)gmail.com> --- Fixed in Wine Mono 6.3.0. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=22572 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #26 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 6.14. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla