Getting started

The devkit window

The devkit's panels and layout, the Content Browser, Quick Open, undo, the number fields, and opening and deleting a mod's files.

The devkit is laid out like Unreal's editor: a viewport in the middle, panels around it, and every panel a dockable window. Once you know this page, every module works the same way.

The layout

Where Panel What it does
Top Menu bar File: New Mod, Open Mod (every folder of mods/, or another folder), Open File (Ctrl+O), Close Mod, Save All (Ctrl+S), Empty Trash, Quit. Edit: Undo / Redo. Window: the panels, Module panels, Reset Layout, Quick Open, the modules by section. Help: the documentation, the version and the folders in use.
Left Modules The open mod's manifest (name, author, version, description, requires) and the modules by section, as a tree. A module's own panels are listed under it; a click opens them. Under the list, the open module's tools.
Middle Viewport The active module's scene, drawn by the game's own renderer. Modules without a 3-D view (the table editors, Cook) show their page here.
Right Details The active module's properties and commands. The Level Editor puts its Outliner above it.
Bottom Content Browser The game's assets and the mod's files (below).
Bottom Output Log Everything logged, filterable to warnings and errors.
Bottom Status bar The last message, the open mod, the disc and the state of the game data.

Docking and the layout

Drag a panel by its tab to dock it at another edge, split a node, stack it as a tab beside another, or float it as its own window. The x on a tab closes the panel; Window lists every panel to reopen it, and Window > Reset Layout puts the default layout back.

The layout, the panels' sizes and which panels are closed are kept in data/RTNDEVKIT_layout.ini, so the devkit opens the way you left it.

Some modules have panels of their own: the Level Editor's Outliner, Tools and Palette, the Class & Race Editor's Skill Tree Designer, the Animation Editor's Timeline, Curves and Skeleton Tree, the Items editor's Item Preview. Window > Module panels lists every module's panels whether its module is open or not; picking one opens its module and brings the panel up wherever the layout put it.

The viewport camera

The same controls in every 3-D module:

Do How
Orbit Right drag
Pan Middle drag
Zoom Mouse wheel
Frame the subject or selection F
Fly Hold the right button and use W S (forward, back), A D (sideways), E or Space (up), Q or Ctrl (down); Shift is faster

Sections, Home and Quick Open

Modules are grouped into sections, listed in the same order in the Modules panel, the Window menu and on Home: World, Characters & Animation, Gameplay, Scripts, Text & Audio and Mod. Home is the first page on a first start: every module with a line on what it does, the panels that live inside modules, the open mod, a short getting-started list and the shortcuts.

Quick Open (Ctrl+P, or Window > Quick Open) is a search box at the top of the window. Type words of a name in any order to find:

  • a module (level, class race),
  • a module's panel (skill tree),
  • anything in the Content Browser: models, equipment, clips, levels and the mod's files (kobold, blood1).

The arrow keys move, Enter or a click opens the result (a module is shown; an asset opens in the module that wants it), Esc closes the box.

The Content Browser

Three tabs, each with a filter:

Tab Lists
Game The cooked game data: models, textures, clips and levels.
Equipment The disc's worn armour and held weapon models (its EQCACHE and WCACHE caches, read from the disc image).
Mod The open mod's own files.

A click selects an item. A double click opens it in the module that wants it most, the active module first. For example, double-clicking a model while the Cloth Painter is open opens it there; with the Asset Viewer open, it is shown there.

Reopening a mod's files

Everything the devkit saves into a mod opens again for editing: double-click it in Mod, or pick it with File > Open File (a file of another mod under mods/ opens that mod first). It opens in the module that wrote it:

File Opens in
maps/<id>.toml, .heightfield, .voxels, .terrain, .automap Level Editor
gamedata/monsters.toml Creature Editor
gamedata/heroes.toml, scripts/*.lua used by classes and races Class & Race Editor
gamedata/items.toml, skills.toml, rules.toml, areas.toml The matching table editor
gamedata/effects.toml Effect Creator
gamedata/world.toml Sky & Lighting (Weather from its tab)
BG/DATA/GTEXT.LMP/gtext.uni.txt Text
replacers.toml Model Replacer, else Animation Replacer
a glTF a replacer uses (assets/sources/...) Model or Animation Replacer, else Model Import
assets/sources/anims/*.rtaclip.json Animation Editor
assets/graphs/*.rgraph Blueprint Editor or Material Editor
cloth/**/*.cloth Cloth Painter
prefabs/*.toml Prefabs
a level's script.qs, maps/<id>.qs Script Editor
any other scripts/**.lua Lua Scripts

gamedata/campaign.toml opens in the Campaign module. Interface files (ui/) are written by hand (Interface mods).

Deleting a mod's files

In the Mod tab, right-click a file and choose Delete..., or select it and press Delete. Ctrl+click toggles rows and Shift+click marks a range, to delete several at once. Only the open mod's own files can be deleted, never the disc's, the cooked cache's, or the mod's mod.toml.

A confirmation lists every file that will go, and every table that will be taken out of another file. Nothing happens until you confirm.

  • Deleting any file of a map deletes the whole map: every maps/<id>.* file, its [level."@<mod>/<id>"] tables in gamedata/world.toml, and the [mission.*] rows of gamedata/campaign.toml that play it. Other mentions of the map (another row's medal or bonus level, say) are listed and left alone.
  • Nothing is removed for good. Files move to mods/<mod>/.trash/<date-time>/ with their paths, and the old text of an edited world.toml or campaign.toml is copied there too. Copy them back to undo. The browser and the cook skip .trash/; File > Empty Trash removes it for good.
  • An editor that has a deleted map open closes it first (its unsaved changes are lost), and the undo history is cleared.

Saving

File > Save All (Ctrl+S) saves every module's unsaved work. Most modules also have their own Save button. Editors that write game data save only what differs from the original game (or the base the entry was made from), so mods stay small and combine well.

Some files are rewritten whole by their editor: comments you wrote by hand in world.toml or a table file are not kept when the devkit saves it. Keep notes in a separate file (any .md or .txt in the mod is ignored by the game, but see what may be published).

Undo and redo

Every edit a module makes is a command on one undo stack: Edit > Undo (Ctrl+Z) and Redo (Ctrl+Y or Ctrl+Shift+Z). A slider drag or a brush stroke is one step. The Edit menu names the step it will undo. Opening another mod clears the history.

Number fields and sliders

Every number field and slider in the devkit works the same way:

Do Result
Shift while dragging Fine: a tenth of the speed (on a slider, a fine drag over the same range)
Alt while dragging Fast: ten times the speed
Ctrl+click Type an exact value (clamped to the range)
Mouse wheel over the control One step (with Shift: a tenth of a step)

Back to the default

A small R button beside a value brings its default back. It shows only while the value differs, and it is an undo step. You'll find it in the Cloth Painter, the Model Replacer's remaster and material settings, the Level Editor's map numbers and tool settings, the Class & Race Editor's per-level values, the Skill Designer's keys and more. Other editors use their own words for the same thing: the Sky & Lighting and Weather fields have an x (remove the mod's key, so the preset's value comes back) and the table editors Revert (the game's value).

Shortcuts

Keys Does
Ctrl+P Quick Open
Ctrl+S Save All
Ctrl+O Open a file of a mod
Ctrl+Z / Ctrl+Y Undo / Redo
F Frame the subject or selection in the viewport
Right drag + WASD QE Fly the camera
Ctrl+Shift+Q Leave a play test and return to the devkit

Modules add their own; each module's page lists them.

Starting the devkit with options

RTNDEVKIT [--mods <mods dir>] [--cache <data/cache>] [--disc <iso or extracted disc dir>]

All are optional. --mods and --cache point the devkit at other folders than the ones beside the exe; --disc uses another disc image or an extracted disc folder. See Command-line tools.