ExtractPBO fails with "DePbo bad, or no, sha key" on certain addon
|Category:||ExtractPbo (Dos Tools)|
X:\>ExtractPbo.exe smurfc_era.pbo ExtractPbo Version 1.67, Dll Version 2.66 DePbo bad, or no, sha key
The addon can be extracted using Kegety's cpbo tool , so I wonder if this is a problem with ExtractPBO and/or dePBO.dll.
Updated by killswitch over 7 years ago
I forgot to mention: it's quite possible that the PBO file is malformed (judging from the error message), so ExtractPBO may be reporting the error correctly and in that regard, there's no fault with ExtractPBO or the DLL file. The question then becomes: "how should the toolset handle broken/damaged/malformed PBO files".
Updated by mikero over 7 years ago
- Status changed from New to Assigned
- Target version set to Work in progress
you are quite correct. Earlier versions of the dll 'accepted' malformed files. later versions prevented extraction, mostly to warn the user that the pbo in question would fail on mp play where signed keys are employed (the purpose of having the shakey at all).
i consider this a mistake on my part and will revise the dll to extract and WARN the user if the sha is missing.
equally, if the sha is wrong, it means the pbo has been corrupted, perhaps maliciously, or alternatively and attempt to cheat, in-game. All I can do, is warn the user appropriately.