decomp: handle dumping jak 2 VAG file assets (#2969)

There are potentially still some minor issues with the resulting files.
Some of them appear to have minor artifacts that playing through the
actual game do not -- but this is a much better starting point for
someone to iterate from if they are interested in improving things.
This commit is contained in:
Tyler Wilding
2023-09-09 08:33:41 -06:00
committed by GitHub
parent d048f420a0
commit 0a7caf1d10
6 changed files with 182 additions and 77 deletions
+2 -1
View File
@@ -312,7 +312,8 @@ int main(int argc, char** argv) {
auto streaming_audio_in = in_folder / "VAG";
auto streaming_audio_out = out_folder / "assets" / "streaming_audio";
file_util::create_dir_if_needed(streaming_audio_out);
process_streamed_audio(streaming_audio_out, in_folder, config.streamed_audio_file_names);
process_streamed_audio(config, streaming_audio_out, in_folder,
config.streamed_audio_file_names);
}
lg::info("Decompiler has finished successfully in {:.2f} seconds.", decomp_timer.getSeconds());