Difference between revisions of "Creating texture packs"

From Luanti Wiki
Jump to navigation Jump to search
m (Fixed wrong link formatting.)
m (Fixed wrong link formatting.)
Line 1: Line 1:
 
Texture packs are a simple folder containing image files named after the default ones.
 
Texture packs are a simple folder containing image files named after the default ones.
  
The easiest way to create a texture pack is to copy the files from [http://github.com/minetest/minetest_game|minetest_game] to get the file names of all the default textures.
+
The easiest way to create a texture pack is to copy the files from [http://github.com/minetest/minetest_game minetest_game] to get the file names of all the default textures.
  
 
Create a new folder to hold your new texture pack.
 
Create a new folder to hold your new texture pack.

Revision as of 00:01, 17 September 2013

Texture packs are a simple folder containing image files named after the default ones.

The easiest way to create a texture pack is to copy the files from minetest_game to get the file names of all the default textures.

Create a new folder to hold your new texture pack.

Under Windows, browse to your Minetest folder, enter the games/minetest_game folder, then hit Ctrl+F to invoke the search function. In the search box, enter "*.png" (without the quotes) to find all the image files (or directly use the "Images" option in the search page).

Under Linux, it's better to use the terminal. These commands should do the job:

   $ TP_NAME=your-pack-name
   $ cd ~/your/path/to/minetest
   $ mkdir textures/$TP_NAME
   $ find games/minetest_game/ -name '*.png' -exec cp '{}' "textures/$TP_NAME" ';'

Next, open your favorite image editor and edit the images in your texture pack folder, or create the images from scratch and save them over the original files. Any image editor that supports transparecy (also called "alpha" or "mask") should be OK.

The textures may be any size, but square images whose size is a power of 2 (16x16, 32x32, 64x64, 128x128, etc) is preferred.

Once you are finished creating your pack, compress the folder (not only the files inside) in a ZIP archive, upload to the web] (Mediafire and Dropbox are popular choices), and post your abbouncement to the Texture Packs forum.