RPKG-Gui would crash (CTD) anytime you open a WWEV file from Hitman 2016, because it tries to automatically read the embedded sounds, and the file format has changed slightly since 2016.
This PR fixes that.
The CLI function extract_wwev_to_ogg_from appears to be using the same code, so I've changed that as well. I have not tested if that one indeed crashed / is fixed.
RPKG-Gui would crash (CTD) anytime you open a WWEV file from Hitman 2016, because it tries to automatically read the embedded sounds, and the file format has changed slightly since 2016. This PR fixes that.
The CLI function
extract_wwev_to_ogg_from
appears to be using the same code, so I've changed that as well. I have not tested if that one indeed crashed / is fixed.