Menu

#6542 SCI: assertion in detector

SCI unsorted
closed-fixed
5
2015-01-07
2014-02-20
misterhands
No

Latest Win32 snapshot

When trying to add an uninstalled game (in this case, LB2 DOS floppy), I got this, as expected:
WARNING: Failed to open volume file - if you got resource.p01/resource.p02/etc. files, merge them together into resource.000!
WARNING: Volume version not detected, but map version has been detected. Setting volume version to map version!

And also an assertion error on "source" in resource.cpp:1690.

I remember getting this before, when doing a mass-add on a KQ collection CD.
It seems to occur whenever there is a RESOURCE.MAP file in a directory, but no volume file (ie RESOURCE.00x).

Discussion

  • Filippos Karapetis

    • labels: SCI --> SCI, detection, fallback, detector
    • status: open --> closed-fixed
    • assigned_to: Filippos Karapetis
     
  • Filippos Karapetis

    This has been fixed with the latest changes to the SCI fallback detector (commit fe3ed8ded2, bug #6717). The fix should be available in the next daily release of ScummVM.

    I have tried locally with both a valid and an invalid resource.map file, with and without a resource.000 file, and all these cases work fine without any assertion anymore.

    Closing as fixed

     
  • misterhands

    misterhands - 2014-12-13

    Hi Filippos!
    This is still occurring for me on the 2 mentioned test cases:

    WARNING: Failed to open volume file - if you got resource.p01/resource.p02/etc.
    files, merge them together into resource.000!
    Assertion failed: source, file engines/sci/resource.cpp, line 1710

     
  • Filippos Karapetis

    Can you list the files you got?

     
  • misterhands

    misterhands - 2015-01-07

    Sure, the RESOURCE.* files for LB2 are:
    RESOURCE.AUD
    RESOURCE.CFG
    RESOURCE.MAP
    RESOURCE.MSG
    RESOURCE.P01
    RESOURCE.P02
    RESOURCE.P03
    RESOURCE.P04

    But I can get the same assert error with only the MAP file present in the directory.