DOL (File Format)

From Retro Modding Wiki
Revision as of 15:47, 1 October 2016 by >Aruki
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The DOL format is the main executable format for GameCube and Wii games. It's made up of 7 text (code) sections, and 11 data sections.

Format

Offset Type Count Name Notes
0x0 u32 7 Text Section Offsets Offsets for sections .text0 through .text6
0x1C u32 11 Data Section Offsets Offsets for sections .data0 through .data10
0x48 u32 7 Text Section Addresses Addresses for sections .text0 through .text6
0x64 u32 11 Data Section Addresses Addresses for sections .data0 through .data10
0x90 u32 7 Text Section Sizes Sizes of sections .text0 through .text6
0xAC u32 11 Data Section Sizes Sizes of sections .data0 through .data10
0xD8 u32 1 BSS Address Address of the .bss section
0xDC u32 1 BSS Size Size of the .bss section
0xE0 u32 1 Entry Point Address Address of the __start function
0xE4 u32 7 Padding Padding to align the first text section to 32 bytes
0x100 End of DOL header