UKADOC Project

descript.txt

descript.txt (ghost)

Overview

The ghost's basic configuration file.
It can configure various information, including the ghost and author names, SHIORI settings, default balloon positions, and icons.

Settings that can be overridden by the shell's descript.txt

Settings shared with the shell's descript.txt (sakura.name / kero.name, owner draw menu images and colors, balloon and character positions, surface position information, mouse cursors, don't need ..., shiori.logo.*, etc.) can also be written in the ghost's descript.txt.
Settings in the ghost file become defaults for the entire ghost. If the same setting exists in the shell's descript.txt, the shell setting takes precedence and overrides it.
These settings are listed under Shell settings, not on this page. Applicable settings are marked as also available in the ghost's descript.txt.

Example and basic usage

charset,Shift_JIS
type,ghost
name,凡例さん
sakura.name,凡例さん
kero.name,斑糲岩
homeurl,http://ssp.shillest.net/ukadoc/manual/hogehoge/example/

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

shiori,satori.dll

type, name, sakuraname, keroname, craftman, and craftmanw are required (some may be omitted in SSP).

When using a SHIORI such as Satori whose DLL is not named "shiori.dll", remember to specify the DLL name in shiori.

In addition to writing homeurl in descript.txt, it can be set by returning it in response to a SHIORI Resource request from the baseware (the method depends on the SHIORI and is omitted here).
Generally, specifying it in either place is sufficient. If it is specified in both, take care not to forget to update one of them when the site moves.

Strings beginning with \ or % are treated as Sakura Script or environment variable tags and discarded due to security risks. To include them as literal characters, escape them as \\ or \%, respectively.

charset,Character encoding

Character encoding to use for display. Shift_JIS is recommended for compatibility with older environments; otherwise, UTF-8 is recommended.

(OS default setting or SSP->Internationalization->Default character encoding->Text definition)

  • SSP
  • CROW
name,Ghost name

The name of the ghost.

Cannot be omitted

  • Materia
  • SSP
  • CROW
type,Type

The type of file set. For a ghost, this is ghost.

Required / In SSP, a descript.txt in ghost/master is identified as ghost

  • Materia
  • SSP
  • CROW
craftman,Author name

Author name of the ghost. ASCII alphanumeric characters only.

Required/No value in SSP

  • Materia
  • SSP
  • CROW
craftmanw,Author name

Author name of the ghost.

Required/No value in SSP

  • Materia
  • SSP
  • CROW
id,ID name

ID name of the ghost. ASCII alphanumeric characters only. (SSP allows all characters.)
At present, it is only used in displays such as the console shown at startup.
In SSP, it is visible only when Settings - General - Enable transparent status display window is turned ON.

No value

  • Materia
  • SSP
  • CROW
title,Display name

The name displayed instead of the ID in this ghost's startup log. ASCII alphanumeric characters only.
In SSP, this is effective only in startup log display mode.

No value

  • Materia
  • SSP
  • CROW
craftmanurl,URL

Author's URL.

No value

  • Materia
  • SSP
  • CROW
homeurl,URL

URL for network updates.
While the ghost is running, the SHIORI-side definition takes precedence. For updates from Explorer or calls via the property system, this setting takes precedence (to avoid the cost of loading SHIORI).
Be sure to include a trailing / in the URL.

No value

  • SSP
metainfo,URL

The URL of the metainfo folder containing information about the ghost. This is one of the entries that metainfo-standard recommends writing in the ghost's descript.txt as well.
Ghosts with a metainfo folder should specify its URL here so that applications can locate the folder from the ghost and calculate the UUID without network access.
The UUID is generated from the URL string itself. Adding or removing the trailing / or otherwise changing the URL changes the UUID.

metainfo,https://raw.githubusercontent.com/Taromati2/Taromati2/master/.ukagaka/

This may be specified alongside githubrepo. If both are present, metainfo takes precedence.
SSP does not access the metainfo folder; it only retains the specified value. The value can be retrieved through metainfo in the property system.

No value

  • SSP2.9.35
githubrepo,URL

The URL of the ghost's GitHub project. This is one of the entries that metainfo-standard recommends adding to the ghost's descript.txt as well.
It has the same effect as metainfo, and both may be specified. If both are present, metainfo takes precedence.

githubrepo,https://github.com/Taromati2/Taromati2

In metainfo-standard, the metainfo folder of a ghost that specifies only githubrepo is assumed to be at https://github.com/<owner>/<repo>/tree/<default-branch>/.ukagaka.
SSP does not make a network request to determine the default branch, so when calculating the UUID, it assumes the default branch is master and uses https://raw.githubusercontent.com/<owner>/<repo>/master/.ukagaka/ as the metainfo folder URL.
For repositories whose default branch is not master, the UUID calculated by SSP may differ from the UUID expected by an application. Such ghosts should also specify metainfo.

The value can be retrieved through the property system's githubrepo property.

No value

  • SSP2.9.35
uuid_base,string

A base string used to prevent UUID collisions. metainfo-standard recommends that ghosts specifying uuid_base in the metainfo folder's descript.txt also specify the same value in the ghost's descript.txt.
This string is appended as-is to the string used to generate the UUID, such as the metainfo URL. Specify it in the ghost's descript.txt as well so the UUID can be calculated without network access.

uuid_base,sample-ghost-1

The value can be retrieved through uuid_base in the property system.

No value

  • SSP2.9.35
readme,File name

The file name of the ghost's description text file, opened during installation or from the owner-drawn menu.

readme.txt

  • SSP
readme.charset,Character encoding

The character encoding of the description text file.

(OS default setting or SSP->Internationalization->Character encoding when omitted->readme)

  • SSP2.5.10
seriko.defaultsurfacedirectoryname,Directory name

Specifies the directory name of the shell loaded by default on first launch or when no shell has ever been selected.

master

  • SSP
sstp.allowunspecifiedsend,Numeric value

Set to 0 to reject SSTP that does not specify a ghost. The default is 1.

1

  • Materia
  • SSP
  • CROW
sstp.allowcommunicate,Numeric value

Set to 0 to reject COMMUNICATE. The default is 1.

1

  • SSP
sstp.alwaystranslate,Numeric value

Set to 1 to always run MAKOTO translation and SHIORI OnTranslate, regardless of the SSTP options. The default is 0.

0

  • SSP
name.allowoverride,number

Set to 0 to ignore names specified in the shell. This applies to the shell's sakura.name / kero.name / char*.name / sakura.name2 / sakura.friend.name. The default is 1.
The shell's name (shell name) is used regardless of this setting.

1

  • SSP
shiori.version,Version

Specifies the SHIORI protocol version.
This may need to be specified for older SHIORI implementations that support only SHIORI/ 2.0.

No value (tries calling with 2.0, then calls with 3.0 if there is no response)

  • SSP
shiori.cache,Numeric value

Set to 0 to always unload SHIORI, even when ghost caching is enabled. The default is 1 through SSP 2.4.73 and 0 from 2.4.74 onward.

1

  • SSP
shiori.encoding,Character encoding

Communicates with SHIORI using the specified character encoding. If SHIORI returns a Charset header, the encoding specified by SHIORI takes precedence.

No value

  • SSP
shiori.forceencoding,Character encoding

Forces communication with SHIORI to use the specified character encoding, regardless of whether SHIORI returns a Charset header.

No value

  • SSP
shiori.escape_unknown,0/1

When a Unicode character cannot be converted to the character encoding used for communication with SHIORI, applies a special escape to avoid, as much as possible, the situation where the character is not recognized as text at all.
Specifically, a string that cannot be converted is rewritten in a special form such as ?escape!unicode[0xABCD] and passed to SHIORI; if SHIORI returns it in the same form, it is converted back appropriately.

0 (false)

  • SSP2.6.89
icon,File name

Taskbar icon for the ghost.

No value (SSP displays the SSP default icon)

  • Materia
  • SSP
  • CROW
icon.minimize,File name

Icon displayed when the ghost is minimized.

icon

  • SSP
shiori,File name

The file name of the SHIORI used by this ghost.

shiori.dll

  • Materia
  • SSP
  • CROW
makoto,File name

The file name of the MAKOTO used by this ghost.

makoto.dll

  • Materia
  • SSP
  • CROW
install.accept,Name1,Name2,Name3...

Allows installation of nar files for ghosts whose names are listed, separated by commas.

No effect

  • SSP