FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Useful programs (https://fileforums.com/showthread.php?t=92995)

Barbarossa178 29-09-2022 05:14

Quote:

Originally Posted by BLACKFIRE69 (Post 498552)
dict = dictionary replacements for texts

,

Where do I get this ppmd compressor?

Masquerade 29-09-2022 07:47

Quote:

Originally Posted by Barbarossa178 (Post 498553)
Where do I get this ppmd compressor?

It's built into FreeArc.

KaktoR 30-09-2022 07:59

Is there a tool to null file contents (replace with zeros from beginning to end of file), especially if you have multiple files?

I know I can do it with HxD but if you have many files this will get odd.

Masquerade 30-09-2022 10:46

Quote:

Originally Posted by KaktoR (Post 498572)
Is there a tool to null file contents (replace with zeros from beginning to end of file), especially if you have multiple files?

I know I can do it with HxD but if you have many files this will get odd.

I asked Razor and FitGirl this a while back and they both said to use fsutil to create files of a defined size.

KaktoR 01-10-2022 02:46

Thanks for the hint with fsutil, took me a bit to understand as I have never worked with it. Here is a working batch

Code:

FOR /R %%a IN ("*.bk2") DO (fsutil file setzerodata offset=0 length=%%~za "%%a")
It fills all selected files by file extension in current and sub folders with zeroes, beginning from first offset to last.

shazzla 07-11-2022 23:49

Works or not ,i dont know : :)

https://github.com/hpxro7/wwiseutil

kj911 10-12-2022 06:03

7-Zip SFX package splitter
 
1 Attachment(s)
The very old and very simple 7zSFX file splitter....

Separately saves the 7zSFX file, installation configuration (simple TXT) and 7z archive.

Masquerade 15-03-2023 10:29

Quote:

Originally Posted by BLACKFIRE69 (Post 497377)
ListExt v1.0.0.2 - Update

Hey BLACKFIRE69,

Please may you build a version of listext that orders the output of file sizes from largest to smallest?

E.g.
Code:

Source:  .
Files :  123456789  [1337 GB]

 EXTENSION      FILE COUNT      PERCENTAGE      TOTAL SIZE
----------------------------------------------------------
.OGG                ?            XXX%          3GB
----------------------------------------------------------
.ZIP                ?            XXX%          2GB
----------------------------------------------------------
.EXE                ?            XXX%          1GB
----------------------------------------------------------
.DLL                ?            XXX%          100MB
----------------------------------------------------------
.TXT                ?            XXX%          50MB

Thanks!

BLACKFIRE69 15-03-2023 22:33

2 Attachment(s)
Quote:

Originally Posted by Masquerade (Post 500491)
Hey BLACKFIRE69,

Please may you build a version of listext that orders the output of file sizes from largest to smallest?

E.g.
Code:

Source:  .
Files :  123456789  [1337 GB]

 EXTENSION      FILE COUNT      PERCENTAGE      TOTAL SIZE
----------------------------------------------------------
.OGG                ?            XXX%          3GB
----------------------------------------------------------
.ZIP                ?            XXX%          2GB
----------------------------------------------------------
.EXE                ?            XXX%          1GB
----------------------------------------------------------
.DLL                ?            XXX%          100MB
----------------------------------------------------------
.TXT                ?            XXX%          50MB

Thanks!



ok!


ListExt - Update

Code:

USAGE:
  ListExt.exe  <Directory>  [Order_Type]
  (or just drag and drop a folder over the ListExt.exe.)

ORDER_TYPE:
  /SA = Sort Alphabetically.
  /SS = Sort by Size.
  /SP = Sort by Percentage.
  Default is /SS (Sort by Size).

EXAMPLE:
  ListExt.exe "C:\Test\Example1"  /SA


.

kj911 16-03-2023 13:51

1 Attachment(s)
Quick tested in freshly new ListExt from WinXP! Nice and found the file size reports bug. Listed results 100* bigger than real. (Missing "." or "," characters.)

BLACKFIRE69 16-03-2023 22:28

1 Attachment(s)
Quote:

Originally Posted by kj911 (Post 500501)
Quick tested in freshly new ListExt from WinXP! Nice and found the file size reports bug. Listed results 100* bigger than real. (Missing "." or "," characters.)

does this work?

kj911 17-03-2023 03:06

Quote:

Originally Posted by BLACKFIRE69 (Post 500502)
does this work?

Testing now!

Previous days (2023.03.16. build): This file size reports bug, available from Win7 SP1 x64!

Last days (2023.03.17. build): File size report fully works!! (WinXP and Win7) ;)

L33THAK0R 09-04-2023 03:36

StuffIt, a (potentially?) useful tool for compressing JPEG images
 
1 Attachment(s)
An excerpt, from the wiki page:

StuffIt Image Format (SIF)

"Early in 2005, a new JPEG compression system was released that regularly obtained compression in the order of 25% (meaning a compressed file size 75% of the original file size) without any further loss of image quality and with the ability to rebuild the original file, not just the original image. (ZIP-like programs typically achieve JPEG compression rates in the order of 1 to 3%. Programs that optimize JPEGs without regard for the original file, only the original image, obtain compression rates from 3 to 10% (depending on the efficiency of the original JPEG). Programs that use the rarely implemented arithmetic coding option available to the JPEG standard typically achieve rates around 12%.)

The new technique was implemented as a StuffIt X format option in their StuffIt Deluxe product. They have also proposed a new image format known as SIF, which simply consists of a single JPEG file compressed using this new technique.

Pending filing of their patent, they retain knowledge of the details of this algorithm as a trade secret. Some details are disclosed in: the high JPEG recompression is achieved by undoing the last step of the JPEG compression itself (the Huffman encoding of quantized transform coefficients). Instead, the transform coefficients are compressed by a more efficient algorithm (a predictive model based on the DC coefficients of neighboring blocks). Similar techniques are also applied for other image file formats such as GIF and TIFF and even the MP3 music file format. By means of decomposition, the relatively high compression rates for individual file formats can also be achieved for container file formats such as PDF, PSD and even ZIP.
"

Attached below is an archive containing, what I believe to be all the appropriate resources needed to create an StuffIt archive, a sample jpeg and a simple batch script to test packing. I haven't experimented with every available switch, so don't take the sample script as being the most optimal method of packing. Theres a plethora of other resources that are created when installing this software but I'm pretty confident that, at least in testing only these files are needed to create a StuffIt archive.

Preliminary tests have shown uninmpressive results, in contrast to a typical compression chain of srep & lolz

Code:

Source: 32 MiB JPEG

StuffIt -> 27.3 MiB
S + L  -> 15.1 MiB

It's entirely possible I failed to configure the compressor properly but thought I'd share it regardless in case anyone would like to test it for themselves.

kj911 11-04-2023 04:24

L33THAK0R: This test image sets, publicable?? (32MB -> 15MB)

The 'S + L methods' = Stuffit+LOLZ?

The compressor, not user friendly in takes very long commands and more options! The compressor, says message: "StuffIt Deluxe is not installed. To obtain StuffIt Deluxe visit..." Resolve, use registration code added from registry before compression and delete its after compression in finished. Or make VBOX-ed EXE-package from to ONE exe files, from (de)compress... Few dll's properly injectable the main executable files, reducing files counts. Upload to my package?

UPDATE: Checked my package, not injected more dll's to main EXE files... The "sitx.dll" readable to "plugins" dir.
The registration code problem its mininally harderly resolve from newer than WinXP OS, aka SysWOW6432 related issues.
More problems, finding optimal, best and hardware scalable (dict. size and cpu threads related) compreesion commands achieve overall best compreesion ratio.

My results from "test.jpg" file: 5 420 967 byte

L33THAK0R 11-04-2023 16:50

Quote:

Originally Posted by kj911 (Post 500794)
L33THAK0R: This test image sets, publicable?? (32MB -> 15MB)

The 'S + L methods' = Stuffit+LOLZ?

The compressor, not user friendly in takes very long commands and more options! The compressor, says message: "StuffIt Deluxe is not installed. To obtain StuffIt Deluxe visit..." Resolve, use registration code added from registry before compression and delete its after compression in finished. Or make VBOX-ed EXE-package from to ONE exe files, from (de)compress... Few dll's properly injectable the main executable files, reducing files counts. Upload to my package?

UPDATE: Checked my package, not injected more dll's to main EXE files... The "sitx.dll" readable to "plugins" dir.
The registration code problem its mininally harderly resolve from newer than WinXP OS, aka SysWOW6432 related issues.
More problems, finding optimal, best and hardware scalable (dict. size and cpu threads related) compreesion commands achieve overall best compreesion ratio.

My results from "test.jpg" file: 5 420 967 byte

my mistake, I had put together the test suite rather quickly and hadn't even thought to test it on a fresh VM. I definitely should have clarified, "S + L" was "Srep + Lolz". I'm afraid my brain might be a bit fried because I can't really understand the rest of your post. I'll start trying to put together a functioning testing suite.

EDIT:
If you don't mind me asking how were you able to achieve your 5mb result?


All times are GMT -7. The time now is 19:06.

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