UKADOC Project

descript.txt

descript.txt(shell 的)

概要

shell 的基本配置文件。
除了 shell 名称和作者信息外,还在此设置 balloon 的显示位置、owner draw 菜单(右键菜单)的图像,以及 dressup 在 owner draw 菜单中的显示方式等。

也可写入 ghost 的 descript.txt 的项目

本页中标注为“也可写入 ghost 侧的 descript.txt”的项目,也可以用相同格式写入 ghost 的 descript.txt。写在 ghost 侧的项目将成为所有 shell 共用的默认值;如果 shell 的 descript.txt 中有相同项目,则优先使用 shell 侧的值(覆盖默认值)。

编写示例 与基本写法

charset,Shift_JIS
type,shell
name,master

craftman,ukadog
craftmanw,うか犬
craftmanurl,http://ssp.shillest.net/ukadoc/manual/index.html

menu.background.bitmap.filename,menu_background.png
menu.foreground.bitmap.filename,menu_foreground.png
menu.sidebar.bitmap.filename,menu_sidebar.png

sakura.balloon.offsetx,0
sakura.balloon.offsety,80
kero.balloon.offsetx,-20
kero.balloon.offsety,10
sakura.balloon.alignment,none
kero.balloon.alignment,none

sakura.bindgroup0.name,服,エプロンドレス,apron
sakura.bindgroup1.name,リボン,白リボン,ribbonwhite
sakura.bindgroup2.name,服,黒服,black
sakura.bindgroup3.name,リボン,黒リボン,ribbonblack
sakura.bindgroup0.default,1
sakura.bindgroup1.default,1

kero.bindgroup0.name,ネクタイ,ネクタイ
kero.bindgroup1.name,腕章,黒腕章
kero.bindgroup2.name,腕,ドリル
kero.bindgroup0.default,1
kero.bindgroup1.default,1

sakura.menuitem0,2
sakura.menuitem1,3
sakura.menuitem2,-
sakura.menuitem3,0
sakura.menuitem4,1

kero.menuitem0,0
kero.menuitem1,1
kero.menuitem2,-
kero.menuitem3,2

type、name 为必填项。

在 SSP 中,为 shell 设置 homeurl 后,也可以从资源管理器等进行 network update。

关于 dressup 设置的各个项目,请参阅后文各节。
其基本机制是:需要为 surfaces.txt 中定义的、时机为 bind 的 animationID 指定 dressup 名称和 dressup 类别名(sakura(kero).bindgroup*.name,~),并指定其在 owner draw 菜单中的排列位置(sakura(kero).menuitem*,~)。

另外,以 \ 或 % 开头的字符串会被视为 Sakura Script 或环境变量的标签,因安全风险而被丢弃。若要将它们作为普通字符使用,需要分别转义为 \\ 或 \% 等。

charset、字符编码

显示所用的字符编码。若需考虑与旧环境的兼容性,建议使用Shift_JIS;其他情况建议使用UTF-8。

(OS的默认设置或SSP->国际化->省略时的字符编码->文本定义)

  • SSP
  • CROW
name,shell 名称

该 shell 的名称。

不可省略

  • Materia
  • SSP
  • CROW
id,ID名

该shell的ID名。仅限半角英数字。(SSP允许所有字符)
目前除了显示在类似启动时控制台的界面中,没有其他用途。
必须开启SSP的设置-常规-显示透明状态窗口,才能看到。

无值

  • Materia
  • SSP
  • CROW
type,类型

文件集的类型。对于 shell,类型为 shell。

不可省略/对于 SSP,位于 shell 文件夹中的文件会自动识别为 shell

  • Materia
  • SSP
  • CROW
craftman、作者名

该shell的作者名。仅限半角英数字。

无值

  • Materia
  • SSP
  • CROW
craftmanw,作者名

该shell的作者名。

无值

  • Materia
  • SSP
  • CROW
craftmanurl,URL

作者的URL。

无值

  • Materia
  • SSP
  • CROW
homeurl,URL

用于网络更新的URL。

无值

  • SSP
metainfo,URL

存放 shell 信息的 metainfo 文件夹的 URL。格式和含义与 ghost 的 descript.txt 中的 metainfo 相同。
可以通过属性系统的 metainfo 获取其值。

无值

  • SSP2.9.35
githubrepo,URL

shell 的 GitHub 项目 URL。格式和含义与 ghost 的 descript.txt 中的 githubrepo 相同。
可通过属性系统的 githubrepo 获取该值。

无值

  • SSP2.9.35
uuid_base,字符串

用于防止 UUID 冲突的基础字符串。格式和含义与 ghost 的 descript.txt 中的 uuid_base 相同。
可以通过属性系统的 uuid_base 获取其值。

无值

  • SSP2.9.35
readme,文件名

安装时或从菜单打开的 shell 说明文本文件名。

readme.txt

  • Materia
  • SSP
readme.charset,字符编码

说明文本文件的字符编码。

(OS的默认设置或SSP->国际化->省略时的字符编码->readme)

  • SSP2.5.10
sakura.name,名称

本体侧 ghost 的名称。

也可以写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。但是,当 ghost 侧的 name.allowoverride 为 0 时,不使用 shell 侧的设置。

不可省略

  • Materia
  • SSP
  • CROW
sakura.name2,名称

本体侧 ghost 的名称,例如昵称。

也可以写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。但是,当 ghost 侧的 name.allowoverride 为 0 时,不使用 shell 侧的设置。

无值

  • SSP
sakura.friend.name,名称

用作环境变量 %friendname 值的名称。

也可以写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。但是,当 ghost 侧的 name.allowoverride 为 0 时,不使用 shell 侧的设置。

无值

  • SSP
kero.name,名称

搭档侧 ghost 的名称。

也可写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。但当 ghost 侧的name.allowoverride为0时,不使用 shell 侧的设置。

不可省略/在 SSP 中省略时为sakura.name ※用于设置窗口标题

  • Materia
  • SSP
  • CROW
char*.name,名称

\p[*]的名称。

也可写在 ghost 侧的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。但当 ghost 侧的name.allowoverride为0时,不使用 shell 侧的设置。

可省略。 ※用于设置窗口标题

  • SSP2.6.66
sakura.seriko.defaultsurface,数值

主体侧 ghost 的默认 surface 编号。

也可写在 ghost 侧的 descript.txt 中。如果 shell 侧已指定,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

0

  • SSP
kero.seriko.defaultsurface,数值

搭档侧 ghost 的默认 surface 编号。

也可写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

10

  • SSP
char*.seriko.defaultsurface,数值

\p[*]的 ghost 的默认 surface 编号。

也可写在 ghost 侧的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

10

  • SSP
balloon.defaultsurface,数值

balloon 的默认 surface 编号。所有角色共用。
通过sakura.balloon.defaultsurface、kero.balloon.defaultsurface、char*.balloon.defaultsurface为各角色指定时,优先使用各角色的设置(无论是在 ghost 侧还是 shell 侧指定)。

也可以写在 ghost 侧的 descript.txt 中。如果 shell 侧有此设置,则优先使用 shell 侧的值,否则使用 ghost 侧的值。

0

  • SSP
sakura.balloon.defaultsurface,数值

本体侧 balloon 的默认 surface 编号。

也可以写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

0

  • SSP
kero.balloon.defaultsurface,数值

搭档侧 balloon 的默认 surface 编号。

也可写入 ghost 侧的 descript.txt。如果 shell 侧有此项,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

0

  • SSP
char*.balloon.defaultsurface,数值

\p[*]的 balloon 的默认 surface 编号。

也可以写在 ghost 侧的 descript.txt 中。如果 shell 侧有此设置,则优先使用 shell 侧的值,否则使用 ghost 侧的值。

0

  • SSP
seriko.zorder,scope ID,scope ID,...

\![set,zorder,スコープID,スコープID,...]的 descript 版。无需执行标签即可预先设置。

也可使用 front 和 back 写法(SSP 2.9.35 及以后版本)。由于 descript.txt 中只能写一行,因此 front 和 back 要连续写在同一行中。
例:seriko.zorder,front,0 → 将 \0 置于最前面。
例:seriko.zorder,back,0,front,2,1 → 将 \0 置于最后面,并按 \p[2]、\p[1] 的顺序向最前面排列。

也可写在 ghost 侧的 descript.txt 中。如果 shell 侧已指定,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

无值

  • SSP2.4/2.9.35(front、back 写法)
seriko.sticky-window,scope ID,scope ID,...

\![set,sticky-window,スコープID,スコープID,...]的 descript 版。无需执行标签即可预先设置。

也可写在 ghost 侧的 descript.txt 中。如果 shell 侧已指定,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

无值

  • SSP2.4
seriko.dpi,推荐DPI

此 shell 推荐的屏幕 DPI 值。如果未指定,则固定为 Windows 标准值 96。
建议在创建 shell 的环境中,查看 Windows 设置的“系统-显示-缩放”,并根据下表选择对应的值。

  • 100% - 96
  • 125% - 120
  • 150% - 144
  • 175% - 168
  • 200% - 192

参考:4K 显示器使用 144(150%),较新的笔记本电脑使用 120-144(125-150%)

也可写在 ghost 侧的 descript.txt 中。如果 shell 侧已指定,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

96

  • SSP2.7.21
seriko.alignmenttodesktop,位置信息

所有 surface 的默认※显示位置信息。
优先级高于 ghost 侧的指定,低于 shell 侧的单独指定(如 sakura.seriko.alignmenttodesktop)。
※ghost 侧全局指定<ghost 侧 scope 单独指定<此项<shell 侧 scope 单独指定

也可写在 ghost 侧的 descript.txt 中。如果 shell 侧已指定,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

bottom

  • SSP
  • CROW
sakura.seriko.alignmenttodesktop,位置信息

主体侧的默认※显示位置信息。
优先级高于 shell 侧的全局指定(seriko.alignmenttodesktop),即在所有 alignmenttodesktop 系列指定中优先级最高。
※ghost 侧全局指定<ghost 侧 scope 单独指定<shell 侧全局指定<此项

也可写在 ghost 侧的 descript.txt 中。如果 shell 侧已指定,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

无值

  • SSP
kero.seriko.alignmenttodesktop,位置信息

搭档侧的默认※显示位置信息。
优先级高于 shell 侧的全局设置(seriko.alignmenttodesktop)。即在所有 alignmenttodesktop 相关设置中优先级最高。
※ghost 侧全局设置<ghost 侧各 scope 设置<shell 侧全局设置<此设置

也可写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

无值

  • SSP
char*.seriko.alignmenttodesktop,位置信息

第2个及之后的搭档侧的默认※显示位置信息。
优先级高于 shell 侧的全局设置(seriko.alignmenttodesktop),即在所有 alignmenttodesktop 类设置中优先级最高。
※ghost 侧全局设置<ghost 侧 scope 单独设置<shell 侧全局设置<此项

也可写在 ghost 侧的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

无值

  • SSP
sakura.defaultx,X坐标

本体侧(\0)默认位置的 X 坐标。将 surface 的基准点(通常是 surface 的底部中央)放在此位置。[2.9.13]
值的格式和含义(单位、坐标系、负值、-- 的处理方式及无效条件)与 SHIORI 资源的 sakura.defaultx 相同。
优先级为 SHIORI 资源>shell 侧的 descript.txt(此项)>ghost 侧的 descript.txt。
如果同一 descript.txt 中也设置了 sakura.defaultleft,则优先使用此项(defaultx)。

也可以写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

无值(本体侧放在主显示器工作区域的右下角)

  • SSP
kero.defaultx,X坐标

搭档侧(\1)默认位置的X坐标。与sakura.defaultx相同。[2.9.13]

也可写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

无值(放置在主体侧的左边)

  • SSP
char*.defaultx,X坐标

第 * 个角色(\p[*])默认位置的 X 坐标。与sakura.defaultx相同。[2.9.13]

也可以写在 ghost 侧的 descript.txt 中。如果 shell 侧有此设置,则优先使用 shell 侧的值,否则使用 ghost 侧的值。

无值(放在前一个角色的左侧)

  • SSP
sakura.defaulty,Y坐标

本体侧(\0)默认位置的 Y 坐标。将 surface 的基准点(通常是 surface 的底部中央)放在此位置。[2.9.13]
值的格式和含义(单位、坐标系、负值、-- 的处理方式及无效条件)与 SHIORI 资源的 sakura.defaulty 相同。
优先级为 SHIORI 资源>shell 侧的 descript.txt(此项)>ghost 侧的 descript.txt。
如果同一 descript.txt 中也设置了 sakura.defaulttop,则优先使用此项(defaulty)。

也可以写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

无值(本体侧放在工作区域的下边缘)

  • SSP
kero.defaulty,Y坐标

搭档侧(\1)默认位置的Y坐标。与sakura.defaulty相同。[2.9.13]

也可写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

无值(与主体侧放置在相同高度)

  • SSP
char*.defaulty,Y坐标

第 * 个角色(\p[*])默认位置的 Y 坐标。与sakura.defaulty相同。[2.9.13]

也可以写在 ghost 侧的 descript.txt 中。如果 shell 侧有此设置,则优先使用 shell 侧的值,否则使用 ghost 侧的值。

无值(放在与前一个角色相同的高度)

  • SSP
sakura.defaultleft,X坐标

本体侧(\0)默认位置的 X 坐标。将角色窗口的左边缘放在此位置。
值的格式和含义(单位、坐标系、负值、-- 的处理方式及无效条件)与 SHIORI 资源的 sakura.defaultleft 相同。负值表示距右边缘的间距。[2.9.13]
优先级为 SHIORI 资源>shell 侧的 descript.txt(此项)>ghost 侧的 descript.txt。如果同一 descript.txt 中也设置了 sakura.defaultx,则优先使用该值。

也可以写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

无值(本体侧放在主显示器工作区域的右下角)

  • SSP
kero.defaultleft,X坐标

搭档侧(\1)默认位置的X坐标。与sakura.defaultleft相同。

也可写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

无值(放置在主体侧的左边)

  • SSP
char*.defaultleft,X坐标

第 * 个角色(\p[*])默认位置的 X 坐标。与sakura.defaultleft相同。

也可以写在 ghost 侧的 descript.txt 中。如果 shell 侧有此设置,则优先使用 shell 侧的值,否则使用 ghost 侧的值。

无值(放在前一个角色的左侧)

  • SSP
sakura.defaulttop,Y坐标

本体侧(\0)默认位置的 Y 坐标。将角色窗口的上边缘放在此位置。
值的格式和含义(单位、坐标系、负值、-- 的处理方式及无效条件)与 SHIORI 资源的 sakura.defaulttop 相同。负值表示距下边缘的间距。[2.9.13]
仅在设置为不沿上边缘或下边缘排列时有效,例如 seriko.alignmenttodesktop 为 free 时。
优先级为 SHIORI 资源>shell 侧的 descript.txt(此项)>ghost 侧的 descript.txt。如果同一 descript.txt 中也设置了 sakura.defaulty,则优先使用该值。

也可以写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

无值(本体侧放在工作区域的下边缘)

  • SSP
kero.defaulttop,Y坐标

搭档侧(\1)默认位置的Y坐标。与sakura.defaulttop相同。

也可写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

无值(与主体侧放置在相同高度)

  • SSP
char*.defaulttop,Y坐标

第 * 个角色(\p[*])默认位置的 Y 坐标。与sakura.defaulttop相同。

也可以写在 ghost 侧的 descript.txt 中。如果 shell 侧有此设置,则优先使用 shell 侧的值,否则使用 ghost 侧的值。

无值(放在与前一个角色相同的高度)

  • SSP
don't need onmousemove,数值

设为1时停止发送 OnMouseMove。

也可使用别名disable.onmousemove(仅限 SSP)。

也可写在 ghost 侧的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

0

  • Materia
  • SSP
don't need bind,数值

设为1时禁用 dressup。

也可使用别名disable.bind(仅限 SSP)。

也可写在 ghost 侧的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

0

  • Materia
  • SSP
don't need seriko talk,数值

设为1时禁用 SERIKO talk 方法(口型动画)功能。

也可使用别名disable.seriko.talk(仅限 SSP)。

也可写在 ghost 侧的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

0

  • Materia
  • SSP
balloon.dontmove,true

关闭 balloon 位置调整的默认设置。

也可以写在 ghost 侧的 descript.txt 中。如果 shell 侧有此设置,则优先使用 shell 侧的值,否则使用 ghost 侧的值。

false

  • SSP
balloon.syncscale,true

强制启用 balloon 缩放率与 ghost 的联动(仅 true 有效)。
由于会妨碍用户操作,请勿滥用。

也可以写在 ghost 侧的 descript.txt 中。如果 shell 侧有此设置,则优先使用 shell 侧的值,否则使用 ghost 侧的值。

false

  • SSP2.7 RC1
cursor,文件名 / mousecursor,文件名

用于 ghost 可操作部分的光标(手指)。从 SSP 2.5.41 起可写作 mousecursor。

也可写在 ghost 侧的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

OS 中设置的光标(手指) (system:finger)

  • Materia
  • SSP
  • CROW
mousecursor.text,文件名

用于 ghost 输入框的光标(I-BEAM)。

也可以写在 ghost 的 descript.txt 中。如果 shell 中有此设置,则优先使用 shell 的值;否则使用 ghost 的值。

OS 设置的光标(I 形) (system:text)

  • SSP2.5.41
mousecursor.wait,文件名

ghost 正在处理某项任务而无法响应时使用的光标(手表形)。

也可以写在 ghost 的 descript.txt 中。如果 shell 中有此设置,则优先使用 shell 的值;否则使用 ghost 的值。

OS 设置的光标(手表) (system:wait)

  • SSP2.5.43
mousecursor.hand,文件名

指示 ghost 可抓取部分的光标(张手形)。通常在 Bust 碰撞判定区域自动使用。

也可以写在 ghost 的 descript.txt 中。如果 shell 中有此设置,则优先使用 shell 的值;否则使用 ghost 的值。

手形光标 (system:hand)

  • SSP2.6.11
mousecursor.grip,文件名

指示抓住 ghost 可抓取部分的状态的光标(握拳形)。通常在 Bust 碰撞判定区域按住鼠标按钮时自动使用。

也可以写在 ghost 的 descript.txt 中。如果 shell 中有此设置,则优先使用 shell 的值;否则使用 ghost 的值。

握拳光标 (system:grip)

  • SSP2.6.11
mousecursor.arrow,文件名

指示 ghost 不可操作部分的光标(箭头)。

也可以写在 ghost 的 descript.txt 中。如果 shell 中有此设置,则优先使用 shell 的值;否则使用 ghost 的值。

箭头光标 (system:arrow)

  • SSP2.6.11
balloon,balloon名称

此shell的默认balloon名称。切换到此shell时,它是候选balloon之一。
切换目标balloon按以下顺序确定,越靠上优先级越高。

  1. 如果用户在使用此shell期间曾切换过balloon,则使用该balloon
  2. ghost侧的recommended.balloon(推荐balloon)
  3. 此shell的默认balloon(本项)
  4. ghost侧的balloon(默认balloon)

如果均未指定,切换shell时balloon不会改变。
如果按第2~4项确定的balloon与当前使用的balloon不同,则切换到该balloon。
第1项的历史记录按shell分别保存。除了通过菜单等方式切换,使用 \![change,balloon,...] 切换也会计入历史记录。仅因遵循默认或推荐设置而自动切换不会计入历史记录,重新加载balloon或重置设置也不会增加历史记录(重置设置会清除历史记录)。
如果指定了多个,则使用最先找到的balloon(先处理default.balloon.path的指定)。

ghost的descript设置

  • SSP
default.balloon.path,路径

此shell的默认balloon的相对路径。其处理方式与balloon相同,切换目标balloon的确定顺序等也参见balloon。
ghost侧的descript.txt中的default.balloon.path作为ghost侧的默认balloon使用,优先级低于shell侧的指定。

ghost的descript设置

  • SSP
sakura.balloon.offsetx,坐标

本体侧 balloon 位置的 X 坐标。
在 offsetx / offsety 后附加一个表示方向的字符,可以根据 balloon 的显示位置使用不同的值(仅 SSP)。

offsetx / offsety
不指定方向。未设置以下项目时使用的默认值。
offsetxl / offsetyl
在 shell 左侧显示 balloon 时使用。
offsetxr / offsetyr
在 shell 右侧显示 balloon 时使用。
offsetxc / offsetyc
在 shell 头顶或脚下显示 balloon 时使用。这两种居中情况共用。
offsetxb / offsetyb
在 shell 脚下显示 balloon 时使用。当头顶和脚下需要使用不同的值时使用。

未设置时使用的值如下。X 坐标和 Y 坐标分别独立确定。

没有 offsetxb 时
按 offsetxc → offsetx 的顺序查找。
没有 offsetxc / offsetxl / offsetxr 时
使用 offsetx。

显示在哪个位置由 balloon 的 descript.txt 中的 windowposition.x、shell 的 sakura.balloon.alignment 和 Sakura Script 的 \![set,balloonalign,ID] 决定。

注意正负号。X 坐标的正方向在所有情况下都是靠近 shell 的方向,显示在左侧时向右为正,显示在右侧时向左为正(头顶和脚下时向右为正)。Y 坐标始终向下为正。
但零点(基准)因方向而异。左右两侧的零点是 balloon 上边缘与 shell 图像上边缘对齐的位置;头顶的零点是 balloon 下边缘与 shell 图像上边缘相接的位置;脚下的零点是 balloon 上边缘与 shell 图像下边缘相接的位置。

也可以写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

无值

  • Materia
  • SSP
  • CROW
sakura.balloon.offsety,坐标

本体侧 balloon 位置的 Y 坐标。
有关在末尾附加表示方向的字符(l / r / c / b)的写法,请参阅 sakura.balloon.offsetx。

也可以写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

无值

  • Materia
  • SSP
  • CROW
kero.balloon.offsetx,坐标

搭档侧 balloon 位置的X坐标。
关于在末尾附加表示方向的单个字符(l / r / c / b)的写法,参见sakura.balloon.offsetx。

也可写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

无值

  • Materia
  • SSP
  • CROW
kero.balloon.offsety,坐标

搭档侧 balloon 位置的Y坐标。
关于在末尾附加表示方向的单个字符(l / r / c / b)的写法,参见sakura.balloon.offsetx。

也可写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

无值

  • Materia
  • SSP
  • CROW
char*.balloon.offsetx,坐标

\p[*]的 balloon 位置的 X 坐标。char0与sakura、char1与kero的指定方式相同。
坐标的含义以及在后面附加一个表示方向的字符(l / r / c / b)的写法,与sakura.balloon.offsetx相同。

也可以写在 ghost 侧的 descript.txt 中。如果 shell 侧有此设置,则优先使用 shell 侧的值,否则使用 ghost 侧的值。

无值

  • SSP
char*.balloon.offsety,坐标

\p[*]的 balloon 位置的 Y 坐标。
在后面附加一个表示方向的字符(l / r / c / b)的写法,参见char*.balloon.offsetx。

也可以写在 ghost 侧的 descript.txt 中。如果 shell 侧有此设置,则优先使用 shell 侧的值,否则使用 ghost 侧的值。

无值

  • SSP
sakura.balloon.alignment,位置信息

本体侧对话气泡的※位置信息。

也可以写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

无值

  • Materia
  • SSP
  • CROW
kero.balloon.alignment,位置信息

搭档侧 balloon 的※位置信息。

也可写入 ghost 侧的 descript.txt。如果 shell 侧有此项,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

无值

  • Materia
  • SSP
  • CROW
char*.balloon.alignment,位置信息

\p[*]的对话框的※位置信息。char0与sakura、char1与kero的指定方式相同。

也可以写在 ghost 侧的 descript.txt 中。如果 shell 侧有此设置,则优先使用 shell 侧的值,否则使用 ghost 侧的值。

无值

  • SSP
sakura.balloon.dontmove,数值

禁止用户移动本体侧的对话气泡。设为 1(或 true)时禁止。
由于会妨碍用户操作,请勿滥用。

也可以写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

balloon.dontmove 的设置

  • SSP2.4.96
kero.balloon.dontmove,数值

禁止用户移动搭档侧的 balloon。设为1(或true)时禁止。

也可写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

balloon.dontmove的设置

  • SSP2.4.96
char*.balloon.dontmove,数值

禁止用户移动第二个及后续角色的对话框。设为 1(或 true)时禁止。

也可以写在 ghost 侧的 descript.txt 中。如果 shell 侧有此设置,则优先使用 shell 侧的值,否则使用 ghost 侧的值。

balloon.dontmove的设置

  • SSP2.4.96
sakura.balloon.syncscale,true

强制开启本体侧 balloon 缩放比例与 ghost 的同步(仅 true 有效)。
由于会妨碍用户操作,请勿滥用。

也可以写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

balloon.syncscale 的设置

  • SSP2.7 RC1
kero.balloon.syncscale,true

强制开启搭档侧 balloon 缩放比例与 ghost 的联动(仅true有效)。

也可写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

balloon.syncscale的设置

  • SSP2.7 RC1
char*.balloon.syncscale,true

强制启用第二个及后续角色的 balloon 缩放率与 ghost 的联动(仅 true 有效)。

也可以写在 ghost 侧的 descript.txt 中。如果 shell 侧有此设置,则优先使用 shell 侧的值,否则使用 ghost 侧的值。

balloon.syncscale的设置

  • SSP2.7 RC1
shiori.logo.file,文件名

用作 AI 图表背景的图像文件名。
显示多个图表时,加载在扩展名前加上数字的文件。
例:指定 aigraph.png 时,加载 aigraph0.png、aigraph1.png…
图像尺寸为 288x288px 时可填满图表绘制区域。
深色模式下使用文件名末尾另加 _dark 的文件。以上例而言,即 aigraph0_dark.png。如果不存在,则固定显示浅色模式。

也可写在 ghost 侧的 descript.txt 中。如果 shell 侧已指定,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

ai.png(ai0.png、ai1.png…/ai0_dark.png、ai1_dark.png…),如果不存在则使用 baseware 的标准背景

  • Materia 废止规格
  • SSP多个指定从 2.4.26 起支持,深色模式从 2.8.56 起支持
shiori.logo.x,X坐标

显示用作 AI 图表背景的图像文件的 X 坐标。
另请参阅 shiori.logo.align。

也可写在 ghost 侧的 descript.txt 中。如果 shell 侧已指定,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

0

  • Materia 废止规格
  • SSP
shiori.logo.y,Y坐标

显示用作 AI 图表背景的图像文件的 Y 坐标。
另请参阅 shiori.logo.align。

也可写在 ghost 侧的 descript.txt 中。如果 shell 侧已指定,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

0

  • Materia 废止规格
  • SSP
shiori.logo.align,位置信息

指定由 shiori.logo.x,y 指定的坐标的基准点。通常为左上角。
可指定左上(lefttop)、左下(leftbottom)、右上(righttop)、右下(rightbottom)。

也可写在 ghost 侧的 descript.txt 中。如果 shell 侧已指定,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

lefttop(以左上角为基准)

  • Materia 废止规格
  • SSP
sakura.bindgroup*.name,类别名,部件名,缩略图名

为动画ID*对应的部件定义类别名和部件名。(本体侧)
动画ID是surfaces.txt中动画定义「animation*.interval,bind」里*所对应的数字。
要在owner draw菜单的dressup菜单中显示,必须设置此项。
使用Sakura Script的\![bind,カテゴリ名,パーツ名,数値]进行操作时也必须设置此项。(仅限SSP)

无操作

  • Materia
  • SSP
sakura.bindgroup*.default,数值

指定是否从一开始就显示动画ID*对应的dressup。设为1时显示,设为0时隐藏。(本体侧)

0

  • Materia
  • SSP
sakura.bindgroup*.addid,ID

设置同时执行的dressup。动画ID*对应的dressup启用(显示)时,也同时启用作为addid指定的dressup。可以用逗号分隔指定多个。
同时执行的dressup会在其来源dressup禁用时一并禁用。如果多个dressup将同一个dressup指定为addid并同时执行,那么在所有来源dressup都禁用之前,同时执行的dressup也不会禁用。(本体侧)

无操作

  • SSP
sakura.bindoption*.group,类别名,选项

为该dressup类别设置选项。*只是从0开始的连续编号(本体侧)。
mustselect表示必须选择一个部件,multiple表示可以选择多个部件。
可以用+分隔指定多个选项。

可以取消选择,不可多选

  • SSP
sakura.menuitem*,ID

在dressup菜单的*位置显示动画ID对应的dressup。*是从0开始的连续编号。(本体侧)
如果指定「-」而非ID,则在该位置显示分隔线。

无操作

  • Materia
  • SSP
sakura.menuitemex*,菜单名,ID

在dressup菜单的*位置,以「菜单名」作为层级名,在其下显示动画ID对应的dressup。*是从0开始的连续编号。(本体侧)
如果指定「-」而非ID,则在该位置显示分隔线。

无操作

  • Materia
  • SSP
sakura.menu,auto或hidden

shell的本体侧dressup菜单的显示方式。
auto表示自动显示,hidden表示隐藏。

无操作(手动设置)

  • SSP
kero.bindgroup*.name,类别名称,部件名称,缩略图名称

为第*个动画ID的部件定义类别名称和部件名称。(搭档侧)
动画ID对应于surfaces.txt中动画定义「animation*.interval,bind」里的数字*。
要在owner draw菜单的dressup选项中显示,必须设置此项。
使用Sakura Script的\![bind,カテゴリ名,パーツ名,数値]进行操作时也必须设置此项。(仅SSP)

不执行任何操作

  • Materia
  • SSP
kero.bindgroup*.default,数值

设置是否从一开始就显示第*个动画ID的dressup。设为1时显示,设为0时隐藏。(搭档侧)

0

  • Materia
  • SSP
kero.bindgroup*.addid,ID

dressup同时执行设置。当第*个动画ID的dressup启用(显示)时,也同时启用指定为addid的dressup。可用逗号分隔指定多个。
同时执行中的dressup会在其来源dressup禁用时一并禁用。如果多个dressup同时将同一个dressup指定为addid,那么只有在所有来源dressup都禁用后,被同时执行的dressup才会禁用。(搭档侧)

不执行任何操作

  • SSP
kero.bindoption*.group,类别名称,选项

为该dressup类别设置选项。*只是从0开始递增的编号(搭档侧)。
mustselect表示必须选择一个部件,multiple表示可以选择多个部件。
可用+分隔指定多个选项。

可以取消选择,不可多选

  • SSP
kero.menuitem*,ID

在dressup菜单的第*个位置显示该动画ID对应的dressup。*是从0开始递增的编号。(搭档侧)
指定「-」代替ID时,会在该位置显示分隔线。

不执行任何操作

  • Materia
  • SSP
kero.menuitemex*,菜单名称,ID

在dressup菜单的第*个位置,以「菜单名称」显示的层级为下级,显示该动画ID对应的dressup。*是从0开始递增的编号。(搭档侧)
指定「-」代替ID时,会在该位置显示分隔线。

不执行任何操作

  • SSP
kero.menu,auto或hidden

Shell的搭档侧dressup菜单的显示设置。
auto表示自动显示,hidden表示隐藏。

不执行任何操作(手动设置)

  • SSP
char*.bindgroup*.name,类别名,部件名,缩略图名

为动画 ID 为 * 的部件定义类别名和部件名。(第 3 人及之后)
动画 ID 是 surfaces.txt 中动画定义“animation*.interval,bind”的 * 所对应的数字。
要在 owner draw 菜单的 dressup 中显示,必须设置此项。
使用 Sakura Script 的\![bind,类别名,部件名,数值]进行操作时也必须设置此项。(仅 SSP)

无行为

  • SSP
char*.bindgroup*.default,数值

设置动画 ID 为 * 的 dressup 部件是否从一开始就显示。设为 1 时显示,设为 0 时隐藏。(第 3 人及之后)

0

  • SSP
char*.bindgroup*.addid,ID

设置 dressup 的同时执行。当动画 ID 为 * 的 dressup 启用(显示)时,也同时启用 addid 指定的 dressup。可以用逗号分隔指定多个。
同时执行的 dressup 会在作为触发源的 dressup 停用时停用。如果多个 dressup 将同一个 dressup 指定为 addid 并同时执行,那么只有在所有作为触发源的 dressup 都停用后,该同时执行的 dressup 才会停用。(第 3 人及之后)

无行为

  • SSP
char*.bindoption*.group,类别名,选项

为该 dressup 类别设置选项。*只是从 0 开始的连续编号(第 3 人及之后)。
mustselect 表示必须选择一个部件,multiple 表示可以选择多个部件。
可以用 + 分隔指定多个选项。

可以取消选择,不可多选

  • SSP
char*.menuitem*、ID

在dressup菜单中*所对应的位置显示该动画ID的dressup。*是从0开始的连续编号。(第三个及之后的角色)
指定“-”代替ID时,会在该位置显示分隔线。

不执行任何操作

  • SSP
char*.menuitemex*、菜单名、ID

在dressup菜单中*所对应的位置,将该动画ID的dressup显示在名为“菜单名”的层级下。*是从0开始的连续编号。(第三个及之后的角色)
指定“-”代替ID时,会在该位置显示分隔线。

不执行任何操作

  • SSP
char*.menu、auto或hidden

显示shell中第三个及之后角色的dressup菜单。
auto表示自动显示,hidden表示隐藏。

不执行任何操作(手动设置)

  • SSP
seriko.paint_transparent_region_black,数值

设置颜色为图像透明色(图像左上角的颜色),但按透明度值判断并非透明的区域的显示方式。
为 0 时,以指定的透明度显示图像原本的颜色(透明色)。
为 1 时,先用黑色代替图像颜色填充,再以指定的透明度显示。
例如,指定 0 并为图像准备全白的 pna 时,图像将按原样显示,没有透明色。

也可写在 ghost 侧的 descript.txt 中。如果 shell 侧已指定,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

未指定(使用 pna 作为透明度的图像按 1 处理,使用图像自身 alpha 通道作为透明度的图像按 0 处理)

  • SSP
seriko.use_self_alpha,值

指定 1 或 true 时,对有透明度的图像(带 alpha 通道的 PNG)以及有 .pna 的图像,使用 alpha 通道作为透明度。若 alpha 通道和 .pna 均不存在,则沿用以图像左上角颜色为键色的传统行为。
指定 full 时,除上述行为外,还将所有没有 alpha 通道的图像视为不透明(不对左上角的键色进行透明处理)。

也可写在 ghost 侧的 descript.txt 中。如果 shell 侧已指定,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

0

  • SSP
seriko.force_disable_crossfade,值

指定 1 或 true 时,强制禁用切换 surface 时的交叉淡化效果。

也可写在 ghost 侧的 descript.txt 中。如果 shell 侧已指定,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

0

  • SSP2.8.43
sakura.icon.frame.color.r,数值

本体侧图标(面部缩略图)显示在回溯记录(发言历史)窗口中时,其边框的红色分量(0~255)。※注意

也可以写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

无值

  • SSP2.8.53
sakura.icon.frame.color.g,数值

本体侧图标(面部缩略图)显示在回溯记录(发言历史)窗口中时,其边框的绿色分量(0~255)。※注意

也可以写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

无值

  • SSP2.8.53
sakura.icon.frame.color.b,数值

本体侧图标(面部缩略图)显示在回溯记录(发言历史)窗口中时,其边框的蓝色分量(0~255)。※注意

也可以写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

无值

  • SSP2.8.53
kero.icon.frame.color.r,数值

搭档侧的图标(面部缩略图)显示在日志(发言历史)窗口中时,边框颜色的红色分量(0~255)。※注意

也可写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

无值

  • SSP2.8.53
kero.icon.frame.color.g,数值

搭档侧的图标(面部缩略图)显示在日志(发言历史)窗口中时,边框颜色的绿色分量(0~255)。※注意

也可写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

无值

  • SSP2.8.53
kero.icon.frame.color.b,数值

搭档侧的图标(面部缩略图)显示在日志(发言历史)窗口中时,边框颜色的蓝色分量(0~255)。※注意

也可写在 ghost 的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

无值

  • SSP2.8.53
char*.icon.frame.color.r,数值

第2个及之后的搭档侧图标(面部缩略图)显示在积压日志(发言历史)窗口时,边框的红色分量(0~255)。※注意

也可写在 ghost 侧的 descript.txt 中。如果 shell 侧有设置,则优先使用 shell 侧的值;否则使用 ghost 侧的值。

无值

  • SSP2.8.53
char*.icon.frame.color.g,数值

第二个及后续搭档角色的图标(面部缩略图)显示在记录(发言历史)窗口中时,边框的绿色分量(0~255)。※注意

也可以写在 ghost 侧的 descript.txt 中。如果 shell 侧有此设置,则优先使用 shell 侧的值,否则使用 ghost 侧的值。

无值

  • SSP2.8.53
char*.icon.frame.color.b,数值

第二个及后续搭档角色的图标(面部缩略图)显示在记录(发言历史)窗口中时,边框的蓝色分量(0~255)。※注意

也可以写在 ghost 侧的 descript.txt 中。如果 shell 侧有此设置,则优先使用 shell 侧的值,否则使用 ghost 侧的值。

无值

  • SSP2.8.53

补充

surface 的位置信息

top
固定显示在顶部。
bottom
固定显示在底部。
free
自由移动。
osuwari,选项,…
[SSP 2.9.33] 跟随其他窗口或屏幕的矩形区域(坐下)。选项使用与\![set,alignmenttodesktop,osuwari,…]相同的--名称=值,并以逗号分隔排列。例如:sakura.seriko.alignmenttodesktop,osuwari,--target=active,--origin=tr,--x=-20,--y=-90,--xmove,--area=workarea,--side=bottom

balloon 的位置信息

none
自动调整;如果 shell 的 Y 坐标位于屏幕中央左侧,则显示在右侧;如果在右侧,则显示在左侧。
left
始终显示在左侧。
right
始终显示在右侧。

菜单图像的位置指定

指定格式为:对齐方向之一+重复(平铺)设置。
例如:lefttop
例如:leftbottom+repeat-x+repeat-y

lefttop
[background/foreground]对齐左上角。
centertop
[background/foreground]对齐上边缘中央。 [SSP]
righttop
[background/foreground]对齐右上角。
leftbottom
[background/foreground]对齐左下角。 [SSP]
centerbottom
[background/foreground]对齐下边缘中央。 [SSP]
rightbottom
[background/foreground]对齐右下角。 [SSP]
top
[sidebar]对齐上边缘。
bottom
[sidebar]对齐下边缘。
+repeat-x
[background/foreground]沿水平方向重复(平铺)显示图像。 [SSP 2.5.39]
+repeat-y
[background/foreground/sidebar]沿垂直方向重复(平铺)显示图像。 [SSP 2.5.39]

关于图标边框颜色的亮度调整

通过sakura(kero/char*).icon.frame.color.(r/g/b)指定的颜色,不会原样用作回放记录(发言历史)窗口的边框颜色。
显示时会根据窗口的UI配色(例如深色模式/浅色模式),进行提高或降低亮度的运算。
因此,最好指定尽可能接近纯色、没有杂色的值。(例如:想要红色时,指定RGB=255,0,0等)