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
46 stars 9 forks source link

[BUG] Application Crash when exporting PRIM #70

Open tomumk opened 1 year ago

tomumk commented 1 year ago

Describe the bug Extracting PRIM assets to GLB from chunk0patch2.rpkg using the Closed Technical Test rpkg's (not current LIVE release, the freelancer mode) seems to consistently cause the application to crash. If the dev's of rpkg-tool no longer have the rpkg's from the Closed Technical Test, I can likely provide the rpkg causing the crash.

Issue occurs when attempting to 'Mass Extract > Export Mesh Primitives (PRIM) to GLB from RPKGs in Folder' or by importing the rpkg, and then right click the PRIM assets inside the rpkg in the Resource View.

To Reproduce Steps to reproduce the behavior:

  1. Start the program.
  2. Import chunk0patch2.rpkg from CTT folder.
  3. Expand chunk0patch2.rpkg in Resource View, Right click PRIM.
  4. Select either EXTRACT ALL option, pick output folder. Will extract as usual for a few %.
  5. The application will crash.

Screenshots image

RPKG tool version: V2.23.0

Hitman Version: Hitman 3 Playtest (Closed Technical Test)

Notexe commented 1 year ago

Thanks for your report. This seems to happen with the retail game as well. I think there is an issue with the mass extraction code since no crashes seem to happen when viewing the models in the 3d viewer in the GUI. Hopefully this issue will be able to be fixed.