SCUMMENV.BAT 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. @echo off
  2. cls
  3. if "%1" == "?" goto scummenvhelp
  4. if "%1" == "off" goto killenv
  5. rem **********************************
  6. rem * Now for the scumm environments *
  7. rem **********************************
  8. if "%1" == "mky1eng" goto monkey1eng
  9. if "%1" == "mky1kan" goto monkey1kan
  10. if "%1" == "indyfrn" goto indy4frn
  11. if "%1" == "indysega" goto indy4sega
  12. if "%1" == "indyeng" goto indy4eng
  13. rem ***************************
  14. rem * If no parameter then!!! *
  15. rem ***************************
  16. echo SCUMMENV utility for creating SCUMM environments.
  17. echo Type 'scummenv ?' for list of available environments.
  18. goto end
  19. rem ************************************
  20. rem * Code for setting up environments *
  21. rem ************************************
  22. rem ************************************************
  23. rem * English Monkey Island 1 Sega/Mega CD version *
  24. rem ************************************************
  25. :monkey1eng
  26. copy c:\monkey\rooms.cdr c:\monkey\rooms.ifo
  27. copy c:\monkey\version.meg c:\monkey\version.def
  28. copy c:\monkey\langdefs.eng c:\monkey\langdefs.def
  29. copy c:\monkey\rooms.32\*.eng c:\monkey\rooms.32\*.roo
  30. if exist e:\aliases\m1mgeng.nrk load e:\aliases\m1mgeng.nrk
  31. SET SPUTMDEBUG=1
  32. SET SCUMMDRV=c:
  33. SET SYSTEM=c:\scummbin.m1
  34. SET SCUMMVER=5
  35. SET DISPATH=c:\monkey\
  36. SET SCUPATH=c:\monkey\
  37. SET SCMPATH=c:\monkey\
  38. SET IFOPATH=c:\monkey\info\
  39. SET CHRPATH=c:\monkey\charsets\
  40. SET ARTPATH=c:\monkey\art.32\
  41. SET ROOPATH=c:\monkey\rooms.32\
  42. SET SFXPATH=c:\monkey\sfx.meg\
  43. SET LFLPATH=c:\monkey\lfl_meg.eng\
  44. SET LANPATH=c:\monkey\language.eng\
  45. SET TLKPATH=
  46. SET COSPATH=c:\monkey\costumes.256\
  47. SET LANEXT=.eng
  48. PATH c:\scummbin.m1;%MPATH%
  49. cd\monkey
  50. call mk recipe
  51. call mk map
  52. SET ENV=Current environment is for Monkey Island Sega/Mega CD English
  53. goto end
  54. rem *************************************************
  55. rem * Japanese Monkey Island 1 Sega/Mega CD version *
  56. rem *************************************************
  57. :monkey1kan
  58. copy c:\monkey\rooms.cdr c:\monkey\rooms.ifo
  59. copy c:\monkey\version.meg c:\monkey\version.def
  60. copy c:\monkey\langdefs.kan c:\monkey\langdefs.def
  61. copy c:\monkey\rooms.32\*.kan c:\monkey\rooms.32\*.roo
  62. if exist e:\aliases\m1mgkan.nrk load e:\aliases\m1mgkan.nrk
  63. SET SPUTMDEBUG=1
  64. SET SCUMMDRV=c:
  65. SET SYSTEM=c:\scummbin.m1
  66. SET SCUMMVER=5
  67. SET DISPATH=c:\monkey\
  68. SET SCUPATH=c:\monkey\
  69. SET SCMPATH=c:\monkey\
  70. SET IFOPATH=c:\monkey\info\
  71. SET CHRPATH=c:\monkey\charsets\
  72. SET ARTPATH=c:\monkey\art.32\
  73. SET ROOPATH=c:\monkey\rooms.32\
  74. SET SFXPATH=c:\monkey\sfx.meg\
  75. SET LFLPATH=c:\monkey\lfl_meg.kan\
  76. SET LANPATH=c:\monkey\language.kan\
  77. SET TLKPATH=
  78. SET COSPATH=c:\monkey\costumes.256\
  79. SET LANEXT=.kan
  80. PATH c:\scummbin.m1;%MPATH%
  81. cd\monkey
  82. call mk recipe
  83. call mk map
  84. SET ENV=Current environment is for Monkey Island Sega/Mega CD Japanese
  85. goto end
  86. rem **************************************************
  87. rem * Japanese Indy 4 & Fate of Atlantis environment *
  88. rem **************************************************
  89. :indy4sega
  90. if exist e:\aliases\i4mgkan.nrk load e:\aliases\i4mgkan.nrk
  91. SET SPUTMDEBUG=2
  92. SET SCUMMDRV=c:
  93. SET SYSTEM=c:\scummbin.i4s\
  94. SET SCUMMVER=5
  95. SET DISPATH=c:\i4sega\
  96. SET SCUPATH=c:\i4sega\
  97. SET SCMPATH=c:\i4sega\
  98. SET IFOPATH=c:\i4sega\info.32\
  99. SET CHRPATH=c:\i4sega\charsets\
  100. SET ARTPATH=c:\i4sega\art.32\
  101. SET ROOPATH=c:\i4sega\rooms.32\
  102. SET SFXPATH=c:\i4sega\sfx.meg\
  103. SET LFLPATH=c:\i4sega\lfl_meg.kan\
  104. SET LANPATH=c:\i4sega\language.kan\
  105. SET TLKPATH=s:\
  106. rem SET TLKPATH=c:\i4sega\voice\
  107. SET COSPATH=c:\i4sega\costumes.32\
  108. SET LANEXT=.kan
  109. PATH c:\scummbin.i4s;%MPATH%
  110. SET ENV=Current environment is for Indiana Jones and the Fate of Atlantis, Sega Japanese version
  111. goto end
  112. rem **************************************************
  113. rem * English Indy 4 & Fate of Atlantis environment *
  114. rem **************************************************
  115. :indy4eng
  116. if exist e:\aliases\i4mgeng.nrk load e:\aliases\i4mgeng.nrk
  117. SET SPUTMDEBUG=2
  118. SET SCUMMDRV=c:
  119. SET SYSTEM=c:\scummbin.i4s\
  120. SET SCUMMVER=5
  121. SET DISPATH=c:\i4sega\
  122. SET SCUPATH=c:\i4sega\
  123. SET SCMPATH=c:\i4sega\
  124. SET IFOPATH=c:\i4sega\info.32\
  125. SET CHRPATH=c:\i4sega\charsets\
  126. SET ARTPATH=c:\i4sega\art.32\
  127. SET ROOPATH=c:\i4sega\rooms.32\
  128. SET SFXPATH=c:\i4sega\sfx.meg\
  129. SET LFLPATH=c:\i4sega\lfl_meg.eng\
  130. SET LANPATH=c:\i4sega\language.eng\
  131. SET TLKPATH=s:\
  132. rem SET TLKPATH=c:\i4sega\voice\
  133. SET COSPATH=c:\i4sega\costumes.32\
  134. SET LANEXT=.eng
  135. PATH c:\scummbin.i4s;%MPATH%
  136. SET ENV=Current environment is for Indiana Jones and the Fate of Atlantis, Sega English version
  137. goto end
  138. rem *********************************************
  139. rem * This kills any existing scumm environment *
  140. rem *********************************************
  141. :killenv
  142. SET SPUTMDEBUG=
  143. SET SCUMMDRV=
  144. SET SYSTEM=
  145. SET SCUMMVER=
  146. SET DISPATH=
  147. SET SCUPATH=
  148. SET SCMPATH=
  149. SET IFOPATH=
  150. SET CHRPATH=
  151. SET ARTPATH=
  152. SET ROOPATH=
  153. SET SFXPATH=
  154. SET LFLPATH=
  155. SET LANPATH=
  156. SET TLKPATH=
  157. SET COSPATH=
  158. SET LANEXT=
  159. PATH %MPATH%
  160. SET ENV=
  161. goto end
  162. rem ********************************
  163. rem * Routine for environment help *
  164. rem ********************************
  165. :scummenvhelp
  166. echo ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
  167. echo ³ CURRENTLY AVAILABLE SCUMM ENVIRONMENTS ³
  168. echo ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
  169. echo ³ Monkey 1 Sega English (type mky1eng) ³
  170. echo ³ Monkey 1 Sega Japanese (type mky1kan) ³
  171. echo ³ Atlantis Sega (n/a) ³
  172. echo ³ Atlantis French (n/a) ³
  173. echo ³ ³
  174. echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
  175. echo %ENV%
  176. goto end
  177. rem *************
  178. rem * Exit here *
  179. rem *************
  180. :end
  181. echo %ENV%
  182.