Advertisement
ThatBenderGuy

packMod.bat

Mar 2nd, 2016
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.70 KB | None | 0 0
  1. @ECHO OFF
  2.  
  3. Echo Choose computer bit:
  4. Echo 1. 32-bit
  5. Echo 2. 64-bit
  6. Set /P bit=
  7. If %bit%==1 goto :32bit
  8. If %bit%==2 goto :64bit
  9. goto :Error
  10.  
  11. :32bit
  12. Set packerDir=win32\asset_packer.exe
  13. goto :nextStep
  14.  
  15. :64bit
  16. Set packerDir=win64\asset_packer.exe
  17. goto :nextStep
  18.  
  19. :nextStep
  20. cls
  21. Echo Enter name of what's being packed (Doesn't affect anything):
  22. set /P name=
  23. cls
  24. Echo Enter location of the main folder with the mod files (folder with the .modinfo file):
  25. set /P location=
  26. cls
  27. Echo What to name the pack (with extension.pak):
  28. set /P packName=
  29. cls
  30. goto :runCommand
  31.  
  32. :Error
  33. Echo Not an applicable number
  34. goto :end
  35.  
  36. :runCommand
  37. %packerDir% %name% %location% %packName%
  38. goto :end
  39.  
  40.  
  41. :end
  42. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement