Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1261  
Old 05-10-2022, 11:53
pcblizzard pcblizzard is offline
Registered User
 
Join Date: Aug 2009
Location: Germany
Posts: 32
Thanks: 65
Thanked 3 Times in 3 Posts
pcblizzard is on a distinguished road
I think I have found another “bug” in v7.4.1:

If I set “StartCheck” to “1”, the CRC check should start automatically at the end of the installation, but it does not. It just comes up with the “installation is finished” window, nothing more.

Settings.ini
Code:
[CRCCheck]
//----------------------------------------------- Setup\Filename.md5 \ .sha1 \ .sha256 \ .sha512
Enable=1
StartCheck=1
QuickSFV=0
QuickSFVFile=check.md5
QuickSFVDeleteHashFile=0
Script.iss:
Code:
// CRCCheck
#define CheckCRC YesNo(ReadIni(Settings, "CRCCheck", "Enable", ""))
#define StartCRC YesNo(ReadIni(Settings, "CRCCheck", "StartCheck", ""))     
// QuickSFV Options
#define UseQuickSFV YesNo(ReadIni(Settings, "CRCCheck", "QuickSFV", ""))
#define QuickSFVFile ReadIni(Settings, "CRCCheck", "QuickSFVFile", "")
#define DeleteHashFile YesNo(ReadIni(Settings, "CRCCheck", "DeleteHashFile", ""))
Or am I just making a (thinking) mistake?


KR blizz

Last edited by pcblizzard; 05-10-2022 at 12:00.
Reply With Quote
Sponsored Links
  #1262  
Old 05-10-2022, 12:20
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
Works fine here.

Did you check the "Check CRC" checkbox?

Edit: Make sure you have included the hash file in Setup.dll and name file extension to ".dat" and add it to records.ini aswell like this
Code:
[Record#]
Type=Checksum_File
Source={tmp}\hashfile.dat
Output={app}\
Disk=1
__________________
Haters gonna hate

Last edited by KaktoR; 05-10-2022 at 12:43.
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
pcblizzard (05-10-2022)
  #1263  
Old 05-10-2022, 12:44
pcblizzard pcblizzard is offline
Registered User
 
Join Date: Aug 2009
Location: Germany
Posts: 32
Thanks: 65
Thanked 3 Times in 3 Posts
pcblizzard is on a distinguished road
Yes, the "Check CRC" is preselected (deactivating and re-selecting also did nothing). Hm... I'll have to see what the problem is.

EDIT: The "StartCheck" option does not only work if I set "QuickSFV" to "1", correct?

Last edited by pcblizzard; 05-10-2022 at 12:57.
Reply With Quote
  #1264  
Old 05-10-2022, 13:06
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
The "StartCheck" option is only relevant if you don't use QuickSFV check. QuickSFV check starts always automatically if unpack process is finished.
__________________
Haters gonna hate
Reply With Quote
The Following 2 Users Say Thank You to KaktoR For This Useful Post:
pcblizzard (05-10-2022), Titeuf (06-10-2022)
  #1265  
Old 05-10-2022, 13:25
pcblizzard pcblizzard is offline
Registered User
 
Join Date: Aug 2009
Location: Germany
Posts: 32
Thanks: 65
Thanked 3 Times in 3 Posts
pcblizzard is on a distinguished road
Hm ... very funny. I don't know what's wrong with me (I've also tried settings from previous versions [of course everything has been adjusted] but it just won't work.

These are my standard settings in “Settings.ini”

Code:
Enable=1
StartCheck=1
QuickSFV=0
QuickSFVFile=check.md5
QuickSFVDeleteHashFile=0
And in the screenshot you can see the last window, neither before nor after that anything happened in terms of a CRC check.

Another thing I noticed is that when I have “StartCheck=0", the window no longer appears (i.e., where I then have to start the check manually [which still appeared with 7.3.x]), so it must definitely be me. Then I'll try an older version of the script.


KR blizz
Reply With Quote
  #1266  
Old 05-10-2022, 13:41
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
I'm asking again: Is your hash file included in Setup.dll and Records.ini?

Send me all relevant files for testing (Settings.ini, Setup.dll).
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
pcblizzard (05-10-2022)
  #1267  
Old 05-10-2022, 13:53
pcblizzard pcblizzard is offline
Registered User
 
Join Date: Aug 2009
Location: Germany
Posts: 32
Thanks: 65
Thanked 3 Times in 3 Posts
pcblizzard is on a distinguished road
Okay, i will send you the Files via PN.
Reply With Quote
  #1268  
Old 05-10-2022, 18:19
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
I'm asking again: Is your hash file included in Setup.dll and Records.ini?

Send me all relevant files for testing (Settings.ini, Setup.dll).
I'm not sure, but I think you can even use other directories or file extension (If you manually enter records.ini).

Code:
[Record#]
Type=Checksum_File
Source={src}\HASH\hashfile.md5
Output={app}\
Disk=1

[Record#]
Type=Checksum_File
Source={app}\hashfile.sfv
Output={app}\
Disk=1
If you use any constant, it will be copied to the temporary folder, generating a new name with a .dat extension and merging if necessary
If using {app} the file will not be deleted from the installation folder after checking.

Names without constants in the Source= key cannot be used.
Reply With Quote
The Following 6 Users Say Thank You to Cesar82 For This Useful Post:
KaktoR (06-10-2022), LinkSystem (12-07-2023), mausschieber (06-10-2022), pcblizzard (06-10-2022), ROKA1969 (10-10-2022), Titeuf (06-10-2022)
  #1269  
Old 12-10-2022, 19:24
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
I'm not quite sure how it would work since I'm aware the current system orders the current lists of components/tasks using the integer value, but would it be possible to use a separate value to dictate the order that components/tasks appear, and instead attaching a string label to the component/task? I'm definitely interested in trying to implement this myself, since its definitely a niche use-case, given I'm sure the majority of users don't have extensive component/task lists that regularly differ and need to be re-ordered. If anyone could give me some guidance on what a possible solution would require I'd greatly appreciate it.

I'm not great at describing what I'm attempting in a succinct manner, so heres a brief mockup:

Records.ini entry
Code:
[Record10]
Type=Freearc_Original
Source={src}\l33t-data-1.bin
Output={app}\
Disk=10
Component=MAINDATA
Settings.ini entry
Code:
ComponentMAINDATA.Name=Main Files
ComponentMAINDATA.ItemType=CHECK
ComponentMAINDATA.Size=2.42 GB
ComponentMAINDATA.Level=0
ComponentMAINDATA.Checked=1
ComponentMAINDATA.Enabled=0
ComponentMAINDATA.Order=1
ADDITIONAL EDIT:
I had a quick thought that it might even be easier at a glance to order items if there was a separate Settings.ini entry solely for the order of items, so for example:

Settings.ini entry
Code:
[ComponentOrder]
1=MAINDATA
2=placeholder
3=placeholder

[TaskOrder]
1=placeholder
2=placeholder
3=placeholder

Last edited by L33THAK0R; 12-10-2022 at 19:35.
Reply With Quote
  #1270  
Old 16-10-2022, 04:59
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
Sorry for late response, was out of the house for a few days.

Sure it is possible but it requires extensive editing. I'm pretty sure no one will ever do that.
__________________
Haters gonna hate
Reply With Quote
  #1271  
Old 16-10-2022, 09:49
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
Sorry for late response, was out of the house for a few days.

Sure it is possible but it requires extensive editing. I'm pretty sure no one will ever do that.
No worries, thanks for the response! I'm definitely feeling confident I could probably get it working (I've had some pretty decent success with overwriting existing infrastructure to introduce my own, to better suit my needs), I'm just trying to figure out where to start looking, I can easily find the logic for existing component/tasks attributes (eg. .Name, .ItemType, .Size, .Level), but I can't find the logic for the order of component/task items, would you by any chance remember where abouts this was implemented?
Reply With Quote
  #1272  
Old 16-10-2022, 11:01
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by L33THAK0R View Post
No worries, thanks for the response! I'm definitely feeling confident I could probably get it working (I've had some pretty decent success with overwriting existing infrastructure to introduce my own, to better suit my needs), I'm just trying to figure out where to start looking, I can easily find the logic for existing component/tasks attributes (eg. .Name, .ItemType, .Size, .Level), but I can't find the logic for the order of component/task items, would you by any chance remember where abouts this was implemented?
You should be aware that the Component=, Task= and Language= keys of records.ini also support multiple comma-separated values.

Code:
[Record10]
Type=Freearc_Original
Source={src}\l33t-data-1.bin
Output={app}\
Disk=10
Component=1,2,6
Task=3,7
Language=EN,DE,FR
Reply With Quote
The Following 2 Users Say Thank You to Cesar82 For This Useful Post:
L33THAK0R (16-10-2022), LinkSystem (12-07-2023)
  #1273  
Old 16-10-2022, 20:30
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
Thumbs up

Quote:
Originally Posted by Cesar82 View Post
You should be aware that the Component=, Task= and Language= keys of records.ini also support multiple comma-separated values.

Code:
[Record10]
Type=Freearc_Original
Source={src}\l33t-data-1.bin
Output={app}\
Disk=10
Component=1,2,6
Task=3,7
Language=EN,DE,FR
Ah thanks for the heads up, this'll definitely be useful in the future!
Reply With Quote
  #1274  
Old 29-10-2022, 20:23
ROKA1969's Avatar
ROKA1969 ROKA1969 is offline
Registered User
 
Join Date: May 2017
Location: Poland
Posts: 27
Thanks: 6
Thanked 1 Time in 1 Post
ROKA1969 is on a distinguished road
what could this error mean?

*Running instaler with selected language failed. Code 5*

I will add that after creating the installer, the installation is successful for me
Reply With Quote
  #1275  
Old 30-10-2022, 00:32
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,217
Thanks: 294
Thanked 1,404 Times in 637 Posts
Masquerade is on a distinguished road
Quote:
Originally Posted by ROKA1969 View Post
what could this error mean?

*Running instaler with selected language failed. Code 5*

I will add that after creating the installer, the installation is successful for me
You need to unblock the setup in it's properties. Windows security is going nuts
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
ROKA1969 (11-11-2022)
Reply


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 13:08.


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