Opened 12 months ago

Closed 9 months ago

#15920 closed defect (fixed)

SCUMM/HE: Pajama Sam 3: Graphical glitch when escaping from prison

Reported by: yardb0xgit Owned by: AndywinXp
Priority: normal Component: Engine: SCUMM
Version: Keywords:
Cc: Game: Pajama Sam 3

Description

ScummVM Version - 2.9.0 (Dec 8, 2024)

When escaping the cell when Sam gets the key, a cutscene appears - it has a graphical glitch in it.

(I have attached a photo and a save before this moment.)

Attachments (2)

Screenshot 2025-05-06 08-59-35.png (658.8 KB ) - added by yardb0xgit 12 months ago.
PajamaSam3Save.zip (20.0 KB ) - added by yardb0xgit 12 months ago.

Download all attachments as: .zip

Change History (6)

by yardb0xgit, 12 months ago

by yardb0xgit, 12 months ago

Attachment: PajamaSam3Save.zip added

comment:1 by tag2015, 11 months ago

Summary: Pajama Sam 3 - Graphical glitch when escaping from prisonSCUMM/HE: Pajama Sam 3: Graphical glitch when escaping from prison

comment:2 by AndywinXp, 10 months ago

My first investigation showed that the engine erroneously tries to draw those frames with a routine which uses shadow maps. It should use the normal TRLE routine. This is triggered by VAR(244) which contains the shadowMap number, which should be reset to 0 on each room change but whichever script does that is never executed.

I'll be investigating further after my vacation days.

Last edited 10 months ago by AndywinXp (previous) (diff)

in reply to:  2 comment:3 by AndywinXp, 10 months ago

(SNIP)

Last edited 10 months ago by AndywinXp (previous) (diff)

comment:4 by AndywinXp, 9 months ago

Owner: set to AndywinXp
Resolution: fixed
Status: newclosed

In c94a0e22:

SCUMM: AKOS: Fix shadow table usage on late HE99 games

Fixes #15920:
"SCUMM/HE: Pajama Sam 3: Graphical glitch when escaping from prison"

Note: See TracTickets for help on using tickets.