BurningTimesAi/공유/기획/FirstRising/맵/tools/field_tour.sh

35 lines
1.3 KiB
Bash
Raw Permalink Normal View History

#!/bin/bash
# 전용 필드 5종을 돌며 큰 그림을 찍는다. bash field_tour.sh <꼬리표> → cap/big_<보스>_<꼬리표>.png
# Entry 씬에서 Play → 로비 → 보스마다 입장 · 촬영 → Play 종료(내가 띄운 Play 는 끝나면 바로 끈다)
SP="C:/Users/sw/AppData/Local/Temp/claude/E--BurningTimes/3562a2c1-e88a-4143-b7ec-e74c317778d8/scratchpad"
source "$SP/bt.sh"
export PYTHONIOENCODING=utf-8
TAG="${1:-v}"
st
python "$SP/logscan.py" mark
unity command clear_console --project-path "$P" --format json --no-banner >/dev/null 2>&1
unity command editor_play --project-path "$P" --format json --no-banner 2>&1 | grep -E '"success"' | head -1
for i in $(seq 1 40); do
sleep 3
r=$(ev lobby_ready 2>&1 | head -1)
case "$r" in *"scene=Lobby"*"player=True"*"config=True"*) echo "ready $i"; break;; esac
done
sleep 6
for b in R1 R2 R3 R4 R5 C1; do
ev arena enter $b | head -1
for k in $(seq 1 10); do
sleep 2
s=$(ev floor_probe 2>&1 | head -1)
case "$s" in "field="*) break;; esac
done
sleep 3
echo "$b $s"
ev shot_cam "big_${b}_${TAG}" | head -1 | cut -c1-40
done
ev arena exit | head -1
sleep 3
unity command editor_stop --project-path "$P" --format json --no-banner 2>&1 | grep -E '"success"' | head -1
sleep 5
st
python "$SP/logscan.py" scan "field-tour-$TAG"