Super Robot Taisen R/Notes

From Data Crystal
Jump to navigation Jump to search

Chip tiny.png The following article is a Notes Page for Super Robot Taisen R.

So very stubbly.
This page is rather stubbly and could use some expansion.
Are you a bad enough dude to rescue this article?

Resource table

The resource table is Super Robot Taisen R's way of embedding non-tabular data. It is essentially a table of relative offsets from the beginning of the resource table; the last entry on each resource table always points to the string end\x1A. For example, resource table 0, which is located at 0x8121FB4, has the following layout:

08121FB0:         ... 8C 66 00 00 2C 68 00 00 54 68 00 00
08121FC0: FC 50 03 00 FC 68 03 00 ...

08128630:                     ... 68 B7 56 00 FC B8 56 00
08128640: 45 43 44 01 00 00 00 08 00 00 01 90 00 00 08 08
08128650: 49 4D 47 00 ...

0868D8B0: 65 6E 64 1A ...

Based on this table,

  • Entry 0 starts at address 0x8121BF4 + 0x668C = 0x8128640; (it is an ECD-compressed IMG file)
  • Entry 1 starts at address 0x8121BF4 + 0x682C = 0x81287E0;
  • Entry 2 starts at address 0x8121BF4 + 0x6854 = 0x8128808;
  • Entry 3 starts at address 0x8121BF4 + 0x350FC = 0x81570B0;
  • Entry 4 starts at address 0x8121BF4 + 0x368FC = 0x81588B0;
  • Entry 6561 starts at address 0x8121BF4 + 0x56B768 = 0x868D71C;
  • The last entry points to the terminator string at address 0x8121BF4 + 0x56B8FC = 0x868D8B0;

Each pointed-to file has an unspecified size, but usually a header string indicates the file type from which the file size can be determined. Files are contiguously laid out with an alignment of 4 bytes.