FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   UltraARC for Inno Setup (Conversion Tool) (https://fileforums.com/showthread.php?t=96619)

Cesar82 24-05-2017 12:55

Fixes to CIU
 
Quote:

Originally Posted by KaktoR (Post 459117)
Compiler only contains 1 Installer1.png.
Parsing -> Compressing

Are you sure about that? Can't find a second file in Setup.exe after compiling.

For what? Is it neccessary? I don't understand properly i guess.

From version 2.0 of CIU (All CIU v2) the language obtained with the ActiveLanguage function is always eng.

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;

And use: if CheckLanguageArc(Data[i - 1].Arc[6]) and (ComponentsCheckFA(Data[i - 1].Arc[4])) then

KaktoR 24-05-2017 14:00

Now i understand.

Thank you.

Will update the script in the next days when i got a bit time.

KaktoR 25-05-2017 14:43

1 Attachment(s)
Code:

Changelog CIU v2.0.3.8.c beta 1

-Ported hardware info to ISSysInfo.dll (thanks to peterf1999 for the great job)
-Removed duplicate / obsoleete files (thanks to LuisCésar82)

To-do:
-Make reflate work in decompression
-Adding more languages to FreeArc Custom Messages

By the way:
You can use also subtitles on video files. \Setup\SubTitle\SubTitle_lang.srt

KaktoR 25-05-2017 15:16

I need all possible language translations for the bellow messages.

Code:

en.Message1=Extracting %1...
en.Message2=Merging %1...
en.Message3=Decoding %1...
en.Message4=%1 was not found.
en.Message5=Please Insert Disc %1 With %2 File
en.Message6=Browse For Required File?

%1 describes Data#.bin
except
en.Message5= %1 describes Disc # and %2 is Data#.bin

For
Albanian
Arabic - houcine80
Bosnian
Chinese (Traditional)
Croatian
Czech
Danish
Dutch
Farsi
Finnish
French - houcine80
German
Greek
Hebrew
Hungarian
Indonesian
Italian
Japanese
Korean
Norwegian
Polish - arkantos7
PortugueseBR - kassane
PortuguesePO
Romanian
Russian
Serbian
Spanish - omdj
Spanish (Mexico) - omdj
Swedish
Thai
Turkish
Ukrainian
Vietnamese

omdj 25-05-2017 16:16

Spanish translation
 
Code:

en.Message1=extrayendo %1...
en.Message2=uniendo %1...
en.Message3=decodificando %1...
en.Message4=%1 no encontrado.
en.Message5=Por favor, inserte el Disco %1 que contiene el archivo %2
en.Message6=Buscar el archivo requerido?


omdj 25-05-2017 16:26

Spanish translation (mexico)
 
Code:

en.Message1=extrayendo %1...
en.Message2=uniendo %1...
en.Message3=decodificando %1...
en.Message4=%1 no encontrado.
en.Message5=Por favor inserte el Disco %1 que contiene el archivo %2
en.Message6=Buscar el archivo requerido?


kassane 26-05-2017 05:58

Portuguese-Brazil

Code:

en.Message1=Extraindo %1...
en.Message2=Juntando %1...
en.Message3=Decodificando %1...
en.Message4=%1 não encontrado.
en.Message5=Por favor inserir o Disco %1 com o arquivo %2
en.Message6=Procurar arquivo requerido?


houcine80 26-05-2017 13:15

arabic
Code:

en.Message1=استخراج %1...
en.Message2=دمج %1...
en.Message3=فك %1...
en.Message4=%1 لم يتم العثور عليه.
en.Message5= الرجاء إدراج القرص %1 مع %2 ملف
en.Message6= تصفح للملف المطلوب?


houcine80 26-05-2017 13:16

French

Code:

en.Message1=Extraction %1...
en.Message2=Fusionner %1...
en.Message3=Décodage %1...
en.Message4=%1 n'a pas été trouvé.
en.Message5= Insérez le disque %1 Avec %2 Fichier
en.Message6= Parcourir le fichier requis?


arkantos7 26-05-2017 13:16

Polish
 
Code:

en.Message1=Wypakowywanie %1...
en.Message2=Łączenie %1...
en.Message3=Dekodowanie %1...
en.Message4=%1 nie został znaleziony.
en.Message5=Proszę włożyć Dysk %1 zawierający plik %2
en.Message6=Przeglądaj w poszukiwaniu wymaganego pliku?


KaktoR 26-05-2017 13:16

Code:

################################
###### v2.0.3.8.c beta 2 #######
################################

-Completely reworked ExternalCompressors. Now decompressing reflate is possible again (big thanks to Simorq)
-Removed doubled Ghz from Processor (HW page)
-Translated some UltraArc messages (hopefully more to come). Non-translated languages use english as default as long as no translation is aviable (big thanks to LuisCésar82 for helping me out)
-Fixed FontSize for CPU (HW Page). It's now 6 instead of 7, as intended.
-Small additions to InfoFormPage
-Removed Noodle
-Removed NanoZip


################################
###### v2.0.3.8.c beta 1 #######
################################

-Ported hardware info to ISSysInfo.dll (thanks to peterf1999 for the great job)
-Removed duplicate files (thanks to LuisCésar82)


################################
#########  v2.0.3.8.b  #########
################################

-Added editable folder field to manually type installation dir
-Fixed a bug where using pzlib compression always gives out a -12 crc error code
-Removed WikiPage


################################
#########  v2.0.3.8.a  #########
################################

-Changed collor notation from $BGR to $RGB
-Added ConversionPage= to Setup.ini
-Added ConversionPage and WikiPage to InfoForm
-Added Hebrew (again^^) and updated Indonesian (again^^) (thanks to vollachr and edwinkyr)

Beta 2 is atm in internal testing. Coming soon(tm).

Also a new UltraArc version is in testing. Coming soon(tm).

Simorq 26-05-2017 22:58

UltraARC Reflate Edition 2800
 
Code:

precomp(pZLib)+srep+dict(Lzma2) OK
precomp(pZLib)+srep+lzma OK
precomp(ReflateAPI)+srep+dict(Lzma2) OK
precomp(ReflateAPI)+srep+lzma OK
srep+exe+exe2+delta+lzma OK
precomp(ReflateAPI)+srep+lzp(ZSTD) OK
precomp(pZLib)+srep+lzp(ZSTD) OK

Support CIU 2038c Final
//////////////// Enable ReflateSTD //////////////////////////////////////////
[Records]
ReflateSTD=ON
[Record1]
Type=Freearc_Original
Source={src}\Data1.cab
Output={app}
Disk=1

//////////////// Enable Reflate API //////////////////////////////////////////
[Records]
Precomp=0.38
[Record1]
Type=Freearc_Original
Source={src}\Data1.cab
Output={app}
Disk=1

//////////////// Enable pZLib //////////////////////////////////////////
[Records]
Precomp=0.42
[Record1]
Type=Freearc_Original
Source={src}\Data1.cab
Output={app}
Disk=1

//////////////// Enable pZLib64 //////////////////////////////////////////
[Records]
pZLib64=ON
[Record1]
Type=Freearc_Original
Source={src}\Data1.cab
Output={app}
Disk=1

//////////////// Enable SrepFast (FastInstall=Express Installation (Requires 4+ Gb. RAM)) ///////////////
[Records]
SrepFast=ON
[Record1]
Type=Freearc_Original
Source={src}\Data1.cab
Output={app}
Disk=1

KaktoR 27-05-2017 03:45

Code:

Changelog CIU v2.0.3.8.c Final

-Completely reworked ExternalCompressors. Now decompressing reflate is possible again (big thanks to Simorq)
-Removed doubled Ghz from Processor (HW page)
-Translated some UltraArc messages (hopefully more to come). Non-translated languages use english as default as long as no translation is aviable (big thanks to LuisCésar82 for helping me out)
-Fixed FontSize for CPU (HW Page). It's now 6 instead of 7, as intended.
-Small additions to InfoFormPage
-Removed Noodle
-Removed NanoZip

Use this archive as standalone folder.
Use this with above UltraARC Reflate Edition 2800 (http://fileforums.com/showpost.php?p...&postcount=765).

Big thanks to all of you who make this possible ;)

And i still need translations http://fileforums.com/showpost.php?p...&postcount=757

Thank you ^^

Cesar82 28-05-2017 06:15

Only 64 bits executables: ReflateAPI.exe and reflate.exe in include folder of CIU 2.0.3.8c.
In UltraARC Reflate Edition 2800 up to 7z.exe, 7z.dll is 64-bit, but this only disturbs whoever creates the files, not in the installation of the game that may be in another system that is not compatible.

If use reflat compression not install game in 32 bits system?

If this information is true, it should have some information for the developers of the conversions that if the game supports 32-bit systems do not use the reflat method.

Simorq 28-05-2017 07:26

Quote:

Originally Posted by LuisCésar82 (Post 459233)
Only 64 bits executables: ReflateAPI.exe and reflate.exe in include folder of CIU 2.0.3.8c.
In UltraARC Reflate Edition 2800 up to 7z.exe, 7z.dll is 64-bit, but this only disturbs whoever creates the files, not in the installation of the game that may be in another system that is not compatible.

If use reflat compression not install game in 32 bits system?

If this information is true, it should have some information for the developers of the conversions that if the game supports 32-bit systems do not use the reflat method.

ReflateAPI 32-Bit Problem
reflate.exe At The End Of The Installation Would Hang Setup.

7-Zip [32] 16.04 Use UltraARC


All times are GMT -7. The time now is 20:59.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Copyright 2000-2020, FileForums @ https://fileforums.com