Difference between revisions of "Prevue Emulation:Curday.dat and Nxtday.dat"
Nwgatwcfan (talk | contribs) |
Nwgatwcfan (talk | contribs) |
||
Line 3: | Line 3: | ||
==The header information== | ==The header information== | ||
− | + | 41 A (BCK in Diagnostics) | |
+ | 45 E (FWD in Diagnostics) | ||
+ | 33 3 (Scroll Speed) | ||
+ | 33 3 (Number of Text Ads allowed in Diagnostics) | ||
+ | 36 6 (Number of Text Ads allowed in Diagnostics) | ||
+ | 35 5 (LINE in Diagnostics - # of Lines allowed in Text Ads) | ||
+ | 4E N ???(Or GRPH DST Y OR N in Diagnostics) | ||
+ | 03 (ETX) | ||
+ | 01 (SOH) | ||
+ | 36 6 (TZ - TimeZone in Diagnostics) | ||
+ | 4E N | ||
+ | 59 Y (CONT?) | ||
+ | 4E N | ||
+ | 4E N | ||
+ | 59 Y (CONT?) | ||
+ | 59 Y (CONT?) | ||
+ | 4E N | ||
+ | 59 Y (CONT?) | ||
+ | 6C l (VIN in Diagnostics) | ||
+ | 00 (NUL) | ||
+ | 00 (NUL) | ||
+ | 30 0 | ||
+ | 00 (NUL) | ||
+ | 44 D | ||
+ | 52 R | ||
+ | 45 E | ||
+ | 56 V | ||
+ | 20 | ||
+ | 35 5 | ||
+ | 00 (NUL) | ||
+ | 4B K | ||
+ | 48 H | ||
+ | 48 H | ||
+ | 52 R | ||
+ | 00 (NUL) | ||
+ | 48 H | ||
+ | 61 a | ||
+ | 77 w | ||
+ | 74 t | ||
+ | 68 h | ||
+ | 6F o | ||
+ | 72 r | ||
+ | 6E n | ||
+ | 65 e | ||
+ | 00 (NUL) | ||
+ | 32 2 | ||
+ | 35 5 | ||
+ | 30 0 | ||
+ | 00 (NUL) | ||
+ | 39 9 | ||
+ | 31 1 | ||
+ | 00 (NUL) | ||
+ | 31 1 | ||
+ | 33 3 | ||
+ | 30 0 | ||
+ | 00 (NUL) | ||
+ | 31 1 | ||
+ | 33 3 | ||
+ | 30 0 | ||
+ | 30 0 | ||
+ | 00 (NUL) | ||
==The general pattern of Channel information for DREV 5:== | ==The general pattern of Channel information for DREV 5:== |
Revision as of 22:43, 7 December 2013
Curday.dat and Nxtday.dat Breakdowns...This is a Work in Progress and will be cleaned up soon...
The header information
41 A (BCK in Diagnostics) 45 E (FWD in Diagnostics) 33 3 (Scroll Speed) 33 3 (Number of Text Ads allowed in Diagnostics) 36 6 (Number of Text Ads allowed in Diagnostics) 35 5 (LINE in Diagnostics - # of Lines allowed in Text Ads) 4E N ???(Or GRPH DST Y OR N in Diagnostics) 03 (ETX) 01 (SOH) 36 6 (TZ - TimeZone in Diagnostics) 4E N 59 Y (CONT?) 4E N 4E N 59 Y (CONT?) 59 Y (CONT?) 4E N 59 Y (CONT?) 6C l (VIN in Diagnostics) 00 (NUL) 00 (NUL) 30 0 00 (NUL) 44 D 52 R 45 E 56 V 20 35 5 00 (NUL) 4B K 48 H 48 H 52 R 00 (NUL) 48 H 61 a 77 w 74 t 68 h 6F o 72 r 6E n 65 e 00 (NUL) 32 2 35 5 30 0 00 (NUL) 39 9 31 1 00 (NUL) 31 1 33 3 30 0 00 (NUL) 31 1 33 3 30 0 30 0 00 (NUL)
The general pattern of Channel information for DREV 5:
1 Hex Character - Value is the Julian Day - in our example '['
5 digits for Channel number (string of data - no more than 5 characters)
6 null characters
6 character Source ID (if the Source ID is less than 6 characters, null characters will fill the rest of the space)
1 null character
6 character Call Letters (if the Call Letters are less than 6 characters, null characters will fill the rest of the space)
2 null characters
1 Hex Character 1st Flag of information (None, HiliteSrc, SumbySrc, VideoTagDisable, CAF_PPVSRC, Ditto, AltHiliteSrc, Stereo)
6 Hex character Timeslot Mask (in our example showing 6 ""ÿ"" characters)
6 Hex character Blackout Mask (in our example showing 6 null characters)
1 Hex Character for Flag #2 (still working on what thie one does, possibly flags the channel for Sports and Movie Summaries)
2 Hex Characters for Background Color (colors available are determined by Gradient.ini - in our example ÿÿ)
2 Characters for Brush ID (unknown format yet - possibly string - in our example 00)
2 Null Characters
1 Hex Character for 3rd Flag of information (Grid, MR, DNICHE, DMPLEX, and CF2_DPPV - possibly 3 additional flags as well)
6 Character Source ID again
Then the listings follows after this...
Notes:
The first character (in this case of the untouched listings - '[') is the character that corresponds to the HEX code for the Julian Date. All characters are good and will reset after FF to 00. This character changes daily.
Flag #1
IMPORTANT: For channels showing None and Stereo, there is a hidden HEX Code 81 (decimal 129) at the beginning (listings that appears to be 17 digits in the code) - The HEX 81 does not print on-screen and is only visible in a HEX editor.
Timeslot Mask - Each character in this block turns the listings on or off for channels that go off-air.
ÿÿÿÿÿÿ block is for times the grid will show specific channel / message
>>>>>Position 1 | 5:00am to 8:59am |
Position 2 | 9:00am to 12:59pm |
Position 3 | 1:00pm to 4:59pm |
Position 4 | 5:00pm to 8:59pm |
Position 5 | 9:00pm to 12:59am |
Position 6 | 1:00am to 4:59am |
NUL Char will drop the listing from the list ü char will show the listing for the times that have ÿ ETX will show the off-air message. À will hide the listing
Flag #2
(Hex character 09 must be changed in a Hex editor only) 0-10, 11-20, 21-30, 31-40, 41-50, 51-60,61-70, 71-80, 81-90, 91-100, 101-110
Color Flags:
flag1 = 0x%02X, flag2 = 0x%04X, BgColor = 0x%02X, FgColor = 0x%02X, BrushId = %s ‚ ÿ ÿ 00<nul><nul>
HEX 03 Yellow HEX03 Yellow
HEX 06 Gray HEX anything else is white
Colors are determined in Gradient.ini file - any color listed can be used for background...
Foreground Text is either Yellow (HEX03) or White (any other HEX value)
Flag #3
Last Character before the last Source ID- Flag #3
For the Listings Themselves
<NUL> TimeSlot <NUL> Program Flags <NUL> Program Type <NUL> Movie Category <NUL> unknown type <NUL>
TimeSlot - between 0 and 49
Program Flags - in decimal form 0 to 255
Program Type - 1 for Movie, 5 for Sports, 19 for Children, 22 for News, 34 for General, etc. This is in decimal form
Movie Category (1 for Adult, 4-Comedy, 5, 7, 10-Musical 18(SciFi?), etc) This is in decimal form
unknown type: Last number appears to be 0 only, still trying to determine - could be carry over to Win NT Guide