EFF file

Description

The EFF file is an effect description. The size of an EFF file is (I believe) constant. The EFF format is to replace the old effect structs that appear in CRE, ITM, and SPL files. At least in CRE files, whether EFF V2.0 or the old structs appear is indicated by a flag in the header. Sorry, I don't have time right now to go into more detail, or to figure out exactly what is going on. This information is copied almost verbatim from the info emailed to me by Dmitry Jemerov. In a few weeks, I'll have more time to sit down and clarify and clean up this document. You can probably get a feel for what a lot of these fields mean by looking at the information in the format for the old-style effects.

EFF file (versions)

EFF V2.0

Overall structure

EFF V2.0 Header

OffsetSize (datatype)Description
0x00004 (char array)Signature ('EFF ')
0x00044 (char array)Version ('V2.0')

EFF V2.0 Body

OffsetSize (datatype)Description
0x00004 (char array)For on disk effects, this is a copy of the Signature field from the header. For embedded EFF V2.0 structures, this is zeroed out.
0x00044 (char array)For on disk effects, this is a copy of the Version field from the header. For embedded EFF V2.0 structures, this is zeroed out.
0x00084 (dword)Effect type
0x000c4 (dword)Target type
0x00104 (dword)Unknown
0x00144 (dword)NP1
0x00184 (dword)NP2
0x001c4 (dword)Flags
0x00204 (dword)Time
0x00242 (word)Probability 1
0x00262 (word)Probability 2
0x00288 (resref)resource
0x00304 (dword)die sides
0x00344 (dword)dice count
0x00384 (dword)save type
0x003c4 (dword)save bonus
0x00404*3 (dword)Unknown
0x004c4 (dword)die sides (2)
0x00504 (dword)dice count (2)
0x00544 (dword)flags (2)
0x00584*4 (dword)unknown
0x00688 (resref)unknown
0x00708 (resref)unknown
0x00784*5 (dword)unknown
0x008c8 (resref)unknown
0x00944*3 (dword)unknown
0x00a032 (bytes)unknown
0x00c04 (dword)unknown
0x00c44*17 (dword)unknown

[ back to index ]