48 lines
2.0 KiB
Bash
48 lines
2.0 KiB
Bash
#!/usr/bin/env bash
|
|
# =========================================================================
|
|
# #173 wave 2 -- the field-feel gap (3-4s to governor vs bench 12-13s) and
|
|
# the 28Hz cadence residual, decisive runs:
|
|
# E) FIELD-SHAPED spawn: no pre-settle, weapons charging + THROTTLED
|
|
# autofire at scenery from the first frame, sprint at seek-4 --
|
|
# time-to-degradation + Condenser5/GeneratorD preheat at motion start.
|
|
# F) 28Hz ring cadence (BT_MYO_RING_HZ=28), balanced valves -- does the
|
|
# |a| gait-surge term collapse and t1000 stretch?
|
|
# G) 28Hz ring cadence + PROVEN detent 50 on Condenser5 (BT_VALVE5=2) --
|
|
# THE FLIP TEST: does boosted seek-4 land UNDER degradation 1000?
|
|
# Same rig as m173v_bench.sh (solo expert vulture, grass/day, seek-4 forced,
|
|
# full autodrive, 0.12 turn), 165s each.
|
|
# =========================================================================
|
|
set -x
|
|
. /c/git/bt411/scratchpad/night6/bench_common.sh
|
|
cd /c/git/bt411/content || exit 1
|
|
taskkill //F //IM btl4.exe > /dev/null 2>&1
|
|
sleep 2
|
|
|
|
run_one () { # run_one <tag> <secs> [extra env pairs...]
|
|
local TAG=$1 SECS=$2; shift 2
|
|
bt_expert_egg MP.EGG M173V.EGG
|
|
sed -i "s/^map=.*/map=grass/; s/^time=.*/time=day/; 0,/^vehicle=.*/s//vehicle=vulture/" M173V.EGG
|
|
local LOG=m173_${TAG}.log
|
|
rm -f "$LOG"
|
|
( export BT_MYO_LOG=1 BT_HEAT_LOG=1 BT_SPEC_LOG=1 BT_MYOMERS_LOG=1 BT_VALVE_LOG=1
|
|
export BT_FORCE_SEEK=3 BT_AUTODRIVE=1.0 BT_FORCE_TURN=0.12
|
|
for kv in "$@"; do export "$kv"; done
|
|
bt_launch "$LOG" M173V.EGG 0x03 )
|
|
sleep "$SECS"
|
|
bt_kill_ours
|
|
sleep 3
|
|
taskkill //F //IM btl4.exe > /dev/null 2>&1
|
|
sleep 2
|
|
}
|
|
|
|
run_one vul_E_field 165 BT_AUTOFIRE=1 BT_FIRE_AT_ICON=1 BT_AF_PERIOD=4 BT_FIRE_LOG=1
|
|
run_one vul_F_28bal 165 BT_MYO_RING_HZ=28
|
|
run_one vul_G_28d50 165 BT_MYO_RING_HZ=28 BT_VALVE5=2
|
|
|
|
echo "=================== m173v wave-2 RUNS DONE ==================="
|
|
for f in m173_vul_E_field.log m173_vul_F_28bal.log m173_vul_G_28d50.log; do
|
|
echo "--- $f"
|
|
grep -ac "myotemp" "$f" 2>/dev/null
|
|
grep -a "valve-tx\|valve -> detent" "$f" 2>/dev/null
|
|
done
|