Added notifications concerning rawnand.bin

Added notifications concerning `rawnand.bin` as to whether or not it is one file, where the combined files were combined, and letting the user know to continue with quickstart guide.
This commit is contained in:
Eloeri 2019-02-05 11:06:22 -06:00 committed by GitHub
parent bebda086f9
commit 96af675148
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,9 +1,9 @@
@ECHO off @ECHO off
TITLE Yuzu Copy Utility v4 TITLE Yuzu Copy Utility v5
ECHO Yuzu Copy Utility ECHO Yuzu Copy Utility
ECHO By DarkLordZach ECHO By DarkLordZach
ECHO v4 - 02/05/2018 ECHO v5 - 02/05/2018
SET mypath=%~dp0\backup\ SET mypath=%~dp0\backup\
cd /d %mypath% cd /d %mypath%
@ -22,11 +22,13 @@ COPY /B /Y "BOOT0" "%APPDATA%\yuzu\sysdata\BOOT0"
ECHO Copying package1... ECHO Copying package1...
COPY /B /Y "pkg1\secmon.bin" "%APPDATA%\yuzu\sysdata\secmon.bin" COPY /B /Y "pkg1\secmon.bin" "%APPDATA%\yuzu\sysdata\secmon.bin"
COPY /B /Y "pkg1\pkg1_decr.bin" "%APPDATA%\yuzu\sysdata\pkg1_decr.bin" COPY /B /Y "pkg1\pkg1_decr.bin" "%APPDATA%\yuzu\sysdata\pkg1_decr.bin"
if exist "%~dp0\rawnand.bin.00" (
ECHO Copying NAND backup... ECHO Copying NAND backup...
COPY /B /Y "%~dp0\rawnand.bin.00"+"%~dp0\rawnand.bin.01"+"%~dp0\rawnand.bin.02"+"%~dp0\rawnand.bin.03"+"%~dp0\rawnand.bin.04"+"%~dp0\rawnand.bin.05"+"%~dp0\rawnand.bin.06"+"%~dp0\rawnand.bin.07"+"%~dp0\rawnand.bin.08"+"%~dp0\rawnand.bin.09"+"%~dp0\rawnand.bin.10"+"%~dp0\rawnand.bin.11"+"%~dp0\rawnand.bin.12"+"%~dp0\rawnand.bin.13"+"%~dp0\rawnand.bin.14" "%USERPROFILE%\Desktop\rawnand.bin" COPY /B /Y "%~dp0\rawnand.bin.00"+"%~dp0\rawnand.bin.01"+"%~dp0\rawnand.bin.02"+"%~dp0\rawnand.bin.03"+"%~dp0\rawnand.bin.04"+"%~dp0\rawnand.bin.05"+"%~dp0\rawnand.bin.06"+"%~dp0\rawnand.bin.07"+"%~dp0\rawnand.bin.08"+"%~dp0\rawnand.bin.09"+"%~dp0\rawnand.bin.10"+"%~dp0\rawnand.bin.11"+"%~dp0\rawnand.bin.12"+"%~dp0\rawnand.bin.13"+"%~dp0\rawnand.bin.14" "%USERPROFILE%\Desktop\rawnand.bin"
ECHO If no errors about missing files appeared, this utility completed successfully. ECHO **Your rawnand.bin files have been combined into one rawnand.bin onto your desktop.**
ECHO If there were errors, ensure you followed all of the steps in the guide prior to this. )
ECHO If the rawnand.bin is one complete file, please ignore referenced error and continue with the QuickStart guide. ECHO **If no errors about missing files appeared, this utility completed successfully. Please continue with QuickStart guide.**
ECHO **If there were errors, ensure you followed all of the steps in the guide prior to this.**
goto exit goto exit
:noid :noid
@ -37,11 +39,13 @@ COPY /B /Y "%~dp0\backup\BOOT0" "%APPDATA%\yuzu\sysdata\BOOT0"
ECHO Copying package1... ECHO Copying package1...
COPY /B /Y "%~dp0\backup\pkg1\secmon.bin" "%APPDATA%\yuzu\sysdata\secmon.bin" COPY /B /Y "%~dp0\backup\pkg1\secmon.bin" "%APPDATA%\yuzu\sysdata\secmon.bin"
COPY /B /Y "%~dp0\backup\pkg1\pkg1_decr.bin" "%APPDATA%\yuzu\sysdata\pkg1_decr.bin" COPY /B /Y "%~dp0\backup\pkg1\pkg1_decr.bin" "%APPDATA%\yuzu\sysdata\pkg1_decr.bin"
if exist "%~dp0\rawnand.bin.00" (
ECHO Copying NAND backup... ECHO Copying NAND backup...
COPY /B /Y "%~dp0\rawnand.bin.00"+"%~dp0\rawnand.bin.01"+"%~dp0\rawnand.bin.02"+"%~dp0\rawnand.bin.03"+"%~dp0\rawnand.bin.04"+"%~dp0\rawnand.bin.05"+"%~dp0\rawnand.bin.06"+"%~dp0\rawnand.bin.07"+"%~dp0\rawnand.bin.08"+"%~dp0\rawnand.bin.09"+"%~dp0\rawnand.bin.10"+"%~dp0\rawnand.bin.11"+"%~dp0\rawnand.bin.12"+"%~dp0\rawnand.bin.13"+"%~dp0\rawnand.bin.14" "%USERPROFILE%\Desktop\rawnand.bin" COPY /B /Y "%~dp0\rawnand.bin.00"+"%~dp0\rawnand.bin.01"+"%~dp0\rawnand.bin.02"+"%~dp0\rawnand.bin.03"+"%~dp0\rawnand.bin.04"+"%~dp0\rawnand.bin.05"+"%~dp0\rawnand.bin.06"+"%~dp0\rawnand.bin.07"+"%~dp0\rawnand.bin.08"+"%~dp0\rawnand.bin.09"+"%~dp0\rawnand.bin.10"+"%~dp0\rawnand.bin.11"+"%~dp0\rawnand.bin.12"+"%~dp0\rawnand.bin.13"+"%~dp0\rawnand.bin.14" "%USERPROFILE%\Desktop\rawnand.bin"
ECHO If no errors about missing files appeared, this utility completed successfully. ECHO **Your rawnand.bin files have been combined into one rawnand.bin onto your desktop.**
ECHO If there were errors, ensure you followed all of the steps in the guide prior to this. )
ECHO If the rawnand.bin is one complete file, please ignore referenced error and continue with the QuickStart guide. ECHO **If no errors about missing files appeared, this utility completed successfully. Please continue with QuickStart guide.**
ECHO **If there were errors, ensure you followed all of the steps in the guide prior to this.**
goto exit goto exit
:exit :exit