A megawad compilation for doom
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

CompilePK3-Jenkins.bat 649B

123456789101112131415161718192021222324252627
  1. @echo off
  2. set FileName=Lexicon
  3. set MusFileName=Lexicon-miscdata
  4. echo Step 1: ACS
  5. cd Compiler
  6. bcc -acc-err-file -x bcs ..\pk3\acs\%FileName%.c ..\pk3\acs\%FileName%.o
  7. if not exist ..\pk3\acs\acs.err goto 20
  8. :20
  9. echo Step 2: PACK GAME FILES
  10. cd ..
  11. cd pk3
  12. ..\Compiler\7za a -r -ssw -mx9 -tzip ..\%FileName%n.pk3 *
  13. echo Step 3: PACK MUSIC AND MISC. FILES
  14. cd ..
  15. cd music_pk3
  16. ..\Compiler\7za a -r -ssw -mx9 -tzip ..\%MusFileName%n.pk3 *
  17. echo Step 4: REPLACE
  18. cd ..
  19. del %FileName%.pk3
  20. ren %FileName%n.pk3 %FileName%-alpha-build-%BUILD_NUMBER%.pk3
  21. del %MusFileName%.pk3
  22. ren %MusFileName%n.pk3 %MusFileName%-alpha-build-%BUILD_NUMBER%.pk3