home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format 97 / af097b.adf / C / start.lzx / c / 2 < prev    next >
Text File  |  2008-06-16  |  2KB  |  86 lines

  1. lab 163
  2. assign af97b: exists >ram:necessary
  3. search ram:necessary "Mounted" >nil:
  4. if warn
  5. echo "*EcPlease insert the *E[33m*E[3mAmiga Format*E[0m Coverdisk."
  6. else
  7. skip 164
  8. endif
  9. skip 163 back
  10. lab 164
  11. endif
  12. echo "*EcIf you have 2Mb RAM or more, you can play this game directly from this disk."
  13. echo "If you have and would like to, press 'p' and <return> or to install to"
  14. echo "an empty, pre-formatted floppy, press 'i' and return."
  15. setenv >nil: play ?
  16. if not exists ram:play
  17. skip 10
  18. endif
  19. if not $play EQ p
  20. skip 10
  21. endif
  22. unlzx -a -q x af97b:witness.lzx ram:
  23. cd ram:
  24. assign >NIL: WITNESS:  ""
  25. witness
  26. echo "There does not appear to be enough RAM to run Witness."
  27. echo "You will have to install to a separate disk. To do so, you need to re-start."
  28. lab 10
  29. echo "*EcWould you like to install to a floppy or hard drive?"
  30. echo "Enter either 'f' or 'h' (the default for this is floppy)."
  31. setenv >nil: type ?
  32. if not exists ram:type
  33. skip 101
  34. endif
  35. if not $type EQ h
  36. skip 101
  37. lab 109
  38. endif
  39. echo "Could you please now enter the path name for your hard drive?"
  40. echo "E.g. 'dh0:', 'work:test/', etc..."
  41. setenv >nil: pathname ?
  42. assign source: af97b:
  43. failat 21
  44. cd $pathname >nil:
  45. if fail
  46. failat 10
  47. skip 109 back
  48. endif
  49. failat 10
  50. echo "*EcOK... Installing disk."
  51. makedir Witness
  52. unlzx -a -q -bi24 x source:witness.lzx witness/
  53. copy witness/s/witness.info ""
  54. skip 110
  55. lab 101
  56. endif
  57. assign source: af97b:
  58. echo "*EcYou must have a spare disk ready. This must be empty and formatted."
  59. setenv pathname "df1:"
  60. lab 103
  61. echo "Insert the spare disk into df1: (your external drive)"
  62. ask "and press the <return> key."
  63. info df1: >ram:check
  64. search ram:check "af97b" >nil:
  65. if warn
  66. skip 104
  67. endif
  68. echo "An Amiga Format disk is in df0:"
  69. skip 103 back
  70. lab 104
  71. search ram:check "No disk present" >nil:
  72. if warn
  73. skip 105
  74. endif
  75. echo "No disk detected in df1:"
  76. skip 103 back
  77. lab 105
  78. cd $pathname >nil:
  79. echo "*EcInstalling disk."
  80. install df1:
  81. relabel df1: Witness
  82. unlzx -a -q -bi5 -bo5 x source:witness.lzx ""
  83. echo "The disk is ready."
  84. lab 110
  85. echo "Re-boot now."
  86.