The audio format for the games music is simply IMA ADPCM, so you need to encode your audio in that format, then, using a hex editor, you can open any existing .rws file and change the preexisting audio data. Of course after this adjusting the metadata is important, as the game needs to know how big the audio is in order to play it (For more information about the format, see https://github.com/vgmstream/vgmstream/blob/master/src/meta/rws.c )
Hopefully this whole process can be automated in the future by the XXL-Editor!
thanks! we all hope of that "release"
A separate tool to convert wavs or any sound format to RWS could be enough.
You would also need to create new "Cinematic blocs" and setup some other stuff inside the levels as well
Noy that would be dope!
Indeed there might be people only interested in changing some music in any of the games using rws, not necessarily wanted to involve themselves with the entire toolset.
how about a tool that can covert the music in both ways? so you can also have the original soundtracks in mp4
Converting back is easy: You can just paste the audio data into a new wav file

Yeah, I think you can already open RWS with vgmstream (and its foobar extension)
And indeed, since the music is separated from the kwn files, I think it might be straightforward to just let people edit the rws files directly.
Ooooh, true I just tested, that's wonderful! I should be able to fix a few issues with my playlist.
Boy the bitrate is insane, the only game I've seen going past 320 was Sonic and All Star Racing Transformed
A game that released 9 years later
Turns out, my Asterix OG playlist is missing *plenty* of tracks.
Also the Xbox 360 version of OG has all its music uncompressed, even though I barely notice any difference in quality.
that's nice tho, but yeah what I have here for the PC version is high enough
I still can't locate the track that plays the second part of the main menu screen....
Might be a sound inside the level
Yup the pause song is inside the level as a sound