?login_element?

Subversion Repositories NedoOS

Rev

Rev 922 | Blame | Compare with Previous | Last modification | View Log | Download

  1. if "%settedpath%"=="" call ../../_sdk/setpath.bat
  2.  
  3. @echo off
  4.  
  5. set installdir=nedogame
  6. set LOCALDIR=br
  7. set NEDORES="../../_sdk/nedores.exe"
  8. set SJASMPLUS=sjasmplus
  9. set SJASMPLUSFLAGS=--nologo --msg=war
  10. set XLPZ=" "
  11. set XLPZFLAGS=" "
  12.  
  13. rem #
  14. rem # Flicks: save locally
  15. rem #
  16. copy /y intro\flick.lpz\*.* %LOCALDIR%\ > nul
  17.  
  18. rem #
  19. rem # Modules: convert images to assembler sources
  20. rem #
  21. %NEDORES% images/W1LAND.bmp images/W1LAND.dat W1LAND.ast
  22. %NEDORES% images/W2LAND.bmp images/W2LAND.dat W2LAND.ast
  23. %NEDORES% images/W3LAND.bmp images/W3LAND.dat W3LAND.ast
  24. %NEDORES% images/W4LAND.bmp images/W4LAND.dat W4LAND.ast
  25. %NEDORES% images/WBAR.bmp images/WBAR.dat WBAR.ast
  26. %NEDORES% images/WHUMBUTT.bmp images/WHUMBUTT.dat WHUMBUTT.ast
  27. %NEDORES% images/WORCBUTT.bmp images/WORCBUTT.dat WORCBUTT.ast
  28. %NEDORES% images/WHUM1.bmp images/WHUM1.dat WHUM1.ast
  29. %NEDORES% images/WHUM1.bmp images/WHUM1b.dat WHUM1b.ast
  30. %NEDORES% images/WHUM1.bmp images/WHUM1c.dat WHUM1c.ast
  31. %NEDORES% images/WHUM2.bmp images/WHUMCAT.dat WHUMCAT.ast
  32. %NEDORES% images/WHUM2.bmp images/WHUMHOR.dat WHUMHOR.ast
  33. %NEDORES% images/WORC1.bmp images/WORC1.dat WORC1.ast
  34. %NEDORES% images/WORC1.bmp images/WORC1b.dat WORC1b.ast
  35. %NEDORES% images/WORC1.bmp images/WORC1c.dat WORC1c.ast
  36. %NEDORES% images/WORC2.bmp images/WORCCAT.dat WORCCAT.ast
  37. %NEDORES% images/WORC2.bmp images/WORCHOR.dat WORCHOR.ast
  38. %NEDORES% images/WCREAT1.bmp images/WCREAT1.dat WCREAT1.ast
  39. %NEDORES% images/WCREAT1.bmp images/WCREAT1b.dat WCREAT1b.ast
  40. %NEDORES% images/WCREAT1.bmp images/WCREAT1c.dat WCREAT1c.ast
  41. %NEDORES% images/WCREAT2.bmp images/WCREAT2.dat WCREAT2.ast
  42. %NEDORES% images/WCREAT2.bmp images/WCREAT2b.dat WCREAT2b.ast
  43. %NEDORES% images/WCREAT2.bmp images/WCREAT2c.dat WCREAT2c.ast
  44. %NEDORES% images/WMISC.bmp images/WBODY.dat WBODY.ast
  45. %NEDORES% images/WMISC.bmp images/WBULLET.dat WBULLET.ast
  46. %NEDORES% images/demobar.bmp images/demobar.dat demobar.ast
  47.  
  48. rem #
  49. rem # Modules: compile
  50. rem #
  51. %SJASMPLUS% %SJASMPLUSFLAGS% W1LAND.ast --raw=%LOCALDIR%/W1LAND.bin
  52. %SJASMPLUS% %SJASMPLUSFLAGS% W2LAND.ast --raw=%LOCALDIR%/W2LAND.bin
  53. %SJASMPLUS% %SJASMPLUSFLAGS% W3LAND.ast --raw=%LOCALDIR%/W3LAND.bin
  54. %SJASMPLUS% %SJASMPLUSFLAGS% W4LAND.ast --raw=%LOCALDIR%/W4LAND.bin
  55. %SJASMPLUS% %SJASMPLUSFLAGS% WBAR.ast --raw=%LOCALDIR%/WBAR.bin
  56. %SJASMPLUS% %SJASMPLUSFLAGS% WHUMBUTT.ast --raw=%LOCALDIR%/W0BUT.bin
  57. %SJASMPLUS% %SJASMPLUSFLAGS% WORCBUTT.ast --raw=%LOCALDIR%/W1BUT.bin
  58. %SJASMPLUS% %SJASMPLUSFLAGS% WHUM1.asm --raw=%LOCALDIR%/WHUM1.bin
  59. %SJASMPLUS% %SJASMPLUSFLAGS% WHUM1b.asm --raw=%LOCALDIR%/WHUM1b.bin
  60. %SJASMPLUS% %SJASMPLUSFLAGS% WHUM1c.asm --raw=%LOCALDIR%/WHUM1c.bin
  61. %SJASMPLUS% %SJASMPLUSFLAGS% WHUMCAT.asm --raw=%LOCALDIR%/WHUMCAT.bin
  62. %SJASMPLUS% %SJASMPLUSFLAGS% WHUMHOR.asm --raw=%LOCALDIR%/WHUMHOR.bin
  63. %SJASMPLUS% %SJASMPLUSFLAGS% WORC1.asm --raw=%LOCALDIR%/WORC1.bin
  64. %SJASMPLUS% %SJASMPLUSFLAGS% WORC1b.asm --raw=%LOCALDIR%/WORC1b.bin
  65. %SJASMPLUS% %SJASMPLUSFLAGS% WORC1c.asm --raw=%LOCALDIR%/WORC1c.bin
  66. %SJASMPLUS% %SJASMPLUSFLAGS% WORCCAT.asm --raw=%LOCALDIR%/WORCCAT.bin
  67. %SJASMPLUS% %SJASMPLUSFLAGS% WORCHOR.asm --raw=%LOCALDIR%/WORCHOR.bin
  68. %SJASMPLUS% %SJASMPLUSFLAGS% WCREAT1.asm --raw=%LOCALDIR%/WCREAT1.bin
  69. %SJASMPLUS% %SJASMPLUSFLAGS% WCREAT1b.asm --raw=%LOCALDIR%/WCREAT1b.bin
  70. %SJASMPLUS% %SJASMPLUSFLAGS% WCREAT1c.asm --raw=%LOCALDIR%/WCREAT1c.bin
  71. %SJASMPLUS% %SJASMPLUSFLAGS% WCREAT2.asm --raw=%LOCALDIR%/WCREAT2.bin
  72. %SJASMPLUS% %SJASMPLUSFLAGS% WCREAT2b.asm --raw=%LOCALDIR%/WCREAT2b.bin
  73. %SJASMPLUS% %SJASMPLUSFLAGS% WCREAT2c.asm --raw=%LOCALDIR%/WCREAT2c.bin
  74. rem %SJASMPLUS% %SJASMPLUSFLAGS% WBODY.asm --raw=%LOCALDIR%/
  75. %SJASMPLUS% %SJASMPLUSFLAGS% WBULLET.asm --raw=%LOCALDIR%/WBULLET.bin
  76.  
  77. rem #
  78. rem # Levels: compile
  79. rem #
  80. rem %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~101.a80 --raw=levels/w~101.dat
  81. rem %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~102.a80 --raw=levels/w~102.dat
  82. rem %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~103.a80 --raw=levels/w~103.dat
  83. %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~104.a80 --raw=levels/w~104.dat
  84. rem %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~105.a80 --raw=levels/w~105.dat
  85. rem %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~106.a80 --raw=levels/w~106.dat
  86. %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~107.a80 --raw=levels/w~107.dat
  87. rem %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~108.a80 --raw=levels/w~108.dat
  88. rem %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~109.a80 --raw=levels/w~109.dat
  89. rem %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~110.a80 --raw=levels/w~110.dat
  90. rem %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~111.a80 --raw=levels/w~111.dat
  91. %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~112.a80 --raw=levels/w~112.dat
  92. rem %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~113.a80 --raw=levels/w~113.dat
  93. rem %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~114.a80 --raw=levels/w~114.dat
  94. rem %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~115.a80 --raw=levels/w~115.dat
  95. rem %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~116.a80 --raw=levels/w~116.dat
  96. %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~117end.a80 --raw=levels/w~117end.dat
  97. rem %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~201.a80 --raw=levels/w~201.dat
  98. rem %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~202.a80 --raw=levels/w~202.dat
  99. rem %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~203.a80 --raw=levels/w~203.dat
  100. rem %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~204.a80 --raw=levels/w~204.dat
  101. %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~205.a80 --raw=levels/w~205.dat
  102. rem %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~206.a80 --raw=levels/w~206.dat
  103. rem %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~207.a80 --raw=levels/w~207.dat
  104. rem %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~208.a80 --raw=levels/w~208.dat
  105. rem %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~209.a80 --raw=levels/w~209.dat
  106. rem %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~210.a80 --raw=levels/w~210.dat
  107. rem %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~211.a80 --raw=levels/w~211.dat
  108. rem %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~212.a80 --raw=levels/w~212.dat
  109. %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~213.a80 --raw=levels/w~213.dat
  110. rem %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~214.a80 --raw=levels/w~214.dat
  111. rem %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~215.a80 --raw=levels/w~215.dat
  112. rem %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~216.a80 --raw=levels/w~216.dat
  113. %SJASMPLUS% %SJASMPLUSFLAGS% levels/w~217end.a80 --raw=levels/w~217end.dat
  114.  
  115. rem #
  116. rem # Levels: pack
  117. rem #
  118. rem %XLPZ% %XLPZFLAGS% levels\w~101.dat levels\w~101.lpz
  119. rem %XLPZ% %XLPZFLAGS% levels\w~102.dat levels\w~102.lpz
  120. rem %XLPZ% %XLPZFLAGS% levels\w~103.dat levels\w~103.lpz
  121. copy /y levels\w~104.dat levels\w~104.lpz > nul
  122. rem %XLPZ% %XLPZFLAGS% levels\w~105.dat levels\w~105.lpz
  123. rem %XLPZ% %XLPZFLAGS% levels\w~106.dat levels\w~106.lpz
  124. copy /y levels\w~107.dat levels\w~107.lpz > nul
  125. rem %XLPZ% %XLPZFLAGS% levels\w~108.dat levels\w~108.lpz
  126. rem %XLPZ% %XLPZFLAGS% levels\w~109.dat levels\w~109.lpz
  127. rem %XLPZ% %XLPZFLAGS% levels\w~110.dat levels\w~110.lpz
  128. rem %XLPZ% %XLPZFLAGS% levels\w~111.dat levels\w~111.lpz
  129. copy /y levels\w~112.dat levels\w~112.lpz > nul
  130. rem %XLPZ% %XLPZFLAGS% levels\w~113.dat levels\w~113.lpz
  131. rem %XLPZ% %XLPZFLAGS% levels\w~114.dat levels\w~114.lpz
  132. rem %XLPZ% %XLPZFLAGS% levels\w~115.dat levels\w~115.lpz
  133. rem %XLPZ% %XLPZFLAGS% levels\w~116.dat levels\w~116.lpz
  134. copy /y levels\w~117end.dat levels\w~117end.lpz > nul
  135. rem %XLPZ% %XLPZFLAGS% levels\w~201.dat levels\w~201.lpz
  136. rem %XLPZ% %XLPZFLAGS% levels\w~202.dat levels\w~202.lpz
  137. rem %XLPZ% %XLPZFLAGS% levels\w~203.dat levels\w~203.lpz
  138. rem %XLPZ% %XLPZFLAGS% levels\w~204.dat levels\w~204.lpz
  139. copy /y levels\w~205.dat levels\w~205.lpz > nul
  140. rem %XLPZ% %XLPZFLAGS% levels\w~206.dat levels\w~206.lpz
  141. rem %XLPZ% %XLPZFLAGS% levels\w~207.dat levels\w~207.lpz
  142. rem %XLPZ% %XLPZFLAGS% levels\w~208.dat levels\w~208.lpz
  143. rem %XLPZ% %XLPZFLAGS% levels\w~209.dat levels\w~209.lpz
  144. rem %XLPZ% %XLPZFLAGS% levels\w~210.dat levels\w~210.lpz
  145. rem %XLPZ% %XLPZFLAGS% levels\w~211.dat levels\w~211.lpz
  146. rem %XLPZ% %XLPZFLAGS% levels\w~212.dat levels\w~212.lpz
  147. copy /y levels\w~213.dat levels\w~213.lpz > nul
  148. rem %XLPZ% %XLPZFLAGS% levels\w~214.dat levels\w~214.lpz
  149. rem %XLPZ% %XLPZFLAGS% levels\w~215.dat levels\w~215.lpz
  150. rem %XLPZ% %XLPZFLAGS% levels\w~216.dat levels\w~216.lpz
  151. copy /y levels\w~217end.dat levels\w~217end.lpz > nul
  152.  
  153. rem #
  154. rem # Levels: save locally
  155. rem #
  156. copy /y levels\w~101.lpz %LOCALDIR%\br101.dat > nul
  157. copy /y levels\w~102.lpz %LOCALDIR%\br102.dat > nul
  158. copy /y levels\w~103.lpz %LOCALDIR%\br103.dat > nul
  159. copy /y levels\w~104.lpz %LOCALDIR%\br104.dat > nul
  160. copy /y levels\w~105.lpz %LOCALDIR%\br105.dat > nul
  161. copy /y levels\w~106.lpz %LOCALDIR%\br106.dat > nul
  162. copy /y levels\w~107.lpz %LOCALDIR%\br107.dat > nul
  163. copy /y levels\w~108.lpz %LOCALDIR%\br108.dat > nul
  164. copy /y levels\w~109.lpz %LOCALDIR%\br109.dat > nul
  165. copy /y levels\w~110.lpz %LOCALDIR%\br110.dat > nul
  166. copy /y levels\w~111.lpz %LOCALDIR%\br111.dat > nul
  167. copy /y levels\w~112.lpz %LOCALDIR%\br112.dat > nul
  168. copy /y levels\w~113.lpz %LOCALDIR%\br113.dat > nul
  169. copy /y levels\w~114.lpz %LOCALDIR%\br114.dat > nul
  170. copy /y levels\w~115.lpz %LOCALDIR%\br115.dat > nul
  171. copy /y levels\w~116.lpz %LOCALDIR%\br116.dat > nul
  172. copy /y levels\w~117end.lpz %LOCALDIR%\br117.dat > nul
  173. copy /y levels\w~201.lpz %LOCALDIR%\br201.dat > nul
  174. copy /y levels\w~202.lpz %LOCALDIR%\br202.dat > nul
  175. copy /y levels\w~203.lpz %LOCALDIR%\br203.dat > nul
  176. copy /y levels\w~204.lpz %LOCALDIR%\br204.dat > nul
  177. copy /y levels\w~205.lpz %LOCALDIR%\br205.dat > nul
  178. copy /y levels\w~206.lpz %LOCALDIR%\br206.dat > nul
  179. copy /y levels\w~207.lpz %LOCALDIR%\br207.dat > nul
  180. copy /y levels\w~208.lpz %LOCALDIR%\br208.dat > nul
  181. copy /y levels\w~209.lpz %LOCALDIR%\br209.dat > nul
  182. copy /y levels\w~210.lpz %LOCALDIR%\br210.dat > nul
  183. copy /y levels\w~211.lpz %LOCALDIR%\br211.dat > nul
  184. copy /y levels\w~212.lpz %LOCALDIR%\br212.dat > nul
  185. copy /y levels\w~213.lpz %LOCALDIR%\br213.dat > nul
  186. copy /y levels\w~214.lpz %LOCALDIR%\br214.dat > nul
  187. copy /y levels\w~215.lpz %LOCALDIR%\br215.dat > nul
  188. copy /y levels\w~216.lpz %LOCALDIR%\br216.dat > nul
  189. copy /y levels\w~217end.lpz %LOCALDIR%\br217.dat > nul
  190.  
  191. rem #
  192. rem # Executables
  193. rem #
  194. %SJASMPLUS% %SJASMPLUSFLAGS% main.asm
  195. %SJASMPLUS% %SJASMPLUSFLAGS% WSTART1.asm
  196. %SJASMPLUS% %SJASMPLUSFLAGS% brfinal.asm --raw=%LOCALDIR%/brfinal.dat
  197.  
  198.  
  199. SET releasedir2=../../../release/
  200. if "%currentdir%"=="" (
  201.   FOR %%j IN (*.com) DO (
  202.   "../../../tools/dmimg.exe" ../../../us/sd_nedo.vhd put %%j /nedogame/%%j
  203.   move "*.com" "%releasedir2%nedogame" > nul
  204.   IF EXIST %%~nj xcopy /Y "%%~nj" "%releasedir2%nedogame\%%~nj\" > nul
  205.   )
  206. cd ../../../src/
  207. call ..\tools\chkimg.bat sd
  208. rem pause
  209. rem  if "%makeall%"=="" ..\..\..\us\emul.exe
  210.  if "%makeall%"=="" ..\us\emul.exe
  211. )