More Curday.dat stuff
Posted: Wed Oct 12, 2011 3:05 am
Upon fidding with the curday.dat, it seems that the "0" in the 0.DREV.5 has some significance regarding the clock. In our case, it has always been set to "0", but when I set it "1" (or any other number), the time goes back one hour each time I reload the listings with SHIFT+D. I set it back to zero, and the time remained the same as before I pressed SHIFT+D. This even happens with a double digit number (I put 99 in and it did the same thing). Could this have anything to do with the DST setting in another file, for instance, whether or not it either adds or subtracts the hours? (I will likely test this later)
I am also inclined to believe that DREV is referring to a format revision for the listings, in our case format #5. I believe that this program is capable of translating five different data formats into listings. I am guessing there were four other past listing format revisions (perhaps from eras when there were less channel/program tags/flags, symbols, and special characters), and at one point it was something other than the format shown on the wiki (perhaps this is how they got the blue grid to show up in the black grid's format on that TN youtube video? The data had to have been sent that way and curday.dat configured as such). I think that eventually I am going to type the listings in a different way via trial and error in DREV.4, 3, etc. I noticed that when I tried it with my listings as is (and produced the "garbled" listings mentioned in an earlier post), it was actually the channel data but being pulled from an earlier entry in the channel data (like it pulls a tag/flag entry such as a 0 or a 1 rather than the program title, and doing this for each program and each channel creates a snowball effect). I think the further back the revision is, the less data was involved in the channel information (less tags, flags, etc). Changing the DREV causes ESQ to think there is too much information tied to each program (I am inclined to believe that the channel header remains the same format , since my entry for Channel 2 was correct except for programming, so it actually may just refer to program data format). An example I can give (just throwing this out there), what if each channel had 70 sets of data (or pieces separated by the null "00"s) on DREV.5, but on DREV.4 it had 65. This would make Channel 2's (or your first channel) title appear correct, since it is the first entry, but once it reaches a piece of data that was new in DREV.5 that wasn't in DREV.4, it thinks that piece of data goes to the following entry (it would be looking for DREV.4 format rather than DREV.5 format), and if there are 5 entries in DREV.5 that were not in DREV.4, from the point of that first difference, the listings will be off by an entire entry of data. But given in the example this would happen 5 times per channel, which means that all data would be further subsequently off further down the list (hence the snowball effect). The effect would likely be more drastic the further down the revision is.
I hope at least half of this ramble is in understandable language, but I can be certain this untested hypothesis creates a new curiousity for the curday.dat file. I may be wrong about some of this, but hopefully it helps someone else in the case they decide to test it further.
I am also inclined to believe that DREV is referring to a format revision for the listings, in our case format #5. I believe that this program is capable of translating five different data formats into listings. I am guessing there were four other past listing format revisions (perhaps from eras when there were less channel/program tags/flags, symbols, and special characters), and at one point it was something other than the format shown on the wiki (perhaps this is how they got the blue grid to show up in the black grid's format on that TN youtube video? The data had to have been sent that way and curday.dat configured as such). I think that eventually I am going to type the listings in a different way via trial and error in DREV.4, 3, etc. I noticed that when I tried it with my listings as is (and produced the "garbled" listings mentioned in an earlier post), it was actually the channel data but being pulled from an earlier entry in the channel data (like it pulls a tag/flag entry such as a 0 or a 1 rather than the program title, and doing this for each program and each channel creates a snowball effect). I think the further back the revision is, the less data was involved in the channel information (less tags, flags, etc). Changing the DREV causes ESQ to think there is too much information tied to each program (I am inclined to believe that the channel header remains the same format , since my entry for Channel 2 was correct except for programming, so it actually may just refer to program data format). An example I can give (just throwing this out there), what if each channel had 70 sets of data (or pieces separated by the null "00"s) on DREV.5, but on DREV.4 it had 65. This would make Channel 2's (or your first channel) title appear correct, since it is the first entry, but once it reaches a piece of data that was new in DREV.5 that wasn't in DREV.4, it thinks that piece of data goes to the following entry (it would be looking for DREV.4 format rather than DREV.5 format), and if there are 5 entries in DREV.5 that were not in DREV.4, from the point of that first difference, the listings will be off by an entire entry of data. But given in the example this would happen 5 times per channel, which means that all data would be further subsequently off further down the list (hence the snowball effect). The effect would likely be more drastic the further down the revision is.
I hope at least half of this ramble is in understandable language, but I can be certain this untested hypothesis creates a new curiousity for the curday.dat file. I may be wrong about some of this, but hopefully it helps someone else in the case they decide to test it further.