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)

Masquerade 21-01-2020 09:43

Quote:

Originally Posted by KaktoR (Post 484413)
Use oggre for this


No, not really.

I don't know about this game, it could be that the game files are crypted. Maybe try quickbms and extract the files if possible.

Thanks KaktoR. While we're here, I am fine using UltraARC the way I am, right? If I try a different game, everything should run as normal (normal being I can reduce file size by GB than MB)?

Entai44 21-01-2020 09:56

Quote:

Originally Posted by Masquerade (Post 484415)
Thanks KaktoR. While we're here, I am fine using UltraARC the way I am, right? If I try a different game, everything should run as normal (normal being I can reduce file size by GB than MB)?

yes, but LOLZ and ZSTD are the final compressions, so choose one of them, I refer to LOLZ with this method:
lolz:dtb1:dto1:dtm1:dtw1:dtd1:d256m:mtt1:mt4:mc102 3:gm20:fba4096

my common method usually:
XTool+srep+delta+LOLZ

if there are many files like .raw, .dds, .mp3 or anything try:
msc+XTool+srep+delta+LOLZ
or if just .ogg with another files try:
oggre+XTool+srep+delta+LOLZ

devil777 21-01-2020 09:58

Yes dude... If it has files to reduce on...

Like forge file can be done well via AFR+srep+loz. I mean you'll get good ration over the the file.But man it hurts when it comes to decompression.. The AFR is slow

devil777 21-01-2020 10:01

And entai44.. for lolz which parameter u would recommend??

I generally use lolz:tt1:d200:mtt1:mt3:mc4 (it's fast but not ratio wise,atleast it gets me 2300k/sec)

I'm on HDd don't have any Ssd.. which one u would suggest for speed in com+Ratio wise?

Masquerade 21-01-2020 10:19

Quote:

Originally Posted by Entai44 (Post 484418)
yes, but LOLZ and ZSTD are the final compressions, so choose one of them, I refer to LOLZ with this method:
lolz:dtb1:dto1:dtm1:dtw1:dtd1:d256m:mtt1:mt4:mc102 3:gm20:fba4096

my common method usually:
XTool+srep+delta+LOLZ

if there are many files like .raw, .dds, .mp3 or anything try:
msc+XTool+srep+delta+LOLZ
or if just .ogg with another files try:
oggre+XTool+srep+delta+LOLZ

https://i.imgur.com/LLnfkOB.png

So this is just XTool + SREP + LOLZ. How necessary is precomp (in any situation)?

devil777 21-01-2020 10:40

Quote:

Originally Posted by Masquerade (Post 484422)
https://i.imgur.com/LLnfkOB.png

So this is just XTool + SREP + LOLZ. How necessary is precomp (in any situation)?

Precom means precompressor and it's simpler to xtool or ztool (cause they are precompressors too).. But xtool is effective (with zlib/zstd/lzo/lz4...)
AFR is an example of precompressor (but it supports only .forge files I mean files which were made using Avilnext engine of Ubisoft)

Precompressor is sometimes necessary sometimes it's not and it's hard to tell for me.Like I did packed some files with xtool_pzlib+srep+lolz and got 58% ratio
But when I used srep+lolz only I got about 60%.. in this case precompressor didn't worth my time that much

KaktoR 21-01-2020 10:43

I prefer MASK method for different file types.

You can define your own mask inside Config0.ini and define files in arc.groups.

Masquerade 21-01-2020 10:51

So far I've established this:

xtool:e:precomp:c128mb,t100p:zlib,lz4,oodle+srep:m 3f:a2+lolz:dtb1:dto1:dtm1:dtw1:dtd1:d256m:mtt1:mt4 :mc1023:gm20:fba4096

(XTool + SREP + LOLZ)

The LOLZ setup came from Entai44, which I am thankful for. I'm trying it out now on some small Indie games and it's running surprisingly well. I just hope the end archive can be read and decompressed by my installer otherwise there isn't much point carrying on.

Edit:

https://i.imgur.com/CnkFJyL.png

As we can see in this case, XTool made very little difference in file size (not that I expected it to in such a small game). Original size is 809mb (Untitlied Goose Game).

romi1996 27-01-2020 23:29

For LOLZ I've set d128m but it just only show 32m during compress, is it a fake number ?
Thanks

devil777 28-01-2020 02:37

nope not a fake number d stands for directory, if u have set d128m it means that in compression it'll use not more than 128m for directory but it can use less than 128m

##d can be less than 128m and it do depends on the file type and file size,
if it uses 32m than don't tense urself up dude.. it's ok

Masquerade 25-03-2020 03:43

I haven't used UA for a while now, since I've been using my own compressor however I'm having a small issue.

No matter what I do, the size always snaps back to the following values:

https://i.imgur.com/strKJ7i.png

Either the values above or just 6.

I'm really unsure as to what could be causing this.

mausschieber 25-03-2020 05:19

Quote:

Originally Posted by Masquerade (Post 484912)
I haven't used UA for a while now, since I've been using my own compressor however I'm having a small issue.

No matter what I do, the size always snaps back to the following values:

https://i.imgur.com/strKJ7i.png

Either the values above or just 6.

I'm really unsure as to what could be causing this.

Edit Ultraarc.ini [Split] Section

MzR 15-04-2020 12:32

Help me i'm a newbie and complete noob
 
Hi :) everyone I'm a complete newbie here and I just don't understand how this forum works because I'm a noob kindly anyone plz refer me a complete pdf or video tutorial how to use latest UltraArc to compress a game as .bin and then how to create a Setup.exe which extracts the .bin file? i have no knowledge of Libraries, Scripts and I don't know to use Inno. I also don't know how to hook up inno with ultraarc or customize .ini files.

i just compressed Age of Empires II HD with all DLC's from 5.20 GB to 2 GB using UltraARC 2900 R7 with these FreeArc options: precomp_p.zt+msc+srep+lzma2+mask
and the output had a compressed file of 2 GB which is named as Data.bin and a Records.ini file.

Now how can i use Installer Creator v3.1 to make Setup.exe which extracts Data.bin and after all this i need to make an ISO image of this Repack.:)

rahul159 09-05-2020 23:07

AFR decompress error
 
When I try to decompress any afr method with any inno script all give same error "Unarc.dll returned an error code:-11".

My arc.ini - [External compressor:afr]
header = 0
unpackcmd = AFR_x64.exe d #in #out <stdin> <stdout>

Please anyone help

Sanskar Mandothia 17-07-2020 22:44

AFR help plzzz
 
I want to compress .forge files with AFR methods (like AFR+srep+lolz) but I can't find any option in UltraArc to use AFR...help me on how to do this please...

Assume I have less knowledge

KaktoR 18-07-2020 02:18

Do you want disk splitting, or just one archive?

Just one archive:
Open Resources\Config0.ini

Change MASK
Code:

MASK = srep+lolz/$anvilpack=afr:a2+srep+lolz
Then Open UltraArc.exe and select MASK in method options.

In UltraArc.ini use the following settings
Code:

[Split]
FirstVolumeSize=999999
CustomVolumeSize=999999
ThresholdPercent=100

If you want disk splitting better use diskspan.bat for this (use the latest from CIUv3 topic on the very last page!)

DiskSpan.bat settings:
Code:

set GAME[1].NAME=For Honor
set GAME[1].DATA[1]=Data1.bin
set GAME[1].LIST[1]=Lists\Include1.txt
set GAME[1].METH[1]=afr:a2+srep+lolz

set GAME[1].DATA[2]=Data2.bin
set GAME[1].LIST[2]=Lists\Include2.txt
set GAME[1].EXCL[2]=Lists\Include1.txt
set GAME[1].METH[2]=srep+lolz

Include1.txt
Code:

*.forge
Include2.txt
Code:

*

Sanskar Mandothia 18-07-2020 03:24

Thanks KaktoR,
That was precisely what i was looking for...

UPDATE:
I was able to create the bin archieve peacefully (using split)...
but the ASIS installer gets automatically closed after few percentage even after disabling antivirus(When enabled, Bitdefender says : The file C:\Users\sansk\AppData\Local\Temp\is-G6D20.tmp\CLS-SREP_x86.exe is infected with Trojan.GenericKD.32772131. Bitdefender blocked this item, your device is safe.)


Literally after spending 3 complete days in forum, I think it's impossible for me to backup my .forge game in small size as there is no single tool & installer that supports each other by stock and provide just click and try methods of compression for diferent files.

But Thanks to you..

Atakanbasturk 03-08-2020 09:13

Guys, I'm new in UltraARC, I edited Config0.ini and my Masked Compression settings:

<Masked Compression>
MASK = srep:m3f+XZ/$binkpack=BPK/$mscdolid=MSC/$deflate=xZlib:e:precomp:t75p:zlib+srep:m3f:l256+X Z/

I am choosing only MASK option under FreeARC under Options tab(and fill other tabs of course) but program says Failed to create data1.arc.

If I select other choices like Precomp, MSC, SREP etc., program starts and use chosen options. It's not using MASK option. But I don't want to use that options, I just want to use MASK option(my codes in config0.ini). What am I missing?

KaktoR 03-08-2020 09:21

Your $deflate is horibly wrong.

Just write like that

Code:

$deflate=xZLib+srep:m3f:l256+XZ
And don't use a slash "/" if no other group is after this.

Masquerade 03-08-2020 09:58

Quote:

Originally Posted by KaktoR (Post 487213)
Code:

XZ

What method is XZ?

KaktoR 03-08-2020 10:43

lzma2

Atakanbasturk 03-08-2020 11:19

Quote:

Originally Posted by KaktoR (Post 487213)
Your $deflate is horibly wrong.

Just write like that

Code:

$deflate=xZLib+srep:m3f:l256+XZ
And don't use a slash "/" if no other group is after this.

Thanks man. It works now.

I want to ask something too.

In xZLib:

[External compressor:xZLib]
header = 0
;packcmd = "PE\XT" e:precomp:t75p:zlib InFile <stdout>
packcmd = "PE\XT" e:precomp:t75p,c32m:zlib - - <stdin> <stdout>
datafile = InFile

precomp normally first precompress, than compress any file automatically. We need to use -cn command for no compress. Is there any way to add -cn for xZLib?

For example in config0.ini file there is a line:

#Pre-Compressors
PJ = precomp:t-j

If I do this

PJ = precomp:cn (I want precomp compress jpg files so I deleted t-j)

Than precomp in xZLib has no compress option?

Atakanbasturk 04-08-2020 03:07

I have a problem now.

My last MASK is: xZLib+srep:m5f:l256+lzma2/$binkpack=BPK/$MscSolid=msc/$void=0

In my config0.ini(edited)

xZLib="PE\XT" e:precomp:t75p:zlib - - <stdin> <stdout>
BPK="FAZip32" -i0 compress:bpk_c <stdin> <stdout>
msc="MSC" c -f -v -wav=1 InFile OutFile
lzma2="7-Zip" a -txz -an -mcrc=0 -m1=lzma2:d1536m:mf=bt4 -mmt=off -mx9 -si -so <stdin> <stdout>

My Arc.groups:

[IMG]https://i.hizliresim.com/RkzqeF.png

My folder has 8963 files. 151 .bik, 8071.wav files, 741 other game files. Game File Scanner found over 1.000.000 zlib data. So according to my MASK, 151 files must process with binkpack, 8071 wav files (or supported by MSC ones) must process with MSC, files with extensions in $Void must process with store, then remaining files first process with Xtool then srep then lzma2, am I right? Or horribly wrong?

I'm watching from Task Manager and cmd simultenously

When I hit Start button, in cmd windows:
Memory for compression 256kb, decompression 256kb, cache 0b

(and waits a few seconds) then

Compressing 8,963 files, 5,726,317,223 bytes

than

compressing a.bik
compressing b.bik
compressing c.bik etc... all bik files(task manager says FAZip32.exe works)

without stopping, continues compressing all other files but task manager says XT.exe works(no msc or something, all files except .bik processing with XT.exe)[some files has .bnk extension and $void has .bnk so these files must not process with XT???]

When compression ends, it says;

Compressing 4,954,668,369 bytes with "SREP" -m5f -l256 InFile OutFile (How it reach 4,954,668,369 bytes? Does 8,963 files processed with FAZip32 and XT and result is 4,954,668,369?)

Result:

SREP 3.92 beta (July 23, 2013): input size 4725 mb, memory used 855 mb, -m5f -l256 -c128 -a4/4 -hash=vmac -b8mb
100%: 4,954,668,369 -> 3,118,866,147: 62.95%. Cpu 234 mb/s (20.203 sec), real 22 mb/s (216.414 sec) = 9%
Sorting matches... Second pass:100.0%

Than it continues with lzma2 compression(Task Manager says 7-Zip Standalone Console works)

Result:

Uncompressed: 5.726.317.223
Compressed: 3.220.382.950 (data1.arc, records.ini)
Time: ~15 min
GAIN: %43,7

If I don't choose MASK and tick others (LZMA2, MSC, PRECOMP(P.XT),SREP):

First compress everything with XT.exe (according to task manager), then try to compress result with MSC(analyzes it and finds wav files, I don't know how they compressed with XT), COMPRESS supported .wav files with PackTAK(thats what I want too), then compress result file with SREP(default settings), then compress result file with 7-zip(default settings)

Uncompressed: 5.726.317.223
Compressed: 2.667.545.125 (data1.arc, records.ini, unpack.exe)
Time: ~19 min
GAIN: %53,4 (WTH)

Note: I want one single file so I choose threshold %100 and both size 65536(it's not necessary normally, but in comments, many says it has better compress result)

Normally, it looks like second way easier and result is better. But, it's for 5,33 GB. Think about 50-60 GB or more. It must not compress everything with XT or any preprocessor. It's gonna be huugeee waste of time. So I want to choose what compressed with what or store.

What I want is:

1-Compress compressible media and music files with suitable compressor(As far as I know, wav or bik not compressible with lzma or any other usual compressing programs)
2-Store uncompressible files(trying to compress them is huge waste of time and ssd-hdd exhaustive)
3-Compress remain files with all the force I have. (I have Windows 10 Pro x64, 32 GB DDR 4 RAM, i7-6700K processor.)

So;

1-Where did I make mistake? What the heck is wrong with my mask code?
2-Did anyone know lzma2 maximum compress options?(I have 32 GB RAM)(As far as I know, multithreading in LZMA2 is not good for result files size sometimes)
3-Did anyone know sREP maximum compress options?
4-How can I prevent precomp's self compress in XTool or any precompresser includes precomp?(Precomp compresses precompressed data by default)[For detailed explanation look my previous comment]

KaktoR 04-08-2020 08:22

You have to write the mask groups in lowercase

Code:

$MscSolid => $mscsolid
Don't ask me why, but it works.

precomp is always used by xtool (well, the command precomp, not the tool). You can't call xtool without precomp command (precomp = precompression). That's what xtool is for. You can only change used codecs or options.

For uncompressable files use $void mask group (or your own). Open arc.groups with a text editor and add files to $void mask (by filename (+ subfolder) or by file extension (*.abc). You can define files for every other mask group or make a new group ($groupxyz).

Atakanbasturk 04-08-2020 12:43

Quote:

Originally Posted by KaktoR (Post 487229)
You have to write the mask groups in lowercase

Code:

$MscSolid => $mscsolid
Don't ask me why, but it works.

Thanks man, it works and perfect. My code will get better in time. I suggest you can write lowercase thing to wiki.

Quote:

Originally Posted by KaktoR (Post 487229)
precomp is always used by xtool (well, the command precomp, not the tool). You can't call xtool without precomp command (precomp = precompression). That's what xtool is for. You can only change used codecs or options.

Now I get it. I think precomp option ise precomp.exe build in xtool. Precomp.exe and xtool.exe different precompressors. If I want to use precomp, I will just change xzlib.

Quote:

Originally Posted by KaktoR (Post 487229)
For uncompressable files use $void mask group (or your own). Open arc.groups with a text editor and add files to $void mask (by filename (+ subfolder) or by file extension (*.abc). You can define files for every other mask group or make a new group ($groupxyz).

Yeah I did that absolutely but, lowercase thing. Now it stores.

Atakanbasturk 05-08-2020 12:35

I'm really sorry but I can't figure it out.

MASK=precomp+srep+7z/$binkpack=bpk/$mscsolid=msc+srep+7z (I tried 7z and 7Z it fails everyway)

msc works, srep works but 7z doesn't work. 7z options in config0.ini(I edited it)

[External compressor:7z,7Z]
header = 0
default = :d192m:fb273:lc4:mc1000000
packcmd = "7z\7z_x64" a -t7z -an -mcrc=0 -m0=lzma:d1536m:mf=bt4:fb=273:mc1000000000:lc8 -mx9 -myx=9 -si -so <stdin> <stdout>

It's not working. But;

4L3 = 4x4:b128mb:lzma:ultra:1536m:bt4:fb273:lc8:mc100000 0000(It uses FAZip)

Or (when I use lzma2)

[External compressor:lzma2,Lzma2]
header = 0
default = :d25:fb=273:mf=bt4:mc=1000000:lc=4:lp=0
packcmd = "7z\7z_x64" a -txz -an -mcrc=0 -m1=lzma2:d1536m:mf=bt4:fb=273:mc1000000 -mmt=off -mx9 -si -so <stdin> <stdout>

Working.

I want 7-zip with lzma method. What's wrong?

(UltraARC 2.9 R8)

NOTE: For your information, when I use these parameters (7z_x64 a -t7z -an -mcrc=0 -m0=lzma:d1536m:mf=bt4:fb=273:mc1000000000:lc8 -mx9 -myx=9) in cmd, it compress any file without any error.


I tried it with DiskSpan, it says Write error(disk full??). I have 160 gb empty space and my game files 5.33 GB.Whaaaatt???

Found the problem's source: It's not accepting -t7z command. Why? How can I use lzma compression method with 7zip in ultraarc?

devil777 06-08-2020 21:18

Holdup

Watch how much the 7z.exe weighs (I mean space. It'll be 1.09MB likely for 64bit one. 720KB likely for 32 bit one)

7z.exe for xz(lzma2) isn't the same in size for general 7z patch. In 7z(for xz/lzma2) parameter -txz is used in packaging parameter not -t7z.

Also dude it's written

HTML Code:

packcmd  = 7z.exe a -txz -an -m0=lzma2(:options):fb=273:mf=bt4:mc=100000000:lc=4:lp=0 -mx9 -si -so <stdin> <stdout>
Never used lzma in the place of "lzma2" in the packcmd parameter.it matters a little about what you write in [External compressor] whether it's lmza2 or xz

during compression use or u can say for compression method
HTML Code:

lzma2:d256m:mt2
(Will help you to keep the track about how much directory and multithread you had used for files.but use lzma2 in case of renaming it in External compressor)

#d is directory and of course mt is the thread number

#I had encountered disk error when used "d" more than 128 for 32bit executable.just a reminder tho

That should work fine.with best regards

pratikpatel8982 13-09-2020 21:31

How can I decompress the archive using inno setup scripts. Sorry but I am noob. I don't know much about scripting. BTW, it would have been better if there was an inbuilt "decompess" option in Ultra Arc.

KaktoR 14-09-2020 08:02

There is. Namely Self-Extractor.

Cuttlas 06-10-2020 01:05

Where to download UltraARC 2900 R8 version?

mausschieber 06-10-2020 02:11

Quote:

Originally Posted by Cuttlas (Post 488169)
Where to download UltraARC 2900 R8 version?

you can download it here under tools

KaktoR 06-10-2020 07:40

R8 will be the last one only compatible with CIU3.0.0.0u9.

For v3.0.0.1 there will be a whole new version.

y_thelastknight 06-11-2020 11:55

2 Attachment(s)
is there any simple Installer Script that support UltraARC (v2.9.0.0 R6 Final Rev. 30102018) Full ? i get these error every time.

KaktoR 06-11-2020 12:29

Well you have to include used compressors in your setup script and let them extract on install step.

y_thelastknight 06-11-2020 22:13

Quote:

Originally Posted by KaktoR (Post 488837)
Well you have to include used compressors in your setup script and let them extract on install step.

what files should i include into the script? i used this script. it support UltraARC Reflate Edition 2800 but not support
i try to replace the files with UltraARC (v2.9.0.0 R6 Final Rev. 30102018) Full but whole files are different. what should i do?

KaktoR 07-11-2020 00:43

If you like it simple, I suggest you this script https://fileforums.com/showthread.php?t=103408

The very latest UltraArc version is already inside.

y_thelastknight 07-11-2020 03:25

Quote:

Originally Posted by KaktoR (Post 488841)
If you like it simple, I suggest you this script https://fileforums.com/showthread.php?t=103408

The very latest UltraArc version is already inside.

thank you very much :)

pratikpatel8982 27-04-2021 22:49

How do I use a custom algorithm with ultra arc??
like this:
Code:

pZLib3:m1:c128m:t75p+srep:m3f+lolz:dtb1:tt16:d2047:mc1023

occan 15-05-2021 09:45

hola, esto sirve para descomprimir los archivos en la misma carpeta que donde esta el archivo unpack.exe?.
ya que lo pongo a descomprimir y me tira la carpeta "Output" y no la quiero, ademas utilizo setup factory y queria saber como hacer para que al ejecutar se descomprima en la carpeta donde coloco el unpack.exe

saludos

hello, this serves to unzip the files in the same folder as where the file unpack.exe ?.
since I put it to decompress and it throws me the "Output" folder and I do not want it, also I use setup factory and I wanted to know how to do so that when executing it is decompressed in the folder where I put the unpack.exe

regards

sina001 05-10-2025 23:23

UltraARC v2.9.00 R6
 
2 Attachment(s)
UltraARC v2.9.00 R6 Full slightly improved now does not split only from 1 TB.Attachment 40104Attachment 40105


All times are GMT -7. The time now is 17:07.

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