# Start the Fallout 4 Commonwealth app on Aukio 3D 2.
#
# Builds the V2 engine and the standalone FO4-2 consumer in dependency
-# order, then launches Fo4App. FO4-2 is not an Aukio workspace
-# environment provider: it assembles its own AwtShell/kernel pipeline.
+# order, then launches the Aukio 3D host (eu.svjatoslav.aukio.core.Main) with
+# the Commonwealth as its world source (--source=fo42). The host owns the
+# loop; the environment is a library it opens by name.
#
# The game path comes from AUKIO_FO4_PATH or the fo4: section of
-# ~/.config/aukio/config.yaml. Extra args are forwarded to Fo4App.
+# ~/.config/aukio/config.yaml. Extra args are forwarded to the host.
# To pass -D properties, edit JAVA_OPTS below or export them first.
set -euo pipefail
${AUKIO_FO4_PATH:+-Daukio.fo4.path=$AUKIO_FO4_PATH} \
${JAVA_OPTS:-} \
-cp "target/classes:$(cat target/cp.txt)" \
- eu.svjatoslav.aukio.environment.fo42.Fo4App "$@"
+ eu.svjatoslav.aukio.core.Main --source=fo42 "$@"