
and it sounds like some music (probably looped at the end). Let's try some research on this.




Yes I found his source, but now we need to know how different is MTA2 from MTAF. It may be very different.OrangeC wrote:EDIT: Also NOTE that the decoding algorithm for MTAF is inside the vgmstream.dll but I cannot find source code or a decompiled version of it from hcs.

ok, it is really different. 128 samples instead of 64 in MTA2, and probably another algorithm. I will keep you informed. bgm_mgo_lobby01.bgm has 12-channel streams. Weird. Maybe that are 3 parts of one 4-channel music track.OrangeC wrote:Here is an MTAF file.

We actually don't need debugging. We just need ADPCM tables for this codec.GHzGangster wrote:I did some debugging...

Easily. They are all just a stream of 64 sample-blocks. You can replace them all you want.OrangeC wrote:Interesting stuff. So how did you manage to get the MTA2 samples playing when you did the swap thing?




