FS#12415 - Decoding of encrypted ADX files not supported

Attached to Project: Rockbox
Opened by Abel (username_already_taken) - Tuesday, 29 November 2011, 00:25 GMT
Last edited by Andree Buschmann (Buschel) - Tuesday, 29 November 2011, 20:38 GMT
Task Type Bugs
Category Codecs
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The sim refuses to play and outputs a "get_adx_metadata: error, couldn't determine ADX type" message for some ADX files from a videogame.

This is present in 3.10 RC and in older releases as well (3.0 and 3.6 tested).

I've attached two of the files, one that plays correctly (clover) and another that doesn't (casino).
This task depends upon

Closed by  Andree Buschmann (Buschel)
Tuesday, 29 November 2011, 20:38 GMT
Reason for closing:  Wont Fix
Additional comments about closing:  rockbox does not support encrypted ADX and will most likely not aim towards supporting it in future. reason for this is that the keys can only be estimated and will therefor not give 100% sound quality. with r31094 the manual and debug messages have been updated.
Comment by Andree Buschmann (Buschel) - Tuesday, 29 November 2011, 07:33 GMT
"casino" is an encrypted ADX file (the encryption flag is set to 0x08 - the flag is at byte position 0x13). rockbox does not support encryption yet.

Edit: It is possible to guess the encryption keys from the file -- "vgmstream" ( has the sources to make such guess and use it for decrypting. I am not sure whether we want to include this to rockbox.