home *** CD-ROM | disk | FTP | other *** search
- @echo off
- cls
- echo This is the ACTION-Install-Routine V1.0
- echo (ACTION V1.5)
- echo
- if not exist action\action.txt md ACTION > NULL
- if exist action12.ini del action12.* > NULL
- copy action*.ini action > NULL
- copy action*.map action > NULL
- del action*.ini > NULL
- del action*.map > NULL
- echo Making Backup-file of GAME.DAT...
- if exist game.dad goto gex
- copy game.dat game.dad > NULL
- attrib game.dad +r
- echo Backup-file GAME.DAD created.
- goto w
- :gex
- echo Backup-file exists... no backup made.
- :w
- echo
- echo Looking for existing ACTION-files...
- if exist ren_act.bat goto actex
- echo no previous version found.
- goto w1
- :actex
- echo previous version found. deleting...
- if exist edtdata2.c&c del edtdata*.c&c > NULL
- if exist multplay.pat del multplay.pat > NULL
- del ren_act.bat > NULL
- echo deleting finished.
- :w1
- echo
- echo Looking for existing SCM??EA.*-files
- echo with ?? = 01,02,03,04,05...
- if exist scm01ea.ini goto delscm
- if exist scm02ea.ini goto delscm
- if exist scm03ea.ini goto delscm
- if exist scm04ea.ini goto delscm
- if exist scm05ea.ini goto delscm
- echo none found.
- goto w2
- :delscm
- echo files found. Deleting?
- echo NOTE: You can break now and rename these
- echo scens or this program will delete them!
- pause
- del scm01ea.* > NULL
- del scm02ea.* > NULL
- del scm03ea.* > NULL
- del scm04ea.* > NULL
- del scm05ea.* > NULL
- echo Deleting finished.
- :w2
- echo
- echo Now updating GAME.DAT...
- ccactin1.exe
- if errorlevel 2 goto ende
- if errorlevel 1 goto fehler
- echo
- echo Now Copying the Action-Scens to the right locations...
- copy action\action1!.ini scm01ea.ini > NULL
- copy action\action1!.map scm01ea.bin > NULL
- copy action\action13.ini scm02ea.ini > NULL
- copy action\action13.map scm02ea.bin > NULL
- copy action\action23.ini scm03ea.ini > NULL
- copy action\action23.map scm03ea.bin > NULL
- copy action\action33.ini scm04ea.ini > NULL
- copy action\action33.map scm04ea.bin > NULL
- copy action\action43.ini scm05ea.ini > NULL
- copy action\action43.map scm05ea.bin > NULL
- echo ready.
- echo
- copy ccactins.bat action > NULL
- copy ccactin1.exe action > NULL
- copy changes.* action > NULL
- copy action.doc action > NULL
- copy action.txt action > NULL
- del ccactin1.exe > NULL
- del changes.* > NULL
- echo now the installation is finished.
- echo get ready for some ACTION!!!
- echo
- echo (ignore the next line!)
- if exist action15.zip copy action15.zip action > NULL
- if exist action*.zip del action*.zip > NULL
- del NULL
- del ccactins.bat
- goto ende
- :fehler
- echo Please get an upgrade of your C&C with satisfy
- echo the needed conditions!
- echo
- goto ende
- :ende
- del NULL
-
-