- added loader for TCL/Thomson Channel_List_*.tar with DtvData.db and satellite.db inside

- fixed text input in "Favorites" column (for lists that only have favorite markers and not individual numbers)
- converted source code to use SDK/MSBuild project files (for future migration to .NET 7 or 8)
This commit is contained in:
Horst Beham
2023-01-03 19:22:58 +01:00
parent 80fc264bd0
commit df0dac0f23
15 changed files with 3643 additions and 4229 deletions

View File

@@ -114,7 +114,7 @@ namespace ChanSort.Loader.Philips
//if (length > 0x0140000)
// length = 0x0140000;
var actualCrc = Crc16.Calc(data, 0, length);
var actualCrc = Crc16.Modbus(data, 0, length);
if (actualCrc != expectedCrc)
{
var msg = $"chanLst.bin: stored CRC for {entry.Key} is {expectedCrc:X4} but calculated {actualCrc:X4}";
@@ -160,7 +160,7 @@ namespace ChanSort.Loader.Philips
var length = data.Length;
if (VersionMajor < 12 && length > 0x6000)
length = 0x6000; // there might be another cap at 0x013FA000 + 0x6000 in some versions
var crc = Crc16.Calc(data, 0, length);
var crc = Crc16.Modbus(data, 0, length);
var off = entry.Value;
content[off] = (byte) crc;
content[off + 1] = (byte) (crc >> 8);