[Scummvm-tracker] [ScummVM] #9769: SCI: GK1: Chapter intros slow to continue

Colin Snover trac at scummvm.org
Tue May 30 04:38:46 CEST 2017


#9769: SCI: GK1: Chapter intros slow to continue
-------------------------------+-------------------------
  Reporter:  DustyShinigami    |      Owner:  (none)
      Type:  defect            |     Status:  pending
  Priority:  normal            |  Component:  Engine: SCI
Resolution:  invalid           |   Keywords:  sci32
      Game:  Gabriel Knight 1  |
-------------------------------+-------------------------
Changes (by csnover):

 * owner:  csnover => (none)
 * status:  new => pending
 * resolution:   => invalid


Comment:

 The duration of the day 1 poetry message is calculated by this formula,
 which determines the number of ticks (1/60th of a second) to display the
 message:

 `ticks = MAX(120, messageLength * 24 / 10 * globalTextSpeed) + 60`

 `globalTextSpeed` is 0 (fastest) to 8 (slowest). A subtitle speed setting
 of 20 in ScummVM corresponds to 8.

 The day 1 message is 131 characters long, so `131 * 24 / 10 * 8 + 60 =
 2572` (using integer math). Converting to seconds (`2572 / 60`), this is
 42.866s. Running a stopwatch here, ScummVM displays the message for
 precisely that amount of time before moving on.

 Since the formula came directly from the game scripts and the results were
 verified in the ScummVM debugger, I am pretty confident that ScummVM is
 working correctly here. Since the wait time is based on wall time, I can
 only imagine that this is a configuration error or you have different
 script files than me.

 You may verify your in-game text speed setting by opening the debugger
 (ctrl+shift+D) and entering `vv g 94`. You may also verify your narrator
 script matches mine by entering `resource_info script 64928`:

 {{{
 Resource size: 2052
 Resource location: RESOURCE.000
 Resource hash (decompressed): 8e7565226cf212168ce69984a9609ef2
 }}}

 I do not have a GOG copy of this game so I cannot check that this specific
 version contains the same script data.

 Please also make sure you followed the GOG-specific installation
 instructions in
 [http://wiki.scummvm.org/index.php/Datafiles#All_SCI32_.28SCI2.2F3.29_games
 datafiles].

--
Ticket URL: <https://bugs.scummvm.org/ticket/9769#comment:6>
ScummVM <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list