Tool RPGM Ren'Py Cruncher - Ren'Py & RPGM MV Game Compactor [v0.4.1] [bas]

4.80 star(s) 4 Votes

mpekas

Newbie
Jul 2, 2017
97
69
This works:

Code:
find . -name "*.$EXT" -print | "$PARALLEL_" --bar apply-conversion "$TYPE" "$EXT" {} "${3:-$TYPE}"
One suggestion is to cut down the output of like 5 lines per file processed so if something does go wrong, the error doesn't get unnoticed;
-remove the echo 'now processing', 'webp header', 'filesize is larger', 'processing completed'
-switch '-verbose' to '-quiet' for convert
-add 'status=none' to dd
-use -hide_banner -loglevel fatal -nostats for LOGLEVEL


Sample 'nonverbose' output from non-verbose convert-image:
Looking for webp image files to process...
0% 37:23124=23m22s ./archive.rpa/images/setpiece/dft bedroom/bedroom_nighttime_denise dft_turns_to_mc_dfocus blink.webp convert: insufficient image data in file `./archive.rpa/images/setpiece/dft bedroom/bedroom_nighttime_denise dft_turns_to_mc_dfocus blink.webp' @ error/webp.c/ReadWEBPImage/563.
convert: no images defined `WEBP:/tmp/Cruncher:.\archive.rpa\images\setpiece\dft bedroom\bedroom_nighttime_denise dft_turns_to_mc_dfocus blink.webp.cmv' @ error/convert.c/ConvertImageCommand/3359.
77% 17948:5213=2m19s ./archive.rpa/images/paperdoll/macy/chappel_speech/macy funeral low_lookmc_paintingfocus.webp
 
Last edited:

agregen

Member
Oct 28, 2019
162
103
This works:

Code:
find . -name "*.$EXT" -print | "$PARALLEL_" --bar apply-conversion "$TYPE" "$EXT" {} "${3:-$TYPE}"
One suggestion is to cut down the output of like 5 lines per file processed so if something does go wrong, the error doesn't get unnoticed;
-remove the echo 'now processing', 'webp header', 'filesize is larger', 'processing completed'
-switch '-verbose' to '-quiet' for convert
-add 'status=none' to dd
-use -hide_banner -loglevel fatal -nostats for LOGLEVEL
…Included support for large amount of files into the new release. Also added -e/$ERRORSONLY option (and turned it on in GUI by default).

Aside from these changes, I patched up RgssDecrypter (Ace archives unpacker) code to detect/report failure properly, and integrated it into both scripts.
 
  • Like
Reactions: mpekas

mpekas

Newbie
Jul 2, 2017
97
69
…Included support for large amount of files into the new release. Also added -e/$ERRORSONLY option (and turned it on in GUI by default).

Aside from these changes, I patched up RgssDecrypter (Ace archives unpacker) code to detect/report failure properly, and integrated it into both scripts.
Awesome, thanks for maintaining this, it's the best compression tool that works in linux!
 
  • Like
Reactions: agregen
4.80 star(s) 4 Votes