Opened 2 years ago

Closed 10 months ago

#15026 closed defect (fixed)

SCUMM: DIG: Gray artifacts/pixels in ending video (SQ19A.SAN)

Reported by: ATMcashpoint Owned by: AndywinXp
Priority: normal Component: Engine: SCUMM
Version: Keywords: cutscenes, SMUSH, INSANE
Cc: ATMcashpoint Game: The Dig

Description

In some shots in SMUSH cutscene videos in The Dig, the proper color depth as seen on DOS is crushed down severely for some reason. A good example is the shot of the shuttle taking off from the landing pad in the intro.

Other SMUSH cutscenes appear to have artifacting that isn't present on DOS. For instance, in the shot in the ending where the crystal spaceship takes off from Cocytus, random gray pixel artifacts are visible on the ocean surface that shouldn't be there.

There may well be more instances of such issues. I only watched the first part of the intro cutscene and the very last shot of the ending because I was taking screenshots of the fonts in the credits for another bug report.

These errors are present in the current daily build of ScummVM (March 17, 2024) for Windows 64-bit.

Attachments (6)

digdosintroshuttlepad.png (25.8 KB ) - added by ATMcashpoint 2 years ago.
digdosendingartifacts.png (49.8 KB ) - added by ATMcashpoint 2 years ago.
digdosendingartifacts1.png (33.3 KB ) - added by ATMcashpoint 2 years ago.
digscummvmintroshuttlepad.png (17.7 KB ) - added by ATMcashpoint 2 years ago.
digscummvmendingartifacts.png (54.1 KB ) - added by ATMcashpoint 2 years ago.
digscummvmendingartifacts1.png (31.9 KB ) - added by ATMcashpoint 2 years ago.

Download all attachments as: .zip

Change History (15)

by ATMcashpoint, 2 years ago

Attachment: digdosintroshuttlepad.png added

by ATMcashpoint, 2 years ago

Attachment: digdosendingartifacts.png added

by ATMcashpoint, 2 years ago

Attachment: digdosendingartifacts1.png added

by ATMcashpoint, 2 years ago

by ATMcashpoint, 2 years ago

by ATMcashpoint, 2 years ago

comment:1 by AndywinXp, 2 years ago

Summary: Color depth issues & artifacting in some shots in The Dig SMUSH videosSCUMM: DIG: Color depth issues & artifacting in some shots in SMUSH videos

comment:2 by AndywinXp, 2 years ago

In 9b0c049e:

SCUMM: SMUSH: Fix color banding issues

Fixes the main issue of #15026:
"SCUMM: DIG: Color depth issues & artifacting
in some shots in SMUSH videos".

Verified from FT, DIG and COMI disassemblies.

comment:3 by AndywinXp, 2 years ago

I fixed the main issue, if you don't mind I'm renaming the ticket so the remaining issue gets some visibility.

comment:4 by AndywinXp, 2 years ago

Summary: SCUMM: DIG: Color depth issues & artifacting in some shots in SMUSH videosSCUMM: DIG: Gray artifacts/pixels in ending video (SQ19A.SAN)

comment:5 by AndywinXp, 2 years ago

There, the gray pixel issues in the final SMUSH video persists. I couldn't find the root cause of that one, but hopefully time will tell...

comment:6 by eriktorbjorn, 13 months ago

The ending video we're talking about is sq19b.san, right?

comment:7 by eriktorbjorn, 13 months ago

The artifacts seem to all be palette color 236, though the palette is probably not to blame since it's also used for some other parts of the image.

comment:8 by eriktorbjorn, 13 months ago

I could be wrong, but I think it's case 0xFE (LITERAL_4X1) in proc3WithFDFE() that draws the bad pixels. But if so, I still have no idea why or how.

comment:9 by AndywinXp, 10 months ago

Owner: set to AndywinXp
Resolution: fixed
Status: newclosed

In c7ed01fc:

SCUMM: DIG: Fix SMUSH codec edge case

From disasm; this fixes #15026:
"SCUMM: DIG: Gray artifacts/pixels in ending video (SQ19A.SAN)"

Note: See TracTickets for help on using tickets.