Texture Packs

From Minetest Wiki
Revision as of 17:26, 20 October 2022 by ROllerozxa (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:

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

Since Minetest 5.0, texture packs available in the ContentDB are available in the Content tab-> Browse online content button. Texture packs installed in such a way are automatically installed.

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

  1. Download a texture pack.
  2. It is most likely the download will be compressed
  3. Extract the texture pack into the textures directory in your Minetest directory. You know you have the right folder when you see a file named texture_packs_here.txt. Use a program such as 7zip to extract the compressed folder.
  4. Once your texture packs are copied into the textures folder start/restart Minetest.
  5. After release 5.0.0 of Minetest, the Textures tab was renamed to the Content tab.
  6. Select the Content tab at the top of the main Minetest menu.
  7. Texture packs will appear in green in the left hand view pane.
  8. Select the texture pack you wish to use using the mouse.
  9. Select the Use Texture Pack button on the lower right of the window.
  10. The word Enabled should appear next to the texture pack you selected.

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

Texture Packs

ContentDB has a section dedicated to texture packs. Pick the resolution you would want:

Texture block 4 8.png Low resolution texture packs
(<16 pixels)
Texture block 16.png Normal resolution texture packs
(16 pixels - Same as default)
Texture block 32 64.png High resolution texture packs
(32 pixels)
Texture block 32 64.png Very high resolution texture packs
(64 pixels)
Texture block 128.png Extremely High resolution texture packs
(128+ pixels)

There is also the Texture Packs forum in the Minetest Forums

Note that as the pixel count of a texture pack increases a more powerful device will be needed to render and run Minetest.

There are also listings of texture packs on this Wiki, but they are outdated and don't contain all texture packs available on ContentDB:

Texture block 4 8.png Low resolution texture packs
4-8 pixels
Texture block 16.png Normal resolution texture packs
16 pixels - Same as default
Texture block 32 64.png High resolution texture packs
32-64 pixels
Texture block 128.png Very High resolution texture packs
128+ pixels
100px Other texture packs
Various

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 some source textures to modify. You can grab the original textures from mods by going into their 'textures' folder, or this texture pack which contains all original textures for Minetest Game and some additional mods.
  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. You can then upload it onto ContentDB and/or post it in the Texture Packs forum.

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