Thanks HCS. It works! I used SOX-mod to create a ima in each channel, then reverse with your tool and finally Panding 32.
Now I need (and I think also Lif3styl3) a command that allows me to extract a MP3 to WAV as independent channels to do: "Mp3towav in.mp3 -channel L | sox-t outL.ima ima" and "Mp3towav in.mp3 -channel R | sox-t ima outR.ima "
Lif3styl3: I think we are working on the same project. I would like to talk to you about it: superberny@gmail.com
Ok, I was just hoping that someone would try both ways in the game itself and see which sounds better so you can tell which decoding method is being used. I may have to dig into the executable to satisfy my curiosity.
Right, they use somewhat different methods to encode. If the right decoder is used the signal will stay AC, otherwise it will accumulate a fairly large DC offset, in the negative or positive direction depending on the mismatch.
Interestingly, the original files seem to decode fine using either method, so there may be a way to adjust the encoder to avoid accumulating rounding errors in any case.