Quote:
Originally Posted by Schabik
OK, thanks a lot guys 😁 I'll check it out tomorrow, because today is Sunday and in my country about 8:30 PM. 😋
Ok, after adding the conditions and trying to compile I've got an error says that a comma is expected. after looking at the end of the line the comma is added but in the 94-th column there should't be a comma.
Attachment 24411
I'm attaching my script.
|
try:
Goto line 4225 and replace in this line
end; by
#endif
Now goto line 3945 and delete this for lines ( 3945, 3946, 3947, 3948 ) and insert:
Code:
#if UseComponents == "1"
if (IsComponentSelectedByName('cm:GameLang\cm:PL')) then
begin
WizardForm.ProgressGauge.Hide;
WizardForm.StatusLabel.Caption := ExpandConstant('{cm:PatchingFiles}');
Attached is a way for you to simplify the code of applying the path with xdelta.
Only the file names change, so it's more practical to create a loop