56101b15a5
play.bat gibt Argumente an das Spiel weiter, und play-zweites-fenster.bat startet ein zweites Fenster mit eigenem Profil. CLAUDE.md beschreibt die gemeinsame Welt, das Vertrauensmodell der Reichweite, die Netzwerkregeln und den Test zweier Instanzen. Ein Fragebogen begleitet den Probelauf. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
20 lines
776 B
Batchfile
20 lines
776 B
Batchfile
@echo off
|
|
rem Builds the bridge and starts Grovewright from this folder. Arguments go
|
|
rem to the game, for example --profile=zweites-fenster; see CLAUDE.md.
|
|
cd /d "%~dp0"
|
|
cargo build -p grovewright-bridge || goto failed
|
|
rem The first import of a fresh checkout crashes while Godot shuts down
|
|
rem (Godot 4.7.2 with a Rust extension). The import has happened by then,
|
|
rem and a second run succeeds. Batch reports the crash as a negative exit
|
|
rem code, so the check compares with zero instead of using errorlevel 1.
|
|
godot --headless --path game --import
|
|
if %errorlevel% neq 0 godot --headless --path game --import || goto failed
|
|
godot --path game -- %*
|
|
goto :eof
|
|
|
|
:failed
|
|
echo.
|
|
echo Grovewright konnte nicht gestartet werden. Die Meldungen oben nennen den Grund.
|
|
pause
|
|
exit /b 1
|