@echo off setlocal echo Offline fortune model setup - about 2.5 GB download. echo Internet is needed only for this setup, not while playing. echo. powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0tools\fortune_ai\download_model.ps1" set "RESULT=%ERRORLEVEL%" echo. if not "%RESULT%"=="0" echo Setup failed. Check connection and disk space, then run this file again. if "%RESULT%"=="0" echo Model ready. You can launch the game offline. if /I not "%~1"=="--no-pause" pause exit /b %RESULT%