Difference between revisions of "Texture Packs"

From Luanti Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
 
== What is a Texture Pack? ==
 
== What is a Texture Pack? ==
  
[[File:Texpack_example.png|thumb|300px|The default texture pack (left), vs MineToon (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.
+
[[File:Texpack_example.png|thumb|300px|The default texture pack (left), vs MineToon (right).]]
  
All versions of Minetest support custom textures with use of the <code>texture_path</code> command.  The <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)''.
+
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 <code>texture_path</code> command.  The <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)''.
  
 
== Installation ==
 
== Installation ==
Line 10: Line 12:
  
 
# Download a texture pack.
 
# Download a texture pack.
# If it is compressed, extract the texture pack folder (with a program such as [http://www.7-zip.org/ 7-Zip]) into the ''textures'' directory in your Minetest directory.
+
# If it is compressed, extract the texture pack folder (with a program such as [http://www.7-zip.org/ 7-Zip]) into the '''textures''' directory in your Minetest directory.
# Select the texture pack in the main menu ''Texture packs'' tab.
+
# 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.
 
For more in depth instructions with specific version info please see the '''[[Installing Texture Packs]]''' tutorial.
Line 28: Line 30:
 
# Locate the [https://github.com/minetest/minetest_game/tree/master/mods/default/textures default textures].
 
# Locate the [https://github.com/minetest/minetest_game/tree/master/mods/default/textures default textures].
 
# Create a new folder to hold your new texture pack.
 
# Create a new folder to hold your new texture pack.
# Use your preferred image editing program [http://gimp.org GIMP] and [http://www.aseprite.org/ Aseprite] are both free software and work well and create a PNG file for each texture that you want to modify. Any image editor that supports transparency also called “alpha” or “mask” — should be OK.
+
# Use your preferred image editing program [http://gimp.org GIMP] and [http://www.aseprite.org/ Aseprite] are both free software and work 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.
# The textures may be any size, but square images whose edge lengths are powers of 2 (16×16, 32×32, 64×64, 128×128, etc) are preferred for visual and consistency reasons.
+
# 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.
# Compress the folder — not only the files inside in a .zip archive and upload it ([http://mediafire.com Mediafire] and [http://dropbox.com Dropbox] are popular choices), and post your announcement in the [https://forum.minetest.net/viewforum.php?id=4 Texture Packs forum].
+
# Compress the folder — not only the files inside in a .zip archive and upload it ([http://mediafire.com Mediafire] and [http://dropbox.com Dropbox] are popular choices), and post your announcement in the [https://forum.minetest.net/viewforum.php?id=4 Texture Packs forum].
 +
 
 
For more in depth instructions please see the '''[[Creating texture packs]]''' tutorial.
 
For more in depth instructions please see the '''[[Creating texture packs]]''' tutorial.
  
 
[[Category:Tutorials]]
 
[[Category:Tutorials]]

Revision as of 18:26, 26 April 2014

What is a Texture Pack?

File:Texpack example.png
The default texture pack (left), vs MineToon (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 be 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 and Aseprite are both free software and work 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.