FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   [precompressor]RLECOMP (https://fileforums.com/showthread.php?t=105897)

TheGh0stie13 19-04-2023 18:34

[precompressor]RLECOMP
 
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]

kj911 20-04-2023 01:21

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

Quote:

Originally Posted by kj911 (Post 500882)
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%

KaktoR 20-04-2023 07:12

Nice

Code:

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

Quote:

Originally Posted by KaktoR (Post 500885)
Nice

Code:

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

1 Attachment(s)
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

Quote:

Originally Posted by Razor12911 (Post 500888)
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.

Code:

Usage: DECOMP.exe input_file output_file


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

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