WineHQ
Bug Tracking Database – Bug 23393

 Bugzilla

 

Last modified: 2014-02-07 13:06:37 UTC  

Text rendered with background colour same as foreground (so invisible) in Moon Tycoon

Bug 23393 - Text rendered with background colour same as foreground (so invisible) in Moon Tycoon
Text rendered with background colour same as foreground (so invisible) in Moo...
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: -unknown
1.2-rc5
x86 Linux
: P2 minor
: ---
Assigned To: Mr. Bugs
http://www.fileplanet.com/135415/1300...
: download
Depends on: 23263
Blocks:
  Show dependency tree
 
Reported: 2010-06-26 14:36 UTC by Mark K
Modified: 2014-02-07 13:06 UTC (History)
2 users (show)

See Also:
Regression SHA1:
Fixed by SHA1:
Distribution: ---
Staged patchset:


Attachments
Console output (compressed) (3.91 KB, application/octet-stream)
2010-06-27 12:17 UTC, Mark K
Details
Moon Tycoon Wine screenshot 1 (489.28 KB, image/png)
2010-06-27 12:19 UTC, Mark K
Details
Moon Tycoon Windows screenshot 1 (381.80 KB, image/png)
2010-06-27 12:20 UTC, Mark K
Details
Moon Tycoon Wine screenshot 2 (517.32 KB, image/png)
2010-06-27 12:21 UTC, Mark K
Details
Moon Tycoon Windows screenshot 2 (416.37 KB, image/png)
2010-06-27 12:22 UTC, Mark K
Details
Moon Tycoon Wine screenshot 3 (710.06 KB, image/png)
2010-06-27 12:24 UTC, Mark K
Details
Moon Tycoon Windows screenshot 3 (655.61 KB, image/png)
2010-06-27 12:25 UTC, Mark K
Details
Moon Tycoon Windows screenshot 4 (704.52 KB, image/png)
2010-06-27 12:26 UTC, Mark K
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark K 2010-06-26 14:36:21 UTC
Moon Tycoon is a 3D simulation/strategy game set on the moon. Info at
http://www.anarchyent.com/moontycoon/index.asp

This bug is for the original CD-ROM full game and the demo. A demo can be downloaded from http://www.anarchyent.com/moontycoon/demo.asp
You'll need to use winetricks to install IE 6 before running the demo. (That doesn't apply to the full game.)

Now that bug 23263 has been fixed (thanks!), the game starts with Wine 1.2rc5. However, there is an issue with text rendering. Text background is the same colour as the foreground, making it invisible; each text string appears as a light grey rectangle.

To reproduce, download and install the demo, then run MT.exe. At the title screen click START NEW GAME, then any of the options (Tutorial, Standard, Campaign 1, 2 or 3). The text below should be rendered as light grey on black background, but is in fact light grey on light grey. If you select Tutorial and start the game, the text at the top of the screen has the same problem.
Comment 1 Nikolay Sivov 2010-06-27 04:07:06 UTC
Attach screenshot please.
Comment 2 Mark K 2010-06-27 12:17:19 UTC
Created attachment 29178 [details]
Console output (compressed)

Console output on running MT.exe, starting tutorial game, then quitting.
Comment 3 Mark K 2010-06-27 12:19:31 UTC
Created attachment 29179 [details]
Moon Tycoon Wine screenshot 1

After selecting tutorial under Wine
Comment 4 Mark K 2010-06-27 12:20:22 UTC
Created attachment 29180 [details]
Moon Tycoon Windows screenshot 1

After selecting Tutorial under Windows
Comment 5 Mark K 2010-06-27 12:21:24 UTC
Created attachment 29181 [details]
Moon Tycoon Wine screenshot 2

After selecting Campaign 1 under Wine
Comment 6 Mark K 2010-06-27 12:22:13 UTC
Created attachment 29182 [details]
Moon Tycoon Windows screenshot 2

After selecting Campaign 1 under Windows
Comment 7 Mark K 2010-06-27 12:24:09 UTC
Created attachment 29183 [details]
Moon Tycoon Wine screenshot 3

After starting game under Wine. Notice text rendered as blocks at the top of the screen and at the bottom. Also missing GUI buttons at the right and bottom of the screen (compare with Windows screenshot 3).
Comment 8 Mark K 2010-06-27 12:25:28 UTC
Created attachment 29185 [details]
Moon Tycoon Windows screenshot 3

After starting game under Windows. Compare with the equivalent Wine screenshot.
Comment 9 Mark K 2010-06-27 12:26:57 UTC
Created attachment 29186 [details]
Moon Tycoon Windows screenshot 4

Running under Wine, if you click on the missing/not-rendered GUI buttons they appear (compare the right-hand side of the image with the previous ones for Wine and Windows).
Comment 10 Mark K 2010-06-27 12:32:01 UTC
See the attached screenshots. In addition to the text rendering problem, GUI elements are invisible. However, they do appear if you click the mouse when the pointer is over where they should be.

There are other rendering bugs regarding the 3D display. However I'm guessing those do not have the same cause as the text rendering bug, so maybe I should file a separate bug for that.

I have attached a compressed console output. That is for the original CD-ROM version of the game. The demo console output is similar, except with extra output related to IE and the limited-time demo wrapper.

Note that the crash on exit also happens under Windows Vista (RTM), so that might not be a Wine bug.

Console output at startup:
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x1569d8,0x156e08): stub
fixme:ddraw:DirectDrawEnumerateExA flags 0x00000007 not handled
fixme:win:EnumDisplayDevicesW ((null),0,0x32f150,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f1b0,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f09c,0x00000000), stub!
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16
fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats
err:ddraw:PixelFormat_WineD3DtoDD Can't translate this Pixelformat 58
err:ddraw:PixelFormat_WineD3DtoDD Can't translate this Pixelformat 64
(the previous two lines repeated *many* times)

After you click Tutorial and the tick button to start the game:

fixme:dinput:SysMouseAImpl_Acquire Clipping cursor to (0,0)-(1024,768)
fixme:d3d:process_vertices_strided Clipping is broken and disabled for now
err:d3d:process_vertices_strided No diffuse color in source, but destination has one
err:d3d:process_vertices_strided No specular color in source, but destination has one
fixme:d3d:context_check_fbo_status FBO status GL_FRAMEBUFFER_UNSUPPORTED (0x8cdd)
fixme:d3d:context_check_fbo_status 	Color attachment 0: (0x2f6fe98) WINED3DFMT_B5G6R5_UNORM 1024x768
err:d3d:stretch_rect_fbo >>>>>>>>>>>>>>>>> GL_INVALID_FRAMEBUFFER_OPERATION (0x506) from glBlitFramebuffer() @ device.c / 5843
(the previous three lines repeated *many* times)

On quitting the game:
wine: Unhandled illegal instruction at address 0x2fddaf9 (thread 0009), starting debugger...
Unhandled exception: illegal instruction in 32-bit code (0x02fddaf9).
Comment 11 Mark K 2010-06-27 12:42:52 UTC
Apologies, comment #9 / attachment ID 29186 should have been described as Moon Tycoon Wine screenshot 4; I took it running under Wine.
Comment 12 Mark K 2010-06-27 12:54:30 UTC
Also, compare the background (at the right and bottom of the screen underneath the GUI buttons) in Wine vs Windows. The Wine version still shows the background from the New Game / campaign selection screen.
Comment 13 Mark K 2010-06-28 12:32:56 UTC
The problem affecting text rendering -- background being rendered in the foreground colour -- appears similar to that in bug 14497. However it may well be that the underlying cause for each bug is different.
Comment 14 joaopa 2011-07-18 10:21:16 UTC
still a bug in current wine?
Comment 15 Bruno Jesus 2014-01-18 12:20:18 UTC
This bug has been fixed somewhere after 1.4, resolving fixed.
Comment 16 Alexandre Julliard 2014-02-07 13:06:37 UTC
Closing bugs fixed in 1.7.12.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers