?login_element?

Subversion Repositories NedoOS

Rev

Rev 1506 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  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=0 > settings.ast
  20. %SJASMPLUS% %SJASMPLUSFLAGS% main.asm
  21. rem sjasmplus depkmain.asm
  22. nedotrd basic.trd -eh boot.$b > nul
  23. rem del test.scl
  24. rem mhmt -mlz code.c
  25. rem del code.c
  26. rem copy /b depkcode.c + code.c.mlz code.c
  27. nedotrd worms.trd -n
  28. nedotrd worms.trd -ah boot.$b
  29. nedotrd worms.trd -ac code.c
  30. nedotrd worms.trd -ac hicode.c
  31. nedotrd worms.trd -ac hicode2.c
  32. rem del code.c
  33. rem del code.c.mlz
  34. rem del depkcode.c
  35.  
  36. %SJASMPLUS% %SJASMPLUSFLAGS% main.asm
  37. rem sjasmplus depkmain.asm
  38. rem del test.tap
  39. del worms.tap
  40. rem mhmt -mlz code.c
  41. del code.bin
  42. rem copy /b depkcode.c + code.c.mlz code.bin
  43. copy /b code.c code.bin
  44. copy /b hicode.c hicode.bin
  45. copy /b hicode2.c hicode2.bin
  46. bas2tap -a10 loader.txt worms.tap
  47. rem bin2tap -b -a 24576 -r 24576 -o worms.tap code.bin
  48. bin2tap -append -a 49152 -o worms.tap hicode.bin
  49. bin2tap -append -a 49152 -o worms.tap hicode2.bin
  50. bin2tap -append -a 24576 -o worms.tap code.bin
  51. rem del code.bin
  52. rem del code.c.mlz
  53. rem del depkcode.c
  54.  
  55. echo ATM=1 > settings.ast
  56. %SJASMPLUS% %SJASMPLUSFLAGS% main.asm
  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.