Quote:
Originally Posted by Fabioddq
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>