File Formats

Documentation regarding proprietary file formats for Payday 2 and other modern Diesel games.

.animation Format

This page will be an approximate breakdown on the current known information on the .animation file format. Used in modern Diesel games such as Payday 2, Payday: The Heist, and RAID: World War II.

A key thing to note is this format is compressed using level 6 zlib compression and must be uncompressed before parsing, and compressed once again after any changes. The uncompressed file size is appended to the end of this data.


Headers

Main File Header

Object Names Header

Unknowns Header

Event Triggers Header

Object Positions Header

Object Rotations Header


Object Names

Note: The order of these matches up to Object Positions and Object Rotations.

STARTING AT (Offset for Object Names) FOR EACH (Number of Object Names)


Unknowns

STARTING AT (Offset for Unknowns) FOR EACH (Number of Unknowns)


Event Triggers

STARTING AT (Offset for Event Triggers) FOR EACH (Number of Event Triggers)


Object Positions

Note: The order of these matches up to Object Names and Object Rotations. Positions are relative to the objects parent object.

STARTING AT (Offset for Object Positions) FOR EACH (Number of Object Positions)


Object Rotations

Note: The order of these matches up to Object Names and Object Positions. Rotations are relative to the objects parent object.

STARTING AT (Offset for Object Rotations) FOR EACH (Number of Object Rotations)