Skip to content

Supported script formats

A game project reads one script format, chosen when the project is created. Every format keeps the engine's own line ids: an import never makes ids up, so a line's takes survive later edits. This page lists what each importer accepts, what it needs and what it refuses.

Rules every format shares

  • Text is UTF-8. A leading byte-order mark is ignored.
  • A script is at most 20 million characters (an .xlsx workbook about 15 MB).
  • Every spoken line needs an id; a line with text but no id refuses the file.
  • Ids are unique per locale. Duplicates refuse the file and are listed.
  • A line is at most 5,000 characters.
  • A NUL byte anywhere refuses the file, naming its row.
  • A locale must be a language tag such as en, pt-BR or zh-Hant-TW.
  • Lines without a locale get the project's default locale.
  • Lines that interpolate a variable import with a warning: the voice cannot say text that is only known when the game runs.
  • Sound cues: a word from this list in single square brackets is kept as a sound for the voice to perform, not treated as a variable: [laughs], [chuckles], [giggles], [sighs], [exhales], [inhales], [breathes], [gasps], [sniffs], [snorts], [grunts], [groans], [coughs], [clears throat], [gulps], [whispers], [sobs], [cries], [yawns], [hums], [scoffs] and [shushes]. Case does not matter, and [clears throat] takes exactly one space. Any other bracket ([player_name], [b]) keeps its old meaning, and [[laughs]] is the literal text [laughs]. A voice that cannot perform cues skips them: they are left out of what it says, and the generate dialog warns how many lines are affected. The delivery manifest's text column leaves cues out (for subtitles) and its script_text column keeps the line as written.

Round trip

Your script stays the source of truth. Tags written in it show up in Review; Review's text edits (and, if you ask, the tags you add in Tone) go back into the file in place, from Export → Script & data or nairrator script.

FormatTags inEdits outTags out
Yarn Spinner#hashtags (not #line:)in place, by #line: id#tag before the id
Ink# tags (not #id:)in place, by #id:#tag before the id
Dink# tags (not #id: or #dink)in place, by #id:#tag before the id
Godot Dialogue Manager[#tag]in place, by [ID:][#tag] before the id
Dialogicnonein place, by #id:none
Ren'Py .rpynonein place, by the say statement's idnone
Ren'Py dialogue.tabnonedialogue.tab plus renpy-edits.txt to apply in your .rpy filesnone
CSV, TSVa mapped tags column (; or ,)only the edited cellsinto the tags column (added if unmapped)
Excela mapped tags columnonly the edited cellsinto a mapped tags column
JSONa mapped tags field (string or list)the mapped text field; indentation keptthe tags field, in its own type
articy:draftnonenot written back: the import is read-onlynone

A line that cannot be changed safely (its text now has a line break, or it is joined across lines in the file) is left as it was and listed in export-report.txt inside a zip.

  • A Ren'Py project imported from a .rpy script gets that script back with only the edited dialogue strings changed (quotes, backslashes and repeated spaces escaped; comments, attributes, id clauses and line ends kept). Menu choices, a paragraph of a multi-paragraph """ string and a line whose string starts with a stage direction are left alone and reported. It does not add voice statements: the delivery's voice/<id> files play through config.auto_voice.
  • A Ren'Py project imported from dialogue.tab gets the patched dialogue.tab and the .rpy edits to make by hand in renpy-edits.txt; export-report.txt points to it.
  • Yarn, Godot and Dialogic markup in edited text is written as-is, and the report notes it.
  • Script CSV, TSV and string-table exports are not guarded against spreadsheet formulas, because they are game data. The CSV downloaded from Review is guarded.
  • A Review CSV round trip matches rows on ID and Locale. Locale matching is exact and case-sensitive (pt-BR, not pt-br). An older sheet without a Locale column only updates the default locale.
  • Yarn and Ink tags cannot hold spaces, so an app tag's spaces become _ there (Boss Fight is written #Boss_Fight). Tone treats _ and a space as the same in tags, so the tag stays one tag when the script comes back. Godot keeps the spaces ([#Boss Fight]).
  • App tags cannot contain , or ;, since tags columns split on them.
  • After an export added a tags column (or JSON field), the next import with the same mapping reads it as the tags column.
  • A cell whose real text starts with ' followed by =, +, - or @ (after optional spaces), a tab or a carriage return reads back without the '.
  • Locale matching in string tables is exact and case-sensitive.

Script notes and delivery

Each importer keeps the performance notes the script carries for a line, and Review shows them in a muted "Script:" chip (its tooltip names where each came from):

FormatNotes kept
CSV, TSV, XLSX, JSONThe mapped direction column (also kept as the line's direction).
YarnEvery hashtag except #line:… and #lastline (#angry).
InkEvery tag except #id:… (# whisper).
DinkThe qualifier and direction, #vo: tags and // beat comments.
Godot Dialogue ManagerEach [#…] tag ([#happy, #loud]); [wait=…]/[speed=…] are timing.
DialogicThe portrait in Name (sad): text.
Ren'PyFrom .rpy: image attributes (e happy "…") and # comments on or directly above the line. dialogue.tab carries none.

In every format a leading parenthetical made only of direction words, such as (whispering) or (angrily, shouting), is taken out of the spoken text and kept as a note. One that is a single sound cue, such as (sighs), becomes that cue ([sighs]). Anything else, such as a visual novel's spoken inner thought (I hope she didn't see.), stays in the text. The import preview counts the lines that lost a stage direction this way.

A note made of one to three words from a closed list (whispering, quiet, shouting, angry, sad, tearful, cheerful, excited, frightened, terrified, calm, tender, stern, sarcastic, tired, nervous, urgent, relieved, and their common synonyms) becomes the line's delivery on import, marked "from script". A delivery a writer typed, or accepted from Suggest emotions, is never replaced by an import. Other notes ("to herself, as the boat leaves") are passed to Suggest emotions as direction to follow.

Inline direction syntax

A line's text can direct its own performance with a C#-style syntax: the quoted part is what the character says, and the part after the colon says how.

GoalWrite
A delivery on some words{"Hey": Winded}, stop right there!
Several controls at once{"Hey": Say(delivery: Winded, pitch: High, rate: 0.9)}
Stress a wordStop right {"there": Say(emphasis: Strong)}!
Whisper or shout a phrase{"They're close": Say(mode: Whisper)}.
A timed gapHey, {Pause(350)} stop right there!
A wordless vocal sound{Vocalize(StartledGasp)} What was that?
A directed vocal sound{Vocalize(SuppressedPain, intensity: 0.4, targetMs: 600)}
A pronunciation for some wordsAsk {"Khaelin": Say(pronunciation: "KAY-lin")}.

{"Hey": Winded} is short for {"Hey": Say(delivery: Winded)}.

The rules:

  • Commands (Say, Pause, Vocalize) and preset values (Winded, StartledGasp) are PascalCase; argument names (delivery, targetMs) are camelCase. Names are case-sensitive. Named arguments come in any order.
  • Say takes delivery, mode (Whisper, Shout, or Normal for the voice's own way of speaking), emphasis (Strong, Moderate, Reduced, None), pitch (Low, Medium, High), pitchSemitones (-12 to 12), contour (Rising, Falling), rate (0.5 to 2, 1.0 is the voice's own pace), intensity (0 to 1), pronunciation (in quotes: a respelling such as "KAY-lin", or IPA between slashes such as "/ˈkeɪlɪn/"), targetMs (1 to 30000), and breathiness, rasp and articulation (a number or a name, kept as written).
  • Pause takes a whole number of milliseconds. Vocalize takes a sound, then optionally intensity (0 to 1) and targetMs (1 to 30000).
  • Inside the quotes, \" is a quote and \\ is a backslash.
  • Spans are flat. For a breath or a pause inside a phrase, end the span, write the cue, and start a new span.
  • Doubled braces, {{ and }}, never open or close a direction, and are handled as they were before the syntax: {{ is spoken as one literal {, a whole {{name}} is a Godot Dialogue Manager variable, and a lone }} is left as written (it is not yet reduced to one }).

Only two shapes are read as a direction: a brace group that opens with a quoted string followed by a colon, and one that opens with Pause( or Vocalize( spelled exactly so. Every other brace group keeps the meaning it had: Yarn's {$gold} and {"a" + $b}, Ren'Py's {i} and {w=0.5}, Dialogic's {mood} and Godot Dialogue Manager's {{name}} are untouched. Braces are game logic in Ink, Yarn and Dialogic source files, so write directions in Tone or in a sheet format (CSV, Excel, JSON), not in those scripts. The Ink and Dialogic importers warn that such a line has dynamic text.

Mistakes are reported at the direction, with its position and a plain message: an unknown command, argument or value, a value outside its range, an argument given twice, an invalid combination ({"Hey": Pause(350)}, a tense whisper that is shouted, pitch with pitchSemitones), a direction inside a span, and a direction with no closing quote or brace. A direction with a mistake still keeps its words: the invalid argument is left out, and a broken Pause or Vocalize is removed. A direction that never closes is left as written.

The stored line stays as written. For a voice, each direction is rewritten as the bracket cues and marks every provider already takes:

DirectionSent to the voice as
{"Hey": Winded}[winded] Hey
{"Hey": Say(mode: Whisper)}[whispering] Hey
{"Hey": Say(mode: Shout)}[shouting] Hey
{"there": Say(emphasis: Strong)}[stress there]
{Pause(350)}[pause 350ms]
{Vocalize(StartledGasp)}[startled gasp]

Delivery presets and their cues: Winded [winded], TenseWhisper [tense whisper], Urgent [urgent], Hesitant [hesitant], Angry [angry], Sad [sad], Excited [excited], Sarcastic [sarcastic], Tired [tired], Pained [pained].

Vocal sounds and their cues: ShortStrike [sharp grunt], HeavySwing [strained grunt], ChargeCry [battle cry], HardLanding [grunts on landing], SustainedLift [straining], LightHit [yelps], WindedImpact [winded gasp], SuppressedPain [muffled groan], SharpSting [hisses in pain], StealthRecovery [quiet heavy breathing], StartledGasp [startled gasp], NervousChuckle [nervous chuckle], DisbelievingScoff [scoffs in disbelief], SuppressedSob [stifled sob].

Subtitles, string tables and the manifest's text column show the words alone: {"Hey": Winded}, {Pause(350)} stop right there! reads Hey, stop right there!.

The bracket form is weaker than the syntax. compileDirections in @nairrator/script-formats returns a note for each control of each direction that is affected, so an editor can say so at the cue:

  • Approximated: a delivery or mode on a span. An attitude cue has no closing bracket. It is written before the span's words, and the voice may carry it past the span, usually to the end of the sentence. A span that ends the line is not marked.
  • Approximated: `emphasis: Moderate`. A stress has no levels, so it is performed as the same stress Strong is.
  • Not performed: `emphasis` on more than four words, or on words holding a bracket. A stress mark covers one to four words.
  • Not performed: `emphasis: Reduced`. Nothing asks a voice for less stress than usual, so the words are said plain.
  • Not performed: `pitch`, `pitchSemitones`, `contour`, `rate`, `intensity`, `breathiness`, `rasp`, `articulation` and `targetMs` on a span, and `intensity` and `targetMs` on a vocal sound. They are checked and kept in the parsed line, but no provider is sent them yet.
  • Performed: `pronunciation`. The span's words are said as the value spells them, in that one place, by the mechanism a glossary entry uses. A respelling takes the place of the words in the text a voice is sent, as an entry's alias does, so every provider says it. IPA is sent as an entry's IPA is: inline /ipa/ on ElevenLabs v4, a <phoneme> tag on ElevenLabs Flash v2 and on Azure (one word only; a longer span is said as its words). It wins over every glossary entry for the same words, a one-line entry included, and never changes subtitles or any other displayed text.
  • Not performed on some voices: `pronunciation` as IPA. A voice that reads no IPA (Edge, ElevenLabs v3 and the other models without it) says the words as the glossary has them. compileDirections(text, { readsIpa: false }) notes it, the line editor says so under the box, and the generate dialog counts these lines. Write a respelling to be heard on every voice.
  • Not performed: `pronunciation` as an entry name such as "names.khaelin" (a dotted name with no spaces), because glossary entries have no names, and a value holding a bracket or a brace. The project glossary still applies to the span's words as it does to any line.
  • Clamped: a pause outside 100 to 3000 ms is performed at the nearest limit and reported as a problem.
  • A voice that cannot perform sound cues skips deliveries, modes and vocal sounds entirely, and one that cannot stress says the words plain. The generate dialog's existing cue and stress warnings count these lines.

In the studio's line editor, the [ ] / { } switch rewrites the open draft between brackets and this syntax, and remembers the choice in the browser. Typing { opens a list of what can follow. The line is saved as typed, in either or both. Going to brackets leaves a direction as written when brackets cannot say the same thing: one with a mistake, or one that sets a control that is not performed. Going to this syntax writes a pause, a stress, a delivery, a mode and the fourteen vocal sounds as directions; a plain sound such as [laughs] stays a bracket, because Vocalize takes the fourteen only. A mistake in a direction is underlined and explained under the box. With the switch on { } it also holds Save back until it is fixed; on [ ] the line can still be saved, since a brace there may be the game's own markup.

Ren'Py dialogue.tab

  • From: the Ren'Py launcher, Extract Dialogue, "Tab-delimited spreadsheet" (Ren'Py 7 and 8).
  • Picker: .tab, .txt, .csv.
  • Columns: found by header name, ignoring case. Identifier and Dialogue are required; Character, Filename and Line Number are read when present.
  • Ids: the Identifier, which config.auto_voice substitutes.
  • Speakers: an empty Character is narration (narrator).
  • Skipped: rows without an identifier, such as menu captions and strings.
  • Refused: a file without Identifier and Dialogue columns.
  • Cells split on tabs only and quotes are kept as written. A Ren'Py project uses this importer or the .rpy one below, never the CSV one.

Ren'Py script source (.rpy)

A Ren'Py project also takes one .rpy script file. A file named .rpy is read as script source; any other name is read as dialogue.tab unless its content is plainly script (a label, define, default or init statement and no tab-separated header). Both files key lines by the same identifier, so a project can move from one to the other and keep its takes.

  • Ids: each say statement's own id clause, as in e "Hello." id intro_e_1. That is the identifier config.auto_voice and dialogue.tab use. Ren'Py's automatic identifiers (<label>_<8 hex digits>) are not computed yet, so a script with a say statement that has no id is refused; import its dialogue.tab instead.
  • Scenes: label name: (a .local label is global.local).
  • Speakers: define e = Character("Eileen") (also default, $ e = … and an assignment in a python block) makes e speak as Eileen. "Eileen" "Hi" uses the quoted name, a bare string is narrator, and extend continues the speaker before it. A character with no definition in the file, or a name set while the game runs (Character("[name]"), DynamicCharacter), uses the variable name and the preview says so.
  • Text: strings in ", ' or backticks, over one line or several; a """ string gives one line per paragraph. Text tags ({b}, {w}) and interpolation ([name]) stay in the text and are not spoken; a line that interpolates is flagged.
  • Branches: menu: choices are option lines with their if condition. Ren'Py gives a choice no identifier, so its id is <label>_menu_<8 hex digits from its words>: it keeps its takes until its words change. Lines under if, elif, else and while carry that condition as their direction. jump, call and return shape the Flow view: a call and a jump inside an if are drawn as a way out that the next lines still follow, and a label that does not end in jump or return runs on into the next one. A jump expression or call expression is flagged and left out.
  • Context, not spoken: $ …, show, scene, play, voice "file.ogg", with, pause, the lines of a python: block, and jump, call and return are kept as commands on the lines next to them.
  • Skipped: the blocks of screen, image, transform, style, translate, init python and any other statement; define and default other than characters; a say statement with no words. A statement that looks like neither dialogue nor a known keyword is counted in the preview.
  • Refused: a say statement without an id, a repeated id, a string that never closes.
  • One file per project. Characters defined in another file are not seen, and a label in another file is not a jump target. A label with no lines of its own is not drawn in the Flow view.

CSV, TSV and Excel (.xlsx)

  • Picker: .csv, .tsv, .tab, .txt, .xlsx, or rows pasted from a spreadsheet.
  • Header row: required. You choose which column holds the line id, speaker and text (required), and optionally scene, direction and locale. Common header names are guessed, such as ID, Key, Character, Actor, Text, Dialogue, Scene, Notes and Language. The mapping is saved for later imports.
  • Delimiter: a .tsv or .tab file and rows pasted from a spreadsheet are always tab-separated, even when a header holds a comma. Any other file is comma-separated, or tab-separated when its header row holds a tab and no comma outside quotes. Both go through the same mapping.
  • Quotes: CSV follows RFC 4180, so quoted fields may hold commas, quotes ("") and line breaks. In TSV a quote only starts a quoted field at the start of a cell, so He said "stop" keeps its quotes.
  • Rows: blank rows are skipped. Rows without text are skipped with a warning. Rows without a speaker get unassigned, with a warning.
  • Unity Dialogue System: its voiceover script export is a CSV with an entrytag column. Import it as a CSV project; Entrytag and Entry Tag are guessed as the line id (and Dialogue Text as the text), so the entrytag is the line id, and the Unity Dialogue System export preset names each file by it.
  • Excel: .xlsx only (not .xls, .xlsm or .ods). You pick the sheet when there are several; the first is the default. Dates read as dates, booleans as TRUE/FALSE and formulas as their saved value. A sheet may use at most 100,000 rows, 200 columns and 2 million cells, and a workbook at most 255 sheets and 32 MB unpacked.
  • Refused: an unterminated quoted field, a mapped column the file lacks (the error lists the columns it has), and a workbook that is damaged or over the limits above.

Yarn Spinner (.yarn)

  • Version: Yarn Spinner 2.x source files.
  • Ids: every spoken line needs a #line: tag. The id keeps its line: prefix. Yarn Spinner's ysc tag adds missing tags.
  • Scenes and speakers: the node title becomes the scene. Name: text gives the speaker; otherwise the line is narrator.
  • Directions: options (->) and line groups (=>) are marked option, and an inline <<if …>> becomes the direction.
  • Skipped: blank lines, // comments and command-only lines (<<…>>). Markup such as [b]…[/b] stays in the text.
  • Refused: a file with untagged lines (the error gives the first one).

Ink (.ink)

  • Source: the .ink source, not the compiled .json.
  • Ids: every spoken line needs an #id: tag (the Dink and Ink Localisation Tool convention). A file with untagged lines is refused, and the import screen offers a tagged copy to download and commit.
  • Lines: one line per line the Ink runtime prints. Glued segments (<>) are one line. A choice is an option line, and its output is a line of its own.
  • Scenes and speakers: the scene is knot or knot.stitch. Name: text gives the speaker; otherwise the line is narrator.
  • Skipped: comments, declarations, ~ logic, knot and stitch headers and divert-only lines. An untagged line that glue makes unsafe to tag is skipped with a warning.
  • Refused: untagged lines, and knot or stitch names over 200 characters.

Dink (.ink)

  • Source: the .ink source of a [Dink](https://github.com/wildwinter/dink) project (Ink with rules for dialogue), not the compiled .json.
  • Dink knots: a knot or stitch with a #dink tag at its top, or every knot when #dink sits at the top of the file. Other knots import as plain Ink.
  • Lines: in a Dink knot, CHARACTER (qualifier): (direction) Text gives the speaker CHARACTER. The qualifier (V.O., O.S.) and the direction (guilty) are taken out of the spoken text and kept as notes for the delivery. A line without CHARACTER: is an action beat and is not voiced. Choices work as in Ink; * [FRED: Fine.] is an option spoken by Fred.
  • Ids: every dialogue line needs an #id: tag. The Dink compiler adds them; a file with untagged dialogue is refused, and the import screen offers a tagged copy to download and commit.
  • Notes: #vo: tags (#vo:loud gives loud) and // comments on or above a line are kept as notes. A comment aimed elsewhere with another prefix (// LOC:, // SFX:) is dropped; // VO: and unprefixed comments are kept. #ws: writing-status tags stay tags only.
  • Skipped and refused: as for Ink.

JSON (.json)

  • Shape: an array of line objects, at the root or at a dotted path such as dialogue.lines.
  • Mapping: you check which field holds the line id, speaker and text (required), and optionally scene, direction and locale, each a dotted path inside a record. A guess is made from the first array of objects (at most 6 levels deep) and the same header names as CSV.
  • Values: strings and numbers are read; a missing or null field is empty.
  • Rows: a record without text is skipped with a warning; a missing speaker becomes unassigned.
  • Refused: invalid JSON, a records path that is not an array, a record that is not an object, and a field holding a boolean, object or array.

Godot Dialogue Manager (.dialogue)

  • Version: nathanhoad's Dialogue Manager 4 for Godot 4.
  • Ids: every spoken line needs an [ID:key] tag, kept as the line id. The editor's "Generate line IDs" action adds missing ones.
  • Scenes and speakers: a ~ title sets the scene of the lines after it. Name: text gives the speaker (spaces allowed); otherwise the line is narrator.
  • Directions: responses (- text) are marked option; a trailing => title is dropped.
  • Skipped: blank lines, # comments, => jumps, do, set, if, elif, else, match, when and while lines, and lines holding only tags. Tags such as [#happy], [wait=1] and [speed=2] are removed from the text.
  • Warns: {{variable}} interpolation.
  • Refused: a file with untagged lines (the error gives the first one).

Dialogic 2 (.dtl)

  • Version: Dialogic 2 timelines for Godot 4.
  • Ids: every text line and choice needs a #id:key tag, kept as the line id. Dialogic's translation id generation adds missing ones.
  • Scenes and speakers: label Name sets the scene of the lines after it. Name: text gives the speaker; a name with spaces is quoted ("Old Man": text) and a portrait goes in parentheses (Name (sad): text). A line with no name is narrator.
  • Directions: choices (- text) are marked option, with their | [if …] conditions dropped.
  • Skipped: blank lines, # comments, bracket events ([voice …], [wait …], [signal …], [background …] and the like), and the logic lines jump, if, elif, else, set and return.
  • Warns: {variable} interpolation.
  • Refused: a file with untagged lines (the error gives the first one).

articy:draft (JSON export)

Import-only: Tone reads the export and never writes to your articy:draft project. This importer was built from the exports articy publishes for its demo project and has not yet been run against an export of a customer project; tell us if a file of yours is refused or reads wrongly.

  • articy:draft 3: choose Export → Export to .json and drop the one .json file. Export with localisation off, so the text is in the file; an export made with localisation on is refused.
  • articy:draft X: the JSON export is several files (manifest.json, package_…_objects.json, package_…_localization.json and others). Select all of its .json files together; the text is read from the localization files, in the language that matches the project's locale (en for en-US). The Unreal export writes those same files into one .articyue archive; drop that file instead and Tone opens it in your browser.
  • Lines: every dialogue fragment with text, including templates based on a dialogue fragment. A fragment without text is skipped and counted in one warning.
  • Ids: the fragment's articy id (0x0100001600000059). articy:draft never changes it, so takes survive a renamed technical name or reworded text.
  • Scenes and speakers: the scene is the display name of the dialogue the fragment sits in (or else of the flow fragment). The speaker is the display name of the entity in the fragment's Speaker field; a fragment with none is unassigned, with a warning.
  • Directions: the Stage Directions field becomes a script note. The lines a split in the flow leads to are marked option, with the condition of their input pin; the Menu Text labels the option in the Flow view.
  • Branches: connections are followed through hubs, conditions, instructions, jumps, fragments without text and the pins of dialogues and flow fragments. A line or hub with several ways on is drawn as a choice, whether the player or a condition picks the way.
  • Kept as written: text formatting markup from the export, and script expressions in conditions.
  • Not read: voice-over assets, template properties, global variables, locations, documents and other languages than the project's (import those as translations).
  • Refused: a file that is not JSON or not an articy:draft export, one file of an articy:draft X export on its own, an articy:draft X export without a file its manifest names or without the project's language, and an .articyue archive that is cut short or packed in a way Tone has not seen. The articy:draft 3 Unreal export (.articyue4) is plain JSON: rename it to .json.
  • Limits: an export of more than 200,000 objects, an object with more than 100 input or output pins and a pin with more than 1,000 connections are refused. A way through the flow keeps at most 16 conditions of 500 characters each, and a connection label 200 characters; longer ones are shortened with a warning. A flow too tangled to follow in full still imports every line, with a warning that some branches are missing.

Bringing a delivery into Unity, Godot or Unreal

Each engine has a sample project under examples/engines/ that imports a real delivery of the harbour-hub sample (Saltmarsh Quay, 55 lines) and plays every line. examples/engines/README.md says how to rebuild the deliveries and run each check. The Godot steps below have been run; the Unity and Unreal steps have not yet been run in those engines and are a checklist.

Godot 4 with Dialogue Manager (checked)

Checked with Godot 4.7 and Dialogue Manager 4.1.

1. In the .dialogue file, give every spoken line an [ID:key] (Dialogue Manager's "Generate line IDs" adds them). Import the file into a Tone project as Godot Dialogue Manager. 2. Export with the Godot preset, as WAV (24-bit PCM) or MP3. 3. Unzip the delivery and copy its voice/ folder into the project root, so a clip is res://voice/<locale>/<line id>.<wav|mp3>. Let the editor import the clips. 4. In your balloon, Dialogue Manager hands you each line as a DialogueLine; its static_id is the [ID:key]. Load and play the clip:

gdscript var clip: AudioStream = load("res://voice/%s/%s.mp3" % [locale, line.static_id]) $Voice.stream = clip $Voice.play()

5. For Dialogic, voice-lines.tsv gives each line id's res:// path and the [voice path="…"] event to paste above that line's text event. (Dialogic has not been checked in a project.)

Unity with the Dialogue System (checklist)

1. Export the Dialogue System's voiceover script as CSV. Import it into a Tone project as CSV. Entrytag or Entry Tag is guessed as the line id, Actor as the speaker, Dialogue Text as the text and Conversation as the scene. Map the columns by hand if your export names them otherwise. 2. Export with the Unity Dialogue System preset (WAV or MP3). 3. Unzip the delivery and copy its Resources/ folder into Assets/, so a clip is Assets/Resources/VoiceOver/<entrytag>.wav. 4. In the Dialogue Manager's settings, keep the Entrytag Format the voiceover script was exported with: the file names are those entrytags. 5. Set the Default Sequence to AudioWait(VoiceOver/entrytag). Unity's Resources.Load takes a path inside a Resources folder and does not search its subfolders, so the bare AudioWait(entrytag) that the delivery's README gives would not find the clips. 6. For a second locale, use AudioWait(VoiceOver/entrytaglocal). entrytaglocal is the entrytag plus _ and the Dialogue System's current language code. Tone adds _<locale> (_fr-FR) to every locale but the project default, so the two match only when the language code is the same tag. 7. Run Check Entrytag Audio in the Dialogue Editor; it should list no missing clips.

Unreal with Dialogue Waves (checklist)

1. Import your script in any format. Export with the Unreal preset (WAV only). 2. Unzip the delivery. Each clip is <locale>/<speaker>_<line id>.wav, with accents dropped and every character but letters, digits and _ made _ (Gate Guard, hub_guard_1 → Gate_Guard_hub_guard_1.wav). 3. Drag the locale folder into the Content Browser, or import it with a script (the sample's Scripts/import_harbour.py). Each file becomes a Sound Wave named for the file. 4. For Dialogue Waves, make one Dialogue Voice per speaker and one Dialogue Wave per line. Use manifest.csv to map each file back to its line id, speaker and text, then set the Wave's spoken text and a context mapping from the speaker's voice to the Sound Wave. 5. Check the <speaker>_<line id> names against your own pipeline: Unreal does not fix one naming convention.

The Tone Unreal plugin (integrations/unreal/Nairrator) does steps 2 and 3 from the editor: it pulls the approved lines with an API token, or imports an unzipped delivery folder, and makes the Sound Waves and a voice table that maps each line id to its Sound Wave. It has not been compiled or run in Unreal yet; its README says what is and is not checked.

Bringing a delivery into Wwise or FMOD

The wwise and fmod deliveries carry files that create the events, not just the WAVs. These steps have not been run in the tools yet. The checklist is in examples/engines/README.md, with the documentation each step relies on.

Wwise

wwise-import.tsv has the columns Audio File, Object Path, Object Type, Event and Notes. Import it with Project → Import Audio Files… → Import tab delimited…. For each line it creates:

  • a Sound Voice named for the line id, under Actor-Mixer Hierarchy\Default Work Unit\Dialogue\<speaker>, with the line text as its notes;
  • a Play event, Events\Default Work Unit\Dialogue\<speaker>\Play_<line id>. The @Play suffix in the sheet names the action. The folders in the event path carry no type tag: Wwise makes each untagged level a Virtual Folder.

A bark's variants go into a Random Container named for the line id. The container has its own row, with no audio file, and the bark's Play event is on that row, so the event plays one variant at random. The variant rows carry no event. Re-importing adds no second action to an event that already has an identical one.

A speaker name's \, < and > become _ in both paths, so a name cannot add a level or read as a type tag, and an @ becomes _ in the event path.

The importer asks for the language. The README names the delivery's locale and the matching Wwise language, for example en-US → English(US). A second locale's delivery imports into the same objects and events with its own language. nairrator push wwise --events (see docs/cli.md) imports the same objects and events through WAAPI.

Wwise 2025.1 renames the Actor-Mixer Hierarchy to Containers and the Actor-Mixer type to Property Container. The sheet uses the 2023.1 and 2024.1 names; check where the objects land in 2025.1.

FMOD

fmod-import.js is an FMOD Studio script. Copy it into the project's Scripts folder and choose Scripts → Reload. It adds two items under Scripts → Tone:

  • Set up dialogue event makes event:/Dialogue/Line with one programmer instrument, if it is missing, and assigns it to the bank you name. FMOD's scripting reference has no call that creates an audio table, so it tells you the one manual step: add an audio table to the bank on the delivery's locale folder. The game passes the line id as the key. Use this for dialogue and for localized games.
  • Import lines as events imports every file and makes event:/Dialogue/<speaker>/<line id> with a single instrument, or a multi instrument for a bark's variants. Running it again after a later delivery replaces the audio and duplicates no event. A line whose files do not import (importAudioFile returns null, for a wrong folder for example) is listed in the closing message and its event is left as it was. These events hold one language.

nairrator push fmod --events runs Import lines as events from the command line, over FMOD Studio's scripting console on port 3663 (see docs/cli.md).

The lines are a JSON literal at the top of the script. fmod-import.js replaces the fmod-multi-instruments.js of earlier deliveries; delete that file from your Scripts folder. fmod-keys.txt still lists each line id with its file name.

Delivery export options

POST /api/studio/games/:id/export takes these beside preset, locale, audioFormat and loudness. All are optional; left out, the delivery is every approved line of the locale as 48 kHz, 24-bit, mono files.

  • `lineScope` delivers part of the locale: scenes (scene keys as the Board shows them), speakers, listId (a saved list) and lineIds (ids as the script writes them, at most 1000). Fields narrow each other; entries inside one field widen it. The lines are matched by the Review screen's own filter. Line ids that name no line of the locale are returned as scope.unmatchedLineIds and do not stop the export.
  • A scoped delivery takes the next delivery number like any other. Its manifests, changes.json and import sheets cover the lines in scope only, manifest.json and changes.json state the scope, and the README says the delivery is partial. Lines out of scope keep what the previous delivery recorded for them and are never reported removed.
  • `changedOnly` packages only the audio of lines added or changed since the previous delivery; the manifests still list every approved line (every approved line in scope, with a scope). After a scoped delivery, a whole changed-only delivery still picks up what changed outside that scope.
  • `sampleRate` (44100 or 48000), `bitDepth` (16 or 24, WAV only) and `channels` (mono or stereo). Stereo is the same mono voice on both channels. Settings other than the defaults are recorded in manifest.json under audio.

POST /api/studio/games/:id/export/plan takes the same body and answers what the export would produce, without encoding or recording anything: the zip's name and delivery number, the file count, every audio path and the folders with their counts, the text files, how many lines are approved, stale, not approved or blocked by an unsafe id, each line that would be left out with its reason, and refusal, the message the export would be refused with (null when it would run). It cannot know what only shows while encoding, such as a take whose audio is missing from storage.

When a file cannot be read or converted, the rest of the delivery still goes out. The response lists each failed file with its line id and a reason under failed, the zip carries the same list as export-report.json, and the manifests and import sheets leave those files out. The failed lines are not recorded as delivered, so the next changedOnly export packages exactly them (and anything changed since). The export is refused, with nothing recorded, only when no file could be produced. A delivery without failures has no export-report.json.

POST /api/studio/games/:id/export/archive (the review zip of takes) takes lineScope too, and reports failed takes the same way.

Exchanging translations: XLIFF 1.2 and CSV

The Locales tab (and GET /api/studio/games/:id/localization/export) exports a target locale for a translator, and imports their file back with a preview first. Units are matched by line id; nothing else in the file can rename or add a line.

XLIFF 1.2, which memoQ, Trados, Phrase, Crowdin and Smartcat read:

xml <trans-unit id="hub_baker_1" resname="hub_baker_1" maxwidth="58" size-unit="char" nrr:rev="3" nrr:trev="2"> <source>Fresh bread for <ph id="1">{{player_name}}</ph>! <ph id="2">[laughs]</ph></source> <target state="needs-review-translation" state-qualifier="mt-suggestion">Frisches Brot für <ph id="1">{{player_name}}</ph>! <ph id="2">[laughs]</ph></target> <note from="speaker">Baker</note> </trans-unit>

  • Placeholders, text and rich-text tags and sound cues are <ph> elements, which CAT tools lock. On import, <x id> is read as the source's <ph> with that id, and <g>, <mrk>, <bpt> and <ept> keep their text.
  • state out: no <target> for an untranslated line, needs-review-translation with mt-suggestion for a machine translation, translated for reviewed, final for final. In: final or signed-off makes the line final; any other new or changed target makes it reviewed.
  • nrr:rev is the source line's revision at export, nrr:trev the translation's (namespace urn:nairrator:xliff:1). A target whose trev is no longer the line's (someone edited it in the app since) is a conflict and is not written. A unit whose rev is behind the source imports, and the line then shows "source changed".
  • maxwidth (characters) is set when the project's lip-sync switch is on.
  • Notes carry the speaker, scene, writer's direction and glossary renderings.
  • A DOCTYPE is refused, as are files over 10 MB or 50,000 units.

CSV (UTF-8 with a BOM, comma-separated; TSV is read too) has the columns ID, Speaker, Scene, Direction, Source, Target, Status, Max length, Source revision, Target revision, Notes. Only ID and Target are required on import, matched by header name in any order; give the locale with the upload, since a CSV does not name it. Placeholders appear as written: keep every {{…}}, […], {…} and <…> exactly. A cell that starts with =, +, -, @, a tab or a carriage return is written with a leading ' so a spreadsheet does not run it as a formula; import removes that ' again. Status final makes the line final.

On import a target that drops, adds or changes a placeholder, tag or cue is refused with the missing and extra spans named. An empty target is skipped, and so is a line of the target locale that came with the script rather than from translation.

Not supported

  • Formats not listed here, including .xls, .ods, Twine, Dialogue System for Unity databases and compiled Ink JSON. Export them to CSV, TSV or JSON first.
  • Writing edits back into an articy:draft project, and articy:draft's XML and Excel exports. Use the JSON export.
  • Generated ids. A line without one is refused rather than given an id that would change between imports.
  • Ren'Py's automatic dialogue identifiers from .rpy source, several .rpy files in one project, and writing voice statements into a script. Give each say statement an id, or import the launcher's dialogue.tab.