2014-10-30, 06:19 PM
Not at all. The .T file's table would be used to look up a chunk of data stored in the .T file and load that chunk in RAM. Once the chunk is in RAM, the chunk's table header is used to look up data inside the chunk.
A real example from Brigandine is text. When you go into battle (i.e. game switches to the battle map), it loads a data chunk which contains battle text from the CD into RAM. It finds that chunk's location in the file by reading a 'look up table' at the file's top. Other chunks in the file contain creature sprites, map tiles etc. The text chunk also has it's own 'look up table' at the top. Once it's in RAM, that table is used to find a specific sentence of text inside the text chunk.
A real example from Brigandine is text. When you go into battle (i.e. game switches to the battle map), it loads a data chunk which contains battle text from the CD into RAM. It finds that chunk's location in the file by reading a 'look up table' at the file's top. Other chunks in the file contain creature sprites, map tiles etc. The text chunk also has it's own 'look up table' at the top. Once it's in RAM, that table is used to find a specific sentence of text inside the text chunk.