echo off set LB=4e44e15618d63b86e985083b0eefa8b66cbc61dbde1339c9ca1e1e64d498a3c1 set DOSM=f5d6f3faeee457d35d56a8702e5eb5c932162bca8f2d7f2f0b28d2e9a0bf2da1 set XO=0e9de781fe3a1ff146e00789b1b115b6e29d325b5b6900e541b0bfe1b6daef0f set UTIL=fe777c467d365f41d4f4b6a24e9700b6b8df8b58da118ebc463691de74aca6a8 cls echo. echo This file checks the primary files in eXoDOS to ensure they are not corrupt. echo This is useful if after downloading the pack and running the setup file, echo you are having issues with seeing the game's list or other data populating properly. echo. echo In the event this utility reports that you have a corrupt file, simply go to your echo torrent program, right-click the eXoDOS entry, and select "Force Recheck". echo If you are not using qBitTorrent (you should), this verbiage may be different. echo. pause cd content cls echo. echo Checking LaunchBox.zip... echo. certutil -hashfile "LaunchBox.zip" SHA256 | findstr /v "hash">lbhash.txt echo. echo Checking !DOSmetadata.zip... echo. certutil -hashfile "!DOSmetadata.zip" SHA256 | findstr /v "hash">doshash.txt echo. echo Checking XODOSMetadata.zip... echo. certutil -hashfile "XODOSMetadata.zip" SHA256 | findstr /v "hash">xohash.txt cd .. cd exo\util echo. echo Checking util.zip... echo. certutil -hashfile "util.zip" SHA256 | findstr /v "hash">utilhash.txt cd .. cd .. for /F "delims=" %%a in (.\content\lbhash.txt) do set lbhash=%%a for /F "delims=" %%a in (.\content\doshash.txt) do set doshash=%%a for /F "delims=" %%a in (.\content\xohash.txt) do set xohash=%%a for /F "delims=" %%a in (.\eXo\util\utilhash.txt) do set utilhash=%%a rem echo LaunchBox Hash is %lbhash% cls echo. if NOT %lbhash% == %LB% echo LaunchBox.zip is corrupt if NOT %doshash% == %DOSM% echo !DOSmetadata.zip is corrupt if NOT %xohash% == %XO% echo XODOSMetadata.zip is corrupt if NOT %utilhash% == %UTIL% echo util.zip is corrupt if %lbhash% == %LB% ( if %doshash% == %DOSM% ( if %xohash% == %XO% ( if %utilhash% == %UTIL% (echo No corrupt files found. )))) echo. pause del .\content\lbhash.txt del .\content\doshash.txt del .\content\xohash.txt del .\eXo\util\utilhash.txt