lazy.bat 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. @ECHO OFF
  2. set Arr[0]=RD501_AARF
  3. set Arr[1]=RD501_Compositions
  4. set Arr[2]=RD501_Droid_Dispenser
  5. set Arr[3]=RD501_Droids
  6. set Arr[4]=RD501_EMP
  7. set Arr[5]=RD501_Helmets
  8. set Arr[6]=RD501_Jumppack
  9. set Arr[7]=RD501_Main
  10. set Arr[8]=RD501_Markers
  11. set Arr[9]=RD501_Particle_Effects
  12. set Arr[10]=RD501_RDS
  13. set Arr[11]=RD501_Units
  14. set Arr[12]=RD501_Vehicle_Weapons
  15. set Arr[13]=RD501_Vehicles
  16. set Arr[14]=RD501_Weapons
  17. set Arr[15]=RD501_Zeus
  18. @REM set Arr[16]=VenMK2
  19. set outputFolder=D:\mods\aux dev\Cloned Aux Dev\@501st Community Auxiliary Mod
  20. set sourceFolder=D:\mods\aux dev\Cloned Aux Dev\addons
  21. @REM REM Folder of the addonBuilder.exe, needed so that the script can change directory to it
  22. set AddonBuilderPath=C:\Program Files (x86)\Steam\steamapps\common\Arma 3 Tools\AddonBuilder
  23. set tempFolder=C:\Users\Letlev\AppData\Local\Temp
  24. @REM REM Files to keep when building, like .hpp and shit
  25. set includeFile=D:\mods\aux dev\Cloned Aux Dev\include.txt
  26. @REM REM Sadly for the file below, the filepath can not have any spaces
  27. @REM set keyFile=C:\Users\joshu\Documents\Bikeys\Howtomod.biprivatekey
  28. CD /D %AddonBuilderPath%
  29. set "x=0"
  30. (
  31. :SymLoop
  32. if defined Arr[%x%] (
  33. call ECHO %sourceFolder%\%%Arr[%x%]%%
  34. call AddonBuilder.exe -clear %sourceFolder%\%%Arr[%x%]%% %outputFolder% -temp=%tempFolder% -include=%includeFile%
  35. set /a "x+=1"
  36. GOTO :SymLoop
  37. )
  38. )
  39. pause