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

Reply
 
Thread Tools Display Modes
  #1  
Old 19-04-2023, 19:34
TheGh0stie13 TheGh0stie13 is offline
Registered User
 
Join Date: Oct 2022
Location: Somewhere in this time and galaxy
Posts: 22
Thanks: 11
Thanked 17 Times in 5 Posts
TheGh0stie13 is on a distinguished road
[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]

Last edited by TheGh0stie13; 27-04-2023 at 16:03. Reason: added stuff
Reply With Quote
The Following 5 Users Say Thank You to TheGh0stie13 For This Useful Post:
dixen (20-04-2023), hdneo (23-04-2023), KaktoR (20-04-2023), kj911 (20-04-2023), Razor12911 (20-04-2023)
Sponsored Links
  #2  
Old 20-04-2023, 02:21
kj911 kj911 is offline
Registered User
 
Join Date: Apr 2010
Location: world
Posts: 186
Thanks: 136
Thanked 64 Times in 45 Posts
kj911 is on a distinguished road
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?
Reply With Quote
  #3  
Old 20-04-2023, 07:55
TheGh0stie13 TheGh0stie13 is offline
Registered User
 
Join Date: Oct 2022
Location: Somewhere in this time and galaxy
Posts: 22
Thanks: 11
Thanked 17 Times in 5 Posts
TheGh0stie13 is on a distinguished road
Quote:
Originally Posted by kj911 View Post
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%
Reply With Quote
  #4  
Old 20-04-2023, 08:12
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,430
Thanks: 1,078
Thanked 7,037 Times in 2,665 Posts
KaktoR is on a distinguished road
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
__________________
Haters gonna hate
Reply With Quote
  #5  
Old 20-04-2023, 08:13
TheGh0stie13 TheGh0stie13 is offline
Registered User
 
Join Date: Oct 2022
Location: Somewhere in this time and galaxy
Posts: 22
Thanks: 11
Thanked 17 Times in 5 Posts
TheGh0stie13 is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
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
Reply With Quote
  #6  
Old 20-04-2023, 08:48
TheGh0stie13 TheGh0stie13 is offline
Registered User
 
Join Date: Oct 2022
Location: Somewhere in this time and galaxy
Posts: 22
Thanks: 11
Thanked 17 Times in 5 Posts
TheGh0stie13 is on a distinguished road
did the tests
https://p.qdnx.org/view/raw/a8790cbc
theres the pastebin
Reply With Quote
  #7  
Old 20-04-2023, 08:52
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,104 Times in 2,296 Posts
Razor12911 is on a distinguished road
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)
Attached Files
File Type: 7z UI.7z (7.08 MB, 48 views)
Reply With Quote
The Following 2 Users Say Thank You to Razor12911 For This Useful Post:
Cesar82 (20-04-2023), Gehrman (20-04-2023)
  #8  
Old 20-04-2023, 09:01
TheGh0stie13 TheGh0stie13 is offline
Registered User
 
Join Date: Oct 2022
Location: Somewhere in this time and galaxy
Posts: 22
Thanks: 11
Thanked 17 Times in 5 Posts
TheGh0stie13 is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
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)

add -D after DECOMP.exe to see if that fixes it
Reply With Quote
  #9  
Old 20-04-2023, 12:31
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,104 Times in 2,296 Posts
Razor12911 is on a distinguished road
Adding that parameter refers me back to the actual usage of the program.

Code:
Usage: DECOMP.exe input_file output_file
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 21:12.


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