http://bugs.winehq.org/show_bug.cgi?id=23742
Summary: Graphics appear upside-down in SinkSub Pro and Piranha Panic Product: Wine Version: 1.2 Platform: x86 URL: http://www.wihlborg.se/piranha_panic.html OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: markk@clara.co.uk
This bug applies to two games by Wihlborg Entertainment, Piranha Panic and SinkSub Pro. Demo versions can be downloaded from http://www.wihlborg.se/piranha_panic.html and http://www.wihlborg.se/sinksub_pro.html
Piranha Panic works in Windows 3.1 and later. SinkSub Pro works in Windows 95 and later. There are possibly two problems which may be connected: - Most graphics are rendered upside-down. - Graphics are not refreshed properly.
The installers work okay, albeit complaining about not being able to create a program group.
After starting Piranha Panic, notice the "garbage" which appears on-screen. Drag the window mostly off-screen and back again. Doing that forces the window contents to refresh and the upside-down text appears.
http://bugs.winehq.org/show_bug.cgi?id=23742
--- Comment #1 from markk@clara.co.uk 2010-07-21 15:43:28 --- Created an attachment (id=29740) --> (http://bugs.winehq.org/attachment.cgi?id=29740) Initial window in Wine
http://bugs.winehq.org/show_bug.cgi?id=23742
--- Comment #2 from markk@clara.co.uk 2010-07-21 15:44:04 --- Created an attachment (id=29741) --> (http://bugs.winehq.org/attachment.cgi?id=29741) Piranha Panic window in Wine after dragging off-screen and back
http://bugs.winehq.org/show_bug.cgi?id=23742
--- Comment #3 from markk@clara.co.uk 2010-07-21 15:44:41 --- Created an attachment (id=29742) --> (http://bugs.winehq.org/attachment.cgi?id=29742) Piranha Panic map screen in Wine
http://bugs.winehq.org/show_bug.cgi?id=23742
--- Comment #4 from markk@clara.co.uk 2010-07-21 15:45:29 --- Created an attachment (id=29743) --> (http://bugs.winehq.org/attachment.cgi?id=29743) Piranha Panic title sequence #1 in Windows
http://bugs.winehq.org/show_bug.cgi?id=23742
--- Comment #5 from markk@clara.co.uk 2010-07-21 15:45:46 --- Created an attachment (id=29744) --> (http://bugs.winehq.org/attachment.cgi?id=29744) Piranha Panic title sequence #2 in Windows
http://bugs.winehq.org/show_bug.cgi?id=23742
--- Comment #6 from markk@clara.co.uk 2010-07-21 15:46:06 --- Created an attachment (id=29745) --> (http://bugs.winehq.org/attachment.cgi?id=29745) Piranha Panic map screen in Windows
http://bugs.winehq.org/show_bug.cgi?id=23742
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=23742
--- Comment #7 from markk@clara.co.uk 2010-07-21 15:47:53 --- Created an attachment (id=29746) --> (http://bugs.winehq.org/attachment.cgi?id=29746) SinkSub Pro about window in Wine
http://bugs.winehq.org/show_bug.cgi?id=23742
--- Comment #8 from markk@clara.co.uk 2010-07-21 15:48:12 --- Created an attachment (id=29747) --> (http://bugs.winehq.org/attachment.cgi?id=29747) SinkSub Pro about window in Windows
http://bugs.winehq.org/show_bug.cgi?id=23742
--- Comment #9 from markk@clara.co.uk 2010-07-21 15:49:20 --- Created an attachment (id=29748) --> (http://bugs.winehq.org/attachment.cgi?id=29748) SinkSub Pro game started in Wine
http://bugs.winehq.org/show_bug.cgi?id=23742
--- Comment #10 from markk@clara.co.uk 2010-07-21 15:49:38 --- Created an attachment (id=29750) --> (http://bugs.winehq.org/attachment.cgi?id=29750) SinkSub Pro game started in Windows
http://bugs.winehq.org/show_bug.cgi?id=23742
--- Comment #11 from markk@clara.co.uk 2010-07-21 15:50:23 --- Created an attachment (id=29751) --> (http://bugs.winehq.org/attachment.cgi?id=29751) SinkSub Pro in-game in Wine
http://bugs.winehq.org/show_bug.cgi?id=23742
--- Comment #12 from markk@clara.co.uk 2010-07-21 15:50:44 --- Created an attachment (id=29752) --> (http://bugs.winehq.org/attachment.cgi?id=29752) SinkSub Pro in-game in Windows
http://bugs.winehq.org/show_bug.cgi?id=23742
Karsten Elfenbein kelfe@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kelfe@gmx.de
http://bugs.winehq.org/show_bug.cgi?id=23742
--- Comment #13 from Karsten Elfenbein kelfe@gmx.de 2010-10-19 17:00:24 CDT --- it is also upside down here as well
http://bugs.winehq.org/show_bug.cgi?id=23742
Mark K markk@clara.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |markk@clara.co.uk
--- Comment #14 from Mark K markk@clara.co.uk 2011-05-28 14:37:55 CDT --- This bug is still present in Wine 1.3.15.
http://bugs.winehq.org/show_bug.cgi?id=23742
--- Comment #15 from joaopa jeremielapuree@yahoo.fr 2011-05-28 20:34:28 CDT --- Created an attachment (id=34946) --> (http://bugs.winehq.org/attachment.cgi?id=34946) backtrace
Graphics are drawn by gdi32. So surely a gdi32 bug.
http://bugs.winehq.org/show_bug.cgi?id=23742
--- Comment #16 from Mark K markk@clara.co.uk 2011-05-29 04:58:12 CDT --- Not sure whether it's relevant to the problem, but at least SinkSub Pro uses WinG.
http://bugs.winehq.org/show_bug.cgi?id=23742
--- Comment #17 from Mark K markk@clara.co.uk 2011-12-06 06:52:15 CST --- Still present with Wine 1.3.34.
http://bugs.winehq.org/show_bug.cgi?id=23742
Rafal Stanilewicz washuu@eastnews.com.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |washuu@eastnews.com.pl
--- Comment #18 from Rafal Stanilewicz washuu@eastnews.com.pl 2012-03-26 08:00:26 CDT --- I got wine 1.4.0. On my box piranha_demo displays numerous graphics errors, one of them being graphics drawn upside down. On the same machine, game displays correctly on Win XP. I got Intel integrated GPU.
This application is interesting for debugging, because it is rather small (2 MB exe file + 150KB music file + 35KB wawmix32.dll put into system32 folder) and does not require any major external libraries (like DirectX).
http://bugs.winehq.org/show_bug.cgi?id=23742
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |00cpxxx@gmail.com Ever Confirmed|0 |1
--- Comment #19 from Bruno Jesus 00cpxxx@gmail.com 2012-03-26 08:09:20 CDT --- The bug 25645 is possibly a duplicate of this one but we will only be sure when someone finds a solution to this bug.
http://bugs.winehq.org/show_bug.cgi?id=23742
--- Comment #20 from Bruno Jesus 00cpxxx@gmail.com 2012-06-17 19:18:31 CDT --- Created attachment 40585 --> http://bugs.winehq.org/attachment.cgi?id=40585 hack to make it work
The attached hack will make it work. For some reason stride is > 0 and this rule make it use a negative height. And heights < 0 mean that the image should be rendered bottom-up. The attached hack will make all icons render upside-down, it's just an attempt to get more attention to this bug.
http://bugs.winehq.org/show_bug.cgi?id=23742
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |cdd18731a751fb85438783b61de | |a45ceacc7097a Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #21 from Alexandre Julliard julliard@winehq.org 2012-06-18 15:06:24 CDT --- It looks like the app doesn't support top-down WinG bitmaps properly, it would probably break on Windows too in that configuration.
http://bugs.winehq.org/show_bug.cgi?id=23742
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xor29a@bk.ru
--- Comment #22 from Bruno Jesus 00cpxxx@gmail.com 2012-06-18 19:54:16 CDT --- *** Bug 25645 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=23742
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #23 from Alexandre Julliard julliard@winehq.org 2012-06-22 13:31:23 CDT --- Closing bugs fixed in 1.5.7.