Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @ECHO OFF
- Echo Choose computer bit:
- Echo 1. 32-bit
- Echo 2. 64-bit
- Set /P bit=
- If %bit%==1 goto :32bit
- If %bit%==2 goto :64bit
- goto :Error
- :32bit
- Set packerDir=win32\asset_packer.exe
- goto :nextStep
- :64bit
- Set packerDir=win64\asset_packer.exe
- goto :nextStep
- :nextStep
- cls
- Echo Enter name of what's being packed (Doesn't affect anything):
- set /P name=
- cls
- Echo Enter location of the main folder with the mod files (folder with the .modinfo file):
- set /P location=
- cls
- Echo What to name the pack (with extension.pak):
- set /P packName=
- cls
- goto :runCommand
- :Error
- Echo Not an applicable number
- goto :end
- :runCommand
- %packerDir% %name% %location% %packName%
- goto :end
- :end
- pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement