"NANIKA"
Documents - ghost -
Note:You must be cautious with that this document is NOT the user's manual, but the specification of this program for developers. Thank you.


Abstract

home
  +-ghost
      +-naru
         +-master
            +-alias.txt
            +-descirpt.txt
            +-shiori.dll
         +-surface

File components - except SHIORI core

The ghost data except SHIORI core contains the following files.
  • alias.txt
  • descript.txt
  • thumbnail.png
  • *.ico
  • *.cur
  • *.png
The "alias.txt" and the "descript.txt" are configuration files. The contents of these files will descript later. You must not neglect these files.

The "updates2.dau" is the configuration file for updating through the network. You don't use this feature of the network update, you can omit this file. If you want to understand the network update, please refer to the Network Update specification.

The "thumbnail.png" is the guide image of ghosts that display in the selection menu of that's. If you neglect this file, the guide image of your ghost will not display.

Other files are resource data that are configured directions in "discript.txt"

File components - SHIORI core

The essence of ghost data is the independent dynamic link library that has the SHIORI interface. If you want to make your SHIORI core library by yourself from the beginning, please refer the SHIORI specification.

If you don't make it, you must use the existing original or third-party's SHIORI core as following.
These SHIORI subsystems shown above run on the independent layer from embryo.exe. Thus, each SHIORI cores have originalities on the format of scripts, dictionaries, or other elements. And there are great differences on their features or their flexibility. You must choose your best one of them for your ghost.

descript.txt

home
  +-ghost
      +-naru
         +-master
            +-descript.txt
The configuration file "descript.txt" exists with each ghost data, and defines their character profiles themselves.
name,Naru
type,ghost

sakura.name,Naru
kero.name,Yu-ka

user.defaultname, My user

sstp.allowsakura,1

shiori.logo.filename,niseshiori_naru.png
shiori.logo.x,16
shiori.logo.y,256

icon,naru.ico
cursor,clover.cur
The "name" entry is the name of the whole ghost data. This entry is used as the caption of the menu, and in many cases, set the data for example, "Naru & Yu-ka". You must be cautious with that this entry is not handled as the name of the character itself.

The "type" entry is the type of the file set. You must set this entry to "ghost", if your data is the ghost data.

The "sakura.name" entry is the character name itself. The "kero.name" entry is the character name of your "kero".

The "user.defaultname" entry is the name of user when the user has not introduced oneself. The default data is "My user".

The "sstp.allowsakura" entry is the switch whether receiving the SSTP SEND request for the First Ghost or not. If you set this value to 1, your ghost doesn't receive SEND messages only when these requests include IfGhost entry that directs your ghost name. For this behavior, you can avoid the problem that your character's personality is destroyed by receiving the message for the First Ghost. The default value of this entry is 1.

The "shiori.*" entry is the appearance of the AI status window. The picture directed by "logo.filename" entry displays on the coordinate directed by "logo.x / logo.y" entry. If you omit these entries, nothing is displayed at all.

The "icon" entry is the filename of icon. You must direct that with the file extension. The tray icon or the application icon changes into this icon while using this ghost.

The "cursor" entry is the filename of the mouse cursor. The mouse cursor changes into this mouse cursor while using this ghost. You must specifies extention to filename.

You can omit whole entries. If not necessary, you can omit this file itself. If you omit this file or these entries, these values are set into the default value.

If you use tags or environment parameters in these entries, your ghost will hangs up. If you want to use the character "\" or "%", you can escape for using "\\" or "\%".

alias.txt

home
  +-ghost
      +-naru
         +-master
            +-alias.txt
The configuration file "alias.txt" exists with each ghost data, and defines their alias name tables themselves.
shiori,shamrock.dll
The "shiori" entry is the filename of SHIORI subsystem's core DLL file. The default name is "shiori.dll".

return to specifications page

This page is based on redo 1 (2001/08/09)
This page was translated by:Hiro with SERIKO
Published by:Yoshiyuki.Sakakibara