Skip to content

Custom textures

carlos edited this page Dec 2, 2026 · 3 revisions

Custom textures

You can replace any of the game's textures with your own edits, packed into one .pack file that the game loads from its in-game menu. This covers textures only: models, animations and sounds can't be changed this way.

The commands below run in your build folder (the blinx1-recomp clone the bundle was built from). They need CLI v0.24.0 or newer, which is what the current releases use.

1. Dump the textures you want to change

Start the game with this variable set, and visit the scenes that show the textures you want to change:

RECOMP_DEBUG=tex_dump=/path/to/dump

On an installed bundle, put the line in config/launch.env in the game's data folder (see where your data lives). Each scene you visit adds its textures to the dump. Remove the line again when you're done: dumping slows the game down.

2. Export them as PNGs

./blinx1 enhance textures export --dump /path/to/dump

This writes dist/enhance/export/<hash>.png, one per texture, plus an index.json. The file name is the texture's runtime hash: that's how the game matches your replacement to its texture, so don't rename the files. Exporting again from a longer dump only adds new files; it never overwrites one you've edited.

Options:

Option Effect
--out DIR export somewhere else
--only HASH only this texture; wildcards work (repeatable)

3. Edit the PNGs

Open the ones you want in any image editor. Rules:

  • Keep the exact aspect ratio: the game compares it exactly. You may make a texture larger (up to 16384 px a side), for example 2x or 4x for a sharper version.
  • Keep alpha (transparency) where the original has it.
  • Leave the files you don't change as they are: untouched PNGs are left out of the pack automatically, so a folder of a whole scene with three edits makes a pack of three, and the game draws its own textures for the rest.

4. Build the pack

./blinx1 enhance hud --import dist/enhance/export

The .pack file lands in dist/enhance/import/. The build stops on a PNG the game would ignore (a changed aspect ratio, over 16384 px, a cube map or linear texture) and names it.

Option Effect
--only HASH only this texture (repeatable)
--mips auto|full|none the mipmaps built for each texture; auto (default) builds them when the game's texture has them
--list print what would go in, write nothing

5. Load it in the game

  1. Put the .pack file in a textures folder beside your config folder (or beside the game's executable). With no pack loaded, the menu's Packs folder row shows that folder's full path.
  2. Open the menu (F10, Guide+A, or Back+L3 held; on the Steam Deck, Back+L3), go to the Pack page and pick your file on the Pack row. It loads at once, no restart.
  3. Use the pack turns it off for this session only, to compare with the original. Save keeps it for the next start. Pick none to drop it.

Or set it in config/config.toml:

[textures]
pack = "my-mod.pack"   # a bare name is looked for in the textures folder, then beside the executable

A file in the textures folder is never loaded on its own: until you pick it, the game stays stock.

Editing an existing pack (the HD pack, say)

The game loads one pack at a time. A pack you build with the steps above holds only your edits, so loading it replaces the HD pack (./blinx1 enhance textures build) rather than adding to it.

To customise a pack you have (the HD pack, or one someone shared), unpack it to PNGs, edit those, and repack it:

  1. Unpack. ./blinx1 enhance textures unpack dist/enhance/textures/textures.pack writes one PNG per texture to dist/enhance/unpack/ (named by its hash), plus an index.json. Add --list to print the entries without writing anything, --only HASH to unpack just some, or --out DIR for another folder.
  2. Edit. Change any <hash>.png you like. Any size works as long as the aspect stays the same. Leave the other files alone.
  3. Repack. ./blinx1 enhance textures repack dist/enhance/unpack writes the new pack to dist/enhance/repack/. Only the PNGs you changed are re-encoded. Every other texture is copied from the original pack byte for byte, so with no edits you get the same file back.
  4. Load it from the Pack page of the F10 menu, as in step 5 above.

Good to know:

  • Each edited texture is compressed again when it's saved, as when the pack was first built. Textures you didn't touch never are.
  • Some image editors blank the colour under fully transparent pixels when they save. That counts as an edit, so the texture is re-encoded even if it looks the same.
  • A few palette-tinted textures have no picture to edit; they are carried over unchanged, and repack names them.
  • Repack needs free disk space of about twice the pack size, plus your edits.

These commands come with the build tool in the release after 2026.12.1. On 2026.12.1 itself, unpack isn't there yet.

Checking that it works

  • At start, the log (logs/game-*.log) says [ENHANCE] textures.pack=<path> (<n> entries, ...).
  • Every 600 frames it prints textures.pack: N hits so far: how many textures were drawn from your pack.
  • A texture that won't swap: run with RECOMP_TRACE=tex_pack while the pack is loaded. The log then lists the textures the pack missed, and ./blinx1 enhance textures export --misses LOG exports just those.

Some textures only exist once the game builds them while loading: dump a scene that actually shows them.

Sharing your mod

The pack, the dump and the exported PNGs are made from the game's data, so they're not yours to share. Share your work as instructions, or as artwork that is entirely your own.