@echo off
title QLaunch unpacker script by Yoti (v20210703)
echo QLaunch unpacker script by Yoti (v20210703)
if not exist hactool.exe goto thisistheend
if not exist prod.keys goto thisistheend
echo Wait...
for %%i in (????????????????????????????????.nca) do (
hactool -i -k prod.keys --disablekeywarns -t nca %%i | find "0100000000001000" >nul && (
echo %%~ni [qlaunch]
if exist %%~ni rd /s /q %%~ni
hactool -x -k prod.keys --disablekeywarns -t nca --romfsdir=%%~ni %%i >nul
goto thisistheend
)
)
:thisistheend
echo Done!!!
pause