View Full Version : [precompressor]RLECOMP
TheGh0stie13
19-04-2023, 18:34
a tool to precompress and decompress your data!
Status: porting to F# 7.0
writen in Jetbrains Rider,in F#
!!! THIS IS AN EXPERIMENTAL THING AND BY DOWNLOADING THIS YOU ACCEPT THAT THERE IS A CHANCE FOR DATA CORRUPTION!!
ARC.ini is included
USAGE,COMP.exe
COMP.exe -cn [in] [out] (nothing happens)
COMP.exe -C [in] [out] (files get expanded via R.L.E)
Usage,DECOMP.exe
DECOMP.exe [in] [out]
Where and on what kind of data can this compressor be used well?? The RLE algo is pretty old. Is this kind of compression possible in games? (except: icons, tga)
Any test results?
TheGh0stie13
20-04-2023, 06:55
Where and on what kind of data can this compressor be used well?? The RLE algo is pretty old. Is this kind of compression possible in games? (except: icons, tga)
Any test results?
416KB pdf to 863KB pf when used on its own (its meant to do this)
then compress with extnernal compressor (FARC,LZMA,XZ,UHARC, ETC) using LZMA it got it to around 200KB +-1%
Nice
Compressed 1 file, 558,369,909 => 1,106,576,294 bytes. Ratio 198.18%
Compression time: cpu 0.41 sec/real 32.94 sec = 1%. Speed 16.95 mB/s
All OK
TheGh0stie13
20-04-2023, 07:13
Nice
Compressed 1 file, 558,369,909 => 1,106,576,294 bytes. Ratio 198.18%
Compression time: cpu 0.41 sec/real 32.94 sec = 1%. Speed 16.95 mB/s
All OK
Footnote:Yes it is meant to expand it,now just run an external compressor
TheGh0stie13
20-04-2023, 07:48
did the tests
https://p.qdnx.org/view/raw/a8790cbc
theres the pastebin
Razor12911
20-04-2023, 07:52
Hi, what is the use case of this program or it is universal? I ask because so far the tests I've run do not produce better results than when I just compress files using lzma. Also DECOMP at times gets stuck and produces output of several GBs when in fact my input was only a few mb and other times, the original input and output do not maintain perfect crc.
I have uploaded a sample where most of the problems occur unless if I'm not using the tool correctly :)
26,8 MB > 34,6 MB (rlecomp) > 7,60 MB (lzma2)
26,8 MB > 7,07 MB (lzma2)
when decoding that 34,6 MB file I get 3,84 GB which is way bigger than my original input (it's actually bigger than this I just cancelled the rest of the process) :o
TheGh0stie13
20-04-2023, 08:01
Hi, what is the use case of this program or it is universal? I ask because so far the tests I've run do not produce better results than when I just compress files using lzma. Also DECOMP at times gets stuck and produces output of several GBs when in fact my input was only a few mb and other times, the original input and output do not maintain perfect crc.
I have uploaded a sample where most of the problems occur unless if I'm not using the tool correctly :)
26,8 MB > 34,6 MB (rlecomp) > 7,60 MB (lzma2)
26,8 MB > 7,07 MB (lzma2)
when decoding that 34,6 MB file I get 3,84 GB which is way bigger than my original input (it's actually bigger than this I just cancelled the rest of the process) :o
add -D after DECOMP.exe to see if that fixes it
Razor12911
20-04-2023, 11:31
Adding that parameter refers me back to the actual usage of the program.
Usage: DECOMP.exe input_file output_file
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.