initial import

This commit is contained in:
Fábio André Damas 2025-06-02 11:11:05 +00:00
commit d22055dd9a
3 changed files with 64 additions and 0 deletions

10
start.sh Normal file
View file

@ -0,0 +1,10 @@
#!/bin/bash
SAVE_FILE="/root/.openttd/save/autosave/latest.sav"
if [ -f "$SAVE_FILE" ]; then
echo "Loading savegame: $SAVE_FILE"
exec /openttd/source/build/openttd -D -g autosave/latest.sav
else
echo "No savegame found. Starting new game."
exec /openttd/source/build/openttd -D
fi