Skip to content

Latest commit

 

History

History
60 lines (36 loc) · 1.2 KB

README.md

File metadata and controls

60 lines (36 loc) · 1.2 KB

Zork

Build Status

Zork made compilable by Qt Creator.

Zork

Building

From the command-line:

./build.sh

Note: upon running ./Zork, this will give a segmentation fault after most commands, see Segmentation fault

From Qt Creator:

  • Start Qt Creator
  • Open Zork.pro
  • Press Run (it will run, but not work, see It runs but it does not work!)

It runs but it does not work!

It does not work because of the following error:

I can't open /usr/games/lib/dunlib/dtextc.dat.

Error

Solution:

Copy the file dtextc.dat to the same folder as the executable

Errors

Cannot find -lcurses

sudo apt-get install libncurses-dev

Cannot find -ltermcap

sudo apt-get install libncurses-dev

Segmentation fault

If you are using an older version, when you have built Zork using build.sh and started the game with ./Zork most commands terminate the program with a segmentation fault.

SegmentationFault

This is fixed in the current version, thanks to @fuulish