?login_element?

Subversion Repositories NedoOS

Rev

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

  1. if "%settedpath%"=="" call ../../_sdk/setpath.bat
  2. set installdir=nedogame
  3. if not exist worms mkdir worms
  4. set LOCALDIR=worms
  5. set NEDORES="../../_sdk/nedores.exe"
  6. set SJASMPLUS=sjasmplus
  7. set SJASMPLUSFLAGS=--nologo --msg=war
  8.  
  9. @echo off
  10. %NEDORES% gfx/sprites_bw.bmp sprites.dat sprites.ast
  11. %NEDORES% gfx/texmars_bw.bmp texture.dat texture.ast
  12. %NEDORES% gfx/texforrest.bmp texforrest.dat texforrest.ast
  13. %NEDORES% gfx/grass.bmp grass16.dat grass16.ast
  14. %NEDORES% gfx/panel.bmp pal.dat pal.ast
  15. %NEDORES% gfx/panel.bmp panel16.dat panel16.ast
  16. %NEDORES% gfx/panel_bw.bmp panel.dat panel.ast
  17. %NEDORES% gfx/panel_bw.bmp numfont.dat numfont.ast
  18.  
  19. echo ATM=1 > settings.ast
  20. %SJASMPLUS% %SJASMPLUSFLAGS% main.asm
  21.  
  22. echo ATM=0 > settings.ast
  23. %SJASMPLUS% %SJASMPLUSFLAGS% main.asm
  24. rem sjasmplus depkmain.asm
  25. nedotrd basic.trd -eh boot.$b > nul
  26. rem del test.scl
  27. rem mhmt -mlz code.c
  28. rem del code.c
  29. rem copy /b depkcode.c + code.c.mlz code.c
  30. nedotrd worms.trd -n
  31. nedotrd worms.trd -ah boot.$b
  32. nedotrd worms.trd -ac code.c
  33. nedotrd worms.trd -ac hicode.c
  34. nedotrd worms.trd -ac hicode2.c
  35. rem del code.c
  36. rem del code.c.mlz
  37. rem del depkcode.c
  38.  
  39. %SJASMPLUS% %SJASMPLUSFLAGS% main.asm
  40. rem sjasmplus depkmain.asm
  41. rem del test.tap
  42. del worms.tap
  43. rem mhmt -mlz code.c
  44. del code.bin
  45. rem copy /b depkcode.c + code.c.mlz code.bin
  46. copy /b code.c code.bin
  47. copy /b hicode.c hicode.bin
  48. copy /b hicode2.c hicode2.bin
  49. bas2tap -a10 loader.txt worms.tap
  50. rem bin2tap -b -a 24576 -r 24576 -o worms.tap code.bin
  51. bin2tap -append -a 49152 -o worms.tap hicode.bin
  52. bin2tap -append -a 49152 -o worms.tap hicode2.bin
  53. bin2tap -append -a 24576 -o worms.tap code.bin
  54. rem del code.bin
  55. rem del code.c.mlz
  56. rem del depkcode.c
  57.  
  58. @SET releasedir2=../../../release/
  59. @if "%currentdir%"=="" (
  60.   @FOR %%j IN (*.com) DO (
  61.   @"../../../tools/dmimg.exe" ../../../us/sd_nedo.vhd put %%j /nedogame/%%j
  62.   @move "*.com" "%releasedir2%nedogame" > nul
  63.   @IF EXIST %%~nj xcopy /Y "%%~nj" "%releasedir2%nedogame\%%~nj\" > nul
  64.   )
  65. @cd ../../../src/
  66. @call ..\tools\chkimg.bat sd
  67. rem pause
  68. rem @if "%makeall%"=="" ..\us\emul.exe games\worms\worms.trd games\worms\worms.tap
  69. @if "%makeall%"=="" ..\us\emul.exe games\worms\worms.trd
  70. )
  71.