REL (File Format): Difference between revisions

Jump to navigation Jump to search
no edit summary
>Aruki
>Aruki
No edit summary
Line 4: Line 4:


== Format ==
== Format ==
The REL format is split up into a number of different sections, just like an ELF file. Sections that were generated by the compiler but aren't used by the game (such as the sections for relocations or symbols) are nulled out and listed with an offset and size of 0.


=== Header ===
=== Header ===
Line 233: Line 231:
| 1
| 1
| '''Offset'''
| '''Offset'''
| Offset of the section. The 0x1 bit is toggled to indicate whether this section contains executable code. AND out that bit to get the correct offset.
| Absolute offset of the section. The 0x1 bit is toggled to indicate whether this section contains executable code. AND out that bit to get the correct offset.
|-
|-
| 0x4
| 0x4
Anonymous user

Navigation menu