@echo off
REM Starts crashnet-server against the game directory you supply.
REM Usage: start.bat path\to\game_folder
if "%~1"=="" (
    echo Usage: %~nx0 ^<game_folder-or-.crashcart^>
    exit /b 1
)
set DIR=%~dp0
REM --simulation skips JWT auth -- fine for local testing. Remove for prod.
"%DIR%crashnet-server.exe" --simulation --addr 127.0.0.1:9005 %*
