[Scummvm-tracker] [ScummVM] #6748: TINSEL: Discworld II Save Naming Crash

Colin Snover trac at scummvm.org
Mon Nov 20 05:53:04 CET 2017


#6748: TINSEL: Discworld II Save Naming Crash
---------------------------------+----------------------------------------
  Reporter:  SF/softwarespecial  |      Owner:  csnover
      Type:  defect              |     Status:  new
  Priority:  blocker             |  Component:  Engine: Tinsel
Resolution:                      |   Keywords:  has-save-game reproducible
      Game:  Discworld II        |
---------------------------------+----------------------------------------

Comment (by csnover):

 Increasing `NUM_OBJECTS` fixes the crash. These save games each have 30
 letters, times 8 saves, plus the objects existing on the screen (14,
 apparently), ends up with two free objects available until the engine runs
 out. Since the save games can be up to 40 letters long, there is a need to
 either increase the maximum number of objects up to at least 374, or
 reduce the maximum length of save game names down to 26, to prevent this
 problem from happening again. Obviously increasing `NUM_OBJECTS` is
 trivial, I just don’t know enough about this engine at this point to know
 what ramifications (if any) this would have on e.g. save games.

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


More information about the Scummvm-tracker mailing list