Restore native inference, card-bound readings and paged dialogue. Provide manual, checksum-verified model setup instead of Git LFS so source checkouts work without uploading multi-gigabyte weights. The game stays offline; complete release archives still bundle the model.
12 lines
502 B
Batchfile
12 lines
502 B
Batchfile
@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%
|