# Game metadata consumed by ../../install.sh
# Everything game-specific lives here so the installer stays generic.

TITLE="Gundam Breaker 4"
APPID=1672500

# Executable to locate, and its path under steamapps/common/
EXE="GB4-Win64-Shipping.exe"
COMMON_SUBDIR="GBBBB/GB4/Binaries/Win64"

# Ultimate ASI Loader proxy name. On Proton this REQUIRES the matching
# WINEDLLOVERRIDES launch option (see LAUNCH_OPTION below).
LOADER="dsound.dll"

# Engine .ini inside the Proton prefix, relative to compatdata/<APPID>/pfx/
# Leave empty to skip the config-level tweak.
PREFIX_INI="drive_c/users/steamuser/AppData/Local/GB4/Saved/Config/WindowsNoEditor/Engine.ini"

# Block appended to PREFIX_INI. Fixes menus/lobby immediately; the runtime
# SUWSF patch is what carries it through gameplay.
read -r -d '' INI_BLOCK <<'EOF' || true
[/Script/Engine.LocalPlayer]
AspectRatioAxisConstraint=AspectRatio_MaintainYFOV
EOF

LAUNCH_OPTION='WINEDLLOVERRIDES="dsound=n,b" %command%'
ENGINE="Unreal Engine 4.27"
STATUS="Confirmed working in gameplay at 5120x1440 (32:9) on Proton"
