Texture mods

A texture mod swaps a picture the game draws for one you painted.

You need a mod folder to put pictures in. Download the texture kit and unzip it. Put your name in its mod.json.

Three steps #

  1. Save the pictures. In the model viewer, open the model, press Textures, then Save all. You get a ZIP named for the model, like spooky-wardrobe-textures.zip, with every texture of the model, each already named with a label in front. Unzip it. The pictures come from the game data loaded in your browser, read from your own disc. Nothing is downloaded from our servers.
  2. Paint over the pictures. Use any paint program that saves PNG. Keep each file's name. Delete the ones you did not paint.
  3. Drop them into the mod's textures/ folder and watch them change live. Run playac-mod dev in the mod folder and connect the game to it (developer mode). After one restart, the game draws each picture again every time you save it.

No playac-mod? In developer mode, Choose folder works too, live in Chrome and Edge. To install for good, ZIP the folder and install it from Settings, Mods. The artist path shows every click.

Reference #

You need none of this for the three steps.

The model viewer #

  • It lists models: villagers, furniture, clothing, tools, trees and rocks, buildings and more. It also lists what is not a model. Ground and water has the town's acres. Rooms and sky has room floors and walls, and the train window. Menus and UI, Effects and More textures have the rest.
  • Pick one texture in the panel for its own buttons. Copy name copies its exact name. Any palette copies its $ name. Save PNG saves that one picture.
  • Some textures load only while the model moves, such as a villager's eyes and mouth. Let the model play and the list grows.

File names #

the pattern
<label>_tex1_<width>x<height>_<texture hash>_<palette hash>_<format>.png
  • The label is optional.
  • A texture with no palette has no palette part: tex1_32x32_8b5a1b4a83d4d7c7_14.png.
  • Upper and lower case do not matter in the tex1_... part or the ending.
  • The width and height in the name are the game's own size, whatever size your picture is.
  • Files in folders inside textures/ count too. The folder is the one content.textures names in mod.json.

Labels #

A label in front of the name tells you what a file is.

a labelled name
bookshelf-top_tex1_32x32_626709d910129694_$_8.png
  • The game matches the part after the last _tex1_. The file above is the same texture as tex1_32x32_626709d910129694_$_8.png.
  • A label is 1 to 40 lowercase letters, digits and dashes, then one underscore. Any other label is refused (texture-label).
  • Labels work in content.textures, its subfolders included, and in an item's own textures folder. The HD pack's names carry none.
  • Different labels do not make different textures. Two files that are one texture once the labels are taken off are refused (texture-label-twice).
  • A .png and a .dds of the same name, with no labels, install with a warning (texture-twice). The game uses only one of them.
  • Save PNG and Save all in the model viewer label each file with the model's name, and a number when the model has several textures, as in spooky-wardrobe-2_tex1_32x48_65c5e32a98ece516_$_8.png. Change the label to anything you like.

Reference: textures folder, with every name pattern, limit and error code.

Palettes, $ names and one season #

Many textures are drawn with a palette, a small table of colours. The game swaps palettes for the season and the time of day, and each pairing has its own name.

  • $ in place of the palette hash matches the pixels under every palette. Save all uses the $ name where there is one, so your picture shows all day and all year.
  • For one season or time of day only, use the exact name: pick the texture and press Copy name. The viewer draws one palette, so that name is for that palette only.
  • A file with the palette hash wins over a $ file for that palette.
  • A $ file is loaded once and shared, so it costs one texture's memory.
  • The town grass has nine palettes through the year. The Springtime Town recipe covers them with one $ file per texture.

PNG or DDS #

Start with PNG. Use DDS when your pictures are big or many.

FormatNotes
PNGAny kind. Easiest. Costs as much memory as uncompressed RGBA.
Uncompressed 32-bit RGBAWorks everywhere. RGBA and BGRA (A8R8G8B8) both draw right.
BC1 (DXT1)Small, no smooth transparency.
BC3 (DXT5)Small, with smooth transparency.
BC7Best for its size. Needs BPTC support, which many phones lack.
  • Save a DDS with one level, no mipmaps. The mod list refuses one with anything after it.
  • Keep one file per texture, not a .png and a .dds.
  • In GIMP: File, Export As, a name ending .dds, Compression: None or BC3, Mipmaps: No mipmaps.
  • In Paint.NET: Save As, DDS, R8G8B8A8 or a BC format, Generate Mip Maps off.
  • playac-mod check names a file the game cannot read, mipmaps, and a picture smaller than the original.

Sizes and limits #

  • The same size as the original works. 2x or 4x is sharper. Keep the shape: a 32x64 texture stays twice as tall as it is wide.
  • A PNG is at most 2048 x 2048. A 2048 x 2048 PNG is 16 MB of pixels, however small its file.
  • All switched-on mods' PNGs together: at most 96 MB of pixels, 24 MB on a phone.
  • All switched-on mods' DDS files together: at most 96 MB, 24 MB on a phone. BC7 and BC3 take 1 byte a pixel, BC1 half a byte, uncompressed 4.
  • All switched-on mods together unpack to at most 96 MB, 24 MB on a phone.
  • The game leaves out a picture over a limit, and the Mods tab names it.

Common textures #

The names people ask for first, as $ names. Add .png or .dds.

WhatWhen the game draws itFile name
Tree crown (grown broadleaf, fruit and golden trees)February 25 to December 9, except April 1 to 8tex1_64x64_a67216e4ad55d908_$_8.dds
Tree crown, cherry blossom daysApril 1 to 8tex1_64x64_ac6a2be34281d4e2_$_8.dds
Tree crown, winter (snow on top)December 10 to February 24tex1_64x64_53d6cc5ace654ac7_$_8.dds
Cedar crownFebruary 25 to December 9tex1_64x64_2913073a15235562_$_8.dds
Cedar crown, winterDecember 10 to February 24tex1_64x64_136aa80a0926d0a3_$_8.dds
Palm frondsFebruary 25 to December 9tex1_128x32_9dff2c84fba803e5_$_8.dds
Palm fronds, winterDecember 10 to February 24tex1_128x32_53b283fa3171bbdd_$_8.dds
Grass (3 variants)February 25 to December 9tex1_32x32_626709d910129694_$_8.dds
tex1_32x32_903adc6355e36f59_$_8.dds
tex1_32x32_e96fecd242518c9f_$_8.dds
Grass, winter (3 variants)December 10 to February 24tex1_32x32_e2ab673814e71af6_$_8.dds
tex1_32x32_cfa57a6e6f966d11_$_8.dds
tex1_32x32_82f28ec4199a45be_$_8.dds
Cliff faces (3 variants)February 25 to December 9tex1_64x64_99c780e750314916_$_8.dds
tex1_64x64_16de5cbb85d58cc0_$_8.dds
tex1_64x64_f628105fb6e026fd_$_8.dds
Cliff faces, winter (3 variants)December 10 to February 24tex1_64x64_0dd181f7c8e1d9e1_$_8.dds
tex1_64x64_e5488c12d43d6cbc_$_8.dds
tex1_64x64_64ac9d75399172f0_$_8.dds
River and pond banks (3 variants)February 25 to December 9tex1_64x64_1218fdfe9c963f24_$_8.dds
tex1_64x64_78690dcebd874a3b_$_8.dds
tex1_64x64_2d865e307f1a0fdc_$_8.dds
River and pond banks, winter (3 variants)December 10 to February 24tex1_64x64_2ec0ba79769bedc7_$_8.dds
tex1_64x64_b6437b8020145bc6_$_8.dds
tex1_64x64_9438dc9288174b5a_$_8.dds

A tree crown's $ name covers golden trees too, the same crown under a gold palette. To keep them gold, name your crown once per palette you want, with the palette hash in place of $.

Per-item textures #

A texture mod changes a texture everywhere. A mod item can instead carry pictures of its own, drawn only on that item. Its files are named the same way, after the base item's textures.

Two mods, one texture #

  • A file with the palette hash beats any mod's $ file for that palette.
  • Otherwise the mod lower in the Mods tab list wins.
  • Any mod beats the HD texture pack.

Names from Dolphin #

The tex1_... names are the ones Dolphin HD packs use, so a Dolphin pack for this game should work as it is. The game does not read Dolphin's _m mipmap form: drop the _m.

Before you share #

  • Every picture is your own work. Delete every file you did not repaint.
  • No art from Nintendo or any other game, film, show or brand, traced or redrawn copies included.
  • The mod list refuses an unchanged copy of a game texture, and a moderator looks at every texture.

See Rules and Publishing.