DavidGriffith/frotz

zcode_path is problematic

Opened this issue · 0 comments

It was reported to me that the zcode path option in the frotz config file isn't being properly used.

With a story file called just “BALLYHOO”:

modok:frotz-master jon$ ./frotz BALLYHOO
Error: Cannot read blorb file ./BALLYHOO.blb.

Fatal error: Cannot open story file

With a story file and an extension:

modok:frotz-master jon$ ./frotz ZORK1.z5 
Error: Cannot read blorb file ./ZORK.blb.

Fatal error: Cannot open story file

With a full path, it works. The blorb file error is visible after the game
quits, so that doesn’t seem to be related.

modok:frotz-master jon$ ./frotz
/Users/jon/Applications/Infocom/Data/ZORK1.z5 
Error: Cannot read blorb file
/Users/jon/Applications/Infocom/Data/ZORK1.blb.