Opened 17 months ago

Closed 17 months ago

Last modified 17 months ago

#15829 closed defect (fixed)

DGDS: Willy Beamish CD GOG crash

Reported by: tomthumb117 Owned by: mduggan
Priority: normal Component: Engine: DGDS
Version: Keywords:
Cc: Game: The Adventures of Willy Beamish

Description

scummvm -v - ScummVM 2.10.0git13987-g93992fa572b (Mar 25 2025 04:46:24)

Near the start of the game. Willy is in detention. Ms. Glass (Willy's teacher) questions Willy what she just said. Player gets 3 options. 1 and 3 are OK. With option 2 Ms. Glass says Willy's grades are in the mail. The game gets as far as Willy being worried if he's father finds out about he's C grade in music. Then the game crashes.
Option 2 was the first I tried. After that I tried options 1 and 3 just to the end of that little sequence with Ms. Glass. With options 1 and 3 I got past the sequence with Ms. Glass.
The save file was made just before where the game gives the player the 3 options.

Game version is English language CD from GOG.

Windows 10 up to date.

Attachments (1)

beamish.001 (13.3 KB ) - added by tomthumb117 17 months ago.

Download all attachments as: .zip

Change History (8)

by tomthumb117, 17 months ago

Attachment: beamish.001 added

comment:1 by tag2015, 17 months ago

Summary: Willy Beamish CD GOG crashDGDS: Willy Beamish CD GOG crash

comment:2 by mduggan, 17 months ago

I can't seem to reproduce this - because of #15821 I couldn't push the right button, but I think it should be fixed by the change I just pushed to fix #15821. Could you try again with the next daily build?

comment:3 by tomthumb117, 17 months ago

ScummVM 2.10.0git14115-g96d76d5bdea (Mar 29 2025 04:43:29)

I just downloaded a build at 8pm UK time. It was built at 4.43am so I will wait until tomorrow to check. Your comment would of been made after 4.43am.
One thing I did notice though when I just tried with the latest build, and I can't check with the earlier build as I have deleted it, is to do with Willy's comment about the C grade.

The crash happens if I leave the scene with Willy C grade to play out totally. ScummVM totally crashes.

Often with adventures, if there's text on screen along with the audio the player might read the text before the audio itself finishes and so left-clicks through to the next part of the game.

I just tried this and I can left-click through to the next part of the game. So it's only happening if I leave the audio complete playing.

I meant to do this last time. Below is the output of cmd.exe for both methods. First if I leave the audio complete and the other is from if I left-click through so that the audio clip doesn't play fully.
I'm no programmer but maybe the problem is to be found at the bottom of the first method -
WARNING: Unimplemented CDS TTM opcode: 0xC240 (STOP RAW SFX, 0 args) (ivals: 0 0 0 0)!
Assertion failed: _pointer, file /data/src/common/ptr.h, line 221

I will try tomorrow with a new build.

D:\games\scummvm>scummvm
Using game controller: Xbox 360 Controller
Using game controller: Xbox 360 Controller
User picked target 'beamish' (engine ID 'dgds', game ID 'beamish')...
Running The Adventures of Willy Beamish (CD/DOS/English)
resource.001: 07eaebf5c9e569347308ff097bc6607c, 151525997 bytes.
resource.rme: 09bc7bcb83b6d036c5988c81a769cf0c, 44247 bytes.
WARNING: Res RESOURCE.001 : intro.sx at pos 6372726 has negative size??!
WARNING: Res RESOURCE.001 : global.sx at pos 7855523 has negative size??!
WARNING: Res RESOURCE.001 : willy.sx at pos 18262884 has negative size??!
WARNING: Res RESOURCE.001 : house.sx at pos 23051692 has negative size??!
WARNING: Res RESOURCE.001 : oldtowne.sx at pos 25987656 has negative size??!
WARNING: Res RESOURCE.001 : toot.sx at pos 70534413 has negative size??!
WARNING: Res RESOURCE.001 : mansion.sx at pos 72411294 has negative size??!
WARNING: Unknown music type 6!
WARNING: Unknown music type 22!
WARNING: Couldn't load talkdata 27 head BMP: TKCCFTZ.BMP!
TTMParser: Unexpected chunk '.BMP' of size 7074 found in file 'F1B1.CDS'
TTMParser: Unexpected chunk '.INF' of size 98 found in file 'F1B1.CDS'
TTMParser: Unexpected chunk '.BIN' of size 5463 found in file 'F1B1.CDS'
TTMParser: Unexpected chunk '.VGA' of size 1489 found in file 'F1B1.CDS'
TTMParser: Unexpected chunk '.SND' of size 36456 found in file 'F1B1.CDS'
TTMParser: Unexpected chunk '.RAW' of size 36448 found in file 'F1B1.CDS'
WARNING: drawBackgroundNoSliders: empty rect!
WARNING: Unknown music type 6!
WARNING: Unknown music type 6!
WARNING: Unknown music type 22!
WARNING: Unknown music type 22!
Couldn't load talkdata 0 head 1 BMP: TKSWTHOT.BMP
Couldn't load talkdata 0 head 2 BMP: TKSWFRWN.BMP
Couldn't load talkdata 0 head 3 BMP: TKSWDVES.BMP
Couldn't load talkdata 0 head 4 BMP: TKSWPOUT.BMP
Couldn't load talkdata 0 head 5 BMP: TKSWNEUT.BMP
Couldn't load talkdata 0 head 6 BMP: TKCBW.BMP
TTMParser: Unexpected chunk '.BMP' of size 10684 found in file 'F1B2.CDS'
TTMParser: Unexpected chunk '.INF' of size 94 found in file 'F1B2.CDS'
TTMParser: Unexpected chunk '.SCN' of size 10474 found in file 'F1B2.CDS'
TTMParser: Unexpected chunk '.OFF' of size 92 found in file 'F1B2.CDS'
TTMParser: Unexpected chunk '.SND' of size 47240 found in file 'F1B2.CDS'
TTMParser: Unexpected chunk '.RAW' of size 47232 found in file 'F1B2.CDS'
Couldn't load talkdata 0 head 1 BMP: TKSWTHOT.BMP
Couldn't load talkdata 0 head 2 BMP: TKSWFRWN.BMP
Couldn't load talkdata 0 head 3 BMP: TKSWDVES.BMP
Couldn't load talkdata 0 head 4 BMP: TKSWPOUT.BMP
Couldn't load talkdata 0 head 5 BMP: TKSWNEUT.BMP
Couldn't load talkdata 0 head 6 BMP: TKCBW.BMP
WARNING: SoundRaw::load: Didn't load any data from 'F1B3.CDS'!
TTMParser: Unexpected chunk '.BMP' of size 10684 found in file 'F1B3.CDS'
TTMParser: Unexpected chunk '.INF' of size 94 found in file 'F1B3.CDS'
TTMParser: Unexpected chunk '.SCN' of size 10474 found in file 'F1B3.CDS'
TTMParser: Unexpected chunk '.OFF' of size 92 found in file 'F1B3.CDS'
WARNING: Couldn't load talkdata 27 head BMP: TKCCFTZ.BMP!
TTMParser: Unexpected chunk '.BMP' of size 7074 found in file 'F1B4.CDS'
TTMParser: Unexpected chunk '.INF' of size 98 found in file 'F1B4.CDS'
TTMParser: Unexpected chunk '.BIN' of size 5463 found in file 'F1B4.CDS'
TTMParser: Unexpected chunk '.VGA' of size 1489 found in file 'F1B4.CDS'
TTMParser: Unexpected chunk '.SND' of size 128148 found in file 'F1B4.CDS'
TTMParser: Unexpected chunk '.RAW' of size 128140 found in file 'F1B4.CDS'
WARNING: Unimplemented CDS TTM opcode: 0xC240 (STOP RAW SFX, 0 args) (ivals: 0 0 0 0)!
Couldn't load talkdata 0 head 1 BMP: TKSWTHOT.BMP
Couldn't load talkdata 0 head 2 BMP: TKSWFRWN.BMP
Couldn't load talkdata 0 head 3 BMP: TKSWDVES.BMP
Couldn't load talkdata 0 head 4 BMP: TKSWPOUT.BMP
Couldn't load talkdata 0 head 5 BMP: TKSWNEUT.BMP
Couldn't load talkdata 0 head 6 BMP: TKCBW.BMP
TTMParser: Unexpected chunk '.BMP' of size 10684 found in file 'F1B5.CDS'
TTMParser: Unexpected chunk '.INF' of size 94 found in file 'F1B5.CDS'
TTMParser: Unexpected chunk '.SCN' of size 10474 found in file 'F1B5.CDS'
TTMParser: Unexpected chunk '.OFF' of size 92 found in file 'F1B5.CDS'
TTMParser: Unexpected chunk '.SND' of size 92808 found in file 'F1B5.CDS'
TTMParser: Unexpected chunk '.RAW' of size 92800 found in file 'F1B5.CDS'
WARNING: Unimplemented CDS TTM opcode: 0xC240 (STOP RAW SFX, 0 args) (ivals: 0 0 0 0)!
Assertion failed: _pointer, file /data/src/common/ptr.h, line 221

D:\games\scummvm>scummvm
Using game controller: Xbox 360 Controller
Using game controller: Xbox 360 Controller
User picked target 'beamish' (engine ID 'dgds', game ID 'beamish')...
Running The Adventures of Willy Beamish (CD/DOS/English)
resource.001: 07eaebf5c9e569347308ff097bc6607c, 151525997 bytes.
resource.rme: 09bc7bcb83b6d036c5988c81a769cf0c, 44247 bytes.
WARNING: Res RESOURCE.001 : intro.sx at pos 6372726 has negative size??!
WARNING: Res RESOURCE.001 : global.sx at pos 7855523 has negative size??!
WARNING: Res RESOURCE.001 : willy.sx at pos 18262884 has negative size??!
WARNING: Res RESOURCE.001 : house.sx at pos 23051692 has negative size??!
WARNING: Res RESOURCE.001 : oldtowne.sx at pos 25987656 has negative size??!
WARNING: Res RESOURCE.001 : toot.sx at pos 70534413 has negative size??!
WARNING: Res RESOURCE.001 : mansion.sx at pos 72411294 has negative size??!
WARNING: Unknown music type 6!
WARNING: Unknown music type 22!
WARNING: Couldn't load talkdata 27 head BMP: TKCCFTZ.BMP!
TTMParser: Unexpected chunk '.BMP' of size 7074 found in file 'F1B1.CDS'
TTMParser: Unexpected chunk '.INF' of size 98 found in file 'F1B1.CDS'
TTMParser: Unexpected chunk '.BIN' of size 5463 found in file 'F1B1.CDS'
TTMParser: Unexpected chunk '.VGA' of size 1489 found in file 'F1B1.CDS'
TTMParser: Unexpected chunk '.SND' of size 36456 found in file 'F1B1.CDS'
TTMParser: Unexpected chunk '.RAW' of size 36448 found in file 'F1B1.CDS'
WARNING: drawBackgroundNoSliders: empty rect!
WARNING: Unknown music type 6!
WARNING: Unknown music type 6!
WARNING: Unknown music type 22!
WARNING: Unknown music type 22!
Couldn't load talkdata 0 head 1 BMP: TKSWTHOT.BMP
Couldn't load talkdata 0 head 2 BMP: TKSWFRWN.BMP
Couldn't load talkdata 0 head 3 BMP: TKSWDVES.BMP
Couldn't load talkdata 0 head 4 BMP: TKSWPOUT.BMP
Couldn't load talkdata 0 head 5 BMP: TKSWNEUT.BMP
Couldn't load talkdata 0 head 6 BMP: TKCBW.BMP
TTMParser: Unexpected chunk '.BMP' of size 10684 found in file 'F1B2.CDS'
TTMParser: Unexpected chunk '.INF' of size 94 found in file 'F1B2.CDS'
TTMParser: Unexpected chunk '.SCN' of size 10474 found in file 'F1B2.CDS'
TTMParser: Unexpected chunk '.OFF' of size 92 found in file 'F1B2.CDS'
TTMParser: Unexpected chunk '.SND' of size 47240 found in file 'F1B2.CDS'
TTMParser: Unexpected chunk '.RAW' of size 47232 found in file 'F1B2.CDS'
Couldn't load talkdata 0 head 1 BMP: TKSWTHOT.BMP
Couldn't load talkdata 0 head 2 BMP: TKSWFRWN.BMP
Couldn't load talkdata 0 head 3 BMP: TKSWDVES.BMP
Couldn't load talkdata 0 head 4 BMP: TKSWPOUT.BMP
Couldn't load talkdata 0 head 5 BMP: TKSWNEUT.BMP
Couldn't load talkdata 0 head 6 BMP: TKCBW.BMP
WARNING: SoundRaw::load: Didn't load any data from 'F1B3.CDS'!
TTMParser: Unexpected chunk '.BMP' of size 10684 found in file 'F1B3.CDS'
TTMParser: Unexpected chunk '.INF' of size 94 found in file 'F1B3.CDS'
TTMParser: Unexpected chunk '.SCN' of size 10474 found in file 'F1B3.CDS'
TTMParser: Unexpected chunk '.OFF' of size 92 found in file 'F1B3.CDS'
WARNING: Couldn't load talkdata 27 head BMP: TKCCFTZ.BMP!
TTMParser: Unexpected chunk '.BMP' of size 7074 found in file 'F1B4.CDS'
TTMParser: Unexpected chunk '.INF' of size 98 found in file 'F1B4.CDS'
TTMParser: Unexpected chunk '.BIN' of size 5463 found in file 'F1B4.CDS'
TTMParser: Unexpected chunk '.VGA' of size 1489 found in file 'F1B4.CDS'
TTMParser: Unexpected chunk '.SND' of size 128148 found in file 'F1B4.CDS'
TTMParser: Unexpected chunk '.RAW' of size 128140 found in file 'F1B4.CDS'
Couldn't load talkdata 0 head 1 BMP: TKSWTHOT.BMP
Couldn't load talkdata 0 head 2 BMP: TKSWFRWN.BMP
Couldn't load talkdata 0 head 3 BMP: TKSWDVES.BMP
Couldn't load talkdata 0 head 4 BMP: TKSWPOUT.BMP
Couldn't load talkdata 0 head 5 BMP: TKSWNEUT.BMP
Couldn't load talkdata 0 head 6 BMP: TKCBW.BMP
TTMParser: Unexpected chunk '.BMP' of size 10684 found in file 'F1B5.CDS'
TTMParser: Unexpected chunk '.INF' of size 94 found in file 'F1B5.CDS'
TTMParser: Unexpected chunk '.SCN' of size 10474 found in file 'F1B5.CDS'
TTMParser: Unexpected chunk '.OFF' of size 92 found in file 'F1B5.CDS'
TTMParser: Unexpected chunk '.SND' of size 92808 found in file 'F1B5.CDS'
TTMParser: Unexpected chunk '.RAW' of size 92800 found in file 'F1B5.CDS'
WARNING: Couldn't load talkdata 27 head BMP: TKCCFTZ.BMP!
TTMParser: Unexpected chunk '.BMP' of size 7074 found in file 'F1B6.CDS'
TTMParser: Unexpected chunk '.INF' of size 98 found in file 'F1B6.CDS'
TTMParser: Unexpected chunk '.BIN' of size 5463 found in file 'F1B6.CDS'
TTMParser: Unexpected chunk '.VGA' of size 1489 found in file 'F1B6.CDS'
TTMParser: Unexpected chunk '.SND' of size 66572 found in file 'F1B6.CDS'
TTMParser: Unexpected chunk '.RAW' of size 66564 found in file 'F1B6.CDS'
Couldn't load talkdata 0 head 1 BMP: TKSWTHOT.BMP
Couldn't load talkdata 0 head 2 BMP: TKSWFRWN.BMP
Couldn't load talkdata 0 head 3 BMP: TKSWDVES.BMP
Couldn't load talkdata 0 head 4 BMP: TKSWPOUT.BMP
Couldn't load talkdata 0 head 5 BMP: TKSWNEUT.BMP
Couldn't load talkdata 0 head 6 BMP: TKCBW.BMP
TTMParser: Unexpected chunk '.BMP' of size 10684 found in file 'F1B7.CDS'
TTMParser: Unexpected chunk '.INF' of size 94 found in file 'F1B7.CDS'
TTMParser: Unexpected chunk '.SCN' of size 10474 found in file 'F1B7.CDS'
TTMParser: Unexpected chunk '.OFF' of size 92 found in file 'F1B7.CDS'
TTMParser: Unexpected chunk '.SND' of size 68470 found in file 'F1B7.CDS'
TTMParser: Unexpected chunk '.RAW' of size 68462 found in file 'F1B7.CDS'
WARNING: Couldn't load talkdata 27 head BMP: TKCCFTZ.BMP!
TTMParser: Unexpected chunk '.BMP' of size 7074 found in file 'F1B8.CDS'
TTMParser: Unexpected chunk '.INF' of size 98 found in file 'F1B8.CDS'
TTMParser: Unexpected chunk '.BIN' of size 5463 found in file 'F1B8.CDS'
TTMParser: Unexpected chunk '.VGA' of size 1489 found in file 'F1B8.CDS'
TTMParser: Unexpected chunk '.SND' of size 98725 found in file 'F1B8.CDS'
TTMParser: Unexpected chunk '.RAW' of size 98717 found in file 'F1B8.CDS'
WARNING: Couldn't load talkdata 4 head BMP: TKCCCRMN.BMP!
TTMParser: Unexpected chunk '.BMP' of size 5487 found in file 'F1B9.CDS'
TTMParser: Unexpected chunk '.INF' of size 70 found in file 'F1B9.CDS'
TTMParser: Unexpected chunk '.BIN' of size 4216 found in file 'F1B9.CDS'
TTMParser: Unexpected chunk '.VGA' of size 1177 found in file 'F1B9.CDS'
TTMParser: Unexpected chunk '.SND' of size 66752 found in file 'F1B9.CDS'
TTMParser: Unexpected chunk '.RAW' of size 66744 found in file 'F1B9.CDS'
WARNING: Couldn't load talkdata 27 head BMP: TKCCFTZ.BMP!
TTMParser: Unexpected chunk '.BMP' of size 7074 found in file 'F1B10.CDS'
TTMParser: Unexpected chunk '.INF' of size 98 found in file 'F1B10.CDS'
TTMParser: Unexpected chunk '.BIN' of size 5463 found in file 'F1B10.CDS'
TTMParser: Unexpected chunk '.VGA' of size 1489 found in file 'F1B10.CDS'
TTMParser: Unexpected chunk '.SND' of size 38869 found in file 'F1B10.CDS'
TTMParser: Unexpected chunk '.RAW' of size 38861 found in file 'F1B10.CDS'
WARNING: Couldn't load talkdata 3 head BMP: TKCCFATB.BMP!
TTMParser: Unexpected chunk '.BMP' of size 6791 found in file 'F1B11.CDS'
TTMParser: Unexpected chunk '.INF' of size 58 found in file 'F1B11.CDS'
TTMParser: Unexpected chunk '.BIN' of size 4696 found in file 'F1B11.CDS'
TTMParser: Unexpected chunk '.VGA' of size 2013 found in file 'F1B11.CDS'
TTMParser: Unexpected chunk '.SND' of size 23741 found in file 'F1B11.CDS'
TTMParser: Unexpected chunk '.RAW' of size 23733 found in file 'F1B11.CDS'
WARNING: Couldn't load talkdata 27 head BMP: TKCCFTZ.BMP!
TTMParser: Unexpected chunk '.BMP' of size 7074 found in file 'F1B12.CDS'
TTMParser: Unexpected chunk '.INF' of size 98 found in file 'F1B12.CDS'
TTMParser: Unexpected chunk '.BIN' of size 5463 found in file 'F1B12.CDS'
TTMParser: Unexpected chunk '.VGA' of size 1489 found in file 'F1B12.CDS'
TTMParser: Unexpected chunk '.SND' of size 38372 found in file 'F1B12.CDS'
TTMParser: Unexpected chunk '.RAW' of size 38364 found in file 'F1B12.CDS'
TTMParser: Unexpected chunk '.SND' of size 4728 found in file 'F1B13.CDS'
TTMParser: Unexpected chunk '.RAW' of size 4720 found in file 'F1B13.CDS'
WARNING: Couldn't load talkdata 27 head BMP: TKCCFTZ.BMP!
TTMParser: Unexpected chunk '.BMP' of size 7074 found in file 'F1B14.CDS'
TTMParser: Unexpected chunk '.INF' of size 98 found in file 'F1B14.CDS'
TTMParser: Unexpected chunk '.BIN' of size 5463 found in file 'F1B14.CDS'
TTMParser: Unexpected chunk '.VGA' of size 1489 found in file 'F1B14.CDS'
TTMParser: Unexpected chunk '.SND' of size 43825 found in file 'F1B14.CDS'
TTMParser: Unexpected chunk '.RAW' of size 43817 found in file 'F1B14.CDS'
WARNING: Couldn't load talkdata 4 head BMP: TKCCCRMN.BMP!
TTMParser: Unexpected chunk '.BMP' of size 5487 found in file 'F1B15.CDS'
TTMParser: Unexpected chunk '.INF' of size 70 found in file 'F1B15.CDS'
TTMParser: Unexpected chunk '.BIN' of size 4216 found in file 'F1B15.CDS'
TTMParser: Unexpected chunk '.VGA' of size 1177 found in file 'F1B15.CDS'
TTMParser: Unexpected chunk '.SND' of size 31315 found in file 'F1B15.CDS'
TTMParser: Unexpected chunk '.RAW' of size 31307 found in file 'F1B15.CDS'
Couldn't load talkdata 0 head 1 BMP: TKSWTHOT.BMP
Couldn't load talkdata 0 head 2 BMP: TKSWFRWN.BMP
Couldn't load talkdata 0 head 3 BMP: TKSWDVES.BMP
Couldn't load talkdata 0 head 4 BMP: TKSWPOUT.BMP
Couldn't load talkdata 0 head 5 BMP: TKSWNEUT.BMP
Couldn't load talkdata 0 head 6 BMP: TKCBW.BMP
WARNING: SoundRaw::load: Didn't load any data from 'F1B16.CDS'!
TTMParser: Unexpected chunk '.BMP' of size 10326 found in file 'F1B16.CDS'
TTMParser: Unexpected chunk '.INF' of size 94 found in file 'F1B16.CDS'
TTMParser: Unexpected chunk '.VQT' of size 10116 found in file 'F1B16.CDS'
TTMParser: Unexpected chunk '.OFF' of size 92 found in file 'F1B16.CDS'
TTMParser: Unexpected chunk '.BMP' of size 10326 found in file 'F1B16.CDS'
TTMParser: Unexpected chunk '.INF' of size 94 found in file 'F1B16.CDS'
TTMParser: Unexpected chunk '.VQT' of size 10116 found in file 'F1B16.CDS'
TTMParser: Unexpected chunk '.OFF' of size 92 found in file 'F1B16.CDS'
TTMParser: Unexpected chunk '.BMP' of size 10684 found in file 'F1B16.CDS'
TTMParser: Unexpected chunk '.INF' of size 94 found in file 'F1B16.CDS'
TTMParser: Unexpected chunk '.SCN' of size 10474 found in file 'F1B16.CDS'
TTMParser: Unexpected chunk '.OFF' of size 92 found in file 'F1B16.CDS'

comment:4 by tomthumb117, 17 months ago

scummvm -v ScummVM 2.10.0git14120-g5e92ae3bfce (Mar 30 2025 04:20:25)

Just tried with the latest build. Still have the same problem. I won't print the cmd.exe output as it's exactly the same as in my last post.

I never played this game back in the day or with DOSbox yet (my version is GOG so DOSbox is included). So I don't know how it's supposed to work but when Ms. Glass gives you 3 options I have been using the number keys. That was the only option. There was no mouse cursor visible.
But in the latest build I see there is a mouse cursor. In fact I had to use it as I couldn't use the number keys anymore. I guess this was related to the other bug though.

comment:5 by mduggan, 17 months ago

Thanks for the patience re-testing. I think I found the issue and will make a fix.

comment:6 by mduggan, 17 months ago

Owner: set to mduggan
Resolution: fixed
Status: newclosed

In 9f08ec53:

DGDS: Skip CDS draw op if head shape was freed

This fixes #15829.

comment:7 by tomthumb117, 17 months ago

Confirmed. It's fixed.

Note: See TracTickets for help on using tickets.