Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Display Modes
  #1  
Old 01-06-2023, 10:49
LeVx LeVx is offline
Registered User
 
Join Date: May 2023
Location: Bracca
Posts: 13
Thanks: 3
Thanked 2 Times in 2 Posts
LeVx is on a distinguished road
[compressor]7pack/FstGZIP

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!!
Attached Files
File Type: rar SevenpackREV.rar (19.24 MB, 74 views)

Last edited by LeVx; 19-06-2023 at 18:11. Reason: new version rewritten using GZIP and F#
Reply With Quote
Sponsored Links
  #2  
Old 01-06-2023, 11:31
soulfit15 soulfit15 is offline
Registered User
 
Join Date: Apr 2023
Location: Egypt
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
soulfit15 is on a distinguished road
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)
Reply With Quote
  #3  
Old 01-06-2023, 11:48
LeVx LeVx is offline
Registered User
 
Join Date: May 2023
Location: Bracca
Posts: 13
Thanks: 3
Thanked 2 Times in 2 Posts
LeVx is on a distinguished road
Quote:
Originally Posted by soulfit15 View Post
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)
Reply With Quote
  #4  
Old 01-06-2023, 12:05
soulfit15 soulfit15 is offline
Registered User
 
Join Date: Apr 2023
Location: Egypt
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
soulfit15 is on a distinguished road
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
Reply With Quote
  #5  
Old 01-06-2023, 12:08
LeVx LeVx is offline
Registered User
 
Join Date: May 2023
Location: Bracca
Posts: 13
Thanks: 3
Thanked 2 Times in 2 Posts
LeVx is on a distinguished road
Quote:
Originally Posted by soulfit15 View Post
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)

Last edited by LeVx; 01-06-2023 at 12:12.
Reply With Quote
  #6  
Old 01-06-2023, 12:11
soulfit15 soulfit15 is offline
Registered User
 
Join Date: Apr 2023
Location: Egypt
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
soulfit15 is on a distinguished road
keep up the work
Reply With Quote
  #7  
Old 01-06-2023, 12:14
LeVx LeVx is offline
Registered User
 
Join Date: May 2023
Location: Bracca
Posts: 13
Thanks: 3
Thanked 2 Times in 2 Posts
LeVx is on a distinguished road
Quote:
Originally Posted by soulfit15 View Post
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)

Last edited by LeVx; 01-06-2023 at 12:25.
Reply With Quote
  #8  
Old 01-06-2023, 14:03
soulfit15 soulfit15 is offline
Registered User
 
Join Date: Apr 2023
Location: Egypt
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
soulfit15 is on a distinguished road
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
Reply With Quote
  #9  
Old 02-06-2023, 09:03
LeVx LeVx is offline
Registered User
 
Join Date: May 2023
Location: Bracca
Posts: 13
Thanks: 3
Thanked 2 Times in 2 Posts
LeVx is on a distinguished road
Quote:
Originally Posted by soulfit15 View Post
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

Last edited by LeVx; 02-06-2023 at 11:02.
Reply With Quote
  #10  
Old 06-06-2023, 16:04
soulfit15 soulfit15 is offline
Registered User
 
Join Date: Apr 2023
Location: Egypt
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
soulfit15 is on a distinguished road
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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -7. The time now is 01:00.


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