Hi there!
Russian-speaking community presents a small bat-script to check the integrity of NSP and XCI, and generates MD5.
The instruction is in the readme file.
Dev @xHR
Based off "Switch Game Checker" this bat checks signatures of all NCA files in game.
Tests XCI, NSP, and NCA files. Drag game onto "verify_GAME.bat".
Code:
@echo off
color 0A
title verify_GAME.bat
CD /d "%~dp0"
if not exist hactool.exe echo :: Place hactool.exe in folder with verify_GAME.bat!
if not exist hactool.exe echo.
if not exist hactool.exe pause
if not exist hactool.exe exit
if not exist keys.txt echo :: Place Keys.txt in folder with verify_GAME.bat!
if not exist keys.txt echo.
if not exist keys.txt pause
if not exist keys.txt exit
if exist temp.txt del temp.txt
if "%~x1"==".nca" goto nca
if exist NCA_files RD /S /Q NCA_files
set file="%~1"
if "%~x1"==".xci" goto xci
if not "%~x1"==".nsp" echo :: Drag only XCI, NSP, or NCA files onto verify_GAME.bat!
if not "%~x1"==".nsp" echo.
if not "%~x1"==".nsp" pause
if not "%~x1"==".nsp" exit
hactool -k keys.txt -t pfs0 -x --outdir=NCA_files %file%
cls
goto dun
:xci
hactool -k keys.txt -t xci -x --securedir=NCA_files %file%
cls
:dun
for %%I in ("NCA_files\*.nca") do set nca=%%I& set nca2=%%~nxI& call :sub
if exist NCA_files RD /S /Q NCA_files
if exist temp.txt del temp.txt
echo.
certUtil -hashfile "%~dpnx1" MD5 >temp.txt
(
set /p var1=
set /p MD5=
)<temp.txt
echo ------------------------------------------------------------------------------------------------------------------------
echo.
echo :: %~nx1
echo :: MD5: %MD5%
echo.
echo ------------------------------------------------------------------------------------------------------------------------
if exist temp.txt del temp.txt
echo.
pause
exit
:sub
if exist temp.txt del temp.txt
hactool -k keys.txt -t nca --verify %nca% >temp.txt 2>&1
if "%skip%"=="yes" goto skip
echo.
echo :: Checking if game contains Original files!
echo ------------------------------------------
set skip=yes
:skip
echo.
findstr /I /C:"Fixed-Key Signature (GOOD)" temp.txt >nul 2>&1
if "%errorlevel%"=="0" echo :: Fixed-Key Signature (GOOD) - %nca2%& echo :: This NCA file is Original!& goto :eof
echo :: Fixed-Key Signature (FAIL) - %nca2%
echo :: NCA file has been Modified. Use at your own risk!
goto :eof
:nca
for %%I in ("%~dp1*.nca") do set nca=%%I& set nca2=%%~nxI& call :sub
if exist NCA_files RD /S /Q NCA_files
if exist temp.txt del temp.txt
echo.
pause
exit
So I tried this one again and it does work, it just takes a long time on a blank cmd window. The thing is, it only shows the MD5 when it finishes, not telling me if it's safe or not. I've tested several games and all show the name of the file and the MD5 in a green color.
So I tried this one again and it does work, it just takes a long time on a blank cmd window. The thing is, it only shows the MD5 when it finishes, not telling me if it's safe or not. I've tested several games and all show the name of the file and the MD5 in a green color.
I used his, not yours. Yours still doesn't work, it only shows the cmd for a split second. But I'm going to assume his uses the same color representation for validity as yours does.
The readme file has clear steps to use the script, there are few of them.
About brick. If we talk about brickachu (tinybrick), it will break cal0 emunand without affecting sysnsnd.
OMG My copy of super smash bros is poisoned md5 says "its bad" , what should i do? that´s a kind of big brick/time bomb or something? i want to know all types of bricks! pls help
OMG My copy of super smash bros is poisoned md5 says "its bad" , what should i do? that´s a kind of big brick/time bomb or something? i want to know all types of bricks! pls help
Converted xci < > nsp show corruption. It doesn't mean that brick is there, it means that the signature and integrity are broken. Such backups are better to use only from reputable sources.
Converted xci < > nsp show corruption. It doesn't mean that brick is there, it means that the signature and integrity are broken. Such backups are better to use only from reputable sources.
It was a leak of the cart, therefore it was impossible to be an nsp in the first place. Same thing for Let's Go Pikachu and Smash.
I don't know if it's because I'm using verify_GAME.bat instead of check_nsp.bat, since that one never worked for me.
I have the same issue as Sharinflan, verify_GAME.bat posted here works great, while check_nsp.bat from the github just immediately closes.
Nevermind, I'm an idiot. Make sure to copy the CONTENT of the batch file on github.
The only issue I'm having now is both the temp folder and check.log aren't being deleted automatically.
It's the first Nintendo Switch firmware update of 2024. Made available as of today is system software version 18.0.0, marking a new milestone. According to the patch...
Emulator takedowns continue. Not long after its first release, Suyu emulator has been removed from GitLab via a DMCA takedown. Suyu was a Nintendo Switch emulator...
After a couple days of Nintendo releasing their 18.0.0 firmware update, @SciresM releases a brand new update to his Atmosphere NX custom firmware for the Nintendo...
Today, April 8th, 2024, at 4PM PT, marks the day in which Nintendo permanently ends support for both the 3DS and the Wii U online services, which include co-op play...
Denuvo by Irdeto has unveiled at GDC (Game Developers Conference) this past March 18th their brand new anti-piracy technology named "TraceMark", specifically tailored...
Hello, GBAtemp members! After a prolonged absence, I am delighted to announce my return and upgraded form to you today...
Introducing tempBOT AI 🤖
As the embodiment...
Yet another casualty goes down in the never-ending battle of copyright enforcement, and this time, it hit a big website which was the host for many fangames based and...
The highly popular and accurate FPGA hardware, MisterFGPA, has received today a brand new update with a long-awaited feature, or rather, a new core for hardcore...
The 2nd biggest technology company in the world, Apple, is being sued by none other than the Department of Justice of the United States, filed for antitrust...
With Apple having recently updated their guidelines for the App Store, iOS users have been left to speculate on specific wording and whether retro emulators as we...
It's the first Nintendo Switch firmware update of 2024. Made available as of today is system software version 18.0.0, marking a new milestone. According to the patch...
Today, April 8th, 2024, at 4PM PT, marks the day in which Nintendo permanently ends support for both the 3DS and the Wii U online services, which include co-op play...
Hello, GBAtemp members! After a prolonged absence, I am delighted to announce my return and upgraded form to you today...
Introducing tempBOT AI 🤖
As the embodiment...
Emulator takedowns continue. Not long after its first release, Suyu emulator has been removed from GitLab via a DMCA takedown. Suyu was a Nintendo Switch emulator...
Denuvo by Irdeto has unveiled at GDC (Game Developers Conference) this past March 18th their brand new anti-piracy technology named "TraceMark", specifically tailored...
With Apple having recently updated their guidelines for the App Store, iOS users have been left to speculate on specific wording and whether retro emulators as we...
After a couple days of Nintendo releasing their 18.0.0 firmware update, @SciresM releases a brand new update to his Atmosphere NX custom firmware for the Nintendo...
The 2nd biggest technology company in the world, Apple, is being sued by none other than the Department of Justice of the United States, filed for antitrust...
Yet another casualty goes down in the never-ending battle of copyright enforcement, and this time, it hit a big website which was the host for many fangames based and...
The time has finally come, and after many, many years (if not decades) of Apple users having to side load emulator apps into their iOS devices through unofficial...