• Please review our updated Terms and Rules here

211bsd games hack doesn't work?

Scrub

Experienced Member
Joined
Apr 15, 2023
Messages
81
Location
USA
# ./hack
[;H[2JWarning: ct wrt /usr/games/lib/hackdir/record
Ht return 2 cont:
perm: No such file or directory
sflk-perm?
perm?

Ht return 2 cont:
[;H[2J
#
Anyone know what to do about this? this is for a pdp-11/73, and wouldn't you know it the only game i want to play doesnt run. I am using simh for now to trouble shoot and am not on a vt100 so that would explain why i see the escape codes. /usr/games/lib/hackdir is empty. I tried creating a file and directory named record and that didn't fix it. Anyone get this game to work?
 

cruff

Experienced Member
Joined
Dec 12, 2012
Messages
395
Location
Colorado
It behaves the same way for me, I've never actually tried playing it. The source and some readme files can be found in /usr/src/games/hack.
 

Scrub

Experienced Member
Joined
Apr 15, 2023
Messages
81
Location
USA
It behaves the same way for me, I've never actually tried playing it. The source and some readme files can be found in /usr/src/games/hack.
interestingly enough the sources for Rogue are in /usr/src/games but also fails to work, I even tried the renamed original makefile and still get:
# make
Loading ...
ld:hack.mon.o: text overflow
*** Exit 4
 

Scrub

Experienced Member
Joined
Apr 15, 2023
Messages
81
Location
USA
pretty strange. If you go into /usr/games/lib/hackdir, and touch record, touch perm, then run make it says "hack is up to date" and then it works. Although I would have to try it on a vt100 to be sure but the game seems to be playing. Not sure how to fix rogue though
 

vrs42

Veteran Member
Joined
Nov 24, 2009
Messages
996
Location
Beaverton, Oregon
# ./hack
[;H[2JWarning: ct wrt /usr/games/lib/hackdir/record
Ht return 2 cont:
perm: No such file or directory
sflk-perm?
perm?

Ht return 2 cont:
[;H[2J
#
Anyone know what to do about this? this is for a pdp-11/73, and wouldn't you know it the only game i want to play doesnt run. I am using simh for now to trouble shoot and am not on a vt100 so that would explain why i see the escape codes. /usr/games/lib/hackdir is empty. I tried creating a file and directory named record and that didn't fix it. Anyone get this game to work?
That looks like it can't write the score file. Does /usr/games/lib/hackdir/record exist and can ./hack write it?

There used to be a games user and and a set-uid binary, IIRC.
 

Scrub

Experienced Member
Joined
Apr 15, 2023
Messages
81
Location
USA
That looks like it can't write the score file. Does /usr/games/lib/hackdir/record exist and can ./hack write it?

There used to be a games user and and a set-uid binary, IIRC.
drwx------ 2 daemon 512 Jul 1 12:08 hackdir
I think should be able to write it, i am logged in as root. I did a little bit of a sloppy by just creating a file name record and perm, but it would be nice to know how come this happened.
 
Top