Difference between revisions of "Texture Packs"

From Luanti Wiki
Jump to navigation Jump to search
(rename minetest forums to luanti forums)
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{Languages}}
 
{{Languages}}
 
[[File:Texture comparison.png|thumb|300px|The default texture pack (left), vs HDX-256 (right).]]
 
[[File:Texture comparison.png|thumb|300px|The default texture pack (left), vs HDX-256 (right).]]
[[File:Minetest Texture Pack Comparison.jpg|thumb|300px|Texture Pack Example 1.]]
 
[[File:Minetest Texture Pack Comparison2.jpg|thumb|300px|Texture Pack Example 2.]]
 
[[File:Minetest Texture Pack Comparison4.jpg|thumb|300px|Texture Pack Example 3.]]
 
  
 
A '''texture pack''' is the collection of files that are used to change the in-game textures of:
 
A '''texture pack''' is the collection of files that are used to change the in-game textures of:
Line 11: Line 8:
 
* GUI.  
 
* GUI.  
  
The native resolution of Minetest's textures are 16 × 16 pixels.  
+
The native resolution of Luanti'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''.
+
All versions of Luanti support custom textures with a folder under the main Luanti 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''.
  
 
__FORCETOC__
 
__FORCETOC__
  
 
== Installation ==
 
== Installation ==
In any version of Minetest, the easiest way to install a custom texture pack is by doing the following:
+
Since version 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.
  
# Download a texture pack.
+
In any version of Luanti, the way to install a custom texture pack is by doing the following:
# It is most likely the download will be compressed
+
 
# 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''.
+
# Download a texture pack from somewhere.
# Once your texture packs are copied into the ''textures'' folder start/restart Minetest.
+
# Extract the texture pack into the ''textures'' directory in your Luanti directory. If on Windows, this folder should have a ''texture_packs_here.txt'' file inside. Use a program such as 7-zip to extract the compressed folder, if you cannot open the texture pack archive.
# After release 0.5 of Minetest the ''Textures'' Tab was renamed to the ''Content'' Tab.
+
# Once your texture pack is copied into the ''textures'' folder start/restart Luanti.
# Select the ''Content'' tab at the top of the main Minetest menu.
+
# Select the ''Content'' tab at the top of the main Luanti menu. Texture packs will appear in green in the left hand view pane.
# Texture packs will appear in green in the left hand view pane.
 
 
# Select the texture pack you wish to use using the mouse.
 
# Select the texture pack you wish to use using the mouse.
# Select the ''Use Texture Pack'' button on the lower right of the window.
+
# Double-click or select the ''Use Texture Pack'' button on the lower right of the window.
 
# The word ''Enabled'' should appear next to the texture pack you selected.
 
# The word ''Enabled'' should appear next to the texture pack you selected.
  
For more in depth instructions with specific version info please see the '''[[Help:Installing Texture Packs|Installing Texture Packs]]''' tutorial.
+
== Texture Packs ==
 +
ContentDB has a section dedicated to texture packs. Pick the resolution you would want:
  
== Finding Texture Packs ==
+
{|class="wikitable" style="text-align: center;margin-left: 50px"
 
Texture packs can be currently found in 4 main places:
 
 
 
# [http://minetest.net/customize/#texture-packs Popular texture packs] on the Minetest website [http://minetest.net main page]
 
# [http://forum.minetest.net/viewforum.php?f=4 "Texture Packs"] in the Minetest [http://forum.minetest.net Forum]
 
# Under the [http://content.minetest.net/packages/?type=txp Texture Pack] section of Minetest ContentDB
 
# List of Texture Packs on this wiki by category:
 
 
 
{|class="wikitable" style="text-align: center ; border-width: 0px 0px 0px 100px"
 
 
|[[File:Texture_block_4_8.png|frameless|100px]]
 
|[[File:Texture_block_4_8.png|frameless|100px]]
|[[Low resolution texture packs]]<br />4-8 pixels
+
|[https://content.minetest.net/packages/?type=txp&page=1&tag=less_than_px Low resolution texture packs]<br />(<16 pixels)
 
|-
 
|-
 
|[[File:Texture_block_16.png|frameless|100px]]
 
|[[File:Texture_block_16.png|frameless|100px]]
|[[Normal resolution texture packs]]<br />16 pixels - Same as default
+
|[https://content.minetest.net/packages/?type=txp&page=1&tag=16px Normal resolution texture packs]<br />(16 pixels - Same as default)
 +
|-
 +
|[[File:Texture_block_32_64.png|frameless|100px]]
 +
|[https://content.minetest.net/packages/?type=txp&page=1&tag=32px High resolution texture packs]<br />(32 pixels)
 
|-
 
|-
 
|[[File:Texture_block_32_64.png|frameless|100px]]
 
|[[File:Texture_block_32_64.png|frameless|100px]]
|[[High resolution texture packs]]<br />32-64 pixels  
+
|[https://content.minetest.net/packages/?type=txp&page=1&tag=64px Very high resolution texture packs]<br />(64 pixels)
 
|-
 
|-
 
|[[File:Texture_block_128.png|frameless|100px]]
 
|[[File:Texture_block_128.png|frameless|100px]]
|[[Very High resolution texture packs]]<br />128+ pixels
+
|[https://content.minetest.net/packages/?type=txp&page=1&tag=128px Extremely High resolution texture packs]<br />(128+ pixels)
|-
 
|[[File:Texture_block_various.png|frameless|100px]]
 
|[[Other texture packs]]<br />Various 
 
 
|}
 
|}
  
 +
There is also the [http://forum.minetest.net/viewforum.php?f=4 Texture Packs] forum in the [http://forum.minetest.net Luanti Forums]
  
''Note as the pixel count of a texture pack increases a more powerful device will be needed to render and run minetest''
+
''Note that as the pixel count of a texture pack increases a more powerful device will be needed to render and run Luanti.''
  
 
== Texture Pack Creation ==  
 
== Texture Pack Creation ==  
Line 66: Line 55:
 
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.
 
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.
  
# Locate the [https://github.com/minetest/minetest_game/tree/master/mods/default/textures default textures].
+
# Locate some source textures to modify. You can grab the original textures from mods by going into their 'textures' folder, or all the original textures for [https://content.minetest.net/packages/Minetest/minetest_game/ Minetest Game] from the 'textures' folders within the various 'mods' it contains.
 
# 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] 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.
 
# Use your preferred image editing program – [http://gimp.org 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.
 
# 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.
 
# 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. You can then upload it onto [https://content.minetest.net/packages/new/ ContentDB] and/or post it in the [https://forum.minetest.net/viewforum.php?id=4 Texture Packs forum].
  
For more in depth instructions please see the '''[[Help:Creating texture packs|Creating texture packs]]''' tutorial.
+
For more in depth instructions please see the '''[[Creating texture packs]]''' tutorial.
  
 
[[Category:Tutorials]]
 
[[Category:Tutorials]]
 
[[Category:Textures]]
 
[[Category:Textures]]

Latest revision as of 02:12, 23 October 2024

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 Luanti's textures are 16 × 16 pixels.

All versions of Luanti support custom textures with a folder under the main Luanti 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 version 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 Luanti, the way to install a custom texture pack is by doing the following:

  1. Download a texture pack from somewhere.
  2. Extract the texture pack into the textures directory in your Luanti directory. If on Windows, this folder should have a texture_packs_here.txt file inside. Use a program such as 7-zip to extract the compressed folder, if you cannot open the texture pack archive.
  3. Once your texture pack is copied into the textures folder start/restart Luanti.
  4. Select the Content tab at the top of the main Luanti menu. Texture packs will appear in green in the left hand view pane.
  5. Select the texture pack you wish to use using the mouse.
  6. Double-click or select the Use Texture Pack button on the lower right of the window.
  7. The word Enabled should appear next to the texture pack you selected.

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 Luanti Forums

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

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 all the original textures for Minetest Game from the 'textures' folders within the various 'mods' it contains.
  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.