chore: use include to shorten main yaml config

This commit is contained in:
Haoyu Xu
2022-03-29 21:43:44 -04:00
parent 55d03c4f5b
commit a009110df4
14 changed files with 303 additions and 351 deletions

26
config/w.yaml Normal file
View File

@@ -0,0 +1,26 @@
_operator_settings.js:
fallbackImage_height: 2048
fallbackImage_width: 2048
filename: dyn_illust_char_113_cqbw
fps: 60
opacity: 30
viewport_bottom: 1
viewport_left: 3
viewport_right: -3
viewport_top: 0
index.html:
fallback_name: char_113_cqbw_2
id: char_113_cqbw
operator_logo: logo_babel
title: 'Arknights: W - 明日方舟W'
version: ${func:get_version()}
project.json:
description: 'Arknights: W Live 2D\n明日方舟W Live 2D\nThe model is extracted from game with Spine support.\n模型来自游戏内提取支持Spine\nPlease set your FPS target in Wallpaper Engine > Settings > Performance > FPS\n请在 Wallpaper Engine > 设置 > 性能 > FPS 下设置FPS\n\nLive preview on: https://arknights.halyul.dev/w\nGithub: https://github.com/Halyul/aklive2d'
title: ${var:index.html->title}
ui_logo_opacity: ${var:_operator_settings.js->opacity}
ui_logo_ratio: 61.8
ui_operator_logo: 'true'
ui_position_padding_bottom: ${var:_operator_settings.js->viewport_bottom}
ui_position_padding_left: ${var:_operator_settings.js->viewport_left}
ui_position_padding_right: ${var:_operator_settings.js->viewport_right}
ui_position_padding_top: ${var:_operator_settings.js->viewport_top}