Open HAT File

HAT file is used by Duckgame game to store items that alter the way player looks in the game. Typical hat file includes multiple small images of a Duckgame character appearance. In principle HAT files are very similar to PNG file but prior to November 2020 PNG image had to be converted to a HAT files in order for it to be used in the Duckgame.

HAT files can store images in the following formats:

  • 32x32 (normal hat)
  • 64x32 (normal hat and quack)
  • 96x32 (normal, quack and cape)

Each HAT file can contain multiple images and is segmented to store hats in rows and columns.

It is also possible to customize a rock used in Duckgame. You can do it by adding extra 24 pixels below the hat.

Typical HAT file locations:

  • My Documents\DuckGame\Hats
  • \Users\\AppData\Roaming\DuckGame\Hats
  • \Steam\steamapps\common\Duck Game\Hats
  • \Steam\steamapps\common\Duck Game (.hat files only)

Certain HAT files can have effects embedded in them which is done by metapixels. For more details on metapixels read this Metapixels guide

HAT File helpful links and resources

How to open HAT files

Related extensions