Welcome to the Creatures Wiki! Log in and join the community.

Difference between revisions of "ATT files"

From Creatures Wiki
Jump to navigation Jump to search
m
 
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
'''.att''' is the extension used for the [[Creatures series]] '''ATT files''', also known as '''body data''' files. These files can be viewed and edited in a plain text editor, such as Windows Notepad. They are used by the Creatures games to detail how to connect ''(or "attach")'' [[breed]] images together. Each breed [[sprite|image]] file has an associated attachment file by the same name, in which the co-ordinates of key points for each pose are written.
 
'''.att''' is the extension used for the [[Creatures series]] '''ATT files''', also known as '''body data''' files. These files can be viewed and edited in a plain text editor, such as Windows Notepad. They are used by the Creatures games to detail how to connect ''(or "attach")'' [[breed]] images together. Each breed [[sprite|image]] file has an associated attachment file by the same name, in which the co-ordinates of key points for each pose are written.
__NOTOC__
+
 
 +
==File naming convention==
 +
 
 +
You can find the file naming convention [[Sprite|here]].
 +
 
 
==File Structure==
 
==File Structure==
 
Each ATT file contains one row for each image (or 'pose') within its corresponding [[sprite]] file.
 
Each ATT file contains one row for each image (or 'pose') within its corresponding [[sprite]] file.
 
Each pair of columns represents the coordinates (x and y) of a specific connecting body part on the image the row relates to.
 
Each pair of columns represents the coordinates (x and y) of a specific connecting body part on the image the row relates to.
  
'''Creatures 1:'''  
+
'''Creatures 1:'''
 
*12 ATT files A-L
 
*12 ATT files A-L
*10 rows x 4 columns  
+
*Each file has 10 rows, one for each pose
*exception: body has 12 columns (last 2 are zeros)
+
*HeadData (A): 4 columns per row (start pos, mouth pos)
 +
*BodyData (B): 12 columns per row (head, left leg, right leg, left arm, right arm, tail) (last 2 are zeroes)
 +
*LimbData (C–L): 4 columns per row (start pos, end pos)
  
 
'''Creatures 2:'''
 
'''Creatures 2:'''
 
*14 ATT files A-N
 
*14 ATT files A-N
*10 rows x 4 columns  
+
*Each file has 10 rows, one for each pose
*exception: body has 12 columns
+
*HeadData (A): 4 columns per row (start pos, mouth pos)
 +
*BodyData (B): 12 columns per row (head, left leg, right leg, left arm, right arm, tail)
 +
*LimbData (C–N): 4 columns per row (start pos, end pos)
  
 
'''Creatures 3/DS:'''
 
'''Creatures 3/DS:'''
 
*14 ATT files A-N
 
*14 ATT files A-N
*16 rows x 4 columns
+
*Each file has 16 rows, one for each pose
*exception: head has 10 columns (last 6 are zeros)
+
*HeadData (A): 10 columns per row (limbdata start, mouth, left ear, right ear, hair/limbdata end) (last 6 are zeros)
*exception: body has 12 columns
+
*BodyData (B): 12 columns per row (head, left leg, right leg, left arm, right arm, tail)
 +
*LimbData (C–N): 4 columns per row (start pos, end pos)
 +
*??? (Z): 2 columns per row
  
 
'''Creatures Village:'''
 
'''Creatures Village:'''
 
*17 ATT files A-Q
 
*17 ATT files A-Q
*16 rows x 4 columns
+
*Each file has 16 rows, one for each pose
*exception: head has 10 columns
+
*HeadData (A): 10 columns per row (limbdata start, mouth, left ear, right ear, hair/limbdata end)
*exception: body has 12 columns
+
*BodyData (B): 12 columns per row (head, left leg, right leg, left arm, right arm, tail)
*exception: hair has 2 columns
+
*LimbData (C–P): 4 columns per row (start pos, end pos)
 +
*HairData (Q): 2 columns per row (start pos?)
  
Note that numbers within .att files do not have leading zeros, the files have one single space character between each number, and each row finishes with one space and then a return character.
+
Within rows, each number column is separated by whitespace. The row may have leading or trailing whitespace.
  
{{stub}}
+
After the rows, the rest of the file may contain arbitrary data, such as comments.
  
 
==Related links==
 
==Related links==
 
*[[Norn Builder]]
 
*[[Norn Builder]]
 +
*[[Att File Editor]] - official tool
 +
*[[Designer's Table]]
  
 
==External links==
 
==External links==
* [http://www.geocities.com/SiliconValley/Vista/7820/bodydata.html Body data tutorial for the original version of creatures at Norn Holiday]
+
* [https://web.archive.org/19990210172654/www.geocities.com/SiliconValley/Vista/7820/bodydata.html Body data tutorial for the original version of creatures at Norn Holiday]
* [http://www.gamewaredevelopment.co.uk/cdn/cdn_more.php?CDN_article_id=101 Official Creatures 2 Attachment Editor]
 
 
[[Category:File formats]]
 
[[Category:File formats]]

Latest revision as of 16:51, 3 December 2023

.att is the extension used for the Creatures series ATT files, also known as body data files. These files can be viewed and edited in a plain text editor, such as Windows Notepad. They are used by the Creatures games to detail how to connect (or "attach") breed images together. Each breed image file has an associated attachment file by the same name, in which the co-ordinates of key points for each pose are written.

File naming convention[edit]

You can find the file naming convention here.

File Structure[edit]

Each ATT file contains one row for each image (or 'pose') within its corresponding sprite file. Each pair of columns represents the coordinates (x and y) of a specific connecting body part on the image the row relates to.

Creatures 1:

  • 12 ATT files A-L
  • Each file has 10 rows, one for each pose
  • HeadData (A): 4 columns per row (start pos, mouth pos)
  • BodyData (B): 12 columns per row (head, left leg, right leg, left arm, right arm, tail) (last 2 are zeroes)
  • LimbData (C–L): 4 columns per row (start pos, end pos)

Creatures 2:

  • 14 ATT files A-N
  • Each file has 10 rows, one for each pose
  • HeadData (A): 4 columns per row (start pos, mouth pos)
  • BodyData (B): 12 columns per row (head, left leg, right leg, left arm, right arm, tail)
  • LimbData (C–N): 4 columns per row (start pos, end pos)

Creatures 3/DS:

  • 14 ATT files A-N
  • Each file has 16 rows, one for each pose
  • HeadData (A): 10 columns per row (limbdata start, mouth, left ear, right ear, hair/limbdata end) (last 6 are zeros)
  • BodyData (B): 12 columns per row (head, left leg, right leg, left arm, right arm, tail)
  • LimbData (C–N): 4 columns per row (start pos, end pos)
  • ??? (Z): 2 columns per row

Creatures Village:

  • 17 ATT files A-Q
  • Each file has 16 rows, one for each pose
  • HeadData (A): 10 columns per row (limbdata start, mouth, left ear, right ear, hair/limbdata end)
  • BodyData (B): 12 columns per row (head, left leg, right leg, left arm, right arm, tail)
  • LimbData (C–P): 4 columns per row (start pos, end pos)
  • HairData (Q): 2 columns per row (start pos?)

Within rows, each number column is separated by whitespace. The row may have leading or trailing whitespace.

After the rows, the rest of the file may contain arbitrary data, such as comments.

Related links[edit]

External links[edit]