Difference between revisions of "Prevue Emulation:Curday.dat and Nxtday.dat"

From Prevue Guide Wiki
Jump to navigation Jump to search
Line 91: Line 91:
 
    
 
    
  
For the listings themselves ---
+
==For the listings themselves==
  
Starts with <NUL>TIMESLOT<NUL>Program Flags in Decimal form<NUL>Program Type<NUL>Program Type2<NUL>number5<NUL>
+
<NUL>TimeSlot<NUL>Program Flags<NUL>Program Type<NUL>Program Type2<NUL>number5<NUL>
  
TimeSlot is between 0 and 49,
+
TimeSlot - between 0 and 49
Program Flags in Decimal Form - convert it to HEX # and compare to the Second Excel sheet..
+
Program Flags - in decimal form 0 to 255
Program Type - type of program (1, for Movie, 5 for Sports, 19 for Children, 22 for News, 34 for General)
+
Program Type - 1 for Movie, 5 for Sports, 19 for Children, 22 for News, 34 for General, etc. This is in decimal form
Program Type2 - Appears to tell what type of movie it is(1 for Adult, 4-Comedy, 5, 7, 10-Musical 18(SciFi?),  
+
Movie Category (1 for Adult, 4-Comedy, 5, 7, 10-Musical 18(SciFi?), etc) This is in decimal form
Last number appears to be 0 only, still figuring what this does.
+
Color: Last number appears to be 0 only, still figuring what this does. This is in Hex Form
  
 
p_type=%03d, movie_cat=%03d, color=0x%02x
 
p_type=%03d, movie_cat=%03d, color=0x%02x
 
 
Š = TAGPROG
 
  =SPORTSPROG
 
  =Movie
 
  Sports Japan had TAGPROG and SPORTSPROG
 
 
 
P Command Syntax
 
0x50 [Timeslot 1-48, hex] [Julian day, hex] [6-character source, string]
 
0x12 [flags, byte] [Program name, string]
 
0x00 [checksum, byte]
 
 
P Commmand Flags
 
 
Flag name Hex value
 
None 0x01
 
Movie 0x02
 
ALTHILITEPROG 0x04
 
TAGPROG 0x08
 
SPORTSPROG 0x10
 
DVIEW_USED 0x20
 
REPEATPROG 0x40
 
PREVDAYSDATA 0x80
 
 
  
 
[[Category:Prevue Emulation]]
 
[[Category:Prevue Emulation]]

Revision as of 17:30, 9 September 2011

Curday.dat and Nxtday.dat Breakdowns...


1 code then 6xFF then 1 code then FF3030

CH#                      Source   Ch ID              Channel Attributes                                  Source

[5Char 6 nul chars 6CHar nul 6Char 2Nul 18 char id (blank space is HEX A0) 2NUL ETX 6 chars


The first character (in this case the '[') is the character that corresponds to the HEX code for the Julian Date. All characters are good and will reset after FF to 00. It changes daily and also corresponds to the Nxtday.dat file as well.

All channels have an 18-character ID/Attributes section

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.

C Command Syntax 0x43 [Julian day, byte] 0x12 [flags, byte] [6-character source, string] 0x11 [Channel #, string] 0x01 [5- to 6-character channel name, string] 0x00 [checksum, byte]

NOTE: On EPG Jr. the channel name has a limit of 5 characters

C Commmand Flags

Flag name Hex value Determined in the EXCEL FILE

None 0x01 HILITESRC 0x02 SUMBYSRC 0x04 VIDEO_TAG_DISABLE 0x08 CAF_PPVSRC 0x10 DITTO 0x20 ALTHILITESRC 0x40 STEREO 0x80

Hex 01 <SOH> Not in Stereo Hex 03 <ETX> End of Listings Hex 13 <DC3> if for Hidden listing Hex A2 ¢ is Red HiliteSRC HiliteSRC Ditto and Stereo Hex 00 <NUL> Nothing shows (Did not show) Hex 10 <DLE> CAF_PPVSRC (Did not show) Hex 20 Space DITTO (Showed regular) Hex 30 0 CAF_PPVSRC DITTO (Showed regular) Hex 40 @ ALTHILITESRC (Did not show) Hex 50 P CAFPPVSRC ALTHILITESRC (Did not show) Hex 60 ` DITTO ALTHILITESRC (Showed blue) Hex 70 p CAF_PPVSRC DITTO ALTHILITESRC (Showed blue) Hex 80 € STEREO (Did not show) Hex 90  CAF_PPVSRC STEREO (Did not show) Hex A0 Turned all back to normal blue color... both ditto and normal listings. is Ditto Stereo Hex B0 ° Turned all back to normal blue color... both ditto and normal listings. CAF_PPVSRC Ditto and Stereo Hex C0 À is AltHiliteSRC (did remove the Ditto Listings from being shown) AltHiliteSRC and Stereo Hex D0 Ð is for Listing Blue (did remove the Ditto listings from being shown) CAF_PPVSRC AltHiliteSRC and Stereo Hex E0 à is for Ditto Blue (did take a full listing from being shown) Ditto AltHiliteSRC and Stereo Hex F0 ð is for blue color (showed all listings for blue color) CAF_PPVSRC Ditto AltHiliteSRC and Stereo



ÿÿÿÿÿÿ block is for times the grid will show specific channel / message 1 5:00am to 8:59am 2 9:00am to 12:59pm 3 1:00pm to 4:59pm 4 5:00pm to 8:59pm 5 9:00pm to 12:59am 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 HEX F2 will appear the listing as DNICHE and DMPLEX


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)

(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

Last 4 characters may control the Digital Niche and Digital MPlex Channels...


For the listings themselves

<NUL>TimeSlot<NUL>Program Flags<NUL>Program Type<NUL>Program Type2<NUL>number5<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 Color: Last number appears to be 0 only, still figuring what this does. This is in Hex Form

p_type=%03d, movie_cat=%03d, color=0x%02x