Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SRW UX .bin file layout.
- Header section: 4 byte pointers to "the end of the section +1" (this is equivalent to "the start of the next section" except that the final pointer points one byte past the end of the file). The header is 0 padded to reach the end of it's allocated space. All pointers in the header are little-endian (read right to left)
- ECD (Body) section: Must be aligned to a multiple of 0x80 (00 or 80).
- sub-header:
- 0x0: 45 43 44 01 (ECD ) Magic nummber for section
- 0x4: four bytes, offset to "start of data -6" (I might be mistaken on this because this sounds stupid). The value is always 8 in what I've seen
- 0x8: four bytes, size of data.
- 0xC: two bytes of 0 padding
- 0xE: start of data
- 0 padding to reach next section.
- The offset and size ints are big-endian (read left to right). Why would you mix endian-ness in your data structure?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement