View Single Post
  #685  
Old 25-03-2019, 01:58
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 Schabik View Post
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
Attached Files
File Type: 7z Simplification_Path_Code.7z (971 Bytes, 15 views)

Last edited by Cesar82; 25-03-2019 at 02:23.
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
Titeuf (25-03-2019)