[Scummvm-devel] Zak256 help needed
ender at enderboi.com
Sat Feb 16 11:25:01 CET 2002
Well, all of us here at ScummVM central are pretty stuck on this one.
For some reason, the actual ego text won't print. We don't know why, and a
third party looking at it would help a lot! In case someone on the list
wants to have a go at fixing it, here's some details:
Zak256 can be downloaded from www.zak256.org. You can mount the iso
provided with either mount -o loop under linux, or Daemon Tools under
windows. Copy the .lfl files to a directory called 'zak256' in your
scummvm directory. Start zak with 'scummvm zak256'. When the title screen
starts, hit escape to go to the office scene. This is a good test of
Here's how the talking stuff works:
There are two methods for printing text, both in 'string.cpp.
They are CHARSET_1 and DrawString. DrawString works, as it's used to draw
the verb text once the game starts. However CHARSET_1 (used for actual
Both DrawString and CHARSET_1 ultimatly pass off to PrintChar or
PrintCharOld. In Zak's case, we are using PrintCharOld. PrintCharOld takes
one parameter - the ascii value to print. It uses two global variables,
_left and _top.. which control the position the string is printed.
Theoretically CHARSET_1 should work, as it calls PrintCharOld fine...
which is mostly the same behavior as DrawString.... But in practice, no
text gets printed.
We don't know why! Someone help us :)
More information about the Scummvm-devel