ScummVM (nighly build downloaded from SourceForge) crashes with core dump when I try to start Zork Nemesis.
robert@habanero:~/scummvm$ scummvm WARNING: SDL mixer output buffer size: 2048 differs from desired: 4096! User picked target 'znemesis' (gameid 'zvision')... Looking for a plugin supporting this gameid... ZVision Starting 'ZVision Game' WARNING: Could not open file u000b51c.tga! scummvm: ../../src-master/src/common/file.cpp:140: virtual uint32 Common::File::read(void*, uint32): Assertion `_handle' failed. Aborted (core dumped)
There is no file by that name in lower case, but in upper case:
robert@habanero:~/spiele/zork-nemesis/installed$ find . -name U000B51C.TGA ./DATA3/ZASSETS/GLOBAL3/U000B51C.TGA ./DATA2/ZASSETS/GLOBAL2/U000B51C.TGA ./DATA1/ZASSETS/GLOBAL/U000B51C.TGA
I downloaded the game from gog.com, installed it in wine, then copied the folder from wine:
cp -ra .wine/drive_c/Program\ Files\ \(x86\)/GOG.com/Zork\ Nemesis\ -\ The\ Forbidden\ Lands/ spiele/zork-nemesis/installed robert@habanero:~/scummvm$ scummvm -t | grep Nemesis znemesis Zork Nemesis: The Forbidden Lands (DOS/English)
The game plays in Zengine.
I tried renaming all files to lowercase file names, but that did not make a difference.
robert@habanero:~/scummvm$ scummvm --version ScummVM 1.8.0git2619-g9f00880 (Jan 17 2015 06:08:09) Features compiled in: TAINTED Vorbis FLAC MP3 ALSA SEQ TiMidity RGB zLib FluidSynth Theora FreeType2 JPEG PNG robert@habanero:~/scummvm$ uname -a Linux habanero 3.11.0-20-generic #35-Ubuntu SMP Fri May 2 21:32:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux robert@habanero:~/scummvm$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"
I can attach the core dump (34MB) if you think it will be helpful.
Sorry for messing up the game.
However, it also happens for Zork Grand Inquisitor:
I don't have the GOG versions myself, but just to rule out one really simple explanation (and since I seem to recall making that mistake myself the other day), have you checked that you have read permission on the game data files?
Permissions are ok, all files are 644, all directories are 755, all files owned by me.
I can reproduce this. Bisected, and it's a regression in d70503cc9842059302c73c7861ada557e25a52b5.
My bad, I ripped out the part of the code that handles files in case-sensitive file systems. Restored in commit 7c23eae102.
I've double checked on my Ubuntu system, and ZVision is working as expected. Thanks for bisecting this, wjp.
Closing as fixed.
Confirmed, it's working now.
Thanks!