4NXCI
4NXCI copied to clipboard
Batch Processing
I made a batch file for converting all XCI files in a folder. Maybe you can put it in the next release for ease of use. ;)
4nxci_convertall.bat
@Echo Off
%~d0
Cd %~p0
Echo This Script Will Convert All XCI Files To NSP
Echo Working Directory: %~dp0
Echo.
Echo.
For %%F In (*.xci) Do (
Echo Converting "%%F"
Echo.
4nxci.exe "%%F"
If Exist 4nxci_extracted_xci RmDir /s /q 4nxci_extracted_xci
Echo.
Echo.
)
Pause
```
Maybe add support for multiple files to the program instead of a batch file.
You could call it like this: ./4nxci *.xci
@ozayturay Is there a way to make a bat that will convert and retain the original file name?
Slightly modified version of script that retains the title name and lets you specify the working directory:
@Echo Off
Echo This Script Will Convert All XCI Files To NSP
SET /p directory="Enter Working Directory: "
Echo.
Echo.
For %%F In (%directory%\*.xci) Do (
Echo Converting "%%F"
Echo.
4nxci.exe -r -o "%directory%\NSP" "%%F"
If Exist 4nxci_extracted_xci RmDir /s /q 4nxci_extracted_xci
Echo.
Echo.
)
Echo Done.
Pause