Because the way they did it is essentially hack it into the game. Not really create a new set of .RWS files from scratch
pegperegogaucho
could you send a sample?
pixeltheretro
XXL1
Download 1_WIN0.RWS:
pixeltheretro
And here's also XXL2 if anybody wants to also take a look at it
Download 1_WIN0.rws:
pixeltheretro
Olympics for whatever reason works perfectly fine tho
pixeltheretro
Probably recent enough for them to still have tools or something
pixeltheretro
I did find a python script that can extract them to a raw PCM format. But so far my attempts at getting anything from these PCM files were unsuccessful to say the least
pegperegogaucho
when i take a look at those 2 streams, the total size is fucked up
pegperegogaucho
adrientd
From XXL2:
Download output.wav:
adrientd
Discord preview doesn't support ADPCM it seems...
pegperegogaucho
What file did you convert @adrientd
adrientd
The one above, from XXL2
pegperegogaucho
i think i know why it might be cut off
pixeltheretro
Aside from cutting out this is actually perfect holy shit
pegperegogaucho
Normally this integer should be the Size - 12
adrientd
Ah yeah, and I know Renderware doesn't really use the size value when reading, it only uses it if it wants to skip the structure,
adrientd
but maybe vgmstream does use it for some reason
adrientd
And indeed, when looking at the source code of vgmstream, it does look at the size value in the header and verifies if it is equal to the real file size, and if it's not equal then it will fail and stop reading the file:
adrientd
So we just need to correct the file sizes in the header and the stream will open fine in vgmstream