Skip to content
mispy Notes from a night desk

Extracting dialogue from Dragon Age: Inquisition

When a tool has no manual, the source becomes the map. The trick is learning which branch of the code decides what you are allowed to see.

Some of the most useful software arrives without instructions. A window opens, a list of numbered entries appears, and a row of buttons invites you to guess. When the guess is wrong, nothing happens. No warning, no log line, no small red text. Silence is not a bug report, but it is a clue.

Dragon Age: Inquisition stores a large share of its spoken lines inside a resource container. A reader for that container will usually show a tree of entries, some of which are indexes and some of which are payloads. The friendly looking entry is not always the one holding the words. The archive can contain a text index whose only job is to point at a table stored one level away.

The interface is a thin skin

Most modding tools are a small window over a much larger set of rules. Buttons map to handlers. Handlers inspect the selected entry, compare its type against a short list, and then choose an extraction routine. If the type is absent from that list, the handler can return early and leave the user with the impression that the tool is broken.

That is why the useful move is not to click more carefully. It is to read the dispatch. Find the function attached to the export control. Look at the conditions that lead to a file dialog, and look at the conditions that lead nowhere. The shape of the gap tells you what the author tested and what they did not.

A silent failure is still a decision. Somewhere, a condition rejected your input before it had a chance to explain itself.

What the container is telling you

The list of entries is not random. Names often mirror the folder structure of the original build: platform, language, and content type. A record labelled as text is usually an index, while the table that holds the strings sits beside it under a related type. Once the table is extracted, the strings may still be stored as identifiers rather than plain sentences. A second lookup is needed to turn those identifiers into dialogue.

The practical order of work looks like this:

  1. Identify the file type the tool knows how to export.
  2. Confirm that the archive contains a record of that type.
  3. Check whether the record is an index or the final table.
  4. Export the table, then resolve its identifiers into readable lines.
Field note

Reading code is often faster than guessing at an interface. A function signature can answer a question that ten failed clicks cannot.

The lesson is not specific to one game. It applies to any utility that hides its behaviour behind a handful of controls. The window is an invitation, not a specification. When the invitation is vague, the repository is the document you were looking for.