Menu

#4986 FREDDYPHARKAS demo 1: Crash related to audio

closed-invalid
5
2010-07-29
2010-07-27
Scarlatti
No

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.

Discussion

  • Eugene Sandulenko

    • milestone: --> SCI: Freddy Pharkas: Frontier Pharmacist
     
  • clone2727

    clone2727 - 2010-07-28

    Please let us know what warnings were displayed.

     
  • Scarlatti

    Scarlatti - 2010-07-29

    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)

     
  • clone2727

    clone2727 - 2010-07-29
    • assigned_to: nobody --> mthreepwood
    • status: open --> closed-invalid
     
  • clone2727

    clone2727 - 2010-07-29

    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.