SHIORI Resource originated as a request for retrieving simple string information, such as displaying owner-draw menus and homeurl, defined by the legacy protocol SHIORI/2.5.
This specification allows such information to be controlled according to the ghost's state.
In SHIORI/3.0 and later, as a result of organizing the legacy specification, it is not clearly distinguished from ordinary SHIORI Events in terms of implementation.
Unlike ordinary SHIORI Events, its return value is treated as plain (short) text rather than Sakura Script (including bool-like values). Also, request IDs do not begin with "On", and alphabetic characters are written in lowercase.
Requests for the following four IDs are normally returned automatically by SHIORI and are not handled by individual ghost authors.
Occurs immediately after SHIORI is loaded.
In response to this event, SHIORI returns its version information (not the SHIORI protocol version).
Occurs immediately after SHIORI is loaded.
In response to this event, SHIORI returns the name of the SHIORI author. Only 7-bit characters can be used.
Occurs immediately after SHIORI is loaded.
In response to this event, SHIORI returns the name of the SHIORI author. In addition to 7-bit characters, 8-bit characters and multibyte characters in the default encoding can also be used.
Occurs immediately after SHIORI is loaded.
In response to this event, SHIORI returns its name (not the ghost name). Only 7-bit characters can be used.
Occurs when you select "Open" in the developer palette. Returns the full path to the SHIORI log file.
See also SHIORI Event : enable_log.
The location of the network update files.
Can also be specified in descript.txt as a backup in case a serious problem occurs with SHIORI.
See the descript.txt description to determine which specification takes precedence.
The starting number for file counts during network updates.
1 starts counting from file 1; 0 starts from 0, as in MATERIA.
The user's name.
The X coordinate of the default position for the main character (\0). The surface's reference point (usually its bottom center) is placed at this position.
The default position is used when no display position has been saved, such as on first startup or after resetting the display position. If none is specified, the character is placed at the bottom right of the primary monitor's work area.
The value is in pixels, in screen coordinates with the origin at the top left of the primary monitor (the position within the entire virtual desktop in a multi-monitor setup).
A negative value specifies the distance from the right edge of the primary monitor's work area. -0 is the right edge itself.[2.9.13]
To specify a negative coordinate directly, such as for a monitor to the left of the primary monitor, use two consecutive minus signs, as in --100 (X coordinate -100 in this example).[2.9.13]
If sakura.defaultleft is also specified for the same axis, this setting (defaultx) takes precedence.
The same entry can also be specified in the ghost or shell descript.txt[2.9.13]. The SHIORI resource takes precedence.
This setting has no effect when the character is configured to appear along the left or right edge of the desktop, because the X coordinate is determined by that setting.
The default X coordinate of the partner (\1). The format and meaning are the same as for sakura.defaultx.
If none are specified, the partner is placed to the left of the main character.
The default X coordinate of the *th character (\p[*]). The format and meaning are the same as for sakura.defaultx.
Used mainly for the third and later characters (char2 and later). char0 and char1 are used when sakura and kero are not specified.
If none are specified, the character is placed to the left of the preceding character.
The Y coordinate of the default position for the main character (\0). The surface's reference point (usually its bottom center) is placed at this position.
The situations in which the default position is used, the unit, and the coordinate system are the same as for sakura.defaultx.
A negative value specifies the distance from the bottom edge of the primary monitor's work area. -0 is the bottom edge itself. Here, the bottom edge is shifted upward by the amount specified in SSP's "Desktop bottom edge offset" setting.[2.9.13]
Two consecutive minus signs specify a negative coordinate directly (--100 is Y coordinate -100).[2.9.13]
If sakura.defaulttop is also specified for the same axis, this setting (defaulty) takes precedence.
The same entry can also be specified in the ghost or shell descript.txt[2.9.13]. The SHIORI resource takes precedence.
This setting has no effect when the character is configured to appear along the top or bottom edge of the desktop, because the Y coordinate is determined by that setting (it takes effect in free movement mode, for example).
The default Y coordinate of the partner (\1). The format and meaning are the same as for sakura.defaulty.
If none are specified, the partner is placed at the same height as the main character.
*The Y-coordinate of the default position of the character (\p[*]). The format and meaning are the same as sakura.defaulty.
char0 and char1 are used when sakura and kero are not specified.
If none are specified, the character is placed at the same height as the previous character.
The X coordinate of the default position for the main character (\0). The left edge of the character window is placed at this position.
The situations in which the default position is used, the value's units and coordinate system, and the conditions under which it is ignored are the same as for sakura.defaultx. If sakura.defaultx is also specified, it takes precedence.
A negative value is the distance from the right edge of the primary monitor's work area to the right edge of the character. -0 aligns it exactly with the right edge. This allows the position to be specified as a margin from the right edge of the screen without regard to the surface width.[2.9.13]
Using two consecutive minus signs specifies a negative coordinate itself (--100 is X coordinate -100).[2.9.13]
The same item can also be specified in the ghost and shell descript.txt files. The SHIORI resource takes precedence.
The default X coordinate of the partner (\1). The format and meaning are the same as for sakura.defaultleft.
The X coordinate of the default position of the *th character (\p[*]). The format and meaning are the same as sakura.defaultleft.
char0 and char1 are used when sakura and kero are not specified.
The Y coordinate of the default position for the main character (\0). The top edge of the character window is placed at this position.
The situations in which the default position is used, the value's units and coordinate system, and the conditions under which it is ignored are the same as for sakura.defaulty (effective in free movement mode, among others). If sakura.defaulty is also specified, it takes precedence.
A negative value is the distance from the bottom edge of the primary monitor's work area to the bottom edge of the character. -0 aligns it exactly with the bottom edge. Here, the bottom edge is shifted upward by the amount specified in SSP's "Desktop bottom offset" setting.[2.9.13]
Using two consecutive minus signs specifies a negative coordinate itself (--100 is Y coordinate -100).[2.9.13]
The same item can also be specified in the ghost and shell descript.txt files. The SHIORI resource takes precedence.
The default Y coordinate of the partner (\1). The format and meaning are the same as for sakura.defaulttop.
*th character (\p[*]) default position Y-coordinate. The format and meaning are the same as sakura.defaulttop.
char0 and char1 are used when sakura and kero are not specified.
The initial screen X and Y coordinates of an input box. left is X, and top is Y. These are valid only when both left and top are returned.
If the position where the user moved the input box has been saved, that position takes precedence.
Negative values indicate the distance from the right/bottom edge of the work area on the monitor displaying the main window to the right/bottom edge of the input box. -0 places it exactly at the right/bottom edge.[2.9.13]
Prefixing the value with two hyphens makes it a negative coordinate as-is (--100 means coordinate -100).[2.9.13]
The box types are as follows: communicatebox、scriptbox、addressbar、teachbox、dateinput、timeinput、ipinput、sliderinput、passwordinput、inputbox
The recommendations list on the main character's side.
The value
is returned in the following format:
Item name 1[byte value 1]URL 1[byte value 1]banner image path 1[byte value 1]talk script on selection 1[byte value 2]item name 2[byte value 1]...
However, SHIORI may perform the conversion to this format internally. See the documentation for each SHIORI for details.
The talk script portion is not plain text, but Sakura Script.
If the URL portion contains a description beginning with script: instead of a URL, that script is executed (for example, \![raise] is also possible).
The portal list on the main character's side.
The value
is returned in the following format:
Item name 1[byte value 1]URL 1[byte value 1]banner image path 1[byte value 1]talk script on selection 1[byte value 2]item name 2[byte value 1]...
However, SHIORI may perform the conversion to this format internally. See the documentation for each SHIORI for details.
The talk script portion is not plain text, but Sakura Script.
If the URL portion contains a description beginning with script: instead of a URL, that script is executed (for example, \![raise] is also possible).
The recommendations list on the partner side.
The value
is returned in the following format:
Item name 1[byte value 1]URL 1[byte value 1]banner image path 1[byte value 1]talk script on selection 1[byte value 2]item name 2[byte value 1]...
However, SHIORI may perform the conversion to this format internally. See the documentation for each SHIORI for details.
The talk script portion is not plain text, but Sakura Script.
If the URL portion contains a description beginning with script: instead of a URL, that script is executed (for example, \![raise] is also possible).
The recommendation list for \p[*].
The value is
returned in the following format:
Item name 1[byte value 1]URL 1[byte value 1]banner image path 1[byte value 1]talk script on selection 1[byte value 2]item name 2[byte value 1]...
However, SHIORI may perform the conversion to this format internally; see the documentation for each SHIORI for details.
The talk script part is Sakura Script, not plain text.
Instead of a URL, a value beginning with script: in the URL part executes that script (including \![raise]).
The SHIORI/3.0 version of the AI graph.
Draws a radar chart for internal ghost state (number of talks, affection level, etc.).
Return the data in the following format.
Graph display values [byte value 1] graph labels [byte value 1] graph additive values [byte value 1] graph maximum values
Example: 1250,1500,45,65,19500,4[b1]horsepower,rpm,km/h,t,kgf,axis[b1]100,50,40,0,0,1[b1]1350,1550,130,96,20000,8
[b1] indicates byte value 1.
The display will look as follows.

A version of getaisate that allows multiple specifications. Reference0 is passed the index of the graph data being requested (the number is zero-based).
To display only two graphs, respond when Reference0 is 0 or 1, and return no value (204) for 2 or higher.
The format is the same as getaistate.
Whether to use the legacy interface in the right-click menu.
Returning 0 for this hides the “switch ghost, shell, and balloon” buttons.
Works only with materia582.
In \![updateother] and the simultaneous shell/balloon update function, forcibly replace the update destination URL (homeurl) for the item being updated.
If no replacement is needed, return 204 or an empty string.
Events for controlling whether each item is displayed are available by replacing "caption" in the item names below with "visible".
A return value of 1 displays the item; 0 hides it (and prevents it from being clicked).
[Cannot be changed]Name for “Language.”
Name for recommendations displayed when using \p[*].
Retrieves the tooltip text for the shell.
Notifies when the mouse cursor is over a shell surface.
If shell-side settings are present, they take precedence.
Retrieves the tooltip text for a balloon choice.
Notifies when the mouse cursor is over a choice.
\q tag).