README revision 1.2
11.2Scgd$NetBSD: README,v 1.2 1995/03/23 08:33:07 cgd Exp $ 21.2Scgd 31.1ScgdLarn is a dungeon type game program. Larn is a adventure/action game similar 41.1Scgdin concept to rogue or hack, but with a much different feel. 51.1ScgdTry it, you'll like it! 61.1Scgd 71.1ScgdYou will have to edit the Makefile to reflect your configuration. Define 81.1ScgdLARNHOME as the place where the larn auxiliary files will reside, and 91.1ScgdBINDIR as the place where the larn executable should be placed. Type 101.1Scgd"make" to compile, or "make all" to compile and install ("make install" 111.1Scgddoes just the install). 121.1Scgd 131.1ScgdHere's a list of what is in each of the various source files: 141.1Scgd 151.1ScgdFixed.Bugs this is a list of the things that were changed 161.1Scgd since ver 11.0 171.1ScgdMakefile makefile script to compile the program 181.1ScgdMake.lint makefile script to run larn sources through lint 191.1ScgdREADME this is what you are now reading 201.1Scgdbill.c code for the letters of praise if player wins 211.1Scgdconfig.c data definitions for the installation dependent data -- 221.1Scgd savefilenames, where the scorefiles are, etc. 231.1Scgdcreate.c code to create the dungeon and all objects 241.1Scgddata.c data definitions for the game -- no code here 251.1Scgddiag.c code to produce diagnostic data for wizards, & savegame stuff 261.1Scgddisplay.c code to update the display on the screen 271.1Scgdfortune.c code for the fortune cookies 281.1Scgdglobal.c code for globally used functions that are specific to larn 291.1Scgdheader.h constant and structure definitions 301.1Scgdhelp.c code for the help screens in the game of larn 311.1Scgd.holidays data file which lists upcoming holidays 321.1Scgdio.c code to handle file and terminal i/o 331.1Scgd.larn.help.uue larn help file (UUENCODED) 341.1Scgd.larnmaze data file for pre-made mazes 351.1Scgd.larnopts a sample .larnopts option data file 361.1Scgd.lfortune data file which contains the hints 371.1Scgdmain.c code for the main command control and parsing 381.1Scgdmonster.c code to handle attack and defense modes with monsters 391.1Scgdmoreobj.c code for the fountains, altars, thrones 401.1Scgdmovem.c code to move the monsters around the dungeon 411.1Scgdnap.c code to sleep for less than a second 421.1Scgdobject.c code to handle objects in the dungeon 431.1Scgdregen.c code to regenerate the player and advance game time 441.1Scgdsavelev.c code to get/put a level from level storage into working 451.1Scgd level memory 461.1Scgdscores.c code to process and manage the scoreboard 471.1Scgdsignal.c code to handle UNIX signals that are trapped 481.1Scgdstore.c code for the larn thrift shoppe, bank, trading post, lrs 491.1Scgdtok.c code for the input front end and options file processing 501.1Scgd 511.1ScgdTo find out how to play the game, run it and type in a '?' to get the help 521.1Scgdscreens. By the way, the wizards password is "pvnert(x)" and to become wizard 531.1Scgdtype in an underscore, you are then prompted for the password. Wizards are 541.1Scgdnon-scoring characters that get enlightenment, everlasting expanded 551.1Scgdawareness, and one of every object in the game. They help the author to debug 561.1Scgdthe game. 571.1Scgd 581.1ScgdNote regarding the wizard id: If you are using userid's, then WIZID must be 591.1Scgdset to the userid of the person who can become wizard. If you are using 601.1Scgdplayer id's, WIZID must be set to the playerid (edit file .playerids if needed) 611.1Scgdof the player who can become wizard. 621.1Scgd 631.1ScgdYou may want to clear out the scoreboard. The command "larn -c" will make a 641.1Scgdnew scoreboard. It will prompt you for the wizards password. 651.1Scgd 661.1ScgdBUGS & FIXES: 671.1Scgd 681.1ScgdJames McNamara has volunteered to maintain the latest sources, and provide 691.1Scgdlatest bug fixes to anyone who asks. Both James and I will field requests for 701.1Scgdsources, for those who ask. 711.1Scgd 721.1Scgd ___ Prince of Gems (alias Noah Morgan) 731.1Scgd /. \ USENET: panda!condor!noah 741.1Scgd \ / at GenRad Inc. Bolton MA 751.1Scgd \ / 761.1Scgd v 771.1Scgd 781.1ScgdBelow is some additional info about the installation of larn: 791.1Scgd 801.1ScgdInstall: Notes on the game LARN installation. 811.1ScgdLarn is copyrighted 1986 by Noah Morgan. 821.1ScgdThis file (below) originally by James D. McNamara, last update 7/27/86 by nm 831.1Scgd 841.1ScgdTHIS DISTRIBUTION: 851.1Scgd 861.1Scgd You should receive six (6) shar files, which are: 871.1Scgd 881.1Scgd larn.part-1 891.1Scgd larn.part-2 901.1Scgd larn.part-3 911.1Scgd larn.part-4 921.1Scgd larn.part-5 931.1Scgd larn.part-6 941.1Scgd 951.1ScgdI. Use /bin/sh (or your system equivalent) to "unravel" shar files 961.1Scgd larn.part-1, ..., larn.part-6. I suggest you do this directly 971.1Scgd into $LARNHOME (See Section III.). Notable files: 981.1Scgd 991.1Scgd README - The author's how-to. 1001.1Scgd MANIFEST - Files you should have. 1011.1Scgd 1021.1ScgdIII. Edit a copy of "Makefile" and leave the edited version in $LARNHOME. 1031.1Scgd 1041.1ScgdAll the "configuration" options are tidily near the top of the "Makefile." 1051.1ScgdHere are the ones you probably will want to edit: 1061.1Scgd 1071.1ScgdLARNHOME I specified (literally) the directory, with path from root, 1081.1Scgd where "larn" will reside. This included where I put the *.c files, 1091.1Scgd it is where the *.o files ended up, as well as all data and *.h files. 1101.1Scgd i suspect the *.c and intallation-documentation files can be moved off, 1111.1Scgd but the data and bits must all remain here for execution. 1121.1Scgd 1131.1ScgdBINDIR I specified (literally) the directory, with path from root, 1141.1Scgd where the executable "larn" will reside. The "Makefile" will dump 1151.1Scgd the "a.out", named "larn", in this directory. My BINDIR was not 1161.1Scgd my LARNHOME, so $BINDIR/larn was the ONLY file dumed here. You'll 1171.1Scgd probably have to chmod it for public execute, etc. 1181.1Scgd 1191.1Scgd 1201.1ScgdOPTIONS This is how *I* specified them... they are documented in-line: 1211.1Scgd OPTIONS = -DWIZZARD -DWIZID=157 -DEXTRA -DBSD -DSAVEINHOME 1221.1Scgd 1231.1ScgdIV. Compile the bugger. Read "README" before you do. You have a couple 1241.1Scgd of options here: 1251.1Scgd 1261.1Scgd make - will not install, suspect good for updates. 1271.1Scgd make all - compile (and) intall 1281.1Scgd make install - just install 1291.1Scgd 1301.1Scgd I did "make" and then "make install" -- seems to work "ok", but 1311.1Scgd "make all" probably safer, if I had known. Note that "Makefile" 1321.1Scgd is the default file for "make." 1331.1Scgd 1341.1ScgdV. Execute and have fun. If wizard code "ok", larn -c will refresh the 1351.1Scgd scoreboard. Play and win (or get killed) to put somebody on the 1361.1Scgd scoreboard. 1371.1Scgd 1381.1ScgdVI. BUGS and FIXES. 1391.1Scgd 1401.1Scgd Please forward any bug-fixes in these regards to me (or Noah), so I may 1411.1Scgd compile a fix-list for other installers. Thanks. 1421.1Scgd 1431.1ScgdRegards, 1441.1Scgd=============================================================================== 1451.1ScgdJames D. McNamara CSNET: jim@bu-cs 1461.1Scgd ARPANET: jim%bu-cs@csnet-relay 1471.1Scgd UUCP: ...harvard!bu-cs!jim 1481.1Scgd BITNET: jim%bu-cs%csnet-relay.arpa@wiscvm 1491.1Scgd=============================================================================== 1501.1Scgd 151