UKADOC Project

surfacetable.txt

Overview

A surface definition file intended for use with the “Surface Test” feature in the SSP development palette and other shell-authoring utilities.

Basic syntax

Example

charset,Shift_JIS
version,1
option,DisableNoDefineSurfaces

//==========パーツ==========
group,__disabled
{
    19,__parts
}

//==========クー==========
group,[空]平日
{
    scope,0

    0,素
    1,照れ
    3,不安
    4,はぅー
    5,笑
}

Lines beginning with // are treated as comments and ignored completely.

Indentation with spaces or tabs is allowed.

surfacetable.txt

charset,character encoding

The character encoding to use. This must be specified on the first line of the file.

Shift_JIS

  • SSP
version,numeric value

The version of the surfacetable.txt format. Currently, this can always be 1.

1

  • SSP
option,option 1,option 2,...

Specifies options. Multiple options can be listed, separated by commas.
Currently, only "DisableNoDefineSurfaces" can be specified. It ignores surfaces that have no definition in files such as surfaces.txt and are not explicitly listed in surfacetable.txt.

No behavior

  • SSP
group,group name

Assigns an identifying name to a group of surface name definition lines described below.
Follow it immediately with a line containing only "{" and close it with a line containing only "}".
The group name "__disabled" indicates that the surfaces in the group are unused (they will no longer appear in SSP's Surface Test list).

No behavior

  • SSP
scope,numeric value

The scope number that the group's surfaces primarily belong to.
Write one entry in the group.
Use 0 for the main character, 1 for the partner, and so on.

No behavior

  • SSP
surface ID,name

Assigns an identifying name to a surface ID.
Usually written inside a group.
The first entry written in a group is treated as that group's default surface (for example, 0 for scope,0 and 10 for scope,1).
The name "__parts" indicates that the surface is primarily used as a part, such as in animations or dressup (it is treated as having no name in SSP's Surface Test).
Omitting the name explicitly marks it as undefined. In SSP's Surface Test, only specific surfaces are assigned default values even when unspecified, so use this to clear the setting for such surfaces.

No behavior / In SSP's Surface Test, only certain surfaces have default surface definitions.

  • SSP