View Single Post
  #10  
Old 03-05-2021, 08:39
alucard1973 alucard1973 is offline
Registered User
 
Join Date: Apr 2015
Location: Madrid
Posts: 45
Thanks: 1
Thanked 3 Times in 3 Posts
alucard1973 is on a distinguished road
well, after testing, it decompresses the files that I select, but here is my problem, I cannot use the record.ini, otherwise it installs all the game files for me, if I don't put it, it lets me know. install well what I ask, but my problem therefore comes from the installation directory.
Can we add, I suppose it's here, a command (if you can help me because I don't know much about it) to put for example "components1.Dir = {sd} \ steamapps \ common \ test1" in settings.ini

#if UseComponents == "1"
procedure ComponentsOnCheck(Sender: TObject);
var
I: Integer;
begin
ComponentsSize := 0;
for I := 0 to GetArrayLength(CompIndexList) - 1 do
if ComponentsList.Checked[CompIndexList[I]] then
ComponentsSize := ComponentsSize + GetSizeBytes(GetIniString('ComponentsSettings', 'Component' + IntToStr(CompIndexList[I]) + '.Size', '0', ExpandConstant('{tmp}\Settings.ini')), ComponentsSize);
ComponentsDiskSpaceLabel.Caption := FormatDiskSpaceLabel(SetupMessage(msgComponentsDis kSpaceMBLabel), ComponentsSize + GetSizeBytes(GetIniString('Settings', 'Size', '0', ExpandConstant('{tmp}\Settings.ini')), ComponentsSize));
ComponentsDiskSpaceLabel.Refresh;
end;
Reply With Quote