feat: port AVA2 native channel dialog and preserve warp endpoint

This commit is contained in:
shen
2026-10-18 17:05:24 -07:00
parent ab516feb7b
commit 708e1c8379
9 changed files with 331 additions and 4 deletions
+6
View File
@@ -303,6 +303,12 @@ def prepare(ava,proto_reader,locale,output,tool,packer,wrap=lambda text:text):
if q.startswith('d:/ymir work/ui/game/track/'):
target=assets/q;target.parent.mkdir(parents=True,exist_ok=True)
if not target.exists():shutil.copy2(files[q],target);copied+=1
# AVA2 native channel dialog and its three selection-button states.
(assets/'uiscript/movechanneldialog.py').write_bytes((pack_maker/'uiscript/uiscript/movechanneldialog.py').read_bytes())
for q in files:
if q.startswith('d:/ymir work/ui/game/myshop_deco/select_btn_'):
target=assets/q;target.parent.mkdir(parents=True,exist_ok=True)
if not target.exists():shutil.copy2(files[q],target);copied+=1
pack_ui_subimages(assets,files)
(output/'items-server.tsv').write_bytes(b'\n'.join(server)+b'\n')
(output/'items-client.tsv').write_bytes(b'\n'.join(client)+b'\n')