Z Shadow Table Format

From ModdingWiki
Jump to navigation Jump to search

Z loads eight shadow/effect tables during level setup.

File format

Each decompressed file has 1280 bytes (0x500). Four VSHWING tables load consecutively at static addresses 0x107fd8, 0x1084d8, 0x1089d8 and 0x108ed8; four HSHWING tables at 0x1093d8, 0x1098d8, 0x109dd8 and 0x10a2d8. The file suffix is selected from 0 through 3.

These are raw fixed-size tables without a header interpreted by the loader. A complete entry-level semantic description is not supplied by the RE documentation.

Notes

The 1280-byte size is shared with SINCOS.DAT, but does not imply the same encoding.

Source code

From re-z, the open-source browser port:

Credits

This file format was reverse engineered by VorticonCmdr. If you find this information helpful in a project you're working on, please give credit where credit is due. (A link back to this wiki would be nice too!)