[Scummvm-tracker] [ScummVM :: Bugs] #17061: GLK LEVEL9: Text is rendering as black boxes

ScummVM :: Bugs trac at scummvm.org
Tue Aug 18 10:57:11 UTC 2026


#17061: GLK LEVEL9: Text is rendering as black boxes
-------------------------+----------------------------------
Reporter:  NigeNigeNige  |       Owner:  (none)
    Type:  defect        |      Status:  new
Priority:  normal        |   Component:  Engine: GLK: Level9
 Version:                |  Resolution:
Keywords:                |        Game:
-------------------------+----------------------------------
Comment (by fusefib):

 This is actually a GLK-wide problem affecting several subengines, I
 encountered this a while back.

 The problem is mostly in line 939 in `dialogs.cpp`:
 https://github.com/scummvm/scummvm/blob/master/engines/glk/dialogs.cpp#L939
 See `"%s,%s", rgbStr.c_str(), rgbStr.c_str()`.
 The INI format is `foreground,background`, but it writes the selected
 foreground into both fields. That makes foreground and background
 identical, so GLK draws the text in the same color as the rectangle behind
 it. A missing color key is also interpreted as zero/black.

 Basically, it can corrupt the per-game color settings of any GLK target.
 All you have to do is `Add Game...` (`Mass Add` still works fine) or
 otherwise open and save the `Game Options`. Besides `Mass Add`, another
 simple workaround is to manually clean up your `scummvm.ini`.

 This was my provisional fix:
 https://github.com/scummvm/scummvm/commit/b7fce9297aee3c3f00bd8e080d0a1eb92d0f545c

 GLK is a bit complicated, but no-one before you reported it. So I was
 holding off until I could more seriously think about this and how it
 affects all subengines. But this seems to be a "blocker" for the lay-user.
 It's present in `2026.3.0` IIRC and should be avoided in the next release.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/17061#comment:1>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list