@echo off
setlocal
cd /d "%~dp0"
for %%I in (worddominion-01.bin worddominion-02.bin worddominion-03.bin worddominion-04.bin) do if not exist "%%I" (echo Missing %%I & pause & exit /b 1)
copy /b /y worddominion-01.bin+worddominion-02.bin+worddominion-03.bin+worddominion-04.bin WordDominion.exe >nul
if errorlevel 1 (echo Cannot assemble WordDominion.exe & pause & exit /b 1)
echo Checking SHA-256...
certutil -hashfile WordDominion.exe SHA256 | findstr /I "5704ce3acece14f3afaa16e71f63f9ae34b775699b49df62b3bbd4b03de4d124" >nul
if errorlevel 1 (echo Integrity check failed. Delete the file and download parts again. & pause & exit /b 1)
echo Verified! WordDominion.exe is ready.
pause
