[Scummvm-tracker] [ScummVM :: Bugs] #14174: ./configure --datadir=data and game "data" folder conflict
ScummVM :: Bugs
trac at scummvm.org
Wed Feb 15 21:45:35 UTC 2023
#14174: ./configure --datadir=data and game "data" folder conflict
--------------------------+----------------------------
Reporter: mikrosk | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Common
Version: | Keywords: data,configure
Game: Full Throttle |
--------------------------+----------------------------
I have noticed this while testing
https://downloads.scummvm.org/frs/demos/scumm/ft-dos-demo-en.zip.
Basically configure any backend with --datadir=data, make && make dist-
generic, add game ft-demo and watch... a segmentation fault!
{{{
./scummvm
WARNING: Couldn't initialize text to speech through speech-dispatcher!
User picked target 'ft-demo' (engine ID 'scumm', game ID 'ft')...
Looking for a plugin supporting this target... SCUMM [v0-v6 games, v7 &
v8 games]
WARNING: SearchSet::add: archive 'data' already present!
NutRenderer::loadFont() Can't open font file: icons.nut!
Segmentation fault (core dumped)
}}}
Apparently, scummvm realizes that "data" has been already added to the
search set (the system one) and skips the "data" for given game, therefore
leading to a crash because a font file has not been found.
I can imagine that if scummvm expands every relative path to an absolute
one before adding to the search set (in runtime) would fix this kind of
issues.
--
Ticket URL: <https://bugs.scummvm.org/ticket/14174>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list