View Single Post
  #2  
Old 25-07-2021, 02:48
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,688
Thanks: 1,106
Thanked 7,335 Times in 2,837 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by L33THAK0R View Post
UPDATE 1: Copying the combined checksums works (checked the copied file in the {tmp} directory), however, it seems like Inno Setup isn't too happy about one of its files being replaced, I'll probably have to use something like QuickSFV and get the setup to launch a batch script if CRC's are enabled.



Seems like that didn't work, I'm gonna try to figure out the whole pascal scripting nonsense and see if I can copy a file from the {app} directory to the {tmp} directory.
Edit: Make changes in Settings.ini (only add RunFromAppFolder= key)

Code:
[CRCCheck]
...
...
RunFromAppFolder=0/1
If set to 1, the Hash file will be copied to {app} folder and will be executed from there instead of {tmp}.

If you want to merge some hash files together, you have to do it inside {tmp} folder first. Just make sure you do the merge operation before FileCopy Line 5004 (for NormalMode) and Line 5264 (for CompactMode).
Attached Files
File Type: 7z RunCRCFileFromApp.7z (237.5 KB, 17 views)
__________________
Haters gonna hate

Last edited by KaktoR; 25-07-2021 at 03:02.
Reply With Quote