34 lines
810 B
Batchfile
34 lines
810 B
Batchfile
|
|
@echo off
|
||
|
|
REM DOSBox Launcher for Cordle
|
||
|
|
REM Automatically starts DOSBox with correct configuration
|
||
|
|
|
||
|
|
echo ================================================
|
||
|
|
echo Starting DOSBox for Cordle Development
|
||
|
|
echo ================================================
|
||
|
|
echo.
|
||
|
|
|
||
|
|
REM Check if DOSBox is installed
|
||
|
|
where dosbox >nul 2>&1
|
||
|
|
if %errorlevel% neq 0 (
|
||
|
|
echo ERROR: DOSBox not found in PATH
|
||
|
|
echo.
|
||
|
|
echo Please install DOSBox from: https://www.dosbox.com/
|
||
|
|
echo Or specify the full path to dosbox.exe below
|
||
|
|
pause
|
||
|
|
exit /b 1
|
||
|
|
)
|
||
|
|
|
||
|
|
REM Check if config file exists
|
||
|
|
if not exist "dosbox-cordle.conf" (
|
||
|
|
echo ERROR: dosbox-cordle.conf not found
|
||
|
|
echo Please ensure the config file is in the current directory
|
||
|
|
pause
|
||
|
|
exit /b 1
|
||
|
|
)
|
||
|
|
|
||
|
|
echo Launching DOSBox...
|
||
|
|
echo.
|
||
|
|
dosbox -conf dosbox-cordle.conf
|
||
|
|
|
||
|
|
pause
|