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)

Simorq 28-04-2017 14:12

UltraARC Reflate Edition (v2.7.0.0 ) 2017-05-01
 
http://s9.picofile.com/file/82936691...raARC_2700.png

Fixed Arc.exe Stopped Working (pZLib and ReflateAPI)
Remove MSC And The Method Worthless
Add pZLib v3
Add ReflateAPI 3.2
Add CLS Reflate (Razor12911)
Add NanoZip (Razor12911)
Add Srep64
Add Zstd
Add Lzma2

Method
Code:

Precomp 0.38 = ReflateAPI
Precomp 0.42= pZLib
MSC= Reflate CLS (Razor12911)
lzp= ZSTD
delta= Lzma2


======================================================
Reflate CLS+Srep+Lzma2:
[Freearc]
Method=msc,srep,delta
PrecompVer=0.38
PrecompJPG=False

Reflate CLS+Srep+Zstd:
[Freearc]
Method=msc,srep,lzp
PrecompVer=0.38
PrecompJPG=False

======================================================
ReflateAPI+Srep+Lzma2:
[Freearc]
Method=precomp,srep,delta
PrecompVer=0.38
PrecompJPG=False

ReflateAPI+Srep+Zstd:
[Freearc]
Method=precomp,srep,lzp
PrecompVer=0.38
PrecompJPG=False

======================================================

pZLib+Srep+Lzma2:
[Freearc]
Method=precomp,srep,delta
PrecompVer=0.42
PrecompJPG=False

pZLib+Srep+Zstd:
[Freearc]
Method=precomp,srep,lzp
PrecompVer=0.42
PrecompJPG=False

UltraARC Reflate Edition Test
Code:

Final Fantasy X X-2 HD Remaster

Method=pZLib,SREP(64Bit),Lzma2

(36.9GB Game Size) (58.6GB pZLib) (34GB SREP64) (24.9 GB Lzma2)

UltraARC Log
Process started at: 7:12:55 PM
Examining source...
Generating file lists...
Saving file lists...
Creating Data1.cab...
Splitting Data1.cab...
Updating records...
Deleting Data1.cab...
Updating records...
Removing temporary directories...
Process finished at: 12:41:14 AM

5.5 Hour Compressed (pZLib -t25p)
Installation Takes 50 Minutes (pZLib -t4)
http://s9.picofile.com/file/8293434550/FFX_X2_1.png
http://s8.picofile.com/file/8293434568/FFX_X2_2_png.png
http://s8.picofile.com/file/8293434592/FFX_X2_3.png

Tips
Code:

Srep Ultra Config (Best Ratio and Slow Speed)

[External compressor:srep]
;options  = l%d (minimal match length, default=512)
header = 0
packcmd  = srep64 -m5f -a1 -l128 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep -d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

pZLib Best Config (Without Problems and CRC Error)

[External compressor:precomp]
header = 0
packcmd = pZLib e -m2 -t25p - -o - $$arcdatafile$$.tmp -o - <stdout>
unpackcmd = pZLib d -t100p - -o - <stdin> <stdout>


pakrat2k2 28-04-2017 14:22

Thanks so much for update. Will add to first post as well.

Simorq 28-04-2017 22:13

CIU2038 2017 Special Edition (2017-05-01)
 
Del

pakrat2k2 29-04-2017 07:12

Quote:

Originally Posted by Simorq (Post 458499)
Please UA 2600_27042017.7z first post Remove


removed as requested

pakrat2k2 01-05-2017 06:43

Thanks Simorq for the newest additions

UltraARC Reflate Edition 2700.7z
CIU2038 2017 Special Edition (2017-05-01).7z

BOTH which have been added to first post.

Droppo 12-05-2017 19:22

1 Attachment(s)
Can any of you guys help me making this small installer compatible with these new versions of Ultraarc???

KaktoR 12-05-2017 20:03

2 Attachment(s)
Code:

Changelog CIU v2.0.3.8.a

-Changed color 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)


KaktoR 15-05-2017 15:31

1 Attachment(s)
Quote:

Originally Posted by Droppo (Post 458754)
Can any of you guys help me making this small installer compatible with these new versions of Ultraarc???

Here you are

Have included taskkill aswell.

Droppo 15-05-2017 22:07

Quote:

Originally Posted by KaktoR (Post 458830)
Here you are

Have included taskkill aswell.

Thnxs a lot!

KaktoR 16-05-2017 17:34

1 Attachment(s)
Code:

Changelog CIU v2.0.3.8.b

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


KaktoR 17-05-2017 05:53

1 Attachment(s)
Quote:

Originally Posted by IzeroI (Post 458870)
sorry for eng. Can anyone remake this installer with compatible UltraArc? im too dumb on code. and thank you.

Here you are

Tell me if there are any errors. Can't test decompression right now.

But should work.

pakrat2k2 17-05-2017 07:48

Quote:

Originally Posted by KaktoR (Post 458859)
Code:

Changelog CIU v2.0.3.8.b

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


CIU v2.0.3.8.b has been added to first page, thanks for updating.

LMAO installer music... good choice. ;)

Now all we need is for Razor' to fix the VideoRAM issue so it displays properly for cards with greater the 4GB Ram

KaktoR 17-05-2017 13:01

Quote:

Originally Posted by pakrat2k2 (Post 458877)
CIU v2.0.3.8.b has been added to first page, thanks for updating.

LMAO installer music... good choice. ;)

Now all we need is for Razor' to fix the VideoRAM issue so it displays properly for cards with greater the 4GB Ram

Thank you. The last days i was on search for a good 8bit music... Then i found Super Mario :D

For VideoRAM... I am in the early lerning process of Inno Setup. It could take a while. I must rewrite the complete HW page and this is not a thing for me imo.

Maybe someone more skilled member can do this.

In my first try's there was "0.00MB", "4.00GB" or just "DeviceDriver" displayed on VRam on HW page.

My head is spinning around atm because of learning.

pakrat2k2 17-05-2017 14:12

Simorq sent me PM saying its not the issue of ISS but of Windows itself.

https://forums.evga.com/GTX-TITAN-X-...-m2323952.aspx

Razor had mentioned some time ago, he would have to rewrite a new dll for the issue.

KaktoR 17-05-2017 14:30

I dont think it's directly an issue on Windows itself.

Both libraries from razor and peterf worked for me, both displaying 8GB, but i have problems to correctly implenent those libraries into ISS.

IzeroI 17-05-2017 17:40

i got this error while decompressing what should i do?
compress method: pZLib+Srep+Lzma2
http://s9.picofile.com/file/8295237792/Untitled.png

KaktoR 17-05-2017 17:58

1 Attachment(s)
Quote:

Originally Posted by IzeroI (Post 458895)
i got this error while decompressing what should i do?
compress method: pZLib+Srep+Lzma2
http://s9.picofile.com/file/8295237792/Untitled.png

Yeah, guess what, i have shared the non-edited script back to you...

https://imgflip.com/s/meme/Captain-Picard-Facepalm.jpg

I will edit again. Give me some minutes.

Edit: Here is the right one, finally. Recompile setup.exe from this archive, replace your old setup.exe and try again.

KaktoR 17-05-2017 18:27

Btw, some small but important information:

If you got an error with "Failed to create Data#.bin" in UltraArc with compression pzlib+srep+lzma, make sure to exclude all small files (including all .dll, .exe, etc files), because some error in UltraArc.exe if you mix big files and small files together.

After compression is done, manually pack all remaining files into an freearc archive and add it to records.ini.

I faced that error in eg Sims 4 and Just Cause 3 until now.

---

And, testing new compressions in the next days i got from "shazzla" (big thanks to you).

bugmenot_ 17-05-2017 19:55

1 Attachment(s)
Quote:

Originally Posted by Droppo (Post 458754)
Can any of you guys help me making this small installer compatible with these new versions of Ultraarc???

script only
Scan for Virus ;)

KaktoR 20-05-2017 02:51

1 Attachment(s)
Here is new zlib compression.

Have tried it over 6 games yet and no crc errors.

Big thanks to "shazzla" for sharing this to me!

I have included backup files aswell.

KaktoR 21-05-2017 05:09

@Simorq:

Even with your unmodded script (http://fileforums.com/showpost.php?p...&postcount=725) i got errors in decompression with CLS-Reflate and ReflateAPI

CLS-Raflate "Arc.exe has stopped working"
http://i.imgur.com/twHzH7E.png

ReflateAPI
http://i.imgur.com/81qqAVG.png
http://fileforums.com/showpost.php?p...4&postcount=15
http://fileforums.com/showpost.php?p=458977&postcount=3

Simorq 22-05-2017 01:40

Quote:

Originally Posted by KaktoR (Post 459003)
@Simorq:

Even with your unmodded script (http://fileforums.com/showpost.php?p...&postcount=725) i got errors in decompression with CLS-Reflate and ReflateAPI

CLS-Raflate "Arc.exe has stopped working"
http://i.imgur.com/twHzH7E.png

ReflateAPI
http://i.imgur.com/81qqAVG.png
http://fileforums.com/showpost.php?p...4&postcount=15
http://fileforums.com/showpost.php?p=458977&postcount=3

ReflateAPI is not perfect, it does have bugs.
http://krinkels.org/threads/reflate-api.3419/page-2

It is better to use pZLib

MartinezPL 22-05-2017 15:35

Hello folks got little question is there option ot turn off/delete EULA from both script and installer? Personally don't need that :-P

KaktoR 22-05-2017 15:37

Simply don't put any eula.rtf file in Setup\Eula folder.

MartinezPL 22-05-2017 16:41

Quote:

Originally Posted by KaktoR (Post 459054)
Simply don't put any eula.rtf file in Setup\Eula folder.

Thank you :D

Cesar82 23-05-2017 07:57

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!

KaktoR 24-05-2017 08:25

Quote:

Originally Posted by LuisCésar82 (Post 459076)
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

Compiler only contains 1 Installer1.png.
Parsing -> Compressing

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

Quote:

Originally Posted by LuisCésar82 (Post 459076)
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!

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

MartinezPL 24-05-2017 10:52

Someone can point what I am doing wrong?
In Setup.ini
Quote:

Name=The Surge
Exe=TheSurge.exe
ExePath=The Surge\bin\TheSurge.exe
I try also different combinations and results... ;<

KaktoR 24-05-2017 11:03

Quote:

ExePath=The Surge\bin\TheSurge.exe
This one is correct
Quote:

ExePath=bin
ExePath is {app} (game directory, so ExePath = {app}), from there you just need folder where exe is, without the exe file itself and without \ at the end.

If your exe file is in root game directory (without any subdirs), than leave ExePath blank. If exe file is eg in "C:\AnyGame\bin\win32\Game.exe", then ExePath=bin\win32

MartinezPL 24-05-2017 11:16

@KaktoR
Thank you very much!

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?



All times are GMT -7. The time now is 21:47.

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