Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 24-07-2021, 21:18
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 406
Thanks: 137
Thanked 117 Times in 70 Posts
L33THAK0R is on a distinguished road
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.

Quote:
Originally Posted by KaktoR View Post
Not sure, but maybe by changing all constants {tmp} to {app} for #CRCFileName ispp.
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.

Last edited by L33THAK0R; 24-07-2021 at 22:21.
Reply With Quote
Sponsored Links
  #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
  #3  
Old 25-07-2021, 03:10
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 406
Thanks: 137
Thanked 117 Times in 70 Posts
L33THAK0R is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
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).
Thank you for this! I'll definitely see if I can carry these changes over to v7.2.0 (I can't seem to get my head around versions past this version but currently, and for the foreseeable future, my needs are pretty basic regarding setup functionality). I was able to enact my previous plans of using QuickSFV with just a few changes in the script. I'm sorry to have caused you the trouble, but hopefully I'll be able to put your effort to good use!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Help] need Advanced Installer script with Razor1911's UltraArc module rez3vil Conversion Tutorials 3 15-04-2024 02:24
Portable Installer Inno Setup Script y_thelastknight Conversion Tutorials 59 23-10-2020 00:02
INDEX - Conversion Tutorial Index Razor12911 Conversion Tutorials 5 11-06-2020 02:05
Simple Arc Installer 78372 Conversion Tutorials 1 15-06-2017 15:37
MSC+Srep+lzma Simple Script Example gozarck Conversion Tutorials 10 07-09-2015 16:31



All times are GMT -7. The time now is 00:10.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com