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