Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ::--------------------------------------------------------------
- ::SET CUSTOM COLOR FOR THE BATCH FILES
- ::--------------------------------------------------------------
- color 1F
- ::--------------------------------------------------------------
- ::OPTION 1: FOLDERS
- ::--------------------------------------------------------------
- ::work folder
- set "w_folder=NSCB_temp"
- ::output folder
- set "fold_output=..\xci"
- ::--------------------------------------------------------------
- ::OPTION 2: PROGRAM ROUTES
- ::--------------------------------------------------------------
- set "nut=ztools\squirrel.py"
- set "xci_lib=ztools\XCI.bat"
- set "nsp_lib=ztools\NSP.bat"
- set "zip=ztools\7za.exe"
- set "hactool=ztools\hactool.exe"
- set "hacbuild=ztools\hacbuild.exe"
- set "listmanager=ztools\listmanager.py"
- set "batconfig=ztools\NSCB_config.bat"
- set "batdepend=ztools\install_dependencies.bat"
- set "advbat=ztools\ADV.bat"
- ::--------------------------------------------------------------
- ::OPTION 3: SQUIRREL OPTIONS
- ::--------------------------------------------------------------
- ::python command
- set "pycommand=py -3"
- ::Buffer for the copy functions.
- ::Change the number for the number of bytes that works best for you
- ::32768bytes=32kB
- set "buffer=-b 32768"
- ::Copy function with or without deltas
- ::--C_clean -> Copy and remove titlerights. Don't skips deltas
- ::--C_clean_ND-> Copy and remove titlerights skipping deltas
- set "nf_cleaner=--C_clean_ND"
- ::Patch the RequiredSystemVersion so console doesn't ask for updates bigger
- ::than the required FW to decypher the crypto
- ::true -> Patch required system version in the meta nca
- ::false-> Don't patch required system version in the meta nca
- set "patchRSV=-pv false"
- set "capRSV=--RSVcap 268435656"
- ::--------------------------------------------------------------
- ::OPTION 4: IMPORTANT FILES
- ::--------------------------------------------------------------
- ::Route for game_info file
- set "game_info=zconfig\game_info_preset.ini"
- ::Route for keys.txt
- set "dec_keys=ztools\keys.txt"
- ::--------------------------------------------------------------
- ::OPTION 5: REPACK OPTIONS
- ::--------------------------------------------------------------
- ::Repack option for auto-mode
- ::nsp->repack as nsp-
- ::xci->repack as xci-
- ::both->repack as both
- set "vrepack=xci"
- ::Type of repack for folders
- ::indiv->repack multiple input files as multiple output file. INDIVIDUAL MODE
- ::multi->repack multiple input files as single output file. MULTI-MODE
- set "fi_rep=multi"
- ::--------------------------------------------------------------
- ::OPTION 6: MANUAL MODE INTRO
- ::--------------------------------------------------------------
- ::Repack mode that is shown first in manual mode
- ::indiv->individual packing of files
- ::multi->multi-pack mode
- ::split->splitter mode
- ::update->update mode
- ::choose->prompt to choose the mode to enter
- set "manual_intro=multi"
- ::--------------------------------------------------------------
- ::OPTION 7: Zip files
- ::--------------------------------------------------------------
- ::ZIP FILES FOR UPCOMING RESTORE MODE
- ::true->zip the needed files
- ::false->don't zip the files
- set "zip_restore=false"
- ::--------------------------------------------------------------
- ::OPTION 8: PATCH IF KEYGENERATION IS BIGGER THAN
- ::--------------------------------------------------------------
- :: CHANGE ENCRYPTION TO THE SET KEYGENERATION IN AUTO-MODE
- ::
- :: Don't change encryption -> vkey = false
- :: "1.0.0" -> vkey = 0
- :: "2.0.0 - 2.3.0" -> vkey = 1
- :: "3.0.0" -> vkey = 2
- :: "3.0.1 - 3.0.2" -> vkey = 3
- :: "4.0.0 - 4.1.0" -> vkey = 4
- :: "5.0.0 - 5.1.0" -> vkey = 5
- :: "6.0.0-4 - 6.1.0" -> vkey = 6
- :: "6.2.0" -> vkey = 7
- set "vkey=-kp 5"
- ::--------------------------------------------------------------
- ::OPTION 10: AUTO-EXIT
- ::--------------------------------------------------------------
- :: If set at true the program will auto-exit in manual mode
- set "va_exit=false"
- ::--------------------------------------------------------------
- ::OPTION 11: SKIP RSV AND KEYGENERATION CHANGE PROPMT
- ::--------------------------------------------------------------
- :: Skip RequiredSystemVersion and keygeneration prompts while
- :: in manual mode
- set "skipRSVprompt=false"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement