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

Reply
 
Thread Tools Display Modes
  #1  
Old 30-05-2023, 12:25
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
Post [compressor] FastLZ/6(un)pack

Note:created custom implimintation of fastlz refer to post #10
arc.ini \/
Code:
[External compressor:fstlz]
packcmd=6pack.exe -2 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd=6unpack.exe $$arcpackedfile$$.tmp
-------------------
known issues
file/mem size issue,use MTX to fix
mtx varient of arc.ini \/
Code:
[External compressor:fstlz]
packcmd=6pack.exe -2 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd=6unpack.exe $$arcpackedfile$$.tmp
; ================== MTX Settings ==================

; default   = -t100p --logs --basePath=".\..\..\" --cfgfile="$basePath$\arc.ini"
; packcmd   = MTX.exe a -mprecomp64 -c128m {options} - - <stdin> <stdout>
; packcmd   = MTX.exe a -mprecomp64 -c128m {options} - $$arcpackedfile$$.tmp <stdin>
; packcmd   = MTX.exe a -mprecomp64 -c128m {options} $$arcdatafile$$.tmp - <stdout>
; packcmd   = MTX.exe a -mprecomp64 -c128m {options} $$arcdatafile$$.tmp $$arcpackedfile$$.tmp

; unpackcmd = MTX.exe x -mmpz32 {options} - - <stdin> <stdout>
; unpackcmd = MTX.exe x -mmpz32 {options} - $$arcdatafile$$.tmp <stdin>
; unpackcmd = MTX.exe x -mmpz32 {options} $$arcpackedfile$$.tmp - <stdout>
; unpackcmd = MTX.exe x -mmpz32 {options} $$arcpackedfile$$.tmp $$arcdatafile$$.tmp


[External compressor:fstlzx]
header    = 0
default   = -t100p --basePath=".\..\..\" --cfgfile="$basePath$\arc.ini"

packcmd   = MTX\Win64\MTX64.exe a -mfstlz -c256m {options} - - <stdin> <stdout>
unpackcmd = MTX\Win64\MTX64.exe x -mfstlz {options} - - <stdin> <stdout>

; ================== MTX Settings ==================
file \/
Attached Files
File Type: zip fastlz-0.zip (30.9 KB, 29 views)

Last edited by LeVx; 01-06-2023 at 10:08. Reason: fixed issue,
Reply With Quote
The Following User Says Thank You to LeVx For This Useful Post:
ScOOt3r (30-05-2023)
Sponsored Links
  #2  
Old 31-05-2023, 14:00
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 testing it shows this error
Quote:
FreeArc 0.67 (March 15 2014) creating archive: bibobo.bin
Compressing 1 file, 4,480,267,880 bytes. Processed 99.8%
Compressing 4,480,267,880 bytes with 6pack.exe -2 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
$$arcdatafi100.0%................................. .................]
Errorlevel=-1073741676
100.0%
It worked once and showed a good ratio
Reply With Quote
  #3  
Old 31-05-2023, 14:02
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 testing it shows this error


It worked once and showed a good ratio
use mtx to split it into chunks,im guessing its a stack overflow error (based on my prior attempts at rectification),fastlz is 32bit (ithink) meaing i will have to try and port it to 64 bit

also by very good ratio,the output data is likely corrupt

Last edited by LeVx; 31-05-2023 at 14:17.
Reply With Quote
  #4  
Old 31-05-2023, 14: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
btw the error appears when specifying a temp directory actually using -w.\tmp
will try MTX however
thanks
Reply With Quote
  #5  
Old 31-05-2023, 14: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
btw the error appears when specifying a temp directory actually using -w.\tmp
will try MTX however
thanks
could you also send the input data you used so i can try to rectify the errorlevel
Reply With Quote
  #6  
Old 31-05-2023, 14:34
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
i used this in plain arc
Quote:
arc a bin01.bin "folderpath" -mfstlz -w.\tmp
tried it in MTX 5.0.0.1 keep getting disk size error (which is strange although i made sure that the arc.ini was good.

in MTX 2.0.0.1 however
Quote:
arc a bin01.bin "folder" -mmtx:c128m:t4:fstlz -w.\tmp
this showed great results near lolz on my tests actually
Quote:
FreeArc 0.67 (September 13 2014) creating archive: bin01.bin
Compressed 401 files, 2,691,927,339 => 1,142,790,203 bytes. Ratio 42.45%
Compression time: cpu 4.77 sec/real 195.19 sec = 2%. Speed 13.79 mB/s
All OK
Reply With Quote
  #7  
Old 31-05-2023, 14:40
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
i used this in plain arc

tried it in MTX 5.0.0.1 keep getting disk size error (which is strange although i made sure that the arc.ini was good.

in MTX 2.0.0.1 however


this showed great results near lolz on my tests actually
,can you tell me how to mtx 2.0.0.1 step by step
Reply With Quote
  #8  
Old 31-05-2023, 21:40
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
Quote:
1) copy 6pack.exe into "cls-mtx v2.0.0.7\Compressor\Bin"

2) added arc.ini lines
Quote:
[External compressor:fstlz]
packcmd=6pack.exe -2 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd=6unpack.exe $$arcpackedfile$$.tmp
3)used the command
Quote:
arc a bin001.bin "folder" -mmtx:fstlz
another report, I got it to work with MTX 5.0.0.1 but I don't know where is the problem. it showed a worse compression ratio
Quote:
"arc a bin.bin "folder" -mfstlzx"
FreeArc 0.67 (September 13 2014) creating archive: va.biv
Compressed 401 files, 2,691,927,339 => 1,381,658,252 bytes. Ratio 51.33%
Compression time: cpu 4.22 sec/real 214.48 sec = 2%. Speed 12.55 mB/s
All OK

Last edited by soulfit15; 31-05-2023 at 21:49.
Reply With Quote
  #9  
Old 01-06-2023, 05: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
another report, I got it to work with MTX 5.0.0.1 but I don't know where is the problem. it showed a worse compression ratio
im guessing its a bit limit (the exe is a 32bit exe and not 64,so my guess it needs to be ported to 64 bit),and the worse compression ratio is likely correct,but i would test decompression to see if it compressed it correctly
Reply With Quote
  #10  
Old 01-06-2023, 09:31
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
another report, I got it to work with MTX 5.0.0.1 but I don't know where is the problem. it showed a worse compression ratio
working on my own 64-bit (though simpiler) impimentation of the fastlz compression libary (to fix it)(and Done

refer to post https://fileforums.com/showthread.php?t=105936

Last edited by LeVx; 01-06-2023 at 09:50. Reason: new version i built
Reply With Quote
The Following User Says Thank You to LeVx For This Useful Post:
L33THAK0R (01-06-2023)
  #11  
Old 02-06-2023, 02:32
kj911 kj911 is offline
Registered User
 
Join Date: Apr 2010
Location: world
Posts: 181
Thanks: 132
Thanked 63 Times in 44 Posts
kj911 is on a distinguished road
Compression ratio difference those 6/7pack compressors compare than FLZMA2 or ZSTD or any codec??
Reply With Quote
  #12  
Old 02-06-2023, 03:16
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,159
Thanks: 284
Thanked 1,349 Times in 612 Posts
Masquerade is on a distinguished road
^^
Why don't you benchmark them and let us know?
Reply With Quote
Reply

Tags
compressor

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tools for Repacking Masquerade Conversion Tutorials 117 14-09-2024 06:34
[Compressor] DAX TheGh0stie13 Conversion Tutorials 0 18-12-2022 20:30
[Compressor] LZHAM TheGh0stie13 Conversion Tutorials 0 10-12-2022 18:24
Question [Compressor] Simorq Conversion Tutorials 4 06-08-2017 09:58



All times are GMT -7. The time now is 09:48.


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