https://bugs.winehq.org/show_bug.cgi?id=39890
Bug ID: 39890 Summary: Orcish Inn fails to start with exception System.NotImplementedException Product: Wine Version: 1.9.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: winehq@enric.me Distribution: ---
Created attachment 53266 --> https://bugs.winehq.org/attachment.cgi?id=53266 Wine 1.9.0 Log
An XNA-based game, Orcish Inn, fails to start on a clean Wineprefix, onto which these packages were installed with winetricks:
dotnet20sp1 dotnet20 dotnet30sp1 dotnet35 dotnet40 dotnet45 msxml3 xna40
Program output --------------
Nothing, no game display. Crash on startup with debug exception (attached to this bug report).
Steps to reproduce ------------------
1. download the game from the appdb listing. [1] 2. create a new wineprefix and install the aforementioned packages with winetricks (dotnet45 and xna40 will pull the other packages) 2. unzip and cd to the game directory 3. run with `wine OrcishInn.exe` 4. Program will crash with the debug similar to the attached file.
References ----------
[1]: https://appdb.winehq.org/objectManager.php?sClass=application&iId=17287
https://bugs.winehq.org/show_bug.cgi?id=39890
Enric Morales winehq@enric.me changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq@enric.me
https://bugs.winehq.org/show_bug.cgi?id=39890
--- Comment #1 from Enric Morales winehq@enric.me --- Another user from the IRC also tested the game and had similar results on Wine 1.8.0.
https://bugs.winehq.org/show_bug.cgi?id=39890
Enric Morales winehq@enric.me changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |ArchLinux
https://bugs.winehq.org/show_bug.cgi?id=39890
--- Comment #2 from Enric Morales winehq@enric.me --- Created attachment 53267 --> https://bugs.winehq.org/attachment.cgi?id=53267 Wine 1.9.0 using Mono (package 4.5.6-1 from Arch Linux)
https://bugs.winehq.org/show_bug.cgi?id=39890
Enric Morales winehq@enric.me changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://orcish-inn.stevencol | |ling.com/launcher/public/or | |cish_inn_0_0_17.zip
https://bugs.winehq.org/show_bug.cgi?id=39890
--- Comment #3 from Dmitry Timoshkov dmitry@baikal.ru --- Created attachment 53297 --> https://bugs.winehq.org/attachment.cgi?id=53297 hack
Probably the only really needed components are dotnet40 and xna40.
Does the attached hack help?
https://bugs.winehq.org/show_bug.cgi?id=39890
--- Comment #4 from Enric Morales winehq@enric.me --- Created attachment 53302 --> https://bugs.winehq.org/attachment.cgi?id=53302 debug output with dmitry's hack
Hi Dmitry! Thanks for having a look at it. Unfortunately after applying the patch the game crashes upon start with a different program. I am attaching the debug output.
https://bugs.winehq.org/show_bug.cgi?id=39890
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #5 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Enric Morales from comment #4)
Created attachment 53302 [details] debug output with dmitry's hack
Hi Dmitry! Thanks for having a look at it. Unfortunately after applying the patch the game crashes upon start with a different program. I am attaching the debug output.
Please attach +wincodecs log.
https://bugs.winehq.org/show_bug.cgi?id=39890
Sergey Isakov isakov-sl@bk.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |isakov-sl@bk.ru
--- Comment #6 from Sergey Isakov isakov-sl@bk.ru --- Will this be helpfull? Microsoft XNA Framework Redistributable 4.0 http://www.microsoft.com/en-US/Download/details.aspx?id=20914
https://bugs.winehq.org/show_bug.cgi?id=39890
Enric Morales winehq@enric.me changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #53302|0 |1 is obsolete| |
--- Comment #7 from Enric Morales winehq@enric.me --- Created attachment 53311 --> https://bugs.winehq.org/attachment.cgi?id=53311 debug output with dmitry's patch and WINEDEBUG=+wincodecs
Hi Dmitry! Done! I already have xna40 and dotnet40 installed.
https://bugs.winehq.org/show_bug.cgi?id=39890
--- Comment #8 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Enric Morales from comment #7)
Created attachment 53311 [details] debug output with dmitry's patch and WINEDEBUG=+wincodecs
Hi Dmitry! Done! I already have xna40 and dotnet40 installed.
Thanks for the log. Looks like the hack isn't enough to make the app happy.
https://bugs.winehq.org/show_bug.cgi?id=39890
--- Comment #9 from Enric Morales winehq@enric.me --- (In reply to Dmitry Timoshkov from comment #8)
(In reply to Enric Morales from comment #7)
Created attachment 53311 [details] debug output with dmitry's patch and WINEDEBUG=+wincodecs
Hi Dmitry! Done! I already have xna40 and dotnet40 installed.
Thanks for the log. Looks like the hack isn't enough to make the app happy.
No problem! Since the game is still under development, hopefully the dev will build the game with FNA or something, so that it's more compatible with non-windows platforms.
https://bugs.winehq.org/show_bug.cgi?id=39890
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #10 from Louis Lenders xerox_xerox2000@yahoo.co.uk --- (In reply to Dmitry Timoshkov from comment #8)
(In reply to Enric Morales from comment #7)
Created attachment 53311 [details] debug output with dmitry's patch and WINEDEBUG=+wincodecs
Hi Dmitry! Done! I already have xna40 and dotnet40 installed.
Thanks for the log. Looks like the hack isn't enough to make the app happy.
I put a trace in the hack and it returns WINCODEC_ERR_PALETTEUNAVAILABLE. Dunno why.
Faking success in PaletteImpl_InitializeFromBitmap makes it go little further to:
PngFrameEncode_SetPalette
and faking success in PngFrameEncode_SetPalette makes the game start fine for me (albeit it is rather slow)
Maybe this info could help to improve the stubs, so game can start
https://bugs.winehq.org/show_bug.cgi?id=39890
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/windowscodecs- | |IWICPalette_InitializeFromB | |itmap CC| |dmitry@baikal.ru, | |erich.e.hoover@wine-staging | |.com, michael@fds-team.de, | |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=39890
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |windowscodecs
https://bugs.winehq.org/show_bug.cgi?id=39890
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de Staged patchset|https://github.com/wine-com |https://github.com/wine-sta |pholio/wine-staging/tree/ma |ging/wine-staging/tree/mast |ster/patches/windowscodecs- |er/patches/windowscodecs-IW |IWICPalette_InitializeFromB |ICPalette_InitializeFromBit |itmap |map
https://bugs.winehq.org/show_bug.cgi?id=39890
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |d102d6e9f7c705970bb97feae03 | |592e0ac702c60 Status|STAGED |RESOLVED Resolution|--- |FIXED CC| |leslie_alistair@hotmail.com
--- Comment #11 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Fixed by https://source.winehq.org/git/wine.git/?a=commit;h=d102d6e9f7c705970bb97feae...
https://bugs.winehq.org/show_bug.cgi?id=39890
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.1.
https://bugs.winehq.org/show_bug.cgi?id=39890
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.0.x
https://bugs.winehq.org/show_bug.cgi?id=39890
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.x |---
--- Comment #13 from Michael Stefaniuc mstefani@winehq.org --- Removing the 4.0.x milestone from bug fixes included in 4.0.1.