CFP

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FormatInfo |formattype=electronic |subcat=Game data files |extensions={{ext|cfp}} |endianness=Little-endian }} '''CFP''' (Compressed Floating Point) is a format used in The ...")
 
Line 1: Line 1:
 +
:''CFP can also refer to Complete Fax Portable, listed in the [[Fax formats]] page.''
 
{{FormatInfo
 
{{FormatInfo
 
|formattype=electronic
 
|formattype=electronic

Revision as of 14:25, 16 February 2020

CFP can also refer to Complete Fax Portable, listed in the Fax formats page.
File Format
Name CFP
Ontology
Extension(s) .cfp
Endianness Little-endian

CFP (Compressed Floating Point) is a format used in The Sims to store animations. These files are referenced in CMX/BCF files in the "skills" section, to define the animated movements a character performs.

The data consists of a series of short IEEE floating point numbers (little endian), defining offsets and rotations, encoded in a manner that is more compact than raw IEEE data.

Values unable to be encoded in any of the several methods used for this are stored as five byte sequences starting with 0xFF, which is followed by a four-byte IEEE floating point number.

Other values can compactly encode repeats of the same number or repeats with a slight delta (difference).

Format description

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox