|
|
|
#1
|
||||
|
||||
|
Fixes to CIU v2.0.3.8.b.
For the friend who posts the CIU codes...
Fixes to CIU v2.0.3.8.b... The line below is not required. The installer is compressing 2 times the image Installer1.png Source: Setup\Setup\Installer1.png; DestDir: {tmp}; Flags: dontcopy Replace all parts of the lines containing (Error UltraArc Languages to all CIU v2) Replace From: if ((Data[i - 1].Arc[6] = '') or (LanguageTranslator(Data[i - 1].Arc[6]) = ActiveLanguage)) Replace To: if (Data[i - 1].Arc[6] = '') or (Data[i - 1].Arc[6] = ActLangShort) Need fixe all others parts replacing "ActiveLanguage" to "ActLangShort" in all CIU v2 (Without quotes). Sugestion: Translate as FreeArc Custom Messages ins script and adding custom messages to language files. Thanks! |
| Sponsored Links |
|
#2
|
||||
|
||||
|
Quote:
Parsing -> Compressing Are you sure about that? Can't find a second file in Setup.exe after compiling. Quote:
__________________
Haters gonna hate
|
|
#3
|
||||
|
||||
|
Fixes to CIU
Quote:
In the link below contains images with or repeated files and the fixed script (buy with beyond compare to see the differences). https://mega.nz/#!lAgQTaQS!vuX921KwB...1kq5f6WUDXF9-0 The arc file info in Data[i - 1].Arc[6] is the language to extract the specified ultraArc file. Sugestion use function to multiples languages to one file: Code:
function CheckLanguageArc(Lang: String): Boolean;
var
TmpLang: String;
begin
Result := False;
TmpLang := Trim(RemoveQuotes(Lang));
if TmpLang = '' then begin
Result := True;
Exit;
end;
if Copy(TmpLang, Length(TmpLang), 1) <> ',' then
TmpLang := TmpLang + ',';
while Length(TmpLang) > 0 do begin
if CompareText(Trim(Copy(TmpLang, 0, Pos(',', TmpLang) - 1)), ActLangShort) = 0 then begin
Result := True;
Break;
end;
TmpLang := Copy(TmpLang, Pos(',', TmpLang) + 1, Length(TmpLang));
end;
end;
Last edited by Cesar82; 26-05-2017 at 11:00. |
| The Following 3 Users Say Thank You to Cesar82 For This Useful Post: | ||
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| BlackBox v2 | y_thelastknight | Conversion Tutorials | 567 | 11-03-2025 07:16 |
| Useful Dll for Inno Setup users | peterf1999 | Conversion Tutorials | 88 | 01-12-2017 16:00 |
| Total War Collection - 6xDVD9 [LZMA + INNO SETUP + CIU] | REV0 | PC Games - CD/DVD Conversions | 1 | 28-06-2015 17:00 |
| Total War Collection - 2xBLURAY [LZMA + INNO SETUP + CIU] | REV0 | PC Games - CD/DVD Conversions | 2 | 09-01-2013 18:02 |
| Total War Collection - 11xDVD5 [LZMA + INNO SETUP + CIU] | REV0 | PC Games - CD/DVD Conversions | 0 | 09-01-2013 16:38 |