Opened 3 years ago

Closed 3 years ago

#12622 closed defect (fixed)

TRECISION: Cutscene gets cut off

Reported by: Kurufinwe21 Owned by: bluegr
Priority: normal Component: Engine: Trecision
Version: Keywords:
Cc: Game: Nightlong: Union City Conspiracy


ScummVM 2.3.0git18721-g8c0c91fe94 (Jun 12 2021 03:56:50) on Windows 10 21H1 64-bit.

Playing Nightlong (Windows, French version, i.e. English voices with French UI/subtitles).

When opening the safe in Ruby's room (see attached save; use the key on the safe to reproduce), a cutscene plays, but the last second or so is clearly cut off. The scene concludes with Joshua saying "Hugh's gotta give me more information" but the last word gets abruptly cut off halfway through.

I'm not sure if it's just this scene or every scene; I'm very early in the game. The intro scene might be cut off as, as Joshua jumps a few pixels between the end of the video and the moment when you gain control of him, but I'm not sure.

I tried fiddling with the subtitle speed, in case it was throwing off the video's timing somehow, but it doesn't seem to make any difference.

Attachments (2)

nl-win-fr.002 (40.4 KB ) - added by Kurufinwe21 3 years ago.
nl-win-fr.003 (42.5 KB ) - added by Kurufinwe21 3 years ago.
Enter the liquor store on the right to reproduce the bug.

Download all attachments as: .zip

Change History (5)

by Kurufinwe21, 3 years ago

Attachment: nl-win-fr.002 added

comment:1 by Kurufinwe21, 3 years ago

After playing some more, it's definitely happening again, though it only seems to affect longer cutscenes. Short ones (like picking a floor in the elevator in Ruby's building) seem to work fine, but I'm attaching another save when you first enter the liquor store, and half of the last sentence is missing.

Also, the audio in the videos seems a bit choppy at times. It doesn't happen constantly, but a few lines here and there sound off. E.g. in the liquor store scene, when Jacob says "because of a few invisible rats", and again when Joshua says "mind if I have a look around?". I don't know if it's a separate bug, or if those choppy lines throw off the timing and lead to the video getting cut off.

by Kurufinwe21, 3 years ago

Attachment: nl-win-fr.003 added

Enter the liquor store on the right to reproduce the bug.

comment:2 by SupSuper, 3 years ago

Owner: set to SupSuper
Resolution: pending
Status: newpending

comment:3 by bluegr, 3 years ago

Owner: changed from SupSuper to bluegr
Resolution: pendingfixed
Status: pendingclosed

Thanks for your report!

This should be fixed in commit 84d00f364a74293ebc1edca7237eee8bc4a95aed:

The game can play parts of each video, depending on the selected dialog choice or the current game flags. It does so by calculating the end frame from the total playing time of the subtitles shown. For longer videos, which do not have choices, the calculated end video length isn't always right, and results in the last seconds being cut off. For these videos, we can just play them fully, instead of showing only the calculated frames. I've played most of the game videos with this change, and they all seem to work as expected.

The fix should be available in the next daily version of ScummVM.

Note: See TracTickets for help on using tickets.