---
title: "TexturePacker GUI: Hidden features"
description: "Documentation: Hidden features, not available from the UI"
canonical: "https://www.codeandweb.com/texturepacker/documentation/hidden-features"
product: "texturepacker"
date: "2023-07-31T00:00:00.000Z"
source: "html"
---

# Hidden features

Some features are tucked away to keep the interface clean and easy to use. They don’t fit into the UI without adding clutter and are only needed by a small number of users.

Good news: you can still use them by editing your .tps file (it’s a simple XML file) in any text editor.

> **Warning:** **Important note** TexturePacker does not automatically reload the .tps file. After editing, close the window and re-open the file to apply your changes.

## Ignoring files and directories

By default, TexturePacker adds all image files it finds in a folder. Sometimes you might want to exclude certain files — for example, .psd files.

Locate the following section in your .tps file:

```xml
<key>ignoreFileList</key>
<array/>
```

This example ignores all files in a folder called **test**, and all files ending with **.psd**:

```xml
<key>ignoreFileList</key>
<array>
    <string>*.psd</string>
    <string>*/test/*</string>
</array>
```

Create one `<string>...</string>` for each entry. The expressions support Unix wildcards.

On the command line, use [`--ignore-files`](https://www.codeandweb.com/texturepacker/documentation/commandline/parameters.md#input-output) instead.

## Replacing file names and removing full path

You can replace parts of file names or remove directory prefixes by adjusting the following section in your .tps file.

Locate this section:

```xml
<key>replaceList</key>
<array/>
```

Replace it with these lines to remove all path segments from the sprite names:

```xml
<key>replaceList</key>
<array>
    <string>.*/=</string>
</array>
```

You can add multiple replacements — make a separate `<string>...</string>` for each.

The format is `REGEXP=STRING`. Replacements use Perl-compatible regular expressions.

On the command line, use [`--replace`](https://www.codeandweb.com/texturepacker/documentation/commandline/parameters.md#input-output) instead.

## Heuristic mask

The heuristic mask replaces a solid background color in a sprite with transparency. It works well in most cases.

To enable it, locate the following section in your .tps file:

```xml
<key>heuristicMask</key>
<false/>
```

…and replace it with:

```xml
<key>heuristicMask</key>
<true/>
```

On the command line, use [`--heuristic-mask`](https://www.codeandweb.com/texturepacker/documentation/commandline/parameters.md#sheet-layout) instead.

## In this section

- [Quickstart](https://www.codeandweb.com/texturepacker/documentation.md)
- [Installation & Licensing](https://www.codeandweb.com/texturepacker/documentation/installation-and-licensing.md)
- [Docker & CI](https://www.codeandweb.com/texturepacker/documentation/docker-ci.md)
- [Graphical User Interface](https://www.codeandweb.com/texturepacker/documentation/user-interface-overview.md)
- [Command line client](https://www.codeandweb.com/texturepacker/documentation/commandline.md)
- [Command line parameters](https://www.codeandweb.com/texturepacker/documentation/commandline/parameters.md)
- [Texture Settings](https://www.codeandweb.com/texturepacker/documentation/texture-settings.md)
- [Texture Compression](https://www.codeandweb.com/texturepacker/documentation/texture-compression.md)
- [Sprite Sheet Cutter](https://www.codeandweb.com/texturepacker/documentation/sprite-sheet-cutter.md)
- [Image Conversion](https://www.codeandweb.com/texturepacker/documentation/image-conversion.md)
- [Custom Exporters](https://www.codeandweb.com/texturepacker/documentation/custom-exporter.md)
