Skip to content

Colours and textures

Each colour of a piece is one .ytd texture file. This page shows how to add colours, from .ytd files or from pictures, and how to change, export and remove them.

A piece page scrolled to the COLOURS section, with the colour tiles and their buttons

On the piece page, in COLOURS, click Add textures… and pick files. You can also drop files on the piece page.

  • .ytd colour files are copied in as the piece’s next letters.
  • Pictures (.png, .jpg, .tga, .bmp) are turned into colour files for you. The studio asks how to store them:
Choice Use it for
BC7 (best quality) Blacks and soft gradients stay clean in game. It takes longer: a big picture can take up to half a minute. CodeWalker shows BC7 textures as blank; the game does not.
DXT (smaller) Smaller files (DXT1, or DXT5 when the picture is see-through). Dark areas and gradients can look blotchy.

To turn a picture into a colour, the piece needs at least one .ytd colour to build on. If it has none, add one .ytd first.

A piece can have 26 colours at most (a to z). The studio stops you before you go over.

Click a colour to show it on the preview ped. Tick colours (or Ctrl/Shift+click) and a bar appears:

Button What it does
Hide from game Takes the ticked colours out of the game in one step. The rest close up so they stay a, b, c… in order.
Bring back Puts hidden colours back.
Edit in picture editor Opens every ticked colour in your picture editor. Each save updates the piece. Needs a paid plan.
Delete from disk… Deletes the ticked colours’ files from the pack. The rest close up.
Remove from project Drops the ticked colours from this project only. The files stay on disk.
Tick all / Clear Ticks every colour, or none.
Item What it does
Optimize this colour… Opens Optimize with this colour. The tile shows ⚠ not optimized when the colour could be smaller than your default max texture size allows.
Replace… Puts another .ytd, or a picture, in place of this colour. A picture can only replace a .ytd that holds one texture.
Edit in (your editor)… Opens the colour in your picture editor and updates the piece each time you save. Needs a paid plan.
Edit in another program Lists the picture editors found on this computer (Photoshop, GIMP, Krita, Paint.NET), Windows’ app for the file and Choose a program…. The one you pick becomes your editor.
Recolour (Experimental)… Shift the colour’s hue, saturation and brightness. See Recolour a colour.
Colourways… Make many colours at once. See Make colourways.
Edit in Texture Studio… Paint on the colour with layers. See Texture Studio.
Export (.ytd)…, Export as XML…, Export as PNG…, Export as DDS… Save a copy. PNG is for editing; DDS keeps the pixels exactly as stored, with every mip level.
Show in Explorer Opens the folder with the file selected.
Delete from disk… Deletes this colour.
  1. Right-click a colour and choose Edit in (your editor)…, or Edit in another program to pick an editor.
  2. The colour opens as a .png (or a .psd, see below). A small window lists the colours being edited.
  3. Paint, then save in your editor with the same name, file type and place.
  4. The piece updates a moment later. The colour is stored back in its own compression, size and mip levels.

All the saves of one colour are one step in History, so you can undo them together. Set your editor, and whether colours open as .psd, in Settings → Live Link. With Open colours as .psd on, your layers stay between saves (in Photoshop, keep Maximize compatibility on). See Settings and shortcuts.

Some pieces from other games use tall textures (for example 2048×4096) but only one half. Make square… cuts every colour down to the part the model really uses, as a square, and moves the model’s UV map to match. The piece looks the same in game and uses about half the memory.

The studio shows the size before and after, and asks first. Each file is checked before it replaces the old one. Undo make square (next to the button) or History puts the piece back.

Right-click a colour and choose Recolour (Experimental)….

  • Move the hue, Saturation and Brightness sliders. Shading, stitching and print keep their contrast.
  • Or type a colour such as #2E4A7D and click Aim at this colour: the sliders are set so the colour’s overall tone becomes that one.
  • The preview ped wears the change while the window is open.
  • Replace this colour changes the colour file. Save as new colour (letter) adds a new colour to the piece instead.

On the Outfits page, Recolour outfit… makes the same change on the chosen colour of every piece in the outfit.

The Colourways window with its preset colour chips

Colourways… makes a batch of new colours from one colour. Each new colour becomes the piece’s next letter, and shading and print keep their detail.

  1. Right-click a colour and choose Colourways….
  2. Pick what to recolour: Whole texture, Colour range (click the picture) or Mask picture. For a colour range, click the colour in the picture and set Tolerance and Feather. A mask is a black-and-white picture the size of the texture: white is recoloured, black is kept.
  3. Type the colours as hex codes, for example #1F2A44, #B59A6E, or one per line with a name: Navy: #1F2A44.
  4. Check the results, then click Create N colours.

One undo in History takes them all away again. Normal + spec maps (Experimental)… in the same window opens normal and spec maps.

Colours by name (Experimental)… adds or replaces colours across many pieces at once. Right-click a piece, a group or several picked pieces and choose it, then drop files or click Choose files….

The files must be named after their piece and end in a letter, for example jbib_diff_005_c.png, or the piece’s own file name and a letter (jbib_005_u_b.ytd). Both .ytd files and pictures work.

  • A letter the piece already has replaces that colour.
  • A later letter adds a colour after the last one (up to 26).

The window shows how many colours will be replaced and added, then Apply writes them. Pieces in a pack are changed in place, with the colour count in the .ymt.

A normal map makes small bumps (stitches, fabric) catch the light. A spec map says which parts shine. Normal + spec maps (Experimental)… (in the Colourways window) guesses both from a colour’s brightness. It is a stand-in for a properly baked map.

  • Set Strength and blur for the normal map (fabric: 2–6), and Contrast and Brightness for the spec map. Invert (dark is raised) flips the bumps.
  • Write normal map and Write spec map put the maps where the model’s shader reads them: inside the model, into its texture file, or into a new file next to the model. Each write is one History step.
  • Save as PNG… saves both as pictures instead.

The window says if the model’s shader has no normal or spec map, in which case a map would not be used. The 3D preview does not draw normal maps, so check them in game.

Texture Studio can also make these maps: Filter → Normal map from picture and Spec map from picture.

Next: Texture Studio.