Guest User

Untitled

a guest
Dec 16th, 2018
92
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ::--------------------------------------------------------------
  2. ::SET CUSTOM COLOR FOR THE BATCH FILES
  3. ::--------------------------------------------------------------
  4. color 1F
  5. ::--------------------------------------------------------------
  6. ::OPTION 1: FOLDERS
  7. ::--------------------------------------------------------------
  8. ::work folder
  9. set "w_folder=NSCB_temp"
  10. ::output folder
  11. set "fold_output=..\xci"
  12. ::--------------------------------------------------------------
  13. ::OPTION 2: PROGRAM ROUTES
  14. ::--------------------------------------------------------------
  15. set "nut=ztools\squirrel.py"
  16. set "xci_lib=ztools\XCI.bat"
  17. set "nsp_lib=ztools\NSP.bat"
  18. set "zip=ztools\7za.exe"
  19. set "hactool=ztools\hactool.exe"
  20. set "hacbuild=ztools\hacbuild.exe"
  21. set "listmanager=ztools\listmanager.py"
  22. set "batconfig=ztools\NSCB_config.bat"
  23. set "batdepend=ztools\install_dependencies.bat"
  24. set "advbat=ztools\ADV.bat"
  25. ::--------------------------------------------------------------
  26. ::OPTION 3: SQUIRREL OPTIONS
  27. ::--------------------------------------------------------------
  28. ::python command
  29. set "pycommand=py -3"
  30. ::Buffer for the copy functions.
  31. ::Change the number for the number of bytes that works best for you
  32. ::32768bytes=32kB
  33. set "buffer=-b 32768"
  34. ::Copy function with or without deltas
  35. ::--C_clean -> Copy and remove titlerights. Don't skips deltas
  36. ::--C_clean_ND-> Copy and remove titlerights skipping deltas
  37. set "nf_cleaner=--C_clean_ND"
  38. ::Patch the RequiredSystemVersion so console doesn't ask for updates bigger
  39. ::than the required FW to decypher the crypto
  40. ::true -> Patch required system version in the meta nca
  41. ::false-> Don't patch required system version in the meta nca
  42. set "patchRSV=-pv false"
  43. set "capRSV=--RSVcap 268435656"
  44. ::--------------------------------------------------------------
  45. ::OPTION 4: IMPORTANT FILES
  46. ::--------------------------------------------------------------
  47. ::Route for game_info file
  48. set "game_info=zconfig\game_info_preset.ini"
  49. ::Route for keys.txt
  50. set "dec_keys=ztools\keys.txt"
  51. ::--------------------------------------------------------------
  52. ::OPTION 5: REPACK OPTIONS
  53. ::--------------------------------------------------------------
  54. ::Repack option for auto-mode
  55. ::nsp->repack as nsp-
  56. ::xci->repack as xci-
  57. ::both->repack as both
  58. set "vrepack=xci"
  59. ::Type of repack for folders
  60. ::indiv->repack multiple input files as multiple output file. INDIVIDUAL MODE
  61. ::multi->repack multiple input files as single output file. MULTI-MODE
  62. set "fi_rep=multi"
  63. ::--------------------------------------------------------------
  64. ::OPTION 6: MANUAL MODE INTRO
  65. ::--------------------------------------------------------------
  66. ::Repack mode that is shown first in manual mode
  67. ::indiv->individual packing of files
  68. ::multi->multi-pack mode
  69. ::split->splitter mode
  70. ::update->update mode
  71. ::choose->prompt to choose the mode to enter
  72. set "manual_intro=multi"
  73. ::--------------------------------------------------------------
  74. ::OPTION 7: Zip files
  75. ::--------------------------------------------------------------
  76. ::ZIP FILES FOR UPCOMING RESTORE MODE
  77. ::true->zip the needed files
  78. ::false->don't zip the files
  79. set "zip_restore=false"
  80.  
  81. ::--------------------------------------------------------------
  82. ::OPTION 8: PATCH IF KEYGENERATION IS BIGGER THAN
  83. ::--------------------------------------------------------------
  84. :: CHANGE ENCRYPTION TO THE SET KEYGENERATION IN AUTO-MODE
  85. ::
  86. :: Don't change encryption -> vkey = false
  87. :: "1.0.0" -> vkey = 0
  88. :: "2.0.0 - 2.3.0" -> vkey = 1
  89. :: "3.0.0" -> vkey = 2
  90. :: "3.0.1 - 3.0.2" -> vkey = 3
  91. :: "4.0.0 - 4.1.0" -> vkey = 4
  92. :: "5.0.0 - 5.1.0" -> vkey = 5
  93. :: "6.0.0-4 - 6.1.0" -> vkey = 6
  94. :: "6.2.0" -> vkey = 7
  95.  
  96. set "vkey=-kp 5"
  97.  
  98. ::--------------------------------------------------------------
  99. ::OPTION 10: AUTO-EXIT
  100. ::--------------------------------------------------------------
  101. :: If set at true the program will auto-exit in manual mode
  102. set "va_exit=false"
  103.  
  104. ::--------------------------------------------------------------
  105. ::OPTION 11: SKIP RSV AND KEYGENERATION CHANGE PROPMT
  106. ::--------------------------------------------------------------
  107. :: Skip RequiredSystemVersion and keygeneration prompts while
  108. :: in manual mode
  109. set "skipRSVprompt=false"
RAW Paste Data