glacier-modding / RPKG-Tool

The RPKG tool allows for easy (un)packing of files from the Glacier Engine RPKG file format! Hitman 3 has the most support.
https://glaciermodding.org/rpkg/
Other
47 stars 9 forks source link

Fix crashes when loading WWEV files from H2016 #100

Open grappigegovert opened 6 months ago

grappigegovert commented 6 months ago

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.

github-actions[bot] commented 6 months ago

Download the artifacts for this pull request: