Texture Packs

From Luanti Wiki
Revision as of 23:33, 13 April 2017 by MrIbby (talk | contribs)
Jump to navigation Jump to search
Languages Language: English • français
The default texture pack (left), vs HDX-256 (right).

A texture pack is the collection of files that are used to change the in-game textures of blocks, items, mobs and the GUI. The native resolution of Minetest's textures are 16 × 16 pixels.

All versions of Minetest support custom textures with use of the texture_path command. The /textures/all/ folder was added in 0.4.dev-20120408 (18d8e3ac). And the main menu Texture packs tab was added in 0.4.8-dev (38315341).

Installation

In any version of Minetest, the easiest way to install a custom texture pack is by doing the following:

  1. Download a texture pack.
  2. If it is compressed, extract the texture pack folder (with a program such as 7-Zip) into the textures directory in your Minetest directory.
  3. Select the texture pack in the main menu Texture packs tab.

For more in depth instructions with specific version info please see the Installing Texture Packs tutorial.

Finding Texture Packs

Texture packs can be currently found in several places:

Texture Pack Creation

To create a custom texture pack, you must edit the default files. If you have experience with image editors then creating your own custom texture pack is fairly straightforward.

  1. Locate the default textures.
  2. Create a new folder to hold your new texture pack.
  3. Use your preferred image editing program – GIMP is free/open-source and works well – and create a PNG file for each texture that you want to modify. Any image editor that supports transparency – also called “alpha” – should be OK.
  4. The textures may be any size, but square images whose edge lengths are powers of 2 (16 × 16, 32 × 32, 64 ×64, 128 × 128, …) are preferred for visual and consistency reasons.
  5. Compress the folder — not only the files inside – in a .zip archive and upload it (Mediafire and Dropbox are popular choices), and post your announcement in the Texture Packs forum.

For more in depth instructions please see the Creating texture packs tutorial.