From d9b14ffd343daf597eedf09c04559e630da72ffd Mon Sep 17 00:00:00 2001 From: dazedanon Date: Fri, 10 Oct 2025 15:56:19 -0500 Subject: [PATCH] Update patch --- gameupdate/patch.bat | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gameupdate/patch.bat b/gameupdate/patch.bat index b963018..0664322 100644 --- a/gameupdate/patch.bat +++ b/gameupdate/patch.bat @@ -1,6 +1,25 @@ @echo off setlocal EnableExtensions EnableDelayedExpansion +REM Check if being run from gameupdate folder (incorrect usage) +for %%I in ("%CD%") do set "CURRENT_FOLDER=%%~nxI" +if /I "%CURRENT_FOLDER%"=="gameupdate" ( + echo. + echo ======================================== + echo ERROR: Do not run patch.bat directly! + echo ======================================== + echo. + echo You are running this from the gameupdate folder. + echo This will not work correctly! + echo. + echo Please go back to the game's root folder and + echo run GameUpdate.bat instead. + echo ======================================== + echo. + pause + exit /b 1 +) + REM Determine important paths set "SCRIPT_DIR=%~dp0" set "ROOT_DIR=%CD%"