v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Editing Tileset repository

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.

If you are creating a redirect to the current version's page, do not use any namespace. For example: use #REDIRECT [[Cat]], not #REDIRECT [[Main:Cat]] or #REDIRECT [[cv:Cat]]. See DF:Versions for more information.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{migrated article}}
 
 
{{For/see|user-created graphic sets|[[Graphics set repository]]}}
 
{{For/see|user-created graphic sets|[[Graphics set repository]]}}
{{av}}
+
 
 
{{Mod}}
 
{{Mod}}
  
A character set, or simply [[tilesets|tileset]], is an image in BMP or PNG format that contains the 256 different tiles, corresponding to the [[Main:Character table|IBM Code Page 437]] (sometimes called Extended ASCII). They are used to display the text elements in graphics mode and everything in ASCII mode. This page serves as a repository for custom tilesets made by users, including instructions on how to install them.
+
A character set, or simply [[tilesets|tileset]], is an image in BMP or PNG format that contains the 256 different tiles, corresponding to the [[Main:Character table|IBM Code Page 437]] (sometimes called Extended ASCII). They are used to display the main graphics. This page serves as a repository for custom tilesets made by users, including instructions on how to install them.
  
 
==Background==
 
==Background==
Line 11: Line 10:
  
 
==Installation==
 
==Installation==
{{TipBox|#fb0|float=center|'''Currently{{version|50.11}}, using some tilesets can cause the lower and right edges of the screen to not react to the mouse.''' This is dependent on size; the 8×12 and 10×12 that come with the game are fine, but the 16×16 is not. Maximizing the window or [[Settings|setting]] the game to fullscreen may avoid this.}}
 
Other issues that can appear when using a different tileset:
 
* In graphics mode, the minimap frame will scale to the tileset, but the minimap image will not.
 
* In graphics mode, using a tileset with a different aspect ratio will stretch UI elements.
 
* In graphics mode, some UI elements do not scale to the tileset.
 
* In either mode, and even with the default tileset at some scales and game display sizes, some menus may not have enough space to display all elements; the [[Noble#Menu|Nobles menu]] especially.
 
  
 
To use a specific tileset with ''Dwarf Fortress'', you must perform the following steps:
 
To use a specific tileset with ''Dwarf Fortress'', you must perform the following steps:
Line 22: Line 15:
 
# Download the tileset to your computer. Each tileset is just an image, so there is no separate download link. ('''Right-Click''' on the tileset image and '''Save-As'''.)
 
# Download the tileset to your computer. Each tileset is just an image, so there is no separate download link. ('''Right-Click''' on the tileset image and '''Save-As'''.)
 
# If necessary, convert the tileset to the correct image format for the version of DF you are using:
 
# If necessary, convert the tileset to the correct image format for the version of DF you are using:
## Do '''not''' just change the extension to .bmp or .png; you must use a program like MS paint to save it properly.
+
## ''For [[40d:Release information/0.28.181.40d|DF 0.28.181.40d]] or older:'' open the file in an image editor and save it as a '''24-bit bitmap''' (BMP) if it isn't already in that format.
## For ''[[40d:Release information/0.28.181.40d|DF 0.28.181.40d]] or older:'' open the file in an image editor and save it as a '''24-bit bitmap''' (BMP) if it isn't already in that format.
+
## ''For [[v0.31:Release information/0.31.01|DF 0.31.01]] or newer:'' open the file in an image editor and save it as a '''PNG'''  with ''transparency'' if it isn't already in that format.
## For ''[[v0.31:Release information/0.31.01|DF 0.31.01]] or newer:'' open the file in an image editor and save it as a '''PNG'''  with ''transparency'' if it isn't already in that format.
+
# Move/Copy the file to the DF art directory ({{tt|.../data/art}}).
# Move or copy the file to the DF art directory ({{tt|.../data/art}}).
+
# Edit the initialization configuration file ({{tt|.../data/init/init.txt}}) to specify the tileset file to use. There are four locations that can be changed:
# Edit the initialization configuration file ({{tt|.../data/init/init_default.txt}}) to specify the tileset file to use. There are three lines that can be changed:
+
## Specify the tileset for a windowed display by setting the filename in the '''[FONT:''<filename>'']''' tag.
## '''[FONT:''<filename>'']''' the tileset for a windowed display.
+
## Specify the tileset for a full-screen display by setting the filename in the '''[FULLFONT:''<filename>'']''' tag.
## '''[FULLFONT:''<filename>'']''' the tileset for a full-screen display.
+
## Specify the tileset for a windowed graphical display by setting the filename in the '''[GRAPHICS_FONT:''<filename>'']''' tag.
## '''[BASIC_FONT:''<filename>'']''' — the tileset for initial loading and menu display.
+
## Specify the tileset for a full-screen graphical display by setting the filename in the '''[GRAPHICS_FULLFONT:''<filename>'']''' tag.
## All three can be set to the same file. In fact, setting them to different files can give unexpected results
 
 
## Once you have made the changes you need to remember to save the file.
 
## Once you have made the changes you need to remember to save the file.
# If the selected tileset requires modifications to the [[Raw]]s, you will have to make those edits.  What those changes are will depend on the tileset itself, and may only be valid for older versions. Likewise, some tilesets may suggest changes to {{tt|d_init.txt}}, such as {{tt|[PILLAR_TILE:255]}}, but those options no longer exist.
+
 
 +
If the selected tileset requires modifications to the Raws, you will have to make those edits.  What those changes are will depend on the tileset itself.
  
 
Once the file is saved and the required changes are made, you are ready to play DF with your new tileset!
 
Once the file is saved and the required changes are made, you are ready to play DF with your new tileset!

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)

Templates used on this page:

This page is a member of 1 hidden category: