View Single Post
  #1069  
Old 16-08-2021, 15:52
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 XxAZAxX View Post
3 - In the "Record.ini" file you released there is the wording:

Code:
[Record1]
Type=FreeArc_Original
Source = {src}\Changelog.arc
Output = {app}\
Disk = 1.2
Size = 32.11 GB

in

Type = Freearc_Original
Source = {src}\Changelog.arc
Output = {app}\
Disk = 1.2
Size = 32.11 GB
Where "Type = FreeArc_Original" is wrong for it to work I had to change to: "Type = Freearc_Original".
It should work the same way.
Maybe there was some TAB character on the Type= line.
DiskSpan GUI generates records.ini with FreeArc_Original and other users always install games using FreeArc_Original without problems.
It is not case sensitive the type name, see that the script was used LowerCase that leaves everything in lowercase during the comparison.
Code:
function ConvertDataType(sType: String): Integer;
begin
  case Trim(LowerCase(sType)) of
    LowerCase('FreeArc_Original') : Result := ARC_SIMPLE;
    LowerCase('7-Zip_Original')   : Result := ZIP_SIMPLE;
    LowerCase('WinRAR_Original')  : Result := RAR_SIMPLE;
    LowerCase('FreeArc_Split')    : Result := ARC_MERGED;
    LowerCase('7-Zip_Split')      : Result := ZIP_MERGED;
    LowerCase('WinRAR_Split')     : Result := RAR_MERGED;
    LowerCase('Split')            : Result := SPLIT_PART;
    LowerCase('Delta')            : Result := DELTA_FILE;
  end;
end;
Quote:
Originally Posted by XxAZAxX View Post
For everything else I think it's all right, I hope I have been of help! and thanks again for all the work you do guys, and sorry for the time I stole from you! good summer to you too.
It's a cold winter here now!

Quote:
Originally Posted by XxAZAxX View Post
So is this a superfluous code? that is, can it be eliminated without any problem? perfect Thanks again bro!
It was supposed to be used to ignore the lines of group type items, but was discontinued before it became public.

Last edited by Cesar82; 16-08-2021 at 16:08.
Reply With Quote
The Following 2 Users Say Thank You to Cesar82 For This Useful Post:
Gehrman (31-05-2022), XxAZAxX (16-08-2021)