FXR effect files
An FXR file is one visual effect that the game spawns by its id: a small state machine, a tree of nodes, and in the nodes the actions that emit particles, move them, draw them and light the scene. The lights an effect carries are point and spot light actions (below); the lights of the map itself are the BTL banks. Observed
Where the files are
Section titled “Where the files are”The effects are the members f%09d.fxr (the effect id, nine digits) of the BND4 binders sfx/sfxbnd_*.ffxbnd.dcx; the
other members are resource lists and animation binders. Every archive entry that holds an .fxr member is one of these
binders. Proven · every BND4 of both archives, named or not
| Sekiro | Elden Ring | |
|---|---|---|
| binders with FXR members | 8: commoneffects and m10 m11 m13 m15 m17 m20 m25 |
206 of the 220 sfxbnd binders: commoneffects, commoneffects_dlc02, 56 c* (characters), 24 m* (maps), 3 m*_*_*_*, 121 mimic* |
.fxr files |
2,913 | 12,155 |
| distinct effect ids | 2,669 | 11,912 |
commoneffects share |
1,856 files | 7,157 files, plus 1,482 in commoneffects_dlc02 |
Proven · Sekiro, Elden Ring
The id in a file’s header is the number in its member name in all 15,068 files, and a file that appears in several binders is byte-identical in each: 2,669 and 11,912 ids, each with one content. Proven 155 Sekiro ids occur in more than one binder (up to 5 copies) and 87 Elden Ring ids (up to 122), so either copy is the effect. Proven
File layout (version 5)
Section titled “File layout (version 5)”Every file of both installs is version 5 with header minor 0, little-endian, 144 bytes of header, a 16-byte state map, and ten sections of fixed-size records that follow one another, each starting at the 16-byte-aligned end of the one before and the last ending at the end of the file; then the up to three id lists. Proven · a strict reader reads all 15,068 files and accounts for every byte; an independent walker agrees Version 4 is Dark Souls III’s (its header lacks the three id lists) and header minor 1 Nightreign’s; neither occurs in either install. Sourced · fxr
Little-endian. The state map (16 bytes) follows at 144, then the sections.