|
#92
|
||||
|
||||
|
Quote:
I was able to reduce the size to 249kb with (Delphi Rio + UPX) , |
| The Following User Says Thank You to BLACKFIRE69 For This Useful Post: | ||
Cesar82 (11-06-2020) | ||
|
#93
|
||||
|
||||
|
@BLACKFIRE69
I got smaller sizes using DELPHI 10 Seattle. From XE8 all functions/classes are coded without any changes. Using DELPHI XE4 through XE7 it is only necessary to include a variable to make the script compatible. I tested the version compiled with DELPHI Seattle and it is working fine. Only the same errors happen as in the original lib that Razor12911 shared. I did not test these older versions XE4 to XE7, because as the Lib compiled with DELPHI Seattle was better than with previous versions it does not make sense to test. ![]() Adaptation of DiskSpan R3 to work with old delphi (Delphi XE4...XE7) Changhed this: Code:
begin FormatSettings := TFormatSettings.Invariant; Code:
var FormatSettings: TFormatSettings; begin GetLocaleFormatSettings(LOCALE_SYSTEM_DEFAULT, FormatSettings); But as the size of the library compiled with DELPHI Seatle is smaller, it is more viable to use it. This other executable compressor used from the image "uPACK" I found the compression rate very good and super fast, but in some libs it brings false positives. |
| The Following User Says Thank You to Cesar82 For This Useful Post: | ||
BLACKFIRE69 (11-06-2020) | ||
|
#94
|
||||
|
||||
|
Quote:
I compiled it in Delphi Seattle without changing and changing the code, but it wasn't working.
Last edited by BLACKFIRE69; 12-06-2020 at 12:47. |
|
#95
|
||||
|
||||
|
Quote:
There's no logic (I don't understand why Seattle isn't even that old). Here it was working when I tested it before (I only tested the extraction using CIU). I didn’t even remember to try to pack it with him because the idea was to include it in CIU to perform the extraction. I'm going to do some tests in a few days. |
| The Following User Says Thank You to Cesar82 For This Useful Post: | ||
BLACKFIRE69 (12-06-2020) | ||
|
#96
|
||||
|
||||
|
@Razor12911
If possible, look at the attached file. The native methods of freearc "2", "3", "4", "5" do not work if you include cls diskspan R2/R3. Or am I setting the command line wrong? P.S. If I remove the diskspan from the command line it compresses normal. P.S. The other native methods "0", "1", "9x -ld192m", "x -ld800m", "x -ld1600m" work normally. Thank you! |
|
#97
|
||||
|
||||
|
Quote:
1.PNG 2.PNG 3.PNG the cls by itself... 4.PNG perhaps this is why I have never mixed default freearc methods with additional methods set by user (-m1..9,x that is) |
|
#98
|
||||
|
||||
|
Quote:
I just tested how I sent the file and realized that from method 2..5 it showed the same error as the third image. I found it strange to support method 0 and 1 and the others display error. See the result in the VIDEO of my test using only CLS-DiskSpan.dll + Arc Method Do you mean that FreeArc does not support combining methods 2 - 5 with CLS? I wanted to enable users to use these native methods when using diskspan.bat that I changed. I came to think that it could be some config of the arc.ini that I used so I took Arc.ini and arc.groups directly from the freearc folder and even so when using cls-diskspan it showed errors and without it it does not display an error. Thanks. I ran some tests and found that: If you open a compressed file with FreeArc and go to Info, only with the native method 2..5 it is possible to obtain the combination of the method referring to preset 2..5. ![]() If you include these methods as presets of 2..5 in Arc.ini, the methods are now supported by Cls DiskSpan ![]() Just adding the Arc.ini presets 2..5 makes it possible to support methods using cls-diskspan. Code:
[Compression methods] 2=rep:1kb:256+exe+4x4:tor:1kb:h4kb 3=rep:1kb+exe+delta+4x4:lzma:32kb:fast:32:mc4 4=rep:1kb+exe+delta+4x4:lzma:32kb:normal:16:mc8 5=rep:1kb+exe+delta+4x4:lzma:32kb:normal:32:mc32
Last edited by Cesar82; 24-07-2020 at 17:42. |
|
#99
|
||||
|
||||
|
I was going to say, that even using these
Code:
Arc.exe a -cfgArc.ini -ep1 -r -ed -s; -w.\TEMP -m2+rep -dp".\files" ".\Data2.bin.001" Arc.exe a -cfgArc.ini -ep1 -r -ed -s; -w.\TEMP -m3+rep -dp".\files" ".\Data3.bin.001" Arc.exe a -cfgArc.ini -ep1 -r -ed -s; -w.\TEMP -m4+rep -dp".\files" ".\Data4.bin.001" Arc.exe a -cfgArc.ini -ep1 -r -ed -s; -w.\TEMP -m5+rep -dp".\files" ".\Data5.bin.001" I had to look at Freearc source and to give proper aliases for m2-5, you should look at this 5.PNG -m2 is actually -mrep:96m:256:c256+exe+tor:6 use this to fill up the rest |
|
#100
|
||||
|
||||
|
@Razor12911
Thanks for the info, but I don't understand this FreeArc souce language (I was even more confused). You could share the native presets (0..5 and "9x -ld192m", "x -ld800m", "x -ld1600m" (UltrArc GUI predifinitions)) so that I can include them in the [Compression Methods] section of Arc.ini. I don't know if I can use memos numbers as a preset (Only with DiskSpan using 2..5 in the presets it worked here). Currently I used the "Arc.ini" file for DiskSpan.bat "(UltraARC 2900 R8 + DiskSpan.bat)". Apparently it's working well (I don't know if it's the right way) In this way the user can use an option such as "3" or "FA-FAST" (optional) that will have the same result. Code:
[Compression Methods] FA-STORE=0 FA-MIN=1 FA-LOW=2 FA-FAST=3 FA-NORMAL=4 FA-HIGHT=5 FA-BEST=9x -ld192m FA-MAX=x -ld800m FA-ULTRA=x -ld1600m 2=rep:1kb:256+exe+4x4:tor:1kb:h4kb 3=rep:1kb+exe+delta+4x4:lzma:32kb:fast:32:mc4 4=rep:1kb+exe+delta+4x4:lzma:32kb:normal:16:mc8 5=rep:1kb+exe+delta+4x4:lzma:32kb:normal:32:mc32 Last edited by Cesar82; 24-07-2020 at 19:08. |
|
#101
|
||||
|
||||
|
Quote:
![]() 5.PNG # is a number, like -m2 if one uses 2, it then triggers the next part #rep+exe+#xb then you check what 2rep+exe+2xb is 2rep is rep:96m:256:c256 2xb is tor:6 then you have rep:96m:256:c256+exe+tor:6 is the same when you use 5, it's not that difficult to follow. when # is 5, we have 5rep+exe+5xb 5rep is rep:96m #xb for 5 is delta + #binary we check what 5binary is 5binary is lzma:96m:normal:32:mc32 then you combine everything rep:96m+exe+delta+lzma:96m:normal:32:mc32 m9x follows this #x where #x = #xb/#xt 9x= 9xb =delta + 9binary = delta+lzma:254m:max #xt is a mask for text ($text) 9xt=dict:128m:75% + 9binary = dict:128m:75%+delta+lzma:254m:max not sure about the 75% part of dict but that is what the method says I also don't know this programming language either but I understood it just by looking at it, it's not that hard to parse the other methods. Last edited by Razor12911; 26-07-2020 at 16:34. |
|
#102
|
||||
|
||||
|
Quote:
I just don't understand why the final file has different compression following this line of reasoning. ![]() Where can I get this freearc src? |
|
#103
|
||||
|
||||
|
Quote:
7.PNG 8.PNG Quote:
https://krinkels.org/resources/fa_protect.5/ |
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| UltraARC Tutorials, Hints and Examples | Razor12911 | Conversion Tutorials | 35 | 17-03-2021 11:56 |
| Quantum Break | GTX590 | PC Games - CD/DVD Conversions | 105 | 25-03-2019 08:28 |
| Bioshock Infinite Complete Edition (7xDVD5) UltraArc + CIU v2.0.3 By *Yener90* | GTX590 | PC Games - CD/DVD Conversions | 13 | 17-06-2017 10:55 |
| Call of Duty Black OPS 3 + DLC Awakening (11xDVD5) | GTX590 | PC Games - CD/DVD Conversions | 22 | 30-12-2016 07:46 |
| Mortal Kombat XL (7xDVD5) UltraArc + CIU v2.0.3 By *Yener90* | GTX590 | PC Games - CD/DVD Conversions | 1 | 13-10-2016 16:03 |