View Single Post
  #110  
Old 17-12-2022, 21:45
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 701
Thanks: 486
Thanked 2,614 Times in 574 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by Masquerade View Post
@BLACKFIRE69

There's a slight issue with the function VerifyHashesFromFile.

In my repacks, I read hash files from a _Verify folder, so each line of the file path begins with ..\ to indicate that the files are one directory up from the folder containing the checksum.

However, when reading the checksum file and pointing it to {app} or {app}\Verify, the FMXPlugin is trying to read ..\ as the directory name and is leading to all files returning as incorrect.

Example:



Please may you fix this?

Thanks,
Masquerade


try this out.

Code:
Improvement

BasePath:  
  C:\Testing1\Testing2\_Verify    =    ( {app}\_Verify )

HashFile.md5:
  ...
  07c7314cfefa2fc0292a4780da6c6ede *..\chunk.pb0

  OR

  07c7314cfefa2fc0292a4780da6c6ede ..\chunk.pb0
  ...

XHash (Internal) Reading:
  >>  C:\Testing1\Testing2\chunk.pb0    =    ( {app}\chunk.pb0 )

Last edited by BLACKFIRE69; 22-12-2022 at 10:33.
Reply With Quote
The Following 2 Users Say Thank You to BLACKFIRE69 For This Useful Post:
ADMIRAL (21-12-2022), Masquerade (18-12-2022)