Sonic Shuffle (MDT)

Codecs, formats, encoding/decoding of game audio, video and music
Kawasuzu
Posts: 12
Joined: Sun Dec 21, 2014 12:44 am

Sonic Shuffle (MDT)

Post by Kawasuzu »

I'm guessing that this will be an ADX file (or multiple ADX files) judging by the fact that another file in the same folder in this one has the name "ADXVOICE".

MDT files
einstein95
Posts: 64
Joined: Tue Sep 08, 2015 11:27 am

Re: Sonic Shuffle (MDT)

Post by einstein95 »

Code: Select all

get FILEZ long
math FILEZ / 4
goto 0
for i = 0 < FILEZ
   get OFF long
   putarray 0 -1 OFF
next i

for i = 0 < FILEZ
   getarray OFF 0 i
   goto OFF
   get SIZE long
   math OFF + 4
   log "" OFF SIZE
next i


The ADX files have a .dat extension, that's just due to a small limitation in quickbms. The music and jingles are sequenced.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sonic Shuffle (MDT)

Post by aluigi »

I will add the magic 0x80 0x00 0x00 0x20 to sign_ext
einstein95
Posts: 64
Joined: Tue Sep 08, 2015 11:27 am

Re: Sonic Shuffle (MDT)

Post by einstein95 »

aluigi wrote:I will add the magic 0x80 0x00 0x00 0x20 to sign_ext

According to the Wikipedia page for the ADX format, it's 0x80 0x00 [offset to copyright]. I believe that the only way to correctly identify it is to check for 0x80 0x00 then go to the offset - 2 and check for "(c)CRI".