Offset | Size | Name | Notes |
0 | 2 | version | Minor version number of ReplayTV operating system (eg. 3 for 4.3, 5 for 4.5, 0 for 5.0) |
2 | 2 | snapshotversion | Revision number of the guide snapshot. Always 1 for this version |
4 | 4 | struct_size | Right now, 32. The meaning is a guess; treated as a magic number by the RTV code |
8 | 4 | num_channels_1 | The number of ReplayChannels in the GuideSnapshot file |
12 | 4 | num_channels_2 | In a valid exported GuideSnapshot file, will always match num_channels_1. This copy is incremented while the ReplayShow records are being exported, to keep track of how far in the process the export is. |
16 | 4 | group_data_offset | Offset in bytes from the beginning of the file for the start of the GroupData record. Should always be 32 for this version of the file format. |
20 | 4 | channel_offset | Offset in bytes from the beginning of the file for the beginning of the first ReplayChannel record. Should always be 808 for this version of the file format. |
24 | 4 | show_offset | Offset in bytes from the beginning of the file for the beginning of the first ReplayShow record. Should always be 808 + 624 (712 for 4.5) * num_channels_1 for this version of the file format. |
28 | 4 | GuideFlags | This isn't initialized before being written; undefined bits should be ignored (for this version of the file format, at least) |
Offset | Size | Name | Notes |
0 | 2 | version | Minor version number of ReplayTV operating system (eg. 3 for 4.3, 5 for 4.5, 0 for 5.0) |
2 | 2 | snapshotversion | Revision number of the guide snapshot. Always 2 for this version |
4 | 4 | struct_size | 64 for this version of the structure. |
8 | 4 | unknown1 | Must be 0x02 |
12 | 4 | unknown2 | Must be 0x05 |
16 | 4 | num_channels_1 | The number of ReplayChannels in the GuideSnapshot file |
20 | 4 | num_channels_2 | In a valid exported GuideSnapshot file, will always match num_channels_1. This copy is incremented while the ReplayShow records are being exported, to keep track of how far in the process the export is. |
24 | 4 | unknown3 | Seems to be zero |
28 | 4 | group_data_offset | Offset in bytes from the beginning of the file for the start of the GroupData record. Should always be 64 for this version of the file format. |
32 | 4 | channel_offset | Offset in bytes from the beginning of the file for the beginning of the first ReplayChannel record. Should always be 840 for this version of the file format. |
36 | 4 | show_offset | Offset in bytes from the beginning of the file for the beginning of the first ReplayShow record. Should always be 840 + 712 * num_channels_1 for this version of the file format. |
40 | 4 | snapshotsize | Total size in bytes of the snapshot. |
44 | 4 | GuideFlags | This isn't initialized before being written; undefined bits should be ignored (for this version of the file format, at least) |
48 | 8 | freebytes | Total size in bytes free on the ReplayTV |
56 | 4 | quality | The default recording QualitySetting |
60 | 4 | unknown7 | Seems to be zero |