Using the editor - kubo25/Diabolik-Lovers-STCM2L-Editor GitHub Wiki

/images/editorMain.png

File menu

The file menu consists of standard items:

  • Open: opens a new file.
  • Save: saves the open file overwriting the original.
  • Save As...: standard Save As dialog box.

List of texts

On the left side of the editor is the list of texts. Clicking on a text selects it for editing.

Right-clicking on a text reveals a context menu with two options:

  • Delete: deletes the right-clicked text
  • Insert new text: inserts a new text

Inserting a new text

The editor allows inserting a new text either before or after the right-clicked text.

The newly created text inherits its type from the right-clicked one, so if a new text is created from a normal dialogue text it's also a normal dialogue and if it's created from a monologue text it will be another monologue text.

When creating a new text from a monologue a message box will appear asking if you want to create a new page: /images/editorNewPage.png

  • Clicking Yes will create a blank monologue page with the new text.
  • Clicking No will add this text to the existing monologue page. Creating a text like this might cause weird text movement on the monologue page in the game.

Editing a text

Currently selected text is open for editing on the right side of the editor.

Name

If the currently selected text is from a dialogue the name text box displays the name of the currently speaking character. The letter limit for a character's name is 20 letters.

If this text box shows #Name[2] it means, that the currently speaking character is the protagonist and if changed the protagonist's name won't show up properly.

Clicking on the Reset Name button resets the name to its original text.

Text lines

The main portion of the window contains the lines of the currently selected text. The letter limit for one line is 40 letters.

Warning: The ingame font only supports unaccented letters.

Right-clicking a text line opens a context menu with three items:

  • Reset: resets the right-clicked line to its original text
  • Delete: deletes the right-clicked line
  • Insert new line: inserts a new line

Inserting a new line

By selecting the option in the context menu or the Add new line button it's possible to insert a new line.

The context menu options allow inserting the new line before or after the right-clicked one and the Add new line button adds a new line at the end of the open text.

Depending on the type of the selected text the limit of allowed lines is different:

  • Dialogue text: limited to 3 lines
  • Monologue text: limited to 10 lines