home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / DOOR / BRE969B1.ZIP / INSTALL.CFG < prev    next >
Text File  |  1994-09-17  |  5KB  |  223 lines

  1. ;BRE
  2. ;Barren Realms Elite
  3. ;0.960
  4.   let GAME := BRE
  5.   tell $GAME " " 0.960 " setup:"
  6.   if $doorfile == "" goto Local
  7.  
  8.   getcwd CWD
  9.   tell "The " $GAME " directory is `" $CWD "'."
  10.  
  11.   let rI1 := "Install.BBSDirectory"
  12.   let rI2 := "Install.DoorFileDir"
  13.   let rI3 := "Install.BatchFile"
  14.  
  15.   getres $rI1 BBSDir
  16.   getres $rI2 DoorFileDir
  17.   getres $rI3 BatchFile
  18.  
  19.   display "Which directory is your BBS in?  "
  20.   read BBSDir
  21.   if $BBSDir == "" let BBSDir := "."
  22.   fixpath BBSDir
  23.  
  24.   if $DoorFileDir == "" let DoorFileDir := $BBSDir
  25.   display "Enter the full path to your BBS's door files: "
  26.   read DoorFileDir
  27.   if $DoorFileDir == "" let DoorFileDir := "."
  28.   fixpath DoorFileDir
  29.  
  30.   if $BatchFile == "" let BatchFile := $BBSDir $GAME ".BAT"
  31.   display "Batch file to create:  "
  32.   read BatchFile
  33.  
  34.   setres $rI1 $BBSDir
  35.   setres $rI2 $DoorFileDir
  36.   setres $rI3 $BatchFile
  37.  
  38.   let rFos := "Fossil"
  39.   getres $rFos Fossil
  40.   tell $GAME " can use the FOSSIL driver for communications."
  41.   if $Fossil != "" tell "Current setting for FOSSIL: " $Fossil
  42.   display "Do you want " $GAME " to use FOSSIL? (Y/N)  "
  43.   ask Fossil
  44.   setres $rFos $Fossil
  45.  
  46.   let rLB := "LockBaudRate"
  47.   getres $rLB LockedBaud
  48.   display "If you have locked baud rates, please enter the baud rate: "
  49.   read LockedBaud
  50.   setres $rLB $LockedBaud
  51.  
  52.   let #cp := 0
  53.   let #br := 0
  54.   let #tl := 0
  55.   let #nl := 0
  56.   let #ll := 0
  57.   let #al := 0
  58.   let #cl := 0
  59.   let #pl := 0
  60.   let #rn := 0
  61.   fopen $BatchFile
  62.   fwrite "@ECHO OFF"
  63.   fcd $CWD
  64.   goto $doorfile
  65.   tell "Error.  Unknown doorfile."
  66.   exit
  67.  
  68. Local:
  69.   tell "LOCAL.BAT will run the game locally."
  70.   fopen LOCAL.BAT
  71.   fwrite "SRDOOR LOCAL"
  72.   fwrite $GAME
  73.   fclose
  74.   goto end
  75.  
  76. doorfile.sr:
  77.   fwrite "COPY " $DoorFileDir "DOORFILE.SR ."
  78.   fwrite $GAME
  79.   fcd $BBSDir
  80.   fclose
  81.   goto next
  82.  
  83. door.sys:
  84.   let #nl := 10
  85.   let #cl := 20
  86.   let #pl := 21
  87.   let #br := 2
  88.   let #cp := 1
  89.   let #tl := 19
  90.   goto std
  91.  
  92. dorinfo1.def:
  93.   let #nl := 7
  94.   let #ll := 8
  95.   let #br := 5
  96.   let #cp := 4
  97.   let #tl := 12
  98.   goto std
  99.  
  100. gtuser.bbs:
  101.   display "Which COM port are you using?  (1-4) "
  102.   read comport
  103.   fwrite "SRDOOR GT " $comport
  104.   goto std2
  105.  
  106. tribbs.sys:
  107.   let #nl := 2
  108.   let #br := 13
  109.   let #cp := 12
  110.   let #tl := 7
  111.   goto std
  112.  
  113. chain.txt:
  114.   let #nl := 2
  115.   let #al := 14
  116.   let #pl := 10
  117.   let #br := 20
  118.   let #cp := 21
  119.   let #rn := 3
  120.   goto std
  121.  
  122. command-line:
  123.   fwrite "ECHO %1  >DOORFILE.SR"
  124.   fwrite "IF [%2]==[C] ECHO 1 >>DOORFILE.SR"
  125.   fwrite "IF NOT [%2]==[C] ECHO %2 >>DOORFILE.SR"
  126.   fwrite "ECHO -1 >>DOORFILE.SR"
  127.   fwrite "ECHO 25 >>DOORFILE.SR"
  128.   fwrite "ECHO %4 >>DOORFILE.SR"
  129.   fwrite "ECHO %5 >>DOORFILE.SR"
  130.   fwrite "ECHO %3 >>DOORFILE.SR"
  131.   fwrite "ECHO %1 >>DOORFILE.SR"
  132.   fwrite $GAME
  133.   fcd $BBSDir
  134.   fwrite EXIT
  135.   fclose
  136.   goto next
  137.  
  138. std:
  139.   fwrite SRDOOR
  140. std2:
  141.   fwrite $GAME
  142.   fcd $BBSDir
  143.   fwrite EXIT
  144.   fclose
  145.  
  146.   fopen SETUP.SR
  147.   fwrite $BBSDir $doorfile
  148.   let h := "   <- Line # of "
  149.   fwrite $#nl $h "Username or First name"
  150.   fwrite $#ll $h "Last name (0 if prev line was full name)"
  151.   fwrite $#cl $h "IBM charaters (1/Y/G = yes)"
  152.   fwrite $#al $h "ANSI support (1/Y/G/C = yes)"
  153.   fwrite $#pl $h "number of lines on the screen"
  154.   fwrite $#br $h "baud rate"
  155.   fwrite $#cp $h "COM port"
  156.   fwrite $#tl $h "time left (minutes)"
  157.   fwrite $#rn $h "Real Name"
  158.   fwrite "Enter 0 for any value not supported."
  159.   fclose
  160.  
  161. next:
  162.   pause
  163.   cls
  164.   tell "  Score File Setup"
  165.   let x := "You can leave any of these blank if you wish"
  166.   tell $x
  167.  
  168.   let r := "ANSIScores"
  169.   getres $r S
  170.   display "ANSI Score full path/filename: "
  171.   read S
  172.   setres $r $S
  173.  
  174.   let r := "AsciiScores"
  175.   getres $r S
  176.   display "Text Score full path/filename: "
  177.   read S
  178.   setres $r $S
  179.   pause
  180.  
  181.   cls
  182.   tell "  News File Setup"
  183.   tell $x
  184.  
  185.   let r := "TodayNewsAnsi"
  186.   getres $r S
  187.   display "ANSI Today's News full path/filename: "
  188.   read S
  189.   setres $r $S
  190.  
  191.   let r := "TodayNewsAscii"
  192.   getres $r S
  193.   display "TEXT Today's News full path/filename: "
  194.   read S
  195.   setres $r $S
  196.  
  197.   let r := "YesterdayNewsAnsi"
  198.   getres $r S
  199.   display "ANSI Yesterday's News full path/filename: "
  200.   read S
  201.   setres $r $S
  202.  
  203.   let r := "YesterdayNewsAscii"
  204.   getres $r S
  205.   display "TEXT Yesterday's News full path/filename: "
  206.   read S
  207.   setres $r $S
  208.  
  209.   pause
  210.   cls
  211.  
  212. end:
  213.   tell "■ Please run   UNPACK.BAT if you have not already done so!"
  214.   tell "■ See Docs\OPTIONS.DOC for command line parameters for BRE"
  215.   tell "■ See Docs\RESOURCE.DOC for more customization stuff."
  216.   tell "■ See Docs\IPSETUP.DOC for information on inter-BBS setup."
  217.   tell "■ See Docs\BRANSI.DOC for information on customizing BRE with ANSI files."
  218.   tell "■ Note: SAMPLES\*.SAM files are not used by BRE; they are only samples."
  219.   pause
  220.  
  221.   exit
  222.  
  223.