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)

KaktoR 28-05-2017 12:55

2 Attachment(s)
Here is a simple installer script that works with latest version of UltraArc (you can find it here -> http://fileforums.com/showpost.php?p...&postcount=765)

I have made some small additions, like Skin support.

I have no clue how to change merging to {app}.

For a workaround, replace {tmp} with {app} in records.ini

logboy666 02-06-2017 10:01

What UltraARC (Reflate Edition v2800) settings would you guys recommend for game repacking ? (generic game, lets say it has every type of file in it)

pakrat2k2 02-06-2017 11:51

generally start with srep,lzma. then use this program to check if files in game will compress better with pzlib. ( read topic to make sure you understand results of scan, BEFORE using it with your game(s).

http://fileforums.com/showthread.php?t=98731

Cesar82 02-06-2017 23:39

Split and join files library
 
2 Attachment(s)
Hello people!
I created a library to merge the split files. (My first library)
With this library you can split or join files.

Update 1.01 add functions:
- ProcIsRunning
- CurrProcStop

Update 1.02 changes:
- Inplemented in function SplitFile varible to output files destination
- fixed size limited on 2 GB. You can now use parts larger than 5 GB if necessary.
- fixed return of function MergeFiles. Now returns "True" if size of the destination files is equal to the sum of the size of original part and the previous size of destination file before process.

If anyone wants to test, and give some suggestion.
If anyone finds this DLL useful post on another topic.
PS: To analyze the performance of the library it is good to test on large files.

I hope it's useful.

KaktoR 03-06-2017 08:27

@Simorq: Remove refstd from UA. Pull in msc or whatever instead.

Simorq 03-06-2017 10:33

Quote:

Originally Posted by KaktoR (Post 459455)
@Simorq: Remove refstd from UA. Pull in msc or whatever instead.

UA 2800 R2

Remove ReflateSTD

ReflateAPI Optimized
Code:

TEST1
Dark Souls II: Scholar of the First Sin = Ok - MD5 Ok


logboy666 04-06-2017 02:09

I'm getting crc error (code -12) at 51.5% when unpacking files compressed with pzlib+srep+lzma

Any suggestions ?

For decompression I'm using "CIU2038b 2017 Special Edition"
For compression UA 2800 Reflate Edition

KaktoR 04-06-2017 03:15

Quote:

Originally Posted by logboy666 (Post 459466)
I'm getting crc error (code -12) at 51.5% when unpacking files compressed with pzlib+srep+lzma

Any suggestions ?

For decompression I'm using "CIU2038b 2017 Special Edition"
For compression UA 2800 Reflate Edition

2038c is needed because of other options for decompression.

Simorq 04-06-2017 04:54

Quote:

Originally Posted by LuisCésar82 (Post 459443)
Hello people!
I created a library to merge the split files. (My first library)
With this library you can split or join files.

Update 1.01 add functions:
- ProcIsRunning
- CurrProcStop

If anyone wants to test, and give some suggestion.
If anyone finds this DLL useful post on another topic.
PS: To analyze the performance of the library it is good to test on large files.

I hope it's useful.

Error
http://s8.picofile.com/file/82968232...ster_Error.png

logboy666 04-06-2017 06:34

How to set UA to not split into multiple archives ? I want one big file as output

KaktoR 04-06-2017 06:42

Quote:

Originally Posted by logboy666 (Post 459470)
How to set UA to not split into multiple archives ? I want one big file as output

UltraARc.ini

Set:
FirstVolumeSize=99999
CustomVolumeSize=99999
ThresholdPercent=100

Cesar82 04-06-2017 13:35

Quote:

Originally Posted by Simorq (Post 459468)

You are using an Enhanced Edition version of Inno Setup.
The Inno Setup Enhanced Edition already has the TMsg type.

To fix this error simply delete this part (This 9 lines). The Standard version of Inno Setup needs this part.
Code:

type
  TMsg = record
    hWnd: HWND;
    message: Word;
    wParam: Word;
    lParam: LongWord;
    Time: TFileTime;
    pt: TPoint;
  end;

Script to be compatible with both versions of Inno Setup (Standard Edition and Enhanced Edition) you can add before the part of the code quoted above "#ifndef IS_ENHANCED" (without quotes) and after this part "#endif" (without quotes).

Like this:
Code:

#ifndef IS_ENHANCED
type
  TMsg = record
    hWnd: HWND;
    message: Word;
    wParam: Word;
    lParam: LongWord;
    Time: TFileTime;
    pt: TPoint;
  end;
#endif

This will be compatible with both versions of Inno Setup.

pakrat2k2 10-06-2017 09:53

Quote:

Originally Posted by Simorq (Post 459195)
UltraARC Reflate Edition 2800

Properties>Details Still list it as 2.4.0.0, needs to be updated to reflect version number.

Simorq 10-06-2017 11:47

Quote:

Originally Posted by pakrat2k2 (Post 459638)
Properties>Details Still list it as 2.4.0.0, needs to be updated to reflect version number.

pZLib v3 2017 is more powerful than reflect. reflectapi likely also be deleted.
I soon modified version.

0xffaded 10-06-2017 12:26

Italian:

Code:

UltraArcMessage1=Estrazione %1...
UltraArcMessage2=Fusione %1...
UltraArcMessage3=Decodifica %1...
UltraArcMessage4=%1 non e stato trovato.
UltraArcMessage5=Prego inserire disco %1 Con %2 File
UltraArcMessage6=Sfoglia per il file richiesto?



All times are GMT -7. The time now is 03:27.

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