97 lines
3.2 KiB
Plaintext
97 lines
3.2 KiB
Plaintext
+ . /c/git/bt411/scratchpad/night6/bench_common.sh
|
|
++ BT_ROOT=/c/git/bt411
|
|
++ BT_EXE=/c/git/bt411/build/Release/btl4.exe
|
|
++ BT_PIDFILE=/tmp/bt_bench_pids.1042
|
|
+ cd /c/git/bt411/content
|
|
+ bt_assert_player_env
|
|
+ local bat=/c/git/bt411/dist/BT411_4.11.643/play_solo.bat
|
|
+ '[' -f /c/git/bt411/dist/BT411_4.11.643/play_solo.bat ']'
|
|
+ return 0
|
|
+ taskkill //F //IM btl4.exe
|
|
+ sleep 2
|
|
+ rm -f rr_a.log rr_b.log 'rrB_*.png'
|
|
+ bt_expert_egg MP.EGG RR.EGG
|
|
+ sed 's/^experience=.*/experience=expert/' MP.EGG
|
|
+ sed -i 's/^map=.*/map=grass/; s/^time=.*/time=day/; s/^vehicle=.*/vehicle=madcat/' RR.EGG
|
|
+ BT_VALVE_TEST=1
|
|
+ BT_DEATH_LOG=1
|
|
+ BT_DMG_LOG=1
|
|
+ BT_MP_LOG=1
|
|
+ bt_launch rr_a.log RR.EGG 0x0C -net 1601
|
|
+ local log=rr_a.log egg=RR.EGG aff=0x0C
|
|
+ shift 3
|
|
+ bt_player_env
|
|
+ export BT_PLATFORM=glass
|
|
+ BT_PLATFORM=glass
|
|
+ export BT_START_INSIDE=1
|
|
+ BT_START_INSIDE=1
|
|
+ export BT_DEV_GAUGES=1
|
|
+ BT_DEV_GAUGES=1
|
|
+ export BT_LOG=rr_a.log BT_AFFINITY=0x0C
|
|
+ BT_LOG=rr_a.log
|
|
+ BT_AFFINITY=0x0C
|
|
+ for _i in 1 2 3 4 5
|
|
+ '[' -f /proc/1049/winpid ']'
|
|
+ /c/git/bt411/build/Release/btl4.exe -egg RR.EGG -net 1601
|
|
+ cat /proc/1049/winpid
|
|
+ break
|
|
+ sleep 2
|
|
+ BT_MP_FORCE_DMG=1
|
|
+ BT_DEATH_LOG=1
|
|
+ BT_MP_LOG=1
|
|
+ BT_SHOT_EVERY=150
|
|
+ BT_SHOT_PREFIX=rrB
|
|
+ bt_launch rr_b.log RR.EGG 0x03 -net 1501
|
|
+ local log=rr_b.log egg=RR.EGG aff=0x03
|
|
+ shift 3
|
|
+ bt_player_env
|
|
+ export BT_PLATFORM=glass
|
|
+ BT_PLATFORM=glass
|
|
+ export BT_START_INSIDE=1
|
|
+ BT_START_INSIDE=1
|
|
+ export BT_DEV_GAUGES=1
|
|
+ BT_DEV_GAUGES=1
|
|
+ export BT_LOG=rr_b.log BT_AFFINITY=0x03
|
|
+ BT_LOG=rr_b.log
|
|
+ BT_AFFINITY=0x03
|
|
+ for _i in 1 2 3 4 5
|
|
+ '[' -f /proc/1053/winpid ']'
|
|
+ /c/git/bt411/build/Release/btl4.exe -egg RR.EGG -net 1501
|
|
+ cat /proc/1053/winpid
|
|
+ break
|
|
+ sleep 5
|
|
+ RELAY=1056
|
|
+ sleep 200
|
|
+ python ../tools/btconsole.py RR.EGG 127.0.0.1:1501 127.0.0.1:1601
|
|
+ kill 1056
|
|
+ taskkill //F //IM btl4.exe
|
|
+ sleep 3
|
|
+ echo '=== A valve + respawn lines:'
|
|
=== A valve + respawn lines:
|
|
+ grep -E '\[valve\]|\[respawn\]' rr_a.log
|
|
+ head -12
|
|
[respawn] ammo bin 21 refilled 20 -> 20
|
|
[respawn] ammo bin 26 refilled 16 -> 16
|
|
[respawn] ammo bin 28 refilled 16 -> 16
|
|
[respawn] Mech::Reset 3:161 healed+moved to (529.192,0,-668.311) alive=1 zones=22 subsys=32
|
|
[respawn] player 3:1 RESET at drop zone (death #0) -- death cycle complete, latch cleared
|
|
[valve] Condenser1 valve -> detent 5
|
|
[respawn] player 3:1 death cycle START (death #1) -- drop-zone hunt in 5s
|
|
[respawn] Condenser1 valve detent 5 -> 1 (authentic @004ae534 restore)
|
|
[respawn] ammo bin 21 refilled 20 -> 20
|
|
[respawn] ammo bin 26 refilled 16 -> 16
|
|
[respawn] ammo bin 28 refilled 16 -> 16
|
|
[respawn] Mech::Reset 3:161 healed+moved to (293.889,0,-872.235) alive=1 zones=22 subsys=32
|
|
+ echo '=== B un-wreck + smoke lines:'
|
|
=== B un-wreck + smoke lines:
|
|
+ grep -E 'un-wrecked|plume' rr_b.log
|
|
+ head -12
|
|
[death] wreck smoke plume re-armed (psfx 1)
|
|
[respawn] replicant un-wrecked + warp (mode 9->1) at (529.192,-668.311)
|
|
[death] wreck smoke plume re-armed (psfx 1)
|
|
[respawn] replicant un-wrecked + warp (mode 9->1) at (293.889,-872.235)
|
|
[respawn] replicant un-wrecked + warp (mode 9->1) at (249.205,-807.875)
|
|
[death] wreck smoke plume re-armed (psfx 1)
|
|
[respawn] replicant un-wrecked + warp (mode 9->1) at (435.09,-800.724)
|
|
[respawn] replicant un-wrecked + warp (mode 9->1) at (249.205,-807.875)
|