The question is how to replaygain in a proper way.
When mp3 file is encoded, Lame writes some replaygain information in Lame tag. (By the way, does it calculates only track value, or album value too? I guess, that album only)
Afterwards, when MP3Gain is used, it changes volume of mp3 file and information in Lame tag became unconsistent. By the way, it writes APE2 tag, and when using winamp with im_mpg123ot67, it's unpossible to read ID3v1 information. By the way, storing 3 tag in one file is some kind of madness, but for the reasons of comatibility we need three of them:)
So, the question is - how to make TAG data consistent? Is there any tool that could read and change Lame tag information, and MP3 APE2 information?