Inspections on the syntax for "Cherry Blessing" script

创建于 5321 字 / 约需 24 分钟

本文距离上次更新已经超过 180 天。因此,其中的信息可能已经过时。


This page contains material that is kept because it is considered humorous. It is not meant to be taken seriously.


“Cherry Blessing” is the name of a game developed by “Blessing Software”, a fictional game studio in “Saenai Heroine no Sodatekata” (“Saenai” for short). By analyzing the syntax of their code onscreen, we find that the game is very likely to be developed with Kirikiri.

Information We Get

At 13:37 of the “Saenai Heroine no Sodatekata” episode 11 [1], we can see the photo of code on the left. We put the original image into waifu2x[2] in order to get a cleaner version. The image we use in our analysis is shown below.

Image of the Code (waitu2x processed)


Clues we got

From the image we saw some feature of this type of syntax:

  1. All lines start with a @.
  2. Some special keywords we found are (in 240% scale of this image, by human eyes):
    • @endmacro (line 24)
    • @backlay (line 10)
    • @wt (line 13, 16)

By searching these words on Google, we found:

  1. A file in a game project with similar syntax[3]. The file had an extension of .ks. However, GitHub failed to recognize the file type, and the README in this project didn’t give good clues.
  2. A forum post on site about the game maker called “NVLMaker for Kirikiri”[4].

Further analysis

We searched this extension name on Google and failed to get a satisfying result. said it’s “SOF Game File Log”[5], which turned out to be useless.

The documentation of “The NVLMaker”[6] said that the .ks file extension is used by “KAG System” to fulfill the basic functions of an AVG game. A documentation of “KAG3” said that “KAG is short for ‘Kirikiri Adventure Game’.” [7] Therefore, we see that the .ks file, used by “KAG”, is a type of gaming logic format of “Kirikiri”.

However, code on the KAG3 documentation is like this[8]:

[wait time=200]

which is, obviously, different from what we got on “Saenai”. In the beginning, we thought that the “Saenai” code was an earlier version of KAG (like KAG2 or KAG1). However, another sample of KAG2 doesn’t seem to be like, either [9]:

[wait time=200]
[loadplugin module=wuvorbis.dll]
[rclick enabled=false]
[clickskip enabled=false]
[history output=false enabled=false]

So would it be possible that the code starting with @ is another style of KAG3? Interestingly, we can find some keywords of the “Saenai” sample on KAG3 keyword table[10], such as wt[11], backlay[12] and endmacro[13]. Therefore, we believe that the code in “Saenai” is very likely to be written with KAG3 syntax. Fortunately, we found it[14]. In fact, lines starting with @ are the “command line” in KAG3. The effect of a command line is about the same as a normal line.


The code we saw for “Cherry Blessing” is in the format of KAG3. Therefore, “Cherry Blessing” is very likely to be a game made with Kirikiri. Since the code was too blurred, we didn’t attempt to recover the code, as done in the “Maidragon” case[15].


The success of this study required the help of various individuals. Without them, we were not able to meet our objectives in this study. We want to express our gratitude to the following people for their invaluable help and support:

To DuckDuckGo and Google, our main information source. It was DuckDuckGo and Google that guided us researchers to the information we need.

To gaming software makers, since they produced great software for producers to build what they desired.

To the staff of “Saenai Heroine no Sodatekata”, who came out with an interesting topic for us to research.

And lastly, to Tomoya Aki and other members of the Blessing Software team. Without them, we couldn’t see such an interesting, attractive and moving teen romantic comedy.

We would like to extend our deepest gratitude.

References and footnotes

  1. This only appears on the TV version. On the BD version, the code doesn’t show up.
  2. nagadomi. waifu2x.
  3. kyouryuukunn. CGMode. Fetched at
  4. “How to Open .KS File Extension?”. Fetched at
  5. Bureta. 有關於儲存面板的問題. Fetched at
  6. “THE NVL Maker - 使用手册”. Fetched at
  7. W.Dee & other translators. KAG System Reference. Fetched at
  8. W.Dee & other translators. KAG System Reference. Fetched at
  9. Icemic. “谈谈 AVG 游戏的程序脚本(上)”. Fetched at
  10. W.Dee & other translators. KAG System Reference. Fetched at
  11. W.Dee & other translators. KAG System Reference. Fetched at
  12. W.Dee & other translators. KAG System Reference. Fetched at
  13. W.Dee & other translators. KAG System Reference. Fetched at
  14. W.Dee & other translators. KAG System Reference. Fetched at
  15. Scott Green. See What Miss Kobayashi Was Working On In “Dragon Maid”. Crunchyroll. Fetched at