home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Action 1996 May
/
PCA0596.ISO
/
demos
/
siedler2
/
install.scr
< prev
next >
Wrap
Text File
|
1996-03-04
|
4KB
|
191 lines
// Install script for the Settlers II
// 5th of December 1995
// 24th of January 1996
// (c) 1995 Blue Byte Software GmbH
// Set language
SET_LANGUAGE 1
// Load background image
LOAD_BACKGROUND "gfx\pics\install.lbm"
// Go to setup if already installed, else go to install
IF_EXISTS setup.ini
GOTO SetupMainMenu
ELSE
GOTO InstallMainMenu
ENDIF
// Install main menu
:InstallMainMenu
MENU_START
MENU_ENTRY "Siedler II Installation"
MENU_ENTRY "Siedler II installieren" InstallGame
MENU_ENTRY "Programm verlassen" ExitInstallFromInstall
MENU_END
// Install the game
:InstallGame
// Select a target drive
SELECT_TARGET_DRIVE 30000 InstallMainMenu
// Select target path
SELECT_TARGET_PATH BLUEBYTE\SIEDLER2
// Confirm installation
// ASSERT "Möchten Sie die Installation fortsetzen?" InstallMainMenu
// Inform the user that installation has started
PRINT "Installation wird vorbereitet."
// Change to target directory
CD_TARGET
// Delete everything that may already be here
DELETE *.*
DELETE DRIVERS
DELETE DATA\MASKS
DELETE DATA\BOBS
DELETE DATA\IO
DELETE DATA\TXT
DELETE DATA\ANIMDAT
DELETE DATA\SOUNDDAT\SNG
DELETE DATA\SOUNDDAT\SAM
DELETE DATA\SOUNDDAT
DELETE DATA\TEXTURES
DELETE DATA\MBOB
DELETE DATA\CBOB
DELETE DATA\DEBUG
DELETE DATA\MISSIONS
DELETE DATA\MAPS
DELETE DATA\ONLINE
DELETE DATA
DELETE GFX\PALETTE
DELETE GFX\PICS
DELETE GFX\TEXTURES
DELETE GFX\LAND
DELETE GFX
DELETE SAVE
DELETE VIDEO
// Create directories
MD DRIVERS
MD DATA
MD DATA\MASKS
MD DATA\BOBS
MD DATA\IO
MD DATA\TXT
MD DATA\ANIMDAT
MD DATA\SOUNDDAT
MD DATA\SOUNDDAT\SAM
MD DATA\SOUNDDAT\SNG
MD DATA\TEXTURES
MD DATA\MBOB
MD DATA\CBOB
MD DATA\DEBUG
MD DATA\MISSIONS
MD DATA\MAPS
MD DATA\ONLINE
MD GFX
MD GFX\PALETTE
MD GFX\PICS
MD GFX\TEXTURES
MD GFX\LAND
MD SAVE
MD VIDEO
// Change to source directory
CD_SOURCE
// Inform the user that installation has started
PRINT "Siedler II wird nun installiert."
// Copy AIL drivers
INSTALL DRIVERS\*.* DRIVERS\*.*
// Copy stuff
INSTALL ROOT\S2.exe S2.exe
INSTALL ROOT\S2FAST.exe S2FAST.exe
INSTALL ROOT\START.BAT START.BAT
INSTALL ROOT\NOTSTART.BAT NOTSTART.BAT
INSTALL ROOT\MCP.EXE MCP.EXE
INSTALL SETUP.EXE SETUP.EXE
INSTALL INSTALL.SCR INSTALL.SCR
INSTALL INSTALL.LBM INSTALL.LBM
INSTALL DOS4GW.EXE DOS4GW.EXE
INSTALL README.TXT README.TXT
INSTALL DATA\*.* DATA\*.*
INSTALL DATA\MASKS\*.* DATA\MASKS\*.*
INSTALL DATA\BOBS\*.* DATA\BOBS\*.*
INSTALL DATA\IO\*.* DATA\IO\*.*
INSTALL DATA\TXT\*.* DATA\TXT\*.*
INSTALL DATA\ANIMDAT\*.* DATA\ANIMDAT\*.*
INSTALL DATA\SOUNDDAT\*.* DATA\SOUNDDAT\*.*
INSTALL DATA\SOUNDDAT\SAM\*.* DATA\SOUNDDAT\SAM\*.*
INSTALL DATA\SOUNDDAT\SNG\*.* DATA\SOUNDDAT\SNG\*.*
INSTALL DATA\TEXTURES\*.* DATA\TEXTURES\*.*
INSTALL DATA\MBOB\*.* DATA\MBOB\*.*
INSTALL DATA\CBOB\*.* DATA\CBOB\*.*
INSTALL DATA\DEBUG\*.* DATA\DEBUG\*.*
INSTALL DATA\MISSIONS\*.* DATA\MISSIONS\*.*
INSTALL DATA\MAPS\*.* DATA\MAPS\*.*
INSTALL DATA\ONLINE\*.* DATA\ONLINE\*.*
INSTALL GFX\*.* GFX\*.*
INSTALL GFX\PALETTE\*.* GFX\PALETTE\*.*
INSTALL GFX\PICS\*.* GFX\PICS\*.*
INSTALL GFX\TEXTURES\*.* GFX\TEXTURES\*.*
INSTALL GFX\LAND\*.* GFX\LAND\*.*
INSTALL SAVE\*.* SAVE\*.*
INSTALL VIDEO\*.* VIDEO\*.*
CD_TARGET
// Create and update setup file
CREATE SETUP.INI
UPDATE_INI
// Inform the user that installation has been completed successfully
INFO "Siedler II wurde erfolgreich installiert."
GOTO SetupMainMenu
// Setup main menu
:SetupMainMenu
MENU_START
MENU_ENTRY "Siedler II: Setup"
MENU_ENTRY "Soundkarte einstellen" SetupSound
MENU_ENTRY "Zusätzliche Informationen" ReadDoc
MENU_ENTRY "Programm verlassen" ExitInstallFromSetup
MENU_END
:SetupSound
CD DRIVERS
EXECUTE_OWN_SCREEN SETSOUND.EXE
CD ..
GOTO SetupMainMenu
:ReadDoc
TEXT README.TXT
GOTO SetupMainMenu
:ExitInstallFromSetup
INFO "Starten Sie nun Siedler II von dem Datenträger, auf den Sie das Spiel installiert haben. Viel Spaß beim Spielen!"
END
:ExitInstallFromInstall
END