?login_element?

Subversion Repositories NedoOS

Rev

Rev 1374 | 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=ufo2
  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. rem copy /y intro\flick.lpz\*.* %LOCALDIR%\ > nul
  17.  
  18. rem #
  19. rem # Modules: convert images to assembler sources
  20. rem #
  21. rem %NEDORES% images/W1LAND.bmp images/W1LAND.dat W1LAND.ast
  22.  
  23. rem #
  24. rem # Modules: compile
  25. rem #
  26. rem %SJASMPLUS% %SJASMPLUSFLAGS% W1LAND.ast --raw=%LOCALDIR%/W1LAND.bin
  27.  
  28. %NEDORES% images/XHERO.bmp sprites1.dat sprites1.ast
  29. %NEDORES% images/XHERO.bmp sprites2.dat sprites2.ast
  30.  
  31. %NEDORES% images/XM11.bmp pal.dat pal.ast
  32.  
  33. %NEDORES% images/XM0.bmp xm0.dat xm0.ast
  34. rem XM11=порт
  35. rem XM9=остров
  36. rem %NEDORES% images/XM11.bmp xm11a.dat xm11a.ast
  37. rem %NEDORES% images/XM11.bmp xm11b.dat xm11b.ast
  38. %NEDORES% images/XM9.bmp xm11a.dat xm11a.ast
  39. %NEDORES% images/XM9.bmp xm11b.dat xm11b.ast
  40.  
  41. rem #
  42. rem # Executables
  43. rem #
  44. cd CPP
  45. xblox.exe
  46. rem TODO worder.exe
  47. cd ..
  48.  
  49. mhmt -mlz ZX_DISC\xm0.dat ZX_DISC\xm0.mlz > nul
  50. mhmt -mlz ZX_DISC\xm1.dat ZX_DISC\xm1.mlz > nul
  51. mhmt -mlz XMAP\XL0.LND ZX_DISC\XL0.mlz > nul
  52. mhmt -mlz XMAP\XL1.LND ZX_DISC\XL1.mlz > nul
  53.  
  54. %SJASMPLUS% %SJASMPLUSFLAGS% muz1.asm
  55. %SJASMPLUS% %SJASMPLUSFLAGS% muz2.asm
  56. %SJASMPLUS% %SJASMPLUSFLAGS% muz3.asm
  57. %SJASMPLUS% %SJASMPLUSFLAGS% muz4.asm
  58. %SJASMPLUS% %SJASMPLUSFLAGS% muz5.asm
  59.  
  60. echo EGA=1 > settings.ast
  61. %SJASMPLUS% %SJASMPLUSFLAGS% xcom.asm
  62. mhmt -mlz blk1.bin > nul
  63. mhmt -mlz blk2.bin > nul
  64. mhmt -mlz blk3.bin > nul
  65. mhmt -mlz blk4.bin > nul
  66. %SJASMPLUS% %SJASMPLUSFLAGS% xcom2.asm
  67. ren ufo2.com ufo2ega.com
  68. copy ufo2\ufo20.dat ufo2\ufo20ega.dat
  69.  
  70. echo EGA=0 > settings.ast
  71. %SJASMPLUS% %SJASMPLUSFLAGS% xcom.asm
  72. mhmt -mlz blk1.bin > nul
  73. mhmt -mlz blk2.bin > nul
  74. mhmt -mlz blk3.bin > nul
  75. mhmt -mlz blk4.bin > nul
  76. %SJASMPLUS% %SJASMPLUSFLAGS% xcom2.asm
  77.  
  78. mhmt -mlz ZX_DISC\xm2.CNV ufo2\xm2.dat > nul
  79. mhmt -mlz ZX_DISC\xm3.CNV ufo2\xm3.dat > nul
  80. mhmt -mlz ZX_DISC\xm4.CNV ufo2\xm4.dat > nul
  81. mhmt -mlz ZX_DISC\xm5.CNV ufo2\xm5.dat > nul
  82. mhmt -mlz ZX_DISC\xm6.CNV ufo2\xm6.dat > nul
  83. mhmt -mlz ZX_DISC\xm7.CNV ufo2\xm7.dat > nul
  84. mhmt -mlz ZX_DISC\xm8.CNV ufo2\xm8.dat > nul
  85. mhmt -mlz ZX_DISC\xm9.CNV ufo2\xm9.dat > nul
  86. mhmt -mlz ZX_DISC\xm10.CNV ufo2\xm10.dat > nul
  87. mhmt -mlz ZX_DISC\xm11.CNV ufo2\xm11.dat > nul
  88. mhmt -mlz ZX_DISC\xm12.CNV ufo2\xm12.dat > nul
  89. mhmt -mlz ZX_DISC\xm13.CNV ufo2\xm13.dat > nul
  90. mhmt -mlz ZX_DISC\xm14.CNV ufo2\xm14.dat > nul
  91. mhmt -mlz ZX_DISC\xm15.CNV ufo2\xm15.dat > nul
  92. mhmt -mlz ZX_DISC\xm16.CNV ufo2\xm16.dat > nul
  93. mhmt -mlz ZX_DISC\xm17.CNV ufo2\xm17.dat > nul
  94. mhmt -mlz ZX_DISC\xm18.CNV ufo2\xm18.dat > nul
  95. mhmt -mlz ZX_DISC\xm19.CNV ufo2\xm19.dat > nul
  96. mhmt -mlz ZX_DISC\xm20.CNV ufo2\xm20.dat > nul
  97.  
  98. mhmt -mlz XMAP\XL2.LND ufo2\XL2.LND > nul
  99. mhmt -mlz XMAP\XL3.LND ufo2\XL3.LND > nul
  100. mhmt -mlz XMAP\XL4.LND ufo2\XL4.LND > nul
  101. mhmt -mlz XMAP\XL5A.LND ufo2\XL5A.LND > nul
  102. mhmt -mlz XMAP\XL5B.LND ufo2\XL5B.LND > nul
  103. mhmt -mlz XMAP\XL5C.LND ufo2\XL5C.LND > nul
  104. mhmt -mlz XMAP\XL5D.LND ufo2\XL5D.LND > nul
  105. mhmt -mlz XMAP\XL6A.LND ufo2\XL6A.LND > nul
  106. mhmt -mlz XMAP\XL6B.LND ufo2\XL6B.LND > nul
  107. mhmt -mlz XMAP\XL6C.LND ufo2\XL6C.LND > nul
  108. mhmt -mlz XMAP\XL6D.LND ufo2\XL6D.LND > nul
  109. mhmt -mlz XMAP\XL7.LND ufo2\XL7.LND > nul
  110. mhmt -mlz XMAP\XL8A.LND ufo2\XL8A.LND > nul
  111. mhmt -mlz XMAP\XL8B.LND ufo2\XL8B.LND > nul
  112. mhmt -mlz XMAP\XL8C.LND ufo2\XL8C.LND > nul
  113. mhmt -mlz XMAP\XL8D.LND ufo2\XL8D.LND > nul
  114. mhmt -mlz XMAP\XL9.LND ufo2\XL9.LND > nul
  115. mhmt -mlz XMAP\XL10A.LND ufo2\XL10A.LND > nul
  116. mhmt -mlz XMAP\XL10B.LND ufo2\XL10B.LND > nul
  117. mhmt -mlz XMAP\XL10C.LND ufo2\XL10C.LND > nul
  118. mhmt -mlz XMAP\XL10D.LND ufo2\XL10D.LND > nul
  119. mhmt -mlz XMAP\XL11.LND ufo2\XL11.LND > nul
  120. mhmt -mlz XMAP\XL12.LND ufo2\XL12.LND > nul
  121. mhmt -mlz XMAP\XL13.LND ufo2\XL13.LND > nul
  122. mhmt -mlz XMAP\XL14.LND ufo2\XL14.LND > nul
  123. mhmt -mlz XMAP\XL15.LND ufo2\XL15.LND > nul
  124. mhmt -mlz XMAP\XL19.LND ufo2\XL19.LND > nul
  125. mhmt -mlz XMAP\XL17.LND ufo2\XL17.LND > nul
  126. mhmt -mlz XMAP\XL18.LND ufo2\XL18.LND > nul
  127. mhmt -mlz XMAP\XL16.LND ufo2\XL16.LND > nul
  128. mhmt -mlz XMAP\XL20.LND ufo2\XL20.LND > nul
  129.  
  130. rem copy ZX_DISC\xm*.dat ufo2
  131. rem copy XMAP\xl*.lnd ufo2
  132.  
  133. SET releasedir2=../../../release/
  134. if "%currentdir%"=="" (
  135.   FOR %%j IN (*.com) DO (
  136.   "../../../tools/dmimg.exe" ../../../us/sd_nedo.vhd put %%j /nedogame/%%j
  137.   move "*.com" "%releasedir2%nedogame" > nul
  138.   IF EXIST %%~nj xcopy /Y "%%~nj" "%releasedir2%nedogame\%%~nj\" > nul
  139.   )
  140. cd ../../../src/
  141. call ..\tools\chkimg.bat sd
  142. rem pause
  143. rem  if "%makeall%"=="" ..\..\..\us\emul.exe
  144.  if "%makeall%"=="" ..\us\emul.exe
  145. )