>>543861965
I fucking did it. I finally found the best solution possible.
So vgmstream-cli can print loop metadata as mm:ss.sss, but it can't export from the start of the loop, only from the start of the audio. It was just one less step for a manual process.
But I found this thing:
https://github.com/libertyernie/LoopingAudioConverter/releases
It can export loop segment from the awb file, and do it in batch.
But it will give an error on files that don't have loop metadata, or the loop is the whole song (loop start from 0), and it can't process other tracks (subsongs) if an awb has multiple tracks. But you can use foobar2000 to take care of those.
So here's the process:
>In foobar2000 (with vgmstream plugin) Preferences > Display > Default User Interface > Custom columns. Add a new entry with LOOP_START for Name, and %LOOP_START% for Pattern. Then toggle those columns.
>Open all .awb files that contains music with foobar2000. Multiple tracks inside a awb if it has them, will also be loaded in the playlist.
>Sort by LOOP_START
>Select everything that has LOOP_START as ? and 0 and remove them from the playlist.
>Convert them to flac.
>Open Looping Audio Converter and drag all converted file to it.
>Output flac. Check only export segment before loop, loop segment, and segment after loop.
>Start.
>Eat some Liv while waiting.