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

4.80 star(s) 4 Votes

Pixieblink

Engaged Member
Game Developer
Jul 13, 2019
2,605
6,012
Ya, me too. Threadripper 16 core no problem. And an older AMD 8 core.
Running the though, not the (b) version.
 

hngg

Compress All The Things!
Modder
Donor
Compressor
May 26, 2019
578
2,475
Ya, me too. Threadripper 16 core no problem. And an older AMD 8 core.
Running the though, not the (b) version.
So the normal script in the OP of this thread works on your AMD systems without modification? wait, of course it would. WTF was I thinking. It's only looking for "x86", which wouldn't show up on modern AMD hardware. Uhh, What was the issue, Kelsirion?
 
  • Like
Reactions: bas

chaughton22

Porn Pirate
Donor
Nov 27, 2018
478
521
Total noob to compression here, kinda doing initial research and reading. Feature list mentions 50-90+% file size reduction, is the compression ratio manually selected by the compressor or is it automatically determined based on characteristics of the original files? Or neither of the above? Going to start experimenting with unren + this, see what I can figure out.
 

Pixieblink

Engaged Member
Game Developer
Jul 13, 2019
2,605
6,012
Just try it out.

Defaults are really good, but you can play with the settings to get the results you want. Typically I'll see a .webm file go from 10mb down to maybe 1 or 1.5mb
 
  • Like
Reactions: chaughton22

FFTW

Active Member
Jun 7, 2017
583
656
bas Just wanted to thank you for all your efforts throughout the years here. Great work with the compressions and everything else. hope you enjoy your retirement :).
 
  • Like
Reactions: Pixieblink

CobraPL

NTR PALADIN
Donor
Sep 3, 2016
2,013
4,022
bas bump exe versions. There are newer webp, ffmpeg, nconvert.
EDIT: any chances for parallelization?
 
Last edited:

mrx1983

Newbie
Jan 22, 2021
46
59
i have a useful information, and i can confirm that it really makes a difference.

the "-sharp_yuv" option for cwebp makes the images in some situations way sharper.
i added the option and at areas where it looked a bit smooth, it really made it way more sharp and more identical to the source png file. it only takes a bit more cpu power, but i guess for a good improvement in quality, it is worth it.
 
  • Like
Reactions: OoKamio

Pixieblink

Engaged Member
Game Developer
Jul 13, 2019
2,605
6,012
Maybe. Old one still works fine. If it ain't broke...
If I remember correctly there were a couple of other crunchers floating around.

Miss seeing her (him?) around though.
 
May 31, 2018
271
334
Updated :

It seems this cruncher do not have that problem - https://f95zone.to/threads/yac-yet-another-cruncher-a-game-compactor-v2-1.55421/ (it's made on base of the cruncher in this thread), but, if anything - I would still be curious to know - how to fix the problem in original version, about which I wrote below :)


Older Post :

This program perfectly compressed the video, without serious loss of quality, but unfortunately - some video files look like they are missing some fps and frames (Feels like trying to load a powerful game on a weak computer). Can anyone please advise - how to fix this problem? ( game on the renpy engine, but consists of video files, mostly )
 
Last edited:

shakunimama

Member
Feb 7, 2021
143
73
Can someone help me with RPGMaker MV Crunching? I have some problems decrypting the .rpgmvp files. The decryptors I tried either extracted the images in another folder or they replaced the .rpgmvp files with images. The problem for the 1st outcome is I dont know how to repack the crunched images back to .rpgmvp. The problem with the second outcome is that when I launch the game with the .png's instead of the .rpgmvp', the games seem to give me an error that they could not find the images. Could somebody guide me?

Edit: I am editing the system.json by setting the has values to false and deleting "encryptionKey:<random string>"
 
Last edited:
Oct 4, 2020
435
873
Can someone help me with RPGMaker MV Crunching? I have some problems decrypting the .rpgmvp files. The decryptors I tried either extracted the images in another folder or they replaced the .rpgmvp files with images. The problem for the 1st outcome is I dont know how to repack the crunched images back to .rpgmvp. The problem with the second outcome is that when I launch the game with the .png's instead of the .rpgmvp', the games seem to give me an error that they could not find the images. Could somebody guide me?

Edit: I am editing the system.json by setting the has values to false and deleting "encryptionKey:<random string>"
RPGMV-DECRYPTOR-.zip
 

nonospot

Member
May 15, 2020
198
176
@[B]goobdoob[/B] a small suggestion, some guys use unix w/o being that knowledgeable on the command line : your port is easy to use but you should remove space in the archives/folders names as some won't know how to escape it on linux. As drag/drop a folder will copy the file path of this folder in linux, they will get an error, and I'm not sure if all distributions auto-escape spaces when using auto-completion.
 

agregen

Member
Oct 28, 2019
166
105
The Mac/Linux version of RenCruncher 0.4 is here:
I had issues making it work on Linux, so I ended up taking the Windows version and rewriting it on Bash. (I also added a few tweaks while I was at it.)
It's obviously heavily untested can be considered working by now, but the games I tried it on seem to work fine; so I'm sharing it here. (The other attached file is a script I use for decoding RPGM files.)
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.
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.
…And yes, most file managers allow for quick terminal access (Ctrl+O in Midnight Commander, Shift+F4 in Dolphin).

P.S. webp-header-fix.py can be made compatible with Python 3 (as Python 2 reached end-of-life last year) by changing offset value from 04 to 0o4 (or plain old 4).

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.
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.
Edit: added GIF conversion (for HTML games)
Edit 2: added support for RPGM MZ (with minor fiddling)

You don't have permission to view the spoiler content. Log in or register now.
Edit 3: fixed upcase extension matching & added progress printing per extension (also see: LOGLEVEL)
Edit 4: added parallel processing for images/audio (optional, requires GNU Parallel to work)
Edit 4a: fixed file counter for output (oops)
Edit 5: added pretend mode (for estimating amount of files to be processed before a proper run)
Edit 5a: added a dry-run (in pretend mode) before printing the menu
Edit 6: added support for .dotfiles (‘hidden’ files) and RPA unpacking/repacking (also see: RPATOOL)
Edit 6a: added support for RPGM resource decrypting (also see: MVDECRYPTOR)
Edit 7: added support for RPGM VX Ace; opaque PNGs are converted to JPEG (also see: OPACITY)

You don't have permission to view the spoiler content. Log in or register now.
Edit 8: added support for key autodetection (based on PNG header) in MvDecryptor by supplying DETECT=yes (pick D in RPGMCruncher)
Edit 9: added ETA for non-parallel progress bar (based on average processing time)
Edit 10: added status display in terminal title (%w in Konsole)
Edit 11: added VP9 (WebM) acceleration support via Intel VAAPI (also see: ACCEL)
Edit 11a: fixed accelerated encoding for videos with sound
Edit 12: added compression of MOV video format
Edit 13: added support for viewing runtime parameters, and for parallel video conversion (also see: VPARALLEL)
Edit 14: added a Zenity-based GUI script and optimized some operations
Edit 15: fixed audio crunching, improved OPACITY, ensured support for ffmpeg v4-6
Edit 16: improved PARALLEL_, implemented quiet mode and Ace resource unpacking (also see: ERRORSONLY, RGSSDECRYPTOR)


 
Last edited:

Alpine Eagle

Russian Spy
Donor
Compressor
Apr 13, 2019
2,931
4,610
There was this problem at startup: "reg is not an internal or external command, an executable program, or a batch file."
When running as an administrator, it does not see the folder with the game. But if you remove this line: reg Query "HKLM\Hardware\Description\System\CentralProcessor\0"..., then everything works without problems. But when converting writes the following: "attrib" is not an internal or external command, an executable program, or a batch file.

Before that, everything worked fine, but I recently reinstalled the system. I have installed all the drivers and updates, but it still continues.
With Unreg.bat also had problems, it started and immediately closed. Installing the KB3191566 update helped.
This is not critical, the Cruncher works without this line, but still would like to know what is wrong.
 

Hoboy

Well-Known Member
Jul 24, 2017
1,854
1,305
Hello - asking as there doesn't seem to be an obvious way to make this work. I want to compress RPGMV games in OSX. Is there a particular version or guide on how to do this? While working in OSX? I could probably do this on a pc, but want to set this up to do on a MacBook Pro...
 
4.80 star(s) 4 Votes