FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   [compressor]7pack/fastlz (https://fileforums.com/showthread.php?t=105936)

LeVx 01-06-2023 09:49

[compressor]7pack/FstGZIP
 
1 Attachment(s)
7Pack REV a FAST GZIP based (de)compressor

Note:Fsharpcore.dll allows it to work,include it your innoscript!!
Note2:currently working on an LZ77 based version in AMD64_Assembly


arc.ini\/
HTML Code:

[External compressor:7pack]
packcmd=SevenpackREV.exe --compress $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd=SevenpackREV --decompress $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

Note:Fsharpcore.dll allows it to work,include it your innoscript!!

soulfit15 01-06-2023 10:31

when using 7pack in arc
arc a -r .bin "folder" -m7pack -w.\tmp it gives error
Quote:

arc: user error (Unsupported compression method or error in parameters: 7pack)

LeVx 01-06-2023 10:48

Quote:

Originally Posted by soulfit15 (Post 501246)
when using 7pack in arc
arc a -r .bin "folder" -m7pack -w.\tmp it gives error

use the updated arc.ini (i forgot to capitilise External)

soulfit15 01-06-2023 11:05

with a 100 mb test file is a success
Quote:

Compressing 131,310,846 bytes with 7pack.exe -E -2 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
100%
Errorlevel=0
Compressed 11 files, 132,810,190 => 108,975,910 bytes. Ratio 82.05%
Compression time: cpu 0.39 sec/real 10.98 sec = 4%. Speed 12.09 mB/s
All OK
Quote:


FreeArc 0.67 (March 15 2014) extracting archive: test3.bin
Extracting 11 files, 132,810,190 bytes. Processed 0%
Unpacking 108,975,909 bytes with 7pack.exe -D -2 $$arcpackedfile$$.tmp $$arcdatafile$$.tmp
0%
Errorlevel=0
Extracted 11 files, 108,975,910 => 132,810,190 bytes. Ratio 82.05%
Extraction time: cpu 0.39 sec/real 3.48 sec = 11%. Speed 38.20 mB/s
All OK

LeVx 01-06-2023 11:08

Quote:

Originally Posted by soulfit15 (Post 501248)
with a 100 mb test file is a success

works with 2gb files aswell,it dispises 4gb and above files (currently working on)(seem like its a FARC thing,it handles the file perfectly in cmd when called directly)

soulfit15 01-06-2023 11:11

keep up the work

LeVx 01-06-2023 11:14

Quote:

Originally Posted by soulfit15 (Post 501250)
keep up the work

,but could you test a massive file (8gb for instance) in cmd and farc (2nd bug discovered,bad decompression on a game test (system shock remake) it only decompresses about 2-3 MB)

soulfit15 01-06-2023 13:03

same error
Quote:


F:\Games\Output>arc a bob.bin "F:\Games\Endzone - A World Apart" -m7pack -w.\tmp
FreeArc 0.67 (March 15 2014) creating archive: bob.bin
Compressing 3,916 files, 6,412,371,231 bytes. Processed 99.9%
Compressing 6,412,371,231 bytes with 7pack.exe -E -2 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
100.0%
Errorlevel=-1073741819
100.0%



this error appear actually after completing the compression not during it

LeVx 02-06-2023 08:03

Quote:

Originally Posted by soulfit15 (Post 501252)
same error


this error appear actually after completing the compression not during it

going to try and make FstGz in F# as fastlz.h (and fastlz.c) are 32 bit files(why i dont know) instead

soulfit15 06-06-2023 15:04

Sorry for late response, medical exams ;(
for now no errors but not so fancy ratio

Compression

Quote:

F:\Games\Output>arc a 71pack.arc "F:\Games\Project Warlock" -msevenpack -w.\tmp
FreeArc 0.67 (March 15 2014) creating archive: 71pack.arc
Compressing 401 files, 2,691,927,339 bytes. Processed 99.9%
Compressing 2,691,927,339 bytes with sevenpack --compress $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
100.0%File compressed successfully.

Errorlevel=0
Compressed 401 files, 2,691,927,339 => 1,229,613,015 bytes. Ratio 45.68%
Compression time: cpu 4.59 sec/real 403.04 sec = 1%. Speed 6.68 mB/s
All OK
Decompress

Quote:

F:\Games\Output>arc x 71pack.arc -dp=.\sevenpack_test
FreeArc 0.67 (March 15 2014) extracting archive: 71pack.arc
Extracting 401 files, 2,691,927,339 bytes. Processed 0.0%
Unpacking 1,229,613,015 bytes with sevenpack --decompress $$arcpackedfile$$.tmp $$arcdatafile$$.tmp
0.0%File decompressed successfully.
0.0%
Errorlevel=0
Extracted 401 files, 1,229,613,015 => 2,691,927,339 bytes. Ratio 45.68%
Extraction time: cpu 8.06 sec/real 157.05 sec = 5%. Speed 17.14 mB/s
All OK


All times are GMT -7. The time now is 19:14.

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