cordle/dosbox/DosboxCordleLauncher.sh

31 lines
824 B
Bash

#!/bin/bash
# DOSBox Launcher for Cordle
# Automatically starts DOSBox with correct configuration
echo "================================================"
echo "Starting DOSBox for Cordle Development"
echo "================================================"
echo
# Check if DOSBox is installed
if ! command -v dosbox &> /dev/null; then
echo "ERROR: DOSBox not found"
echo
echo "Install DOSBox:"
echo " macOS: brew install dosbox"
echo " Linux: sudo apt-get install dosbox"
echo " or sudo yum install dosbox"
exit 1
fi
# Check if config file exists
if [ ! -f "dosbox-cordle.conf" ]; then
echo "ERROR: dosbox-cordle.conf not found"
echo "Please ensure the config file is in the current directory"
exit 1
fi
echo "Launching DOSBox..."
echo
dosbox -conf dosbox-cordle.conf