Living Tool
Browse the docs
Docs/Guides

Importers

Bring your own models, textures, poses, sound samples, music and movies into a project. Each importer converts to the game's format, prices the result against the engine's budgets in a dry run, and saves it as a project edit.

v0.1.27 · updated 25 Oct 2026 · 9 min read

Models

Every importer works the same way. Pick a file, read the dry run the dialog shows, and choose Import. The result is saved in your project like any edit, and you can revert it from the project's staged changes. Importers need the desktop app.

To replace a model, select it in Models and choose Import model… in the inspector. Living Tool reads OBJ (quads kept, larger faces fanned, vertex colours and the MTL texture read) and glTF 2.0 or GLB (node transforms applied). It picks each polygon's class from what the face has: texture, normals, smooth or per-corner colour. The dialog sets Lighting (Lit where normals or Prelit; field models are always prelit), Scale, and whether to also import stem.png into the model's own texture through its palette.

Importing draken_v2.obj into Draken. The vertex count matches, so all 7 poses still animate it, and both toy budgets fit.
Importing draken_v2.obj into Draken. The vertex count matches, so all 7 poses still animate it, and both toy budgets fit.

Poses survive only if the vertices do. With the same vertex count, the pose block is kept. With any other count, every pose becomes a neutral pose that moves nothing. OBJ keeps each vertex in order, but glTF splits vertices at seams, so its positions are welded. To keep poses, start from Export OBJ and keep its material names, such as t00a_c7807_lit, which carry the texture page, palette and flags.

ContainerLimit
Living ToyFile ≤ 0x20000 (staging buffer); sections 0–4 plus the built model ≤ 0xE000 (toy slot)
Baby formFile < 0x37800
Enemy, battle Knight, field Knight and Baby (sys/6)No more sectors than the retail file

An import over a limit is refused with MODEL_BUDGET. The dry run also warns about UVs off the page, coordinates past ±4,096 and welded faces. Arenas (bf/*) export only.

Textures

In Textures & VRAM, choose Import PNG… in the inspector, then how to treat colours:

  • Keep this palette. Each pixel takes the nearest colour of the current palette row, and transparent pixels take its 0x0000 entry. If the row has no 0x0000 entry, an image with transparent pixels is refused. An indexed PNG whose palette matches keeps its indices exactly.
  • New palette from the image. Living Tool builds up to 15 opaque colours (255 at 8 bpp), plus a transparent index 0 when the image needs one, and replaces the row's colours.
Import PNG… on SYS14 offers Keep this palette or New palette from the image. The PNG must be 512×512, the page's size.
Import PNG… on SYS14 offers Keep this palette or New palette from the image. The PNG must be 512×512, the page's size.

The PNG must be exactly the texture's size, because polygons and code address its VRAM rectangle directly; the import is written into the same rectangle at the same depth. Start from Export PNG so the size and palette match. A toast reports the pixels and palette entries changed, the colour error, and how many other palettes now show the new pixels. Texture import works on the plain-TIM system pages; a toy's texture comes in with its model.

Poses and animation

In Animations, Export poses writes the rest model stem.obj and one OBJ per pose, stem_pose01.obj onward. Edit them, then choose Import poses… with either:

  • OBJ frames, one per pose in name order. Each must have the exported model's vertex count and order. In Blender, export with File › Export › Wavefront and Animation ticked; shape keys and armatures both bake down.
  • One glTF with shape keys. For a model imported from that glTF, the first shape key becomes pose 1, and so on. For any other, vertices are matched by rest position, and the dry run reports the ones that don't match.

A frame that matches an existing pose keeps its bytes, and poses past the last frame stay as they are. The dry run shows poses before and after, the largest move and the budget meters. The import is refused for a pose that reaches past the model, more than 255 poses, fewer poses than a battle sequence uses, or a container over budget. To retime sequences, see Playing animations.

Sound samples

In Music & sound, select a sample slot and choose Replace sample…, then a WAV. Any PCM, float or extensible WAV is mixed to mono, resampled, and encoded to SPU-ADPCM. The dialog sets Rate, 11,025–44,100 Hz (22,050 by default, since the banks store no rate), and Loop: Keep the loop or Play once.

The dry run gives the length, the sample bytes before and after, the loop point, the encoding SNR, and other slots that share these bytes and change too. Meters cover SPU RAM, the staging buffer and the bank file; a hard budget refuses with SAMPLE_BUDGET, and one retail already breaks only warns.

Music

Songs are TSQ sequences that play the bank's samples. In Music & sound, select a song cue and open MIDI in the inspector: Export cue N as MIDI or Import MIDI into cue N…. Sound-effect cues can't take a song.

Importing tune.mid into bgm/0 cue 1: five tracks, three programs mapped to sample slots, and the SPU, staging and TSQ buffer meters.
Importing tune.mid into bgm/0 cue 1: five tracks, three programs mapped to sample slots, and the SPU, staging and TSQ buffer meters.

Living Tool reads standard MIDI files, format 0 or 1:

  • A MIDI program picks a sample slot; the dialog lists each program with a slot picker and warns about empty slots.
  • A TSQ track plays one note at a time, and a song has 24. Notes are dealt to free tracks; with all 24 busy, a note is dropped.
  • Velocity, CC7 and CC11 set volume and expression, and CC10 pans. Pitch bends and other controllers are ignored.
  • Notes outside 0–95 move by octaves. Transpose shifts the whole song.
  • loopStart and loopEnd markers (or CC111) loop the song; Loop can also play it once.

The new song must fit the bank's TSQ buffer, or the import is refused with SEQ_BUDGET. Exporting a retail cue first shows the timing: at 60 PPQN and 60 BPM one MIDI tick is one sequencer tick. Retail packs songs with loops and jumps, so a long song re-imported as plain notes may no longer fit.

Streamed music (MP3, OGG, FLAC, WAV, M4A)

On a project whose base has the music player (HackerGC hackergc-blank 1.1 or later), any song of the game can play your own recording instead of its sequence. Open Music & sound, pick a music bank (bgm/n) and its song cue, and choose Stream audio… in the bank's header. Living Tool decodes the file, resamples it, encodes it to the SPU's ADPCM and stores it as a new file on the disc; the game streams it from the CD wherever it plays that song: in the area, in battle and in scenes.

Video walkthrough

From a new project to your song playing in the game: build on HackerGC 1.1, pick the song, stream the MP3, listen to it, then play.

The song in the video, Harbour at Dusk, was made for it and is free to use in your own projects: download the MP3 (0:40, 962 KB).

The dialog

The dialog sets:

  • Quality. 22,050 Hz stereo is the default and sounds like the game's own samples; 32,000 Hz is clearer, and mono or a lower rate keeps more music buffered.
  • Loop. The whole song, from a point (an intro that plays once), or once through. The loop lands on a frame, so the song may play a fraction of a percent faster; the dry run says how much.
  • Volume and Normalise.

The dry run shows the song's length on the disc and how many seconds play from the buffer while the game loads map chunks. Area and battle songs (bgm/1–56, 58–60) give up their sequence and the samples only that song used, which makes room for the stream; their jingles and other cues keep working. The overworld theme and the other common songs (bgm/0) borrow the area music bank while they play, so the next town's music loads again when you walk in. Play in the streamed song's panel plays it as the game will, a few seconds past the loop; Take the stream out puts the original song back. Agents can do the same with the stream_music tool.

Sound effects (MP3, OGG, FLAC, WAV, M4A)

Any audio file can become a new sound effect that your event scripts play. Open Music & sound, pick a bank, and choose Add sound… in its header. Living Tool trims the silence at either end, brings the level up, resamples the sound, encodes it to the SPU's ADPCM and adds it to the bank as a new sample and a new cue. The dialog gives you the line that plays it, such as sfx 0x0132. Paste it into a script, or use Play a sound… in Events & scripts, where your sounds are listed by name.

The dialog sets:

  • Name, so you can find the sound in the script editor.

  • Bank. The game's sound memory is full, so where a sound lives decides where it can play:

    • an area's music bank (bgm/n) plays in that area and its battles;
    • the common bank (bgm/0) plays everywhere but the flight;
    • bgm/47 plays in scenes;
    • the system banks (sys/0, sys/8) play everywhere, but have only a few KB free.

    On the retail disc most music banks are full. Once one of a bank's songs streams, the room its sequence and samples used is free for sounds. The list shows each bank's room.

  • Quality. 22,050 Hz is the default; 11,025 Hz takes half the room.

  • Plays. Once, or Loop until stopped for rain, engines and other ambience. A loop plays until a script sends the same line plus 0x8000 (sfx 0x8132 stops sfx 0x0132).

  • Volume, Trim silence, Normalise and Reverb.

The dry run shows the script line, the sound's length and quality, its size and the bank's meter. Selecting a sound in the bank shows its panel: rename it, copy its line, or Remove it (scripts that play it then play nothing). Your sounds stay when you stream or put back a song in the same bank. Sounds work on the retail disc and on any base. Agents can do the same with the add_sound tool.

The game stops every sound as a field starts, so a sound played in a scene's first frames is cut off. Put a short wait before it.

Movies

On the Movies tab of Music & sound, choose Replace… on a movie, then From PNG frames and a WAV… (a folder of PNGs in name order, then a WAV, which you can skip for silence) or From an STR file… (raw 2,352-byte sectors or 2,336-byte payloads at the same picture size).

Replacing movie/8 with 60 PNG frames and a WAV: 2,150 sectors become 600, and the game now stops at frame 60.
Replacing movie/8 with 60 PNG frames and a WAV: 2,150 sectors become 600, and the game now stops at frame 60.

The movie is encoded the way the game's are laid out: the old movie's picture size at 15 fps, each frame in its own 10 sectors, with 4-bit stereo XA sound at 37.8 kHz in one sector of every eight. Frames of another size are fitted with Fit inside, Fill or Stretch. Each frame gets the finest quantiser that fits its sectors and the player's decode budget, and the dry run measures the quality on a sample frame.

The game stops a movie at a frame stored in an overlay table, so Living Tool rewrites that too, for the movie and its aliases. A movie that grows past its extent is moved to the end of the disc when you build, and the dialog warns you first.