Jump to content

Imgcut files

From Battle Cats Game Modding Wiki
Revision as of 14:36, 4 September 2025 by Fieryhenry (talk | contribs)

An imgcut file is a file inside of ImageDataLocal or ImageDataServer which stores a set of regions / rectangles on a spritesheet for a texture.

Structure

The file starts with the text [imgcut] as a way to identify that this is an imgcut file.

On the next line it specifies the version? of the imgcut format used, which is always 0

The next line is the filename of the spritesheet, however this seems to be unused.

On the next line it specifies the total number of regions in this texture.

Each subsequent line defines the data for the region. Each column in the region has the following structure:

  1. X Position
  2. Y Position
  3. Width
  4. Height
  5. Comment (optional)

Examples

[imgcut]
0
super_cool_img_en.png
4
1,1,500,120,shadow
502,1,500,120,fire
1,121,300,20
123,142,50,50,bullet