Skip to content

bob301/Zork-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

When you have built Zork using build.sh and started the game with ./Zork most commands terminate the program with a segmentation fault.

SegmentationFault

I have no idea why. If you do, please let me know.

Packages

No packages published

Languages

  • C 97.7%
  • Roff 2.1%
  • Other 0.2%