>>543782643
>>543783245
Alright anons, it's time to explain this.
As you guys already know, PGR uses Criware for audios and videos. Audios are one or multiple .hca files stored in .acb and .awb container files. Videos are stored in .usm containers with audio & video streams. You need foobar2000 with vgmstream plug-in to open and play the awb file, if it only have a acb file, then you open it.
We use the m_ev37_battle.awb file as an example, with is the theme of Agent Zero in general.
Foobar2000 can show the tags present in the audio file. Among them are LOOP_START and LOOP_END tags, which has the loop points written in samples points number that will be used to loop musics in the game.
By default, the audio has 2 loops and foobar will convert with 2 loops, including the intro, loop, and outro. vgmstream-cli can export a longer .wav with more loop, like 10 times. But it don't seem to be able to create an audio that start from the LOOP_START point.
I my search I found PyMusicLooper, it can reads the tags and play it from the LOOP_START to LOOP_END tags in the audio you converted with foobar2000, showing the loop points in mm:ss.sss format instead of samples points. But it can't export from the tags.
So I ended up with this long manual process to create a music file with perfect loop:
>Using foobar2000 to open and convert the audio inside the .awb file to .flac or .wav. Foobar2000 also wrote the LOOP_START and LOOP_END tags from the original file.
>Use PyMusicLooper to open the converted audio file, reads the tags and play the loop, displaying the looping points in mm:ss.sss format
>Open Audacity and drop the audio file, using the mm:ss.sss looping points displayed by PyMusicLooper to create a loop region and play it to see if it loops perfectly (optional), then Ctrl + click the two points to select audio, then export selection to .flac. Can also just split the audio but creating a loop region to playback first is better.
Now do it anons. Remember to install Python.