Original_READ_ME 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. $NetBSD: Original_READ_ME,v 1.2 1995/03/23 08:29:10 cgd Exp $
  2. This is export hack, my first semester programming project.
  3. To set it up for your system, you will have to do the following:
  4. 1: create a hack uid, to own the top ten list, etc.
  5. 2: create a hack directory "/usr/lib/game/hack" is the default.
  6. 2.5: make the directory 700 mode. /* sav files go in there...*/
  7. 3: modify hack.main.c to use the new directory.
  8. 4: modify hack.main.c so it uses the new hack gid. Gid accounts can
  9. go into magic mode without the password, can get cores with ^G, etc.
  10. (make sure gid isn't checked anywhere else...)
  11. 5: recompile hack.
  12. 6: put it in games after making it set-uid hack.
  13. 8: fix the bugs I undobtedly left in it.
  14. 9: tell me what you think of it.
  15. Hack uses the UCB file /etc/termcap to get your terminal escape codes.
  16. If you don't use it, you will have to make extensive changes to hack.pri.c
  17. If you find any bugs (That you think I don't know about), or have any
  18. awesome new changes (Like a better save (One that works!)), or have ANY
  19. questions, write me
  20. Jay Fenlason
  21. 29 East St.
  22. Sudbury Mass.
  23. 01776
  24. or call me at (617) 443-5036. Since I have both a modem and a teen-age
  25. sister, Good Luck.
  26. Hack is split (roughly) into several source files that do different things.
  27. I have tried to fit all the procedures having to do with a certain segment
  28. of the game into a single file, but the job is not the best in the world.
  29. The rough splits are:
  30. hack.c General random stuff and things I never got around to moving.
  31. hack.main.c main() and other random procedures, also the lock file stuff.
  32. hack.mon.c Monsters, moving, attacking, etc.
  33. hack.do.c drink, eat, read, wield, save, etc.
  34. hack.do1.c zap, wear, remove, etc...
  35. hack.pri.c stuff having to do with the screen, most of the terminal
  36. independant stuff is in here.
  37. hack.lev.c temp files and calling of mklev.
  38. Because of the peculiar restraints on our system, I make mklev (create
  39. a level) a separate procedure execd by hack when needed. The source for
  40. mklev is (Naturaly) mklev.c. You may want to put mklev back into hack.
  41. Good luck.
  42. Most of hack was written by me, with help from
  43. Kenny Woodland (KW) (general random things including
  44. the original BUZZ())
  45. Mike Thome (MT) (The original chamelian)
  46. and Jon Payne (JP) (The original lock file kludge and
  47. the massive CURS())
  48. This entire program would not have been possible without the SFSU Logo
  49. Workshop. I am eternally grateful to all of our students (Especially K.L.),
  50. without whom I would never have seen Rogue. I am especially grateful to
  51. Mike Clancy, without whose generous help I would never have gotten to play
  52. ROGUE.