Difference between revisions of "Texture Packs"

From Luanti Wiki
Jump to navigation Jump to search
Line 13: Line 13:
 
The native resolution of Minetest's textures are 16 × 16 pixels.  
 
The native resolution of Minetest's textures are 16 × 16 pixels.  
  
All versions of Minetest support custom textures with use of the <code>texture_path</code> commandThe <code>/textures/all/</code> folder was added in 0.4.dev-20120408 ''(18d8e3ac)''. And the main menu ''Texture packs'' tab was added in 0.4.8-dev ''(38315341)''.
+
All versions of Minetest support custom textures with a folder under the main Minetest Folder called ''textures''This folder was added in 0.4.dev-20120408 ''(18d8e3ac)''. Changing texture packs is done via the in game main menu tab ''Content''.
  
 
== Installation ==
 
== Installation ==

Revision as of 11:28, 20 September 2019

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:

The native resolution of Minetest's textures are 16 × 16 pixels.

All versions of Minetest support custom textures with a folder under the main Minetest Folder called textures. This folder was added in 0.4.dev-20120408 (18d8e3ac). Changing texture packs is done via the in game main menu tab Content.

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.