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)

Cyberavater 18-07-2018 12:06

Quote:

Originally Posted by Fabioddq (Post 472649)
Any tutorial for this? You can use Hellblade to demonstrate? Just for me show the way in the future.
I will appreciate. Thanks.

I'm also new to this will share when I learn more.

KaktoR 18-07-2018 12:13

Quote:

Originally Posted by Fabioddq (Post 472649)
Any tutorial for this?

Here is a short tutorial for using xtool with MASK:
Open Arc.groups with notepad(++)

Search for "$xStream"

There you write
1) files by file masks (*.png, *.pak, etc.) (subfolders will be included)
2) files by their full file names (f.e. File.dat, File.png, etc.) (for this the mentioned files must be present in root folder or any folder you select with Input in UltraARC GUI)
3) full file names with paths (f.e. Folder\File.pak, Folder1\Folder2\File.pdf)
4) file masks with paths (f.e. FolderA\FolderB\FolderC\*.wav)

Personally i using a mix by 1 and 2 only. But 3 and/or 4 are possible too.

Just make sure you have no duplicants (delete them), otherwise arc will skip them

Save the file

Open Config0.inf
search for "MASK = Example", replace "Example" with
Code:

LZ3/$xstream=xZ1+srep+LZ3/$void=0/$binkpack=bpk

LZ3 is lzma:a1:mfbt4:256m:fb273:mc1000000000:lc8 (the first method is the "main method", means, all files which aren't defined in masks or disabled masks will be compressed with this)
xZ1 is xZlib
0 is zero compression (just storing, good for mp4 videos and other not compressable files)
bpk is for bik/bk2 videos

If you only need xtool, remove "/$void=0/$binkpack=bpk"
If you need some other masks too, add them and put files inside arc.groups in their respective sections. Note that between each mask there must be a "/" to seperate them.

You can also write the methods in full lenghts, example:
Code:

srep+4x4:b128mb:lzma:a1:mfbt4:64m:fb273:mc1000000:lc8/$xstream=xZLib+srep+lolz:d128mb
PS: It could be that you must add something to Arc.ini in CIU folder if you use Xtool with UltraARC (because i just have seen that UltraARC not use xprecomp anymore), otherwise you will get something like "unsuported compression method".
Just open Arc.ini in CIU and add the following to the end (or somewhere)

Code:

[External compressor:xZLib,xOodle,xLZ4,xLZO,xZSTD]
header    = 0
unpackcmd = xtool.exe d:precomp:t75p - - <stdin> <stdout>

[External compressor:xCriLayla]
header    = 0
unpackcmd = xtool.exe d:precomp:t50p - - <stdin> <stdout>


Cyberavater 18-07-2018 12:28

Quote:

Originally Posted by KaktoR (Post 472653)
Here is a short tutorial for using xtool with MASK:
Open Arc.groups with notepad(++)

Search for "$xStream"

There you write
1) files by file masks (*.png, *.pak, etc.) (subfolders will be included)
2) files by their full file names (f.e. File.dat, File.png, etc.) (for this the mentioned files must be present in root folder or any folder you select with Input in UltraARC GUI)
3) full file names with paths (f.e. Folder\File.pak, Folder1\Folder2\File.pdf)
4) file masks with paths (f.e. FolderA\FolderB\FolderC\*.wav)

Personally i using a mix by 1 and 2 only. But 3 and/or 4 are possible too.

Save the file

Open Config0.inf
search for "MASK = Example", replace "Example" with
Code:

LZ3/$xstream=xZ1+srep+LZ3/$void=0/$binkpack=bpk

LZ3 is lzma:a1:mfbt4:256m:fb273:mc1000000000:lc8 (the first method is the "main method", means, all files which aren't defined in masks or disabled masks will be compressed with this)
xZ1 is xZlib
0 is zero compression (just storing, good for mp4 videos and other not compressable files)
bpk is for bik/bk2 videos

If you only need xtool, remove "/$void=0/$binkpack=bpk"
If you need some other masks too, add them and put files inside arc.groups in their respective sections. Note that between each mask there must be a "/" to seperate them.

You can also write the methods in full lenghts, example:
Code:

srep+4x4:b128mb:lzma:a1:mfbt4:64m:fb273:mc1000000:lc8/$xstream=xZLib+srep+lolz:d128mb
PS: It could be that you must add something to Arc.ini in CIU folder if you use Xtool with UltraARC (because i just have seen that UltraARC not use xprecomp anymore), otherwise you will get something like "unsuported compression method".
Just open Arc.ini in CIU and add the following to the end (or somewhere)

Code:

[External compressor:xZLib,xOodle,xLZ4,xLZO,xZSTD]
header    = 0
unpackcmd = xtool.exe d:precomp:t75p - - <stdin> <stdout>

[External compressor:xCriLayla]
header    = 0
unpackcmd = xtool.exe d:precomp:t50p - - <stdin> <stdout>


Is this the settings for best compression?

Simorq 18-07-2018 12:49

Quote:

Originally Posted by Fabioddq (Post 472641)
I have some doubts... :o
So, now XTool is used by default to compress?
Have to change something to compress for best results, for example, Unreal Engine 4 game files?

Thanks.

Use Lolz

Unreal Engine 3
http://uupload.ir/files/ggu7_1.jpg

Unreal Engine 4
MMC=xLZO+srep:m3f+lolz

Fabioddq 18-07-2018 12:55

Ok. Nice info and tutorial. Thank you so much guys. I will trying understand since i'm new with these methods. Btw, need to change something in External Compressor.ini (CIU folder) ?

KaktoR 18-07-2018 12:57

I think MMC with a precompressor is not good at all, because like i said, you will precompress ALL files, even files which don't have any streams in it. It's a waste of time and not that purposeful.

KaktoR 18-07-2018 13:08

Quote:

Originally Posted by Fabioddq (Post 472657)
Btw, need to change something in External Compressor.ini (CIU folder) ?

If you want to use XTool, enable XTool (remove //) and define the achitecture you would like to use ("x64" for 64bit or leave it blank for 32bit)

#Define XTool = 32bit
#Define XTool "x64" = 64bit

Cyberavater 18-07-2018 13:23

All these just making me confused I can only use GUI. :( Any plans on improving that??
Or can you guys make a build with best compression balanced with speed, and upload it here please? ;)

Cyberavater 19-07-2018 06:06

What to do??

Process started at: 7:03:57 PM
Examining source...
Generating file lists...
Saving file lists...
Creating data1.arc...
Failed to create data1.arc
Process stopped at: 7:04:05 PM

pakrat2k2 19-07-2018 08:57

Quote:

Originally Posted by Cyberavater (Post 472671)
What to do??

Process started at: 7:03:57 PM
Examining source...
Generating file lists...
Saving file lists...
Creating data1.arc...
Failed to create data1.arc
Process stopped at: 7:04:05 PM

try a different compression method, what you chose might not be correct.

Cyberavater 19-07-2018 09:05

Quote:

Originally Posted by pakrat2k2 (Post 472675)
try a different compression method, what you chose might not be correct.

Then why giving option to that which might not be correct? BTW, I tried all compression method but it's still not working. :(

Cyberavater 19-07-2018 09:10

1 Attachment(s)
Here...
Attachment 22364

masen485 19-07-2018 09:57

UltraARC 2900 R5 Stable Release is compatible with the file I sent you do you harmonize ?
I will be very happy if you help me
http://dosya.co/35gq5lf0osl5/Black_B..._Doom.exe.html

KaktoR 19-07-2018 10:14

Quote:

Originally Posted by Cyberavater (Post 472677)

Ehm, just use LZMA2 or LOLZ, not both. Both are final compressors.

Cyberavater 19-07-2018 12:32

1 Attachment(s)
Quote:

Originally Posted by KaktoR (Post 472679)
Ehm, just use LZMA2 or LOLZ, not both. Both are final compressors.

Hmm? :confused:
Attachment 22365

Simorq 19-07-2018 13:28

Quote:

Originally Posted by Cyberavater (Post 472680)
Hmm? :confused:
Attachment 22365

MMC and MASK are only usable.:D

how to use MMC

Simorq 19-07-2018 13:33

Quote:

Originally Posted by masen485 (Post 472678)
UltraARC 2900 R5 Stable Release is compatible with the file I sent you do you harmonize ?
I will be very happy if you help me
http://dosya.co/35gq5lf0osl5/Black_B..._Doom.exe.html

Where is the Arc.ini file!

masen485 19-07-2018 13:45

Black_Box_UltraArc_Doom\Setup files\System\Compressors\FreeARC/Arc.ini

masen485 19-07-2018 13:48

CLS-DISKSPAN.dll I know I can use it fully

Simorq 19-07-2018 13:55

Quote:

Originally Posted by masen485 (Post 472683)
Black_Box_UltraArc_Doom\Setup files\System\Compressors\FreeARC/Arc.ini

Arc.ini UA R5
Code:

[External compressor:xZLib,xLZ4,xLZO,xZSTD,xOodle]
header    = 0
unpackcmd = XTool d:precomp:t100p - - <stdin> <stdout>

[External compressor:pOodle]
header = 0
unpackcmd = pOodle d:poodle:t100p:cm0 - - <stdin> <stdout>

[External compressor:xCriLayla]
header    = 0
unpackcmd = xCriLayla d:precomp:t100p - - <stdin> <stdout>

[External compressor:pzlib]

header = 0
unpackcmd = ZTool d:{compressor}{:option}:t100p:cm0 - - <stdin> <stdout>

[External compressor:pZLib3]
header = 0
unpackcmd = pZLib3 d {options} -t100p - -o - <stdin> <stdout>

[External compressor:pZr]
header = 0
unpackcmd = pZr d {options} -t100p - -o - <stdin> <stdout>

[External compressor:zstd]
header = 0
unpackcmd  = ZSTD -d {options} -f <stdin> <stdout>

[External compressor:Lzma2,lzma2,xz,XZ]
header = 0
unpackcmd = 7z x -txz -mmt2 -an -y -si -so <stdin> <stdout>

[External compressor:razor,rz]
header = 0
solid = 0
unpackcmd = RZ x Output Input
datafile  = Input
packedfile = Output


masen485 19-07-2018 14:00

CLS-DISKSPAN.dll Will it work?

masen485 20-07-2018 19:46

UltraARC 2900 R5 Stable Release using Call of Duty(R) 4 - Modern Warfare compression
how can i do and which compression method is strong compression

masen485 21-07-2018 06:03

Hello Simorq, Help..
 
Hello Simorq,

Simorq, Up-to-date UltraARC 2900 R5 Stable Release which you are preparing (up to date UltraARC 2900 R5 Stable Release) is need to be compatible with the file i send you. And must have file divide ability. Can you help about this? This is very important for me. Thank for your help.

CLS-DISKSPAN.dll Will it work?

http://dosya.co/35gq5lf0osl5/Black_B..._Doom.exe.html

Simorq 21-07-2018 08:19

Quote:

Originally Posted by masen485 (Post 472712)
Hello Simorq,

Simorq, Up-to-date UltraARC 2900 R5 Stable Release which you are preparing (up to date UltraARC 2900 R5 Stable Release) is need to be compatible with the file i send you. And must have file divide ability. Can you help about this? This is very important for me. Thank for your help.

CLS-DISKSPAN.dll Will it work?

http://dosya.co/35gq5lf0osl5/Black_B..._Doom.exe.html

Code:

[Files]
Source: Include\CLS-DiskSpan.dll; DestDir: {tmp}; Flags: dontcopy

...........
function InitializeSetup(): Boolean;
begin
ExtractTemporaryFile('CLS-DISKSPAN.dll');


KaktoR 21-07-2018 08:24

How to use diskspan with ultraarc?

Cyberavater 22-07-2018 03:12

Quote:

Originally Posted by Simorq (Post 472681)
MMC and MASK are only usable.:D

how to use MMC

Thanks for the tutorial it really helped! Also is it the settings for best/max compression? If not can you give the settings for max compression?

Simorq 22-07-2018 14:10

Quote:

Originally Posted by KaktoR (Post 474571)
How to use diskspan with ultraarc?

Unfortunately this is not possible.

Simorq 22-07-2018 14:16

Quote:

Originally Posted by Cyberavater (Post 474612)
Thanks for the tutorial it really helped! Also is it the settings for best/max compression? If not can you give the settings for max compression?

max compression For each game is different

like:
Pes 2018
srep+lzma 4xDVD5
pzlib+srep+lzma 3xDVD5

Mass Effect: Andromeda
srep+xlzma 10xDVD5
xzstd+srep+xlzma 8xDVD5
xzstd+srep+lolz 7xDVD5

masen485 22-07-2018 14:19

UltraARC 2900 R5 Stable Release MASK game compression ? game video compression ?
help

UltraARC 2900 R5 Stable Release
Do you know how to show a short game compression (mask) training videos?

KaktoR 23-07-2018 06:18

Quote:

Originally Posted by Simorq (Post 474619)
Unfortunately this is not possible.

Ok i wonder why cls-diskspan.dll is included in ultraarc r5 :D

Simorq 23-07-2018 09:52

Quote:

Originally Posted by KaktoR (Post 474629)
Ok i wonder why cls-diskspan.dll is included in ultraarc r5 :D

_DiskSpan.bat:rolleyes:
http://s9.picofile.com/file/8332569592/_DiskSpan.jpg

sajmon83 23-07-2018 10:21

Quote:

Originally Posted by masen485 (Post 474622)
UltraARC 2900 R5 Stable Release
Do you know how to show a short game compression (mask) training videos?

Masked Compression It is very similar to MMC.
With the exception that the files are divided into groups.
You can assign a different compression method to each group of files. Look in the file Arc.Groups here you will find what files are divided into which groups.
The Config0.inf file contains an example of how to give each group a different compression method

masen485 23-07-2018 13:00

UltraARC 2900 R5 Stable Release Are you able to demonstrate mask compression by trying on example big game?

I need it so much I can not fuck it please help

KaktoR 23-07-2018 13:13

You have a test game? Name it here i will look then

masen485 23-07-2018 16:38

it can be game and game videos 5.gb close dimension

Assassin's Creed Syndicate Gold Edition

UltraARC 2900 R5 Stable Release/Mask/Arc.Groups/$AnvilPack=afr:a2/$BinkPack=bpk/How to best know the mask method and a powerful compression method

KaktoR 24-07-2018 01:31

https://fileforums.com/showpost.php?...&postcount=534

Maybe you get better size with use Lolz

Code:

<Masked Compression>
MASK    = srep:m3f+LL2/$binkpack=BPK/$anvilpack=afr:a2+srep:m3f+LL2


masen485 24-07-2018 02:56

E:\UltraARC 2900 R5 Stable Release>arc a -ep1 -r -ed -dses -s; -di -i2 -wE:\UltraARC 2900 R5 Stable Release\Setup_Files\ArcTmp -n@CfgTmp\List1.txt -mMASK E:\UltraARC 2900 R5 Stable Release\Setup_Files\Data1.Bin -dpE:\Program Files (x86)\Ubisoft\Assassins Creed Syndicate
FreeArc 0.67 (March 15 2014) Using additional options: --cache=0 --logfile=_Compression.log
Creating archive: E:\UltraARC 2900 R5 Stable Release\Setup_Files\Data1.Bin using srep:m3f+lolz:mmt1:d64:mc1023, $binkpack => bpk, $anvilpack => afr:a2+srep:m3f+lolz:mmt1:d64:mc1023
Memory for compression 0b, decompression 0b, cache 0b
ERROR: general (de)compression error in afr:a2

Config0.inf

[External compressor:afr]
header = 0
packcmd = _CLS\AFR\AFR_x64 e {options} $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = _CLS\AFR_x64.exe d #in #out <stdin> <stdout>
datafile = Input
packedfile = Output


UltraARC 2900 R5 Stable Release\Resources\_CLS\AFR_x64.exe"
AFR - [A]nvil [F]orge [R]ecompressor v 0.0.2.0a7 by Edison007.
Thanks ProFrager :)

AFR.exe

Supported engine versions:
Scimitar (Assassin's Creed, Prince of Persia).
Anvil (AC II/Brotherhood/Revelations, POP: The Forgotten Sands).
AnvilNext (AC III/Liberation/Black Flag/Rogue).
AnvilNext 2.0 (AC Unity/Syndicate/Origins, Rainbow Six: Siege, Ghost Recon Wildlands).

Usage: AFR.exe command [options] input output

Commands:
e: Encode input to output.
d: Decode input to output.

Options:
-a2 - AnvilNext 2.0 mode [default - disabled]. - encode only
-vr - Validate encoding [default - disabled]. - encode only
-dc - Disable lzo-streams check. - encode only
-tN - Use N threads (1-16, default is NumCPU-1). - decode only
-v[0..2] - Verbosity level [default - 1].


why can it fail?

KaktoR 24-07-2018 03:35

Quote:

Originally Posted by masen485 (Post 474657)
packcmd = _CLS\AFR\AFR_x64 e {options} $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
UltraARC 2900 R5 Stable Release\Resources\_CLS\AFR_x64.exe"

Seems like you have a error in path AFR_x64

packcmd is in _CLS\AFR\AFR_x64.exe
UltraArc is in _CLS\AFR_x64.exe

masen485 24-07-2018 03:58

http://dosya.co/35gq5lf0osl5/Black_B..._Doom.exe.html
link file everything is correct file content related
and work in harmony UltraARC 2900 R5 Stable Release
UltraARC 2900 R5 Stable Release is compatible with the file I sent you do you harmonize ?
I will be very happy if you help me
Up-to-date UltraARC 2900 R5 Stable Release which you are preparing (up to date UltraARC 2900 R5 Stable Release) is need to be compatible with the file i send you. And must have file divide ability. Can you help about this? This is very important for me. Thank for your help.

CLS-DISKSPAN.dll Will it work?

Cyberavater 25-07-2018 08:34

Quote:

Originally Posted by Simorq (Post 474620)
max compression For each game is different

like:
Pes 2018
srep+lzma 4xDVD5
pzlib+srep+lzma 3xDVD5

Mass Effect: Andromeda
srep+xlzma 10xDVD5
xzstd+srep+xlzma 8xDVD5
xzstd+srep+lolz 7xDVD5

Okay, thanks friend! :D


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