phoboslab / wipeout-rewrite

2.59k stars 198 forks source link

Include the Saturn exclusive music tracks #109

Open PoloniumRain opened 6 months ago

PoloniumRain commented 6 months ago

I've already posted something similar on the Wipeout Phantom Edition repository, but there's 3 exclusive music tracks in Wipeout on the Saturn. Can you include these in your web browser version?

... Or preferable just one of them. Because the best track is called Poison (by Cold Storage who made most of the games music) and it's track 12 on the disc. It perfectly fits the game. The other 2 tracks (Brickbat and Planet 9) sound pretty shit and are nothing like Wipeouts soundtrack and i've no idea who made them, so i actually wouldn't include those 2, but see what you think.

To get this to work you might need to add support for more than 11 music tracks. I haven't compiled Wipeout Rewrite so i haven't checked, but in the PAL PSX version it has 11 music tracks, and even though the US NTSC version only has 8 tracks, it still has support within the game code for 11 (you can get the game to work with 11 by editing the .CUE file). But if you try to add more than 11 tracks they will not work. So maybe Wipeout Rewrite is also affected?

And if you end up modifying the original game files to support more than 11 music tracks, could you release the file(s) as a separate download or something? It would be great as a "patch" that could work with emulation and real hardware.

SingingBush commented 5 months ago

It looks like it's just a case of updating game.c with a mapping to the music you want: https://github.com/phoboslab/wipeout-rewrite/blob/90702ce17115484b6cfc1155dd4617b5fa3762cd/src/wipeout/game.c#L178C1-L190C4

then updating the #define NUM_MUSIC_TRACKS 11 line in game.h to match the number of songs you have.