home *** CD-ROM | disk | FTP | other *** search
/ Superdead 2 / superdead2.iso / cc1 / neu / mbcc1035 / instufob.bat < prev    next >
DOS Batch File  |  1996-10-13  |  2KB  |  75 lines

  1. @echo off
  2.  
  3. if not exist conquer.mix goto NOCO
  4. if not exist ufob.shp goto NOSHP
  5. if not exist ufoicon.shp goto NOSHP
  6. if not exist ccnames.exe goto NONAME
  7. IF not exist cclite.exe goto NOCC
  8.  
  9.  
  10. echo.
  11. echo BIG INDEPENDENCE FIGHTER INSTALLER 1.0
  12. echo ======================================
  13. echo.
  14. echo.
  15. echo NOTE: This Utility will edit some C&C files:
  16. echo       -conquer.mix
  17. echo       -local.mix
  18. echo       -game.dat
  19. echo.
  20. echo       If you want to cancel and save this files first
  21. echo       hit CTRL-C or hit any key to continue
  22. echo.
  23. echo    by Felix&Christian Oppermann
  24. echo    Using programs by Andrew Griffin and Vladan Bato
  25. pause
  26. cls
  27. echo.
  28. echo installing INDEPENDENCE FIGHTER...
  29. mmlite conquer.mix -e i127 apauntb.ufo >nul
  30. mmlite conquer.mix -e i194 apaicob.ufo >nul
  31.  
  32. mmlite conquer.mix -r i127 ufob.shp >nul
  33. mmlite conquer.mix -r i194 ufoicon.shp >nul
  34.  
  35. If not exist conquer.eng goto extext
  36. Goto ChName
  37.  
  38. :EXTEXT
  39. mmlite local.mix -e i1 conquer.eng >nul
  40. Goto ChName
  41.  
  42. :CHNAME
  43. CCNAMES conquer.eng -r:108 "INDEPENDENCE FIGHTER"
  44.  
  45. echo.
  46. echo The INDEPENDENCE FIGHTER 1.0 has been installed.
  47. echo Use the unufos.bat file to remove it.
  48. goto END
  49.  
  50. :NOMM
  51. echo The file 'mmlite.exe' is not in the current directory. You need this file
  52. echo to change your conquer.mix file so you see the new graphics.
  53. goto BADEND
  54.  
  55. :NOCO
  56. echo The file 'conquer.mix' is not in the current directory. You need this file.
  57. goto BADEND
  58.  
  59. :NOSHP
  60. echo Either the file 'ufob.shp' or 'ufoicon.shp' is not in the
  61. echo current directory. You need this file as it contains the graphics 
  62. echo for the aircraft.
  63. goto BADEND
  64.  
  65. :NONAME
  66. echo The file 'CCNAMES.EXE' is not in the current directory. You need this file
  67. echo to change the name of the Apache.
  68. goto BADEND
  69.  
  70. :BADEND
  71. echo The installation process failed.
  72. goto END
  73.  
  74. :END
  75.