Hello, Raine has fixed the sound association function for the CPS2 Games in 2023, I am so sorry that I didn't test it until now as I am the one who requested this. Now, I would like to share a sound association list for the CPS2 games. In fact, there are only Street Fighter games in the list, because they are the only CPS2 games with the official arranged soundtrack.
Rom included:
sfa, sfzalj, ssf2, ssf2t, hsf2
https://drive.google.com/file/d/1Z7qNv0aek7Cz77jvndAN0rtRgpIk22IK/view?usp=sharing
Tutorial:
Part 1: Downloading the music
To apply my list easily, you are encourage to download your mp3 from khinsider (which is a famous site for game music), so that the file name will be the same as that of my list. Here is the albums to download:
1. Street Fighter Alpha (PS1 Gamerip)(ignore the tracks marked with original)
2. Street Fighter II Movie Original Soundtrack
(Just download track 5, and name it to "Of the Beloved, Of Sadness, Of Responsibility.mp3" and put it in the folder of Street Fighter Alpha, this is a special track used in the Japanese arcade ver. in the Dramatic Battle, even PS/SS don't have this track)
3. Street Fighter Alpha 2 Gold (PS1/SS Gamerip)
(Track 48 should be renamed to "48. Ending ~M. Bison.mp3" because it is not shin akuma. And I renamed Track 2 to "02. Opening (edit).mp3" because the vocal in the last part of this track should be cut.)
4. Hyper Street Fighter II: The Anniversary Edition
(Just download the tracks of CD3, all marked with arrange.)
Part 2: Editing the list
1. In the first line of the sound list of each game, there is the rom name. You may need to change it, as you may not play the same ver. as me. For example, I play the japanese ver. of Street Fighter Zero 2 Alpha (sfz2alj), so the first line of the line is [sfz2alz:assoc]. If you play the english ver., the rom is sfz2al, so you must change the rom name and become [sfz2al:assoc].
2. Directory of the music files are different for all people. But, don't worry, you don't have to change it one by one. For example, my muisc of street fighter alpha is in "D:\Games\Capcom AST\Street Fighter Alpha", assume yours is "D:\Music\Capcom\Street Fighter Zero". In Notepad, open the "Replace " function (in the Edit tab, or by pressing CTRL+H). On the upper box paste "D:\Games\Capcom AST\Street Fighter Alpha" and on the lower box paste "D:\Music\Capcom\Street Fighter Zero" and finally press the Replace All button. Repeat the step for all other game, and save the file.
Part 3.
After editing the whole list, copy all the text to "game.cfg" under the "config" folder in Raine. "game.cfg" can be opened with the Notepad.
Part 4.
You may find the music are too loud as compared to other sound effect or character voice. So, go to the Raine menu, select Sound options and adjust the Music volume. I set it to 20 or 30 for the street figher music from khinsider. Alternatively, you may edit the volume of all mp3 file using software like Goldwave or Audacity.
P.S. Although the list don't inlude the original street fighter alpha 2 (zero 2), I believe it shares the same music as its enahnced ver. If you have the game, copy the list for sfz2alz, and then change the rom name.