https://github.com/scummvm/scummvm
Revision 7ec7cb92b87ae361095248983a907a1fcd438904 authored by D G Turner on 13 November 2011, 23:35:02 UTC, committed by D G Turner on 13 November 2011, 23:56:59 UTC
Playing with cabinet datafiles, this failed to find the "Charisma.smk"
file in the cabinets when in the Recreation (TV) room on Cygnus Alpha
and this caused an engine abort after the GUI dialog warning of the
"missing" video file. This was due to animation.cpp code using
Common::file::exists() instead of going via the ArchiveMan.

However,a hasFile() method implementation was also required to implement
fallback to decompressed (movie) files if the file requested is not in
the cabinet or the cabinet has been externally decompressed to files.

Thanks to fuzzie for the hasFile() patch.

Also, removed noisy warning which this correction triggers repeatedly in
installshield_cab.cpp hasFile(). This looks like leftover from
debugging, so not critical.
1 parent 623fd6c
History
Tip revision: 7ec7cb92b87ae361095248983a907a1fcd438904 authored by D G Turner on 13 November 2011, 23:35:02 UTC
AGOS: Fix engine crash when playing Feeble Files from cabinet datafiles.
Tip revision: 7ec7cb9
File Mode Size
audio
backends
base
common
devtools
dists
doc
engines
graphics
gui
icons
po
test
video
.gitignore -rw-r--r-- 3.0 KB
AUTHORS -rw-r--r-- 16.6 KB
COPYING -rw-r--r-- 17.6 KB
COPYING.BSD -rw-r--r-- 4.6 KB
COPYING.LGPL -rw-r--r-- 26.1 KB
COPYRIGHT -rw-r--r-- 4.3 KB
Makefile -rw-r--r-- 2.9 KB
Makefile.common -rw-r--r-- 8.2 KB
NEWS -rw-r--r-- 53.0 KB
README -rw-r--r-- 88.1 KB
TODO -rw-r--r-- 113 bytes
config.guess -rwxr-xr-x 43.9 KB
config.sub -rwxr-xr-x 33.6 KB
configure -rwxr-xr-x 101.8 KB
plugin.exp -rw-r--r-- 76 bytes
ports.mk -rw-r--r-- 10.6 KB
rules.mk -rw-r--r-- 2.9 KB

README

back to top