About file corruption check tool

 The data will be damaged due to malfunction of the computer at the time of installation or after installation.
 "File Corruption Check Tool" is a tool to detect such "corrupted" files.

 In order to detect file corruption, the distribution file must be signed in advance with Key and signature tools.
 The file corruption check tool also checks the validity of the digital signature (a file that cannot be validated is treated as "damaged" by this tool).
 The files to be checked are the files under the folder where the file corruption check tool is located (the folders below the folder where the file corruption check tool is located are also searched). Therefore, place this tool in the installation folder.
 This tool checks only signed files and does not check unsigned files. However, in exceptional cases, only the Kirikiri core (or executable file created with Releaser) always checks the signature, so the Kirikiri core must be signed.

Note
The file corruption checker can detect file corruption, but cannot detect the "file does not exist" condition by itself.
If you think the missing file is the cause of the error, you can copy the list of files checked by this tool to the clipboard by "Copy result" of this tool, and send it from the end user Please investigate.

Configuration file of the file corruption check tool

 "File corruption check tool.exe" in the enduser-tools folder is the core of the file corruption check tool, but its setting file is "File corruption check tool.ini".
 It is necessary to write the settings of the file corruption check tool here and distribute it with the core of the check tool.

Note
 If you change the name of "File corruption check tool.exe", also change the name of the setting file. For example, if "Signature Confirmation Tool.exe" is selected, the setting file should be "Signature Confirmation Tool.ini".

The items that can be set are described below.
[message]Section - notice
 Specify the message to be displayed at the top of the screen.
 notice= Lines starting with must be written on a single line (without line breaks), but you can put a line break there by writing [cr].
[message]Section - caption
 Specify a character string to be displayed in the title bar of the window.
[key]Section - publickey
 Specify the public key to use for verifying the electronic signature.
 Specify the public key here directly (without writing something like 'setting name =') by copying & paste.
 For an example, please refer to the standard "File Corruption Check Tool.ini" (in the Kirikiri 2 SDK distribution file).

How to use


 When the file corruption check tool .exe is started, the following screen is displayed.
sigchk.png


File name list
 A list of files to be checked is displayed.
 One of "Checking", "Unchecked", "Normal", and "Damage" is displayed in the "Status" column.
 If the file was damaged, the file will be displayed as "damaged."
check
 Start checking.
 Checking large files takes time.
Copy result
 Copy the result to the clipboard.
 This is useful when the end user sends the result of the check.
 When the check is completed, it will be enabled (button can be pressed).
 The result is tab-separated data, from left to right: file name, file date, file size, and check result.
 Also, a list of all files and directories in the target directory is copied. If there is a possibility that some unexpected files exist, you can check this output to check.
close
Close the window.