100 lines
3.0 KiB
Plaintext
100 lines
3.0 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.2087
|
|
+ cd /c/git/bt411/content
|
|
+ taskkill //F //IM btl4.exe
|
|
+ sleep 2
|
|
+ rm -f sg4_a.log sg4_b.log
|
|
+ bt_novice_egg MP.EGG SG4.EGG
|
|
+ sed 's/^experience=.*/experience=novice/' MP.EGG
|
|
+ echo '[bench] NOTE: novice egg SG4.EGG -- crits/heat/jams are GATED OFF (harness requirement)'
|
|
[bench] NOTE: novice egg SG4.EGG -- crits/heat/jams are GATED OFF (harness requirement)
|
|
+ sed -i 's/^map=.*/map=grass/; s/^time=.*/time=day/; s/^vehicle=.*/vehicle=madcat/' SG4.EGG
|
|
+ BT_AUTODRIVE=0.5
|
|
+ BT_SELF_DAMAGE=4
|
|
+ BT_SELF_DAMAGE_ZONE=dz_ldleg
|
|
+ BT_DMG_LOG=1
|
|
+ BT_DEATH_LOG=1
|
|
+ BT_MP_LOG=1
|
|
+ BT_MATCHLOG=1
|
|
+ bt_launch sg4_a.log SG4.EGG 0x0C -net 1601
|
|
+ local log=sg4_a.log egg=SG4.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=sg4_a.log BT_AFFINITY=0x0C
|
|
+ BT_LOG=sg4_a.log
|
|
+ BT_AFFINITY=0x0C
|
|
+ for _i in 1 2 3 4 5
|
|
+ '[' -f /proc/2094/winpid ']'
|
|
+ /c/git/bt411/build/Release/btl4.exe -egg SG4.EGG -net 1601
|
|
+ cat /proc/2094/winpid
|
|
+ break
|
|
+ sleep 2
|
|
+ BT_REPL_LOG=1
|
|
+ BT_DEATH_LOG=1
|
|
+ BT_MP_LOG=1
|
|
+ BT_MATCHLOG=1
|
|
+ bt_launch sg4_b.log SG4.EGG 0x03 -net 1501
|
|
+ local log=sg4_b.log egg=SG4.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=sg4_b.log BT_AFFINITY=0x03
|
|
+ BT_LOG=sg4_b.log
|
|
+ BT_AFFINITY=0x03
|
|
+ for _i in 1 2 3 4 5
|
|
+ '[' -f /proc/2098/winpid ']'
|
|
+ /c/git/bt411/build/Release/btl4.exe -egg SG4.EGG -net 1501
|
|
+ cat /proc/2098/winpid
|
|
+ break
|
|
+ sleep 5
|
|
+ RELAY=2101
|
|
+ sleep 330
|
|
+ python ../tools/btconsole.py SG4.EGG 127.0.0.1:1501 127.0.0.1:1601
|
|
+ kill 2101
|
|
+ taskkill //F //IM btl4.exe
|
|
+ sleep 3
|
|
+ echo '=== A leg damage (its own master view):'
|
|
=== A leg damage (its own master view):
|
|
+ grep -a dmghit sg4_a.log
|
|
+ grep -coE 'zone=(2|3|7|9|10|18)'
|
|
45
|
|
+ true
|
|
+ echo '=== A gimp state changes:'
|
|
=== A gimp state changes:
|
|
+ grep -aiE gimp sg4_a.log
|
|
+ grep -va gimpfeed
|
|
+ head -8
|
|
[loadclips] INTERIOR ('i') set: fScale=0.8 walkStride=18.5085 hasGimpClips=1
|
|
[loadclips] INTERIOR ('i') set: fScale=0.8 walkStride=18.5085 hasGimpClips=1
|
|
[gimp-eval] zone=3 L=1 R=0 lvl=0.0222222 half=0 alarmBefore=0
|
|
[gimp-eval] zone=3 L=1 R=0 lvl=0.0444444 half=0 alarmBefore=0
|
|
[gimp-eval] zone=3 L=1 R=0 lvl=0.0666667 half=0 alarmBefore=0
|
|
[gimp-eval] zone=3 L=1 R=0 lvl=0.0888889 half=0 alarmBefore=0
|
|
[gimp-eval] zone=3 L=1 R=0 lvl=0.111111 half=0 alarmBefore=0
|
|
[gimp-eval] zone=3 L=1 R=0 lvl=0.133333 half=0 alarmBefore=0
|
|
+ echo '=== B replicant gimp feed (last 6):'
|
|
=== B replicant gimp feed (last 6):
|
|
+ grep -a replgimp sg4_b.log
|
|
+ tail -6
|
|
+ echo '=== SKATE hits (B watching A):'
|
|
=== SKATE hits (B watching A):
|
|
+ grep -a '\[skate\]' sg4_b.log
|
|
+ head -10
|
|
+ echo '=== SKATE count A-side:'
|
|
=== SKATE count A-side:
|
|
+ grep -ac '\[skate\]' sg4_a.log
|
|
0
|