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

[BUG] Extraction of non-base hash depends also extracts from RPKGs outside of the provided input folder #47

Open atampy25 opened 2 years ago

atampy25 commented 2 years ago

Describe the bug When the command -extract_non_base_hash_depends_from "..\Runtime" -filter "00F824DC4C92290B" -output_path temp is run, the output ALLDEPENDS folder contains files from an RPKG located in .\Mods\Hitman 2016 Agent 47 Face Details\chunk0 which is, needless to say, not located in ..\Runtime.

tree /F output in .

Expected behaviour RPKG extracts dependencies from the provided folder.

Actual behaviour RPKG extracts dependencies from the provided folder and from a folder not located in said provided folder.

RPKG tool version: Latest artifact (v2.21.1)

Hitman Version: H3, Steam

Additional context This bug report is based on observed behaviour on another user's machine.

In the tree output, ignore the cached depends which include the erroneous files - they are not the cause of the issue, they are a symptom; the cached version is simply copied from temp.