home *** CD-ROM | disk | FTP | other *** search
/ ftp.installgentoo.com/Dos_Games/ / Dos_Games.zip / Dos_Games / Albion / INSTALL.SCR < prev    next >
Text File  |  2012-11-30  |  3KB  |  129 lines

  1. // Install script for Albion English version
  2. // 26th of June 1996
  3. // (c) 1996 Blue Byte Software GmbH
  4.  
  5.  
  6. // Set language
  7. SET_LANGUAGE 2
  8.  
  9. // Load background image
  10. LOAD_BACKGROUND "install.lbm"
  11.  
  12. // Go to setup if already installed, else go to install
  13. IF_EXISTS setup.ini
  14.     GOTO SetupMainMenu
  15. ELSE
  16.     GOTO InstallMainMenu
  17. ENDIF
  18.  
  19.  
  20. // Install main menu
  21. :InstallMainMenu
  22.  
  23. MENU_START
  24. MENU_ENTRY "Albion: Installation"
  25. MENU_ENTRY "Install Albion" InstallGame
  26. MENU_ENTRY "Exit program" ExitInstallFromInstall
  27. MENU_END
  28.  
  29.  
  30. // Install the game
  31. :InstallGame
  32.  
  33. // Select a target drive
  34. SELECT_TARGET_DRIVE 3000 InstallMainMenu
  35.  
  36. // Select target path
  37. SELECT_TARGET_PATH ALBION
  38.  
  39. // Confirm installation
  40. ASSERT "Continue installation?" InstallMainMenu
  41.  
  42. // Change to target directory
  43. CD_TARGET
  44.  
  45. // Delete everything that may already be here
  46. //DELETE *.*
  47. DELETE DRIVERS
  48. DELETE XLDLIBS
  49.  
  50. // Create directories
  51. MD SAVES
  52. MD DRIVERS
  53. MD XLDLIBS
  54. MD XLDLIBS\INITIAL
  55. MD XLDLIBS\CURRENT
  56.  
  57. // Change to source directory
  58. CD_SOURCE
  59.  
  60. // Inform the user that installation has started
  61. PRINT "Installing Albion."
  62.  
  63. // Copy AIL drivers
  64. INSTALL DRIVERS\*.* DRIVERS\*.*
  65.  
  66. // Copy initial position
  67. INSTALL XLDLIBS\INITIAL\*.* XLDLIBS\INITIAL\*.*
  68.  
  69. // Copy palettes
  70. INSTALL XLDLIBS\PALETTE.000 XLDLIBS\PALETTE.000
  71. INSTALL XLDLIBS\PALETTE0.XLD XLDLIBS\PALETTE0.XLD
  72.  
  73. // Copy stuff
  74. INSTALL ROOT\ALBION.EXE ALBION.EXE
  75. INSTALL ROOT\MAIN.EXE MAIN.EXE
  76. INSTALL ROOT\ALBION.PIF ALBION.PIF
  77. INSTALL ROOT\ALBILOW.BAT ALBILOW.BAT
  78. INSTALL ROOT\ALBION.VMC ALBION.VMC
  79. INSTALL SETUP.EXE SETUP.EXE
  80. INSTALL INSTALL.SCR INSTALL.SCR
  81. INSTALL INSTALL.LBM INSTALL.LBM
  82. INSTALL DOS4GW.EXE DOS4GW.EXE
  83. INSTALL README.TXT README.TXT
  84.  
  85. CD_TARGET
  86.  
  87. // Create and update setup file
  88. CREATE SETUP.INI
  89. UPDATE_INI
  90.  
  91. // Inform the user that installation has been completed successfully
  92. INFO "Albion has been installed."
  93.  
  94. GOTO SetupMainMenu
  95.  
  96.  
  97. // Setup main menu
  98. :SetupMainMenu
  99.  
  100. MENU_START
  101. MENU_ENTRY "Albion: Setup"
  102. MENU_ENTRY "Configure sound hardware" SetupSound
  103. MENU_ENTRY "Additional information" ReadDoc
  104. MENU_ENTRY "Exit program" ExitInstallFromSetup
  105. MENU_END
  106.  
  107.  
  108. :SetupSound
  109. CD DRIVERS
  110. EXECUTE_OWN_SCREEN SETSOUND.EXE
  111. CD ..
  112. GOTO SetupMainMenu
  113.  
  114.  
  115. :ReadDoc
  116. TEXT README.TXT
  117. GOTO SetupMainMenu
  118.  
  119.  
  120. :ExitInstallFromSetup
  121. INFO "The Albion CD contains information about other Blue Byte products, including playable Settlers II and Battle Isle 2220 Demos. You can access this information using Windows."
  122. INFO "Please start Albion from the drive you installed it on. Have fun!"
  123. END
  124.  
  125. :ExitInstallFromInstall
  126. INFO "The Albion CD contains information about other Blue Byte products, including playable Settlers II and Battle Isle 2220 Demos. You can access this information using Windows."
  127. END
  128.  
  129.