Overall structure
Ghosts and shells
Ghost configuration files are placed in the ghost storage folder of the baseware (SSP, materia, etc.).
Every ghost must have one master ghost and one master shell.
From the shell's perspective, every shell must belong to exactly one ghost.
Therefore, the file structure of the two is arranged so that the shell is contained within the ghost, as shown below.
+-(myghost)
+-ghost
+-master
+-descript.txt
+-shiori.dll
+-makoto.dll
+-updates2.dau
+-*.ico
+-*.cur
+-shell
+-master
+-descript.txt
+-surface*.png
+-surface*.pna
+-(element).png
+-(element).pna
+-surfaces.txt
+-makoto.dll (必要な時のみ)
+-menu_background.png
+-menu_foreground.png
+-menu_sidebar.png
+-readme.txt (必要な時のみ)
+-thumbnail.png
+-surfaces**.txt (SSPのみ)
+-surfacetable.txt (必要な時のみ)(SSPのみ)
+-alias.txt (必要な時のみ)(旧仕様)
+-(additional_shell)
+-delete.txt (必要な時のみ)
+-delete1.txt (delete[数字].txtも追加で認識できる)
+-developer_options.txt (必要な時のみ)(SSPのみ)
+-.narignore (必要な時のみ)(SSPのみ)
+-.updateignore (必要な時のみ)(SSPのみ)
+-.narinclude (必要な時のみ)(SSPのみ)
+-.updateinclude (必要な時のみ)(SSPのみ)
+-readme.txt または readme.md (必要な時のみ)
+-terms.txt または terms.md (必要な時のみ)
+-thumbnail.png
Balloons
Balloons are managed centrally by the baseware, not separately for each ghost, and are shared by all ghosts.
Each balloon's configuration files are placed in the baseware's balloon storage folder in the following layout.
+-(myballoon)
+-descript.txt
+-balloons*s.txt
+-balloonk*s.txt
+-readme.txt または readme.md (必要な時のみ)
+-terms.txt または terms.md (必要な時のみ)
+-balloons*.png
+-balloonk*.png
+-balloons*.pna (MATERIA不可)
+-balloonk*.pna (MATERIA不可)
+-balloonc*.png
+-online*.png
+-sstp.png
+-arrow*.png
+-thumbnail.png
+-ok_down.png/ok_up.png (SSPのみ)
+-cancel_down.png/cancel_up.png (SSPのみ)
+-mode_down.png/mode_up.png (SSPのみ)
+-sstp_new.png (SSPのみ)
+-marker.png (SSPのみ)
+-delete.txt (SSPのみ・必要な時のみ)
+-delete1.txt (delete[数字].txtも追加で認識できる)
- (myghost)\
Each ghost's home directory (root folder).
Alphanumeric folder names are recommended.
- (myghost)\ghost\
- The folder for files used in the ghost's internal operations.
- (myghost)\ghost\master\
The folder used by default for the ghost.
Currently, only master is used (a remnant of the original design).
For details about the file structure inside the ghost folder, see the Ghost page.
For details about makoto.dll, see the Translator page.
- (myghost)\shell\
- The folder that contains the ghost's shell (the files used to display graphics).
- (myghost)\shell\master\
- The default shell folder. Required.
- (myghost)\shell\(additional_shell)\
An additional shell folder. The name is arbitrary (alphanumeric names are recommended). Its file structure is the same as master.
Any number of these can exist. When present, they can be selected from the owner-draw menu and other menus.
For details about the file structure inside the shell folder, see the Shell page.
For details about menu_background.png, menu_foreground.png, and menu_sidebar.png, see the Owner-draw menu page.
For details about makoto.dll, see the Translator page.
- (myghost)\delete.txt
File deletion settings file.
See the linked page for details.
Optional.
- (myghost)\developer_options.txt
SSP-only settings file for creating nar and update files.
See the linked page for details.
Optional.
- (myghost)\readme.txt or readme.md
The readme for the entire ghost.
It is common to specify the distributor and distribution source.
You can use encodings other than Shift JIS by writing charset,UTF-8 on the first line or including a BOM.
It is opened during installation and can also be opened from the owner-draw menu and other menus.
Optional, but recommended.
You can use readme.md instead of readme.txt; in that case, it is displayed with Markdown formatting, such as text sizes and tables.
Embedded images\ are also supported, but can only be used if the image path is relative, the file actually exists inside the ghost, and the image is in PNG or JPEG format.
- (myghost)\terms.txt or terms.md
Displays terms of use. A dialog displaying this content appears before a NAR/ZIP file is installed.
Since installation is interrupted to show the dialog, include this file only when absolutely necessary.
As with the readme, you can use encodings other than Shift JIS by writing charset,UTF-8 on the first line or including a BOM.
Optional, and best omitted if unnecessary.
terms.md can also be used under the same conditions as readme.md.
- (myghost)\thumbnail.png
The thumbnail displayed when selecting a ghost in the menu tree.
Supported image formats are PNG and JPG.
Renaming a PNG file to PNR makes pixels with the same color as the top-left pixel (coordinates 0,0) transparent.
Optional.
- (myballoon)\
Each balloon's home directory (root folder).
Alphanumeric folder names are recommended.
For details about the file structure inside the balloon folder, see the Balloon page.