?login_element?

Subversion Repositories NedoOS

Rev

Rev 1124 | Go to most recent revision | 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. echo EGA=1 > settings.ast
  55. %SJASMPLUS% %SJASMPLUSFLAGS% xcom.asm
  56. mhmt -mlz blk1.bin > nul
  57. mhmt -mlz blk2.bin > nul
  58. mhmt -mlz blk3.bin > nul
  59. mhmt -mlz blk4.bin > nul
  60. %SJASMPLUS% %SJASMPLUSFLAGS% xcom2.asm
  61. ren ufo2.com ufo2ega.com
  62. copy ufo2\ufo20.dat ufo2\ufo20ega.dat
  63.  
  64. echo EGA=0 > settings.ast
  65. %SJASMPLUS% %SJASMPLUSFLAGS% xcom.asm
  66. mhmt -mlz blk1.bin > nul
  67. mhmt -mlz blk2.bin > nul
  68. mhmt -mlz blk3.bin > nul
  69. mhmt -mlz blk4.bin > nul
  70. %SJASMPLUS% %SJASMPLUSFLAGS% xcom2.asm
  71.  
  72. mhmt -mlz ZX_DISC\xm2.CNV ufo2\xm2.dat > nul
  73. mhmt -mlz ZX_DISC\xm3.CNV ufo2\xm3.dat > nul
  74. mhmt -mlz ZX_DISC\xm4.CNV ufo2\xm4.dat > nul
  75. mhmt -mlz ZX_DISC\xm5.CNV ufo2\xm5.dat > nul
  76. mhmt -mlz ZX_DISC\xm6.CNV ufo2\xm6.dat > nul
  77. mhmt -mlz ZX_DISC\xm7.CNV ufo2\xm7.dat > nul
  78. mhmt -mlz ZX_DISC\xm8.CNV ufo2\xm8.dat > nul
  79. mhmt -mlz ZX_DISC\xm9.CNV ufo2\xm9.dat > nul
  80. mhmt -mlz ZX_DISC\xm10.CNV ufo2\xm10.dat > nul
  81. mhmt -mlz ZX_DISC\xm11.CNV ufo2\xm11.dat > nul
  82. mhmt -mlz ZX_DISC\xm12.CNV ufo2\xm12.dat > nul
  83. mhmt -mlz ZX_DISC\xm13.CNV ufo2\xm13.dat > nul
  84. mhmt -mlz ZX_DISC\xm14.CNV ufo2\xm14.dat > nul
  85. mhmt -mlz ZX_DISC\xm15.CNV ufo2\xm15.dat > nul
  86. mhmt -mlz ZX_DISC\xm16.CNV ufo2\xm16.dat > nul
  87. mhmt -mlz ZX_DISC\xm17.CNV ufo2\xm17.dat > nul
  88. mhmt -mlz ZX_DISC\xm18.CNV ufo2\xm18.dat > nul
  89. mhmt -mlz ZX_DISC\xm19.CNV ufo2\xm19.dat > nul
  90. mhmt -mlz ZX_DISC\xm20.CNV ufo2\xm20.dat > nul
  91.  
  92. mhmt -mlz XMAP\XL2.LND ufo2\XL2.LND > nul
  93. mhmt -mlz XMAP\XL3.LND ufo2\XL3.LND > nul
  94. mhmt -mlz XMAP\XL4.LND ufo2\XL4.LND > nul
  95. mhmt -mlz XMAP\XL5A.LND ufo2\XL5A.LND > nul
  96. mhmt -mlz XMAP\XL5B.LND ufo2\XL5B.LND > nul
  97. mhmt -mlz XMAP\XL5C.LND ufo2\XL5C.LND > nul
  98. mhmt -mlz XMAP\XL5D.LND ufo2\XL5D.LND > nul
  99. mhmt -mlz XMAP\XL6A.LND ufo2\XL6A.LND > nul
  100. mhmt -mlz XMAP\XL6B.LND ufo2\XL6B.LND > nul
  101. mhmt -mlz XMAP\XL6C.LND ufo2\XL6C.LND > nul
  102. mhmt -mlz XMAP\XL6D.LND ufo2\XL6D.LND > nul
  103. mhmt -mlz XMAP\XL7.LND ufo2\XL7.LND > nul
  104. mhmt -mlz XMAP\XL8A.LND ufo2\XL8A.LND > nul
  105. mhmt -mlz XMAP\XL8B.LND ufo2\XL8B.LND > nul
  106. mhmt -mlz XMAP\XL8C.LND ufo2\XL8C.LND > nul
  107. mhmt -mlz XMAP\XL8D.LND ufo2\XL8D.LND > nul
  108. mhmt -mlz XMAP\XL9.LND ufo2\XL9.LND > nul
  109. mhmt -mlz XMAP\XL10A.LND ufo2\XL10A.LND > nul
  110. mhmt -mlz XMAP\XL10B.LND ufo2\XL10B.LND > nul
  111. mhmt -mlz XMAP\XL10C.LND ufo2\XL10C.LND > nul
  112. mhmt -mlz XMAP\XL10D.LND ufo2\XL10D.LND > nul
  113. mhmt -mlz XMAP\XL11.LND ufo2\XL11.LND > nul
  114. mhmt -mlz XMAP\XL12.LND ufo2\XL12.LND > nul
  115. mhmt -mlz XMAP\XL13.LND ufo2\XL13.LND > nul
  116. mhmt -mlz XMAP\XL14.LND ufo2\XL14.LND > nul
  117. mhmt -mlz XMAP\XL15.LND ufo2\XL15.LND > nul
  118. mhmt -mlz XMAP\XL19.LND ufo2\XL19.LND > nul
  119. mhmt -mlz XMAP\XL17.LND ufo2\XL17.LND > nul
  120. mhmt -mlz XMAP\XL18.LND ufo2\XL18.LND > nul
  121. mhmt -mlz XMAP\XL16.LND ufo2\XL16.LND > nul
  122. mhmt -mlz XMAP\XL20.LND ufo2\XL20.LND > nul
  123.  
  124. rem copy ZX_DISC\xm*.dat ufo2
  125. rem copy XMAP\xl*.lnd ufo2
  126.  
  127. SET releasedir2=../../../release/
  128. if "%currentdir%"=="" (
  129.   FOR %%j IN (*.com) DO (
  130.   "../../../tools/dmimg.exe" ../../../us/sd_nedo.vhd put %%j /nedogame/%%j
  131.   move "*.com" "%releasedir2%nedogame" > nul
  132.   IF EXIST %%~nj xcopy /Y "%%~nj" "%releasedir2%nedogame\%%~nj\" > nul
  133.   )
  134. cd ../../../src/
  135. call ..\tools\chkimg.bat sd
  136. rem pause
  137. rem  if "%makeall%"=="" ..\..\..\us\emul.exe
  138.  if "%makeall%"=="" ..\us\emul.exe
  139. )