Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#4986 closed defect (invalid)

FREDDYPHARKAS demo 1: Crash related to audio

Reported by: SF/escarlate Owned by: SF/mthreepwood
Priority: normal Component: Engine: SCI
Keywords: Cc:
Game: Freddy Pharkas: Frontier Pharmacist

Description

This one is a bit weird. If I run the installer to configure the demo in DosBox, it decompresses some of the audio files. When I played it back in ScummVM, the console started to display a series of warning messages about an audio file, and the program crashed after switching scenes. The demo plays fine and is stable if the installer is not used.

Ticket imported from: #3035169. Ticket imported from: bugs/4986.

Change History (5)

comment:1 by sev-, 9 years ago

Component: Engine: SCI
Game: Freddy Pharkas: Frontier Pharmacist

comment:2 by SF/mthreepwood, 9 years ago

Please let us know what warnings were displayed.

comment:3 by SF/escarlate, 9 years ago

WARNING: Resource type mismatch loading audio.270! WARNING: resMan: Failed to read audio.270! WARNING: Failed to find audio entry 270! Assertion failed: stream->size() % ((is16Bit ? 2 : 1) * (isStereo ? 2 : 1)) == 0 , file sound/decoders/raw.cpp, line 332

This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.

Game Version: DOS/English ScummVM Version: 1.2.0svn51450 Operating System: Win32 (XP SP2)

comment:4 by SF/mthreepwood, 9 years ago

This bug is invalid. The resource.aud is already unpacked, so when you use install.bat it unpacks the file again, leading to a corrupt file.

Sierra didn't make it check if the file was already decompressed before decompressing it again. Therefore you can continually use the file to "decompress" it.

comment:5 by SF/mthreepwood, 9 years ago

Owner: set to SF/mthreepwood
Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.