http://bugs.winehq.org/show_bug.cgi?id=34713
Bug #: 34713 Summary: Treasure Adventure Game: dialogue text unreadable Product: Wine Version: 1.7.4 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: rixa@cs.tut.fi Classification: Unclassified
The dialogue text displays wrong and is unreadable.
The game starts with a scrolling screen of text that does render correctly, followed by a scene on a boat with lots of dialogue that are all garbled. The first line of dialogue is supposed to be "Baggus: What do you say we turn back before this storm sends us to a watery grave?", but it looks more like:
a|††”’Y?v‡|“?ƒŽ?~Ž”?’|~?–„?“”‘|?||‚Š?|„…Ž‘„?“‡^’?’^–Ž‘Œ?’„|ƒ’? ”’?“Ž?|?–|“„‘~?†‘|•„^
(This is not exact - some characters render on top of each other, it's hard to tell if there are spaces, and all the | are probably something else instead.)
It is probably meant to be displayed in the included smalle.fon. Wine does not pick this up from the game directory. It has its own smaller file that gets used instead, but replacing that with the one from the game doesn't work any better.
I get readable text if I delete smalle.fon from wine entirely; then the game renders with some anti-aliased vector font instead. While obviously an improvement, it doesn't go visually very well with the low-resolution retro graphics of the game.
The game is one of the freebies from GOG.com.
http://bugs.winehq.org/show_bug.cgi?id=34713
--- Comment #1 from Andrey Gusev andrey.goosev@gmail.com 2013-10-13 08:23:08 CDT --- And this one also have unreadable text? http://www.fileplanet.com/223961/220000/fileinfo/Treasure-Adventure-Game-%28...
http://bugs.winehq.org/show_bug.cgi?id=34713
--- Comment #2 from Rixa rixa@cs.tut.fi 2013-10-13 09:59:55 CDT --- Yes, I have the same with that. It appears to be the same executable, too.
http://bugs.winehq.org/show_bug.cgi?id=34713
--- Comment #3 from Andrey Gusev andrey.goosev@gmail.com 2013-10-13 10:13:38 CDT --- (In reply to comment #2)
Yes, I have the same with that. It appears to be the same executable, too.
Strange. I don't have this issue. Are you tried with a clean wineprefix without any overrides?
http://bugs.winehq.org/show_bug.cgi?id=34713
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW URL| |http://www.fileplanet.com/2 | |23961/220000/fileinfo/Treas | |ure-Adventure-Game-%28Free- | |Game%29 CC| |gyebro69@gmail.com Ever Confirmed|0 |1
--- Comment #4 from GyB gyebro69@gmail.com 2013-10-13 12:17:07 CDT --- I can reproduce the problem with the demo, clean Wine 1.7.4 on Fedora 19. I might add that I have similar problem with the indie game Saira (bug #24600), which uses the same game engine as Treasure Adventure Game (Multimedia Fusion 2 engine). Not sure if that's related, though.
http://bugs.winehq.org/show_bug.cgi?id=34713
--- Comment #5 from Rixa rixa@cs.tut.fi 2013-10-13 14:58:49 CDT --- Yes, tried it with a clean wineprefix and a freshly compiled wine-1.7.4 and it's there. Am running on xubuntu 13.04 with proprietary nvidia driver 313.30.
I also notice that someone has posted the same problem on the WineHQ forum in June and someone else confirmed it in July (Topic "Small font garbled").
http://bugs.winehq.org/show_bug.cgi?id=34713
Paul The Tall paulthetall@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |paulthetall@gmail.com
--- Comment #6 from Paul The Tall paulthetall@gmail.com 2013-11-03 14:41:04 CST --- Confirmed on Mac OSX as well with 1.7.5 Tried all kind of font winetricks, no effect though...
http://bugs.winehq.org/show_bug.cgi?id=34713
Ian ipickert55@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ipickert55@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=34713
--- Comment #7 from Ian ipickert55@gmail.com 2013-11-21 19:21:21 CST --- I can also confirm on 1.7.6 mac osx. Made a log with +font enabled in winedebug, hopefully it will help.
http://bugs.winehq.org/show_bug.cgi?id=34713
--- Comment #8 from Ian ipickert55@gmail.com 2013-11-21 19:28:49 CST --- here is the log
https://drive.google.com/file/d/0ByfjmDpjTdMHcENKS1BaY3gzY3c/edit?usp=sharin...
http://bugs.winehq.org/show_bug.cgi?id=34713
--- Comment #9 from Rixa rixa@cs.tut.fi 2013-11-26 10:22:08 CST --- I looked into the nature of the distortion in hopes that it would help fix the bug. It turns out that if one simply adds 0x1F to each byte of the example piece of dialogue and then interprets it as per codepage 1252, one gets this:
Baggus: What do you say we turn back before this storm sends us to a watery grave? a€††”’Y?v‡€“?ƒŽ?˜Ž”?’€˜?–„?“”‘�?�€‚Š?�„…Ž‘„?“‡ˆ’?’“Ž‘Œ?’„�ƒ’?”’?“Ž?€?–€“„‘˜?†‘€•„^
Some of the resulting characters (marked with � here) are undefined. They and the € symbol display as a vertical bar, but otherwise I believe that this is what is being rendered.
http://bugs.winehq.org/show_bug.cgi?id=34713
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sagawa.aki+winebugs@gmail.c | |om
http://bugs.winehq.org/show_bug.cgi?id=34713
--- Comment #10 from Sagawa sagawa.aki+winebugs@gmail.com 2013-11-27 11:18:13 CST --- Confirmed and found some issues in bitmap font rendering. Hopefully, I'll send a patch for this issue in this weekend.
http://bugs.winehq.org/show_bug.cgi?id=34713
--- Comment #11 from Sagawa sagawa.aki+winebugs@gmail.com 2013-12-03 10:17:04 CST --- Created attachment 46715 --> http://bugs.winehq.org/attachment.cgi?id=46715 proposed patch
Could you try this patch? Although I'd already tested with the game, I'd like to verify this patch surely fix the issue. Thanks in advance.
http://bugs.winehq.org/show_bug.cgi?id=34713
--- Comment #12 from GyB gyebro69@gmail.com 2013-12-03 11:17:10 CST --- (In reply to comment #11)
Created attachment 46715 [details] proposed patch
Could you try this patch? Although I'd already tested with the game, I'd like to verify this patch surely fix the issue. Thanks in advance.
The patch fixes not just this bug for me, but bug #24600 as well.
http://bugs.winehq.org/show_bug.cgi?id=34713
--- Comment #13 from Rixa rixa@cs.tut.fi 2013-12-04 10:06:53 CST --- Your patch fixes the problem for me too. Good work!
http://bugs.winehq.org/show_bug.cgi?id=34713
--- Comment #14 from Bruno Jesus 00cpxxx@gmail.com --- Patch commited: http://source.winehq.org/git/wine.git/commitdiff/a88a121059a51f6370daa85c299...
http://bugs.winehq.org/show_bug.cgi?id=34713
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |a88a121059a51f6370daa85c299 | |0c202b4e93ac9 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #15 from GyB gyebro69@gmail.com --- Fixed in wine-1.7.8-42-gf50ead6
https://bugs.winehq.org/show_bug.cgi?id=34713
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.9.
https://bugs.winehq.org/show_bug.cgi?id=34713
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |gdi32