Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
manually manipulating dp_cfg.txt
#16
Interesting. Looking at the source code of that program, we can determine how to calculate the checksum.

1. The checksum algorithm used is CRC16-CCITT-FALSE.

2. The input is the whole configuration file, minus the first 7 bytes (the text "CRCxxxx") but keeping the CR-LF bytes (0D 0A in hex values). In other words, the input to the hash calculation should start with the 0D 0A values.

It can be done using a few manual steps.
There are online tools you can use to do this.

1. Convert the file (dp_cfg.txt) into hex values.
Example tool:
https://www.lddgo.net/en/convert/filehex
Copy the hex value output to be used in the next step.

2. Use online crc16-ccitt calculator to calculate the new checksum.
Example tool:
https://www.lddgo.net/en/encrypt/crc
Select: Content type: Hex, Algorithm: CRC-16-CCITT-FALSE

Paste the hex values output from step 1. Delete the first 14 characters. The input should start with "0D0A".
Click "Calculate".

The output is in "Check Result (HEX)", for example: 8BF1

3. Edit your dp_cfg.txt file, and in the first line replace the 4 characters with the new 4-digit hex value from the calculator. From the example above, change CRCxxxx to CRC8BF1. Save file. It should work.

You can try this with working config files that you already have. The calculated CRC values should match.

I would be careful about simply editing the dp_cfg.txt file though. It might be possible to damage your amplifier with a bad configuration of power levels, for example.
Devialet 1000 Pro CI - AQ Diamond AES
PC - ifi iDefender+ - FIBBR Alpha Optical USB + "Studer 900" LPS - Singxer SU-6
PSB Imagine T3 AQ William Tell Zero / Tornado / DBS Level-X - PliXir Balanced AC
Reply


Messages In This Thread
RE: manually manipulating dp_cfg.txt - by hardcore - 16-Sep-2024, 13:28

Forum Jump:


Users browsing this thread: 1 Guest(s)