Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
manually manipulating dp_cfg.txt
#11
(23-Dec-2023, 18:24)daniel.avasilichioaei Wrote:
(23-Dec-2023, 17:00)Waiski Wrote: This is interesting!
Could someone write a bit more how to use this? For the dummies version.
Thank you!


You have to follow the steps in @hamster28 post. But, before that, you have to do the most difficult part: modify the content of the file generated by the Devialet configurator with the settings you want.

Here are my notes from when I did this. I hope it helps you.
  1. Install "nodejs" (https://nodejs.org/en/download). The additional software proposed by the installer is not necessary.
  2. Download Hamster128/iTunesRemote repository from github https://github.com/Hamster128/iTunesRemote ---> Result: "iTunesRemote-master.zip" file (containing "iTunesRemote-master" folder).
  3. Extract content of "iTunesRemote-master.zip" file. --->  Result: "iTunesRemote-master" folder.
  4. Open Windows "Terminal" in extracted "iTunesRemote-master" folder.
  5. Run "npm i" command in "iTunesRemote-master" folder.
  6. Copy your modified "dp_cfg.txt" file to the "iTunesRemote-master" folder.
  7. Run "calc_crc.cmd". ---> Result: updated "dp_cfg.txt" file.
  8. Copy the updated "dp_cfg.txt" file to the Devialet SD card.

I didn't get past step 7 - after running 'calc_crc.cmd' I get the following error:


Attached Files Thumbnail(s)
   
Devialet Expert Pro 220, ATC SCM40 speakers, Pro-Ject Xtension 9 turntable, Chord Signature XL speaker cable
Reply
#12
(24-Dec-2023, 11:09)spater Wrote: I didn't get past step 7 - after running 'calc_crc.cmd' I get the following error:


I think you missed the second part of step 4:
4. Open Windows "Terminal" in extracted "iTunesRemote-master" folder.

I'm not sure, but I think you opened Windows Terminal in the user folder, not in the "iTunesRemote-master" folder.

At the prompt you should see something like this:
Microsoft Windows [Version 10.0.22631.2861]© Microsoft Corporation. All rights reserved.
G:\iTunesRemote-master>

and not something like this:
Microsoft Windows [Version 10.0.22631.2861]
© Microsoft Corporation. All rights reserved.
C:\Users\Daniel>
Reply
#13
(24-Dec-2023, 13:45)daniel.avasilichioaei Wrote:
(24-Dec-2023, 11:09)spater Wrote: I didn't get past step 7 - after running 'calc_crc.cmd' I get the following error:


I think you missed the second part of step 4:
4. Open Windows "Terminal" in extracted "iTunesRemote-master" folder.

I'm not sure, but I think you opened Windows Terminal in the user folder, not in the "iTunesRemote-master" folder.

At the prompt you should see something like this:
Microsoft Windows [Version 10.0.22631.2861]© Microsoft Corporation. All rights reserved.
G:\iTunesRemote-master>

and not something like this:
Microsoft Windows [Version 10.0.22631.2861]
© Microsoft Corporation. All rights reserved.
C:\Users\Daniel>

Yes, you are right, I didn't do step 4 correctly. Got it working now. Thanks

Took me a while to work out how to open a Windows Terminal in the 'iTunesRemote-master' folder so if it helps anyone else:

- Type cmd into the location bar near the top of the iTunesRemote-master window and hit enter
- The command prompt will now open in iTunesRemote-master location
Devialet Expert Pro 220, ATC SCM40 speakers, Pro-Ject Xtension 9 turntable, Chord Signature XL speaker cable
Reply
#14
(24-Dec-2023, 16:43)spater Wrote: Yes, you are right, I didn't do step 4 correctly. Got it working now. Thanks

Took me a while to work out how to open a Windows Terminal in the 'iTunesRemote-master' folder so if it helps anyone else:

- Type cmd into the location bar near the top of the iTunesRemote-master window and hit enter
- The command prompt will now open in iTunesRemote-master location


Or right click on folder in File Explorer, and then in the popup you have "Open in Terminal".
Reply
#15
Got it working. Thank you!
Actually easiest way to run the 7th step is to doubleclick "calc_crc" file in the iTunesRemote-master folder.


Now, does anyone know how to create bandpass filter to speaker output with this configurator?
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)