Difference between revisions of "Super Robot Taisen R:Notes"

From Data Crystal
Jump to: navigation, search
(Created page with "{{Notes|game=Super Robot Taisen R}} {{stub}} ==Resource table== The resource table is Super Robot Taisen R's way of embedding non-tabular data. It is essentially a table of...")
 
m (Resource table)
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
==Resource table==
 
==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 {{0x|8121FB4}}, has the following layout:
+
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 {{0x|8121FB4}}, has the following layout:
  
 
<pre>
 
<pre>
Line 20: Line 20:
 
Based on this table,
 
Based on this table,
  
* Entry 0 starts at address {{0x|8121BF4}} + {{0x|668C}} = {{0x|8128640}}; (it is an [[Super Robot Taisen R:ECD file|ECD]]-encrypted [[Super Robot Taisen R:IMG file|IMG file]])
+
* Entry 0 starts at address {{0x|8121BF4}} + {{0x|668C}} = {{0x|8128640}}; (it is an [[Super Robot Taisen R:ECD file|ECD]]-compressed [[Super Robot Taisen R:IMG file|IMG file]])
 
* Entry 1 starts at address {{0x|8121BF4}} + {{0x|682C}} = {{0x|81287E0}};
 
* Entry 1 starts at address {{0x|8121BF4}} + {{0x|682C}} = {{0x|81287E0}};
 
* Entry 2 starts at address {{0x|8121BF4}} + {{0x|6854}} = {{0x|8128808}};
 
* Entry 2 starts at address {{0x|8121BF4}} + {{0x|6854}} = {{0x|8128808}};
Line 28: Line 28:
 
* The last entry points to the terminator string at address {{0x|8121BF4}} + {{0x|56B8FC}} = {{0x|868D8B0}};
 
* The last entry points to the terminator string at address {{0x|8121BF4}} + {{0x|56B8FC}} = {{0x|868D8B0}};
  
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.
+
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.
  
 
{{Internal Data|game=Super Robot Taisen R}}
 
{{Internal Data|game=Super Robot Taisen R}}

Latest revision as of 06:32, 25 May 2019

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.


Internal Data for Super Robot Taisen R

ROM MapRAM MapText TableNotesTutorials