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

4.80 star(s) 4 Votes

mpekas

Member
Jul 2, 2017
128
112
199
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
175
123
122
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

Member
Jul 2, 2017
128
112
199
…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

xetalon

Member
Nov 3, 2022
228
264
162
The Mac/Linux version of RenCruncher 0.4 is here:

If there's demand I'll look into doing RPGMCruncher.

The zip includes Mac versions of cwebp, ffmeg and nconvert. Linux users should install the relevant packages. Linux users shouldn't delete the Cruncher-Mac directory, because it contains webp-header-fix.py.

You need python 2.7.x to run this. I couldn't get Ren'Py's python to work, and I think having python is a reasonable requirement. Get it from .

This has NOT been tested on Linux.

Like the PC version, this assumes you've gone ahead and extracted RPAs, so you have the image/audio/video files.

To run:

Mac: double click RenCruncher-v0.4.command. Drag the Ren'Py app to the terminal window and hit enter, or type in the path to the app.

OR

Mac: launch terminal
Mac/Linux: run RenCruncher-v0.4.command. You can pass in the game directory on the command line, or type it in when asked.

You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
The file isn't available anymore, is there somewhere else I can find the tool ?

EDIT: I finally decided to go with Wine for the Windows version, but damn that's too slow. I know it's possible to use the command find in a bash script to get things done with imagemagick and ffmpeg, I guess. Still I'm curious about if Ren'Py cares about files extension, if not I would like to just use webp for pictures and webm for videos.
 
Last edited:

mpekas

Member
Jul 2, 2017
128
112
199
The file isn't available anymore, is there somewhere else I can find the tool ?

EDIT: I finally decided to go with Wine for the Windows version, but damn that's too slow. I know it's possible to use the command find in a bash script to get things done with imagemagick and ffmpeg, I guess. Still I'm curious about if Ren'Py cares about files extension, if not I would like to just use webp for pictures and webm for videos.
That's a much older version, check this :post: for the latest one.
 
  • Like
Reactions: xetalon
4.80 star(s) 4 Votes