Tool QSP RPGM Unity HTML Java Ren'Py Flash Wolf RPG UltraFast adult games compressor v2.8.4

5.00 star(s) 2 Votes

megalol

Engaged Member
Modder
Game Compressor
Apr 3, 2017
2,122
9,477
I'll get old until my i7 even with ultra ffmpeg compresses all these necessary videos and the result is often not worth it, for the sake of 2 gig half a day to spend well like that
For compressing videos to VP9 there are not much I can do for u. Only left to give ability to set speed parameter but the more speed, the more quality loss...
 
  • Like
Reactions: Asenaris and giqui

megalol

Engaged Member
Modder
Game Compressor
Apr 3, 2017
2,122
9,477
I would never have thought that I would be so lucky for errors, problems with compression and so on :(
Ur not one with it. I had tons of problems with Visionaire Studio games but luckily it's not about compression but about to make it work after unpack resources...
Anyway u got some expirience and would see in future if game worth ur time for compression if new version comes :).
 
  • Like
Reactions: giqui and Asenaris

Asenaris

Conversation Conqueror
Aug 31, 2018
6,429
24,249
Ur not one with it. I had tons of problems with Visionaire Studio games but luckily it's not about compression but about to make it work after unpack resources...
Anyway u got some expirience and would see in future if game worth ur time for compression if new version comes :).
When i Try one game with tonn videos,i can compress ~20 game with images and audio per this Time :D
 

megalol

Engaged Member
Modder
Game Compressor
Apr 3, 2017
2,122
9,477
Updated to v1.9 (codename "make old potato PC great again and fast ones even greater"): for RPGM MV compressor added UltraFast ffmpeg mode, error check now also searches for not decrypted files left (usually happens when file names has non English letters) and offers to open RPGMV-DECRYPTOR to fix that. Ren'Py compressor and RPGM MV compressor has now speed option (default value is 3, setting it to 4 makes VP9 ffmpeg encoding up to 10% faster but at same cost of quality) which actual only when enabled "Use libvpx-vp9 video encoder". For HTML compressor added H.264 encoder (faster especially with enabled h264_nvenc feature but at cost of quality) and it set by default for all video files besides webm but it could be switched back to VP9 for all video files. After experimenting with newer ffmpeg versions finally decided to revert back to which was in v1.7.7 because I found out after many tests that it was most stable.
 
Last edited:

Asenaris

Conversation Conqueror
Aug 31, 2018
6,429
24,249
Updated to v1.9 (codename "make old potato PC great again and fast ones even greater"): for RPGM MV compressor added UltraFast ffmpeg mode, error check now also searches for not decrypted files left (usually happens when file names has non English letters) and offers to open RPGMV-DECRYPTOR to fix that. Ren'Py compressor and RPGM MV compressor has now speed option (default value is 3, setting it to 4 makes VP9 ffmpeg encoding up to 10% faster but at same cost of quality) which actual only when enabled "Use libvpx-vp9 video encoder". For HTML compressor added H.264 encoder (faster especially with enabled h264_nvenc feature but at cost of quality) and it set by default for all video files besides webm but it could be switched back to VP9 for all video files. After experimenting with newer ffmpeg versions finally decided to revert back to which was in v1.7.7 because I found out after many tests that it was most stable.
Nice Update,not OverWork ;)
 
  • Like
Reactions: megalol

megalol

Engaged Member
Modder
Game Compressor
Apr 3, 2017
2,122
9,477
Update (OP would be updated later) v1.9.4
(codename "Unity finally got repacked?"): highly experemental, compresses only images inside .assets.resS and .assets; .unity3d archives, WebGL games and created with version newer 2019 not supported! Based on latest free version of UnityEx. Paid UnityEx version offers more funtions (newer Unity versions support, sounds and maybe .unity3d) but I don't have it anyway (as 99.999% of UAGC users) so can't implement those paid features.
Known bugs: on big (>1Gb) asset files UnityEx crashes, u need to kill its process in task manager and all would be fine after that. Not bug but a problem at least - Windows defender most likely would be angry (virus alerts) coz Repack uses .bat files.
P.S. Use it on ur own risk - I just wanted long time ago to create proper Unity compressor and somehow made it.
Repack example of this game (151MB repacked vs 437MB original).
Not supported games: Lust Man Standing (maybe coz contains # in image file names).
 

n0-floW

Newbie
Dec 3, 2017
66
64
Started using this recently and for now I can say that it works really well. Still, there are few things, that IMO can make this tool even better.

From these, definitely simple things are just: borders that divide each of compressor modes and simple button to go directly back to main menu (instead of clicking few times on arrow).

A bit harder is of course changing (select folder/file) to single style, and definitely not this small tree popup (For example I have my games stored pretty deep, and it's frustrating to every single time repeat the same "journey"...).

With the last suggestion, I'm not 100% sure, but it should work - Windows (10 for sure) has a built-in feature to compress files and folders (compact.exe) which uses XPRESS4K, 8K and 16K algorithms (and LZX, but it can make game much slower) to minimize storage used by selected game (folder) (more about it: ).
 
  • Like
Reactions: Asenaris

broken_division

Well-Known Member
Game Compressor
Oct 4, 2017
1,556
9,188
(codename "Unity finally got repacked?"): highly experemental, compresses only images inside .assets.resS and .assets; .unity3d archives, WebGL games and created with version newer 2019 not supported! Based on latest free version of UnityEx. Paid UnityEx version offers more funtions (newer Unity versions support, sounds and maybe .unity3d) but I don't have it anyway (as 99.999% of UAGC users) so can't implement those paid features.
love your work man (y) ,too bad that unityex paid has not allowed to share the key to other people
by the way could this work for unity 2017-2021?
 
  • Like
Reactions: Asenaris

megalol

Engaged Member
Modder
Game Compressor
Apr 3, 2017
2,122
9,477
love your work man (y) ,too bad that unityex paid has not allowed to share the key to other people
by the way could this work for unity 2017-2021?
No, sadly only UnityEx have proper command line support (to extract and import all images from assets files and bundles) so for now it's optimal for making repacks but it's dev is greedy and lazy and don't wanna fix png extraction/importing (memory leak) for big files so maybe I'll fix it by converting dds to png (and back) with some external tool. And also seems that audio compression is pointless (read futher why).
Repack maker of Unity games in mine UAGC repack maker does following:
repack creating by UAGC: it unpacks images (dds) and converts to png by UnityEx, copies folders with images to root game folder, compresses it to webp, UAGC fills unpacked images with black/white (don't rember exactly) and imports em back to assets files so after compressing with WinRar or 7-zip those images would be almost zero size. UAGC makes SFX WinRar exe with all needed files to install repack - extract files and convert webp back to png and import to assets with UnityEx.
P.S. Btw trick with zero audio files don't work (tried on some older version that allows to import audio) and after importing zero audio in assets it doesn't becomes smaller even after compressing it with 7-zip. Also look likes there a not much porn games that using new version of Unity (2020-2021).
P.P.S. I'm planning also improving Unity compressor to compress not only assets files but all (sometimes Unity devs creates archives without extentions but those also could be unpacked by UnityEx I'm just don't have a time to test it properly so not included all possible files in import/export process not to break some games but I'm planning to make a new option in UAGC that would try to process all files in game folder).
 

broken_division

Well-Known Member
Game Compressor
Oct 4, 2017
1,556
9,188
No, sadly only UnityEx have proper command line support (to extract and import all images from assets files and bundles) so for now it's optimal for making repacks but it's dev is greedy and lazy and don't wanna fix png extraction/importing (memory leak) for big files so maybe I'll fix it by converting dds to png (and back) with some external tool. And also seems that audio compression is pointless (read futher why).
Repack maker of Unity games in mine UAGC repack maker does following:
repack creating by UAGC: it unpacks images (dds) and converts to png by UnityEx, copies folders with images to root game folder, compresses it to webp, UAGC fills unpacked images with black/white (don't rember exactly) and imports em back to assets files so after compressing with WinRar or 7-zip those images would be almost zero size. UAGC makes SFX WinRar exe with all needed files to install repack - extract files and convert webp back to png and import to assets with UnityEx.
P.S. Btw trick with zero audio files don't work (tried on some older version that allows to import audio) and after importing zero audio in assets it doesn't becomes smaller even after compressing it with 7-zip. Also look likes there a not much porn games that using new version of Unity (2020-2021).
P.P.S. I'm planning also improving Unity compressor to compress not only assets files but all (sometimes Unity devs creates archives without extentions but those also could be unpacked by UnityEx I'm just don't have a time to test it properly so not included all possible files in import/export process not to break some games but I'm planning to make a new option in UAGC that would try to process all files in game folder).
i see it's quite the work you have done:cool:
+i would like to help you somehow so
i believe you can easily implemented for the qsv(intel) and amf(amd) accelerators on ffmpeg

intel acceleration (global-quality is like h264 crf 30)​
-c:v h264_qsv -global_quality 30 -c:a aac -b;a 32k

amd one h264_amf (separate i/p/b quality generally i<p<b)​
-c:v h264_amf -rc cqp -qp_i 30 -qp_p 31 -qp_b 32 -c:a aac -b;a 32k

+ for the decode ffmpeg -hwaccel dxva2 -i something
works for anything
 

megalol

Engaged Member
Modder
Game Compressor
Apr 3, 2017
2,122
9,477
Hey,megalol : Try compress this game https://f95zone.to/threads/sex-tick...e-walking-cum-holes-v1-10-bosom-studio.91260/ and get interesting result after compressing english language,not worked but Japanese worked.
It has non usual folders in www (data_cn and data_en) so for working english lang u need to go to www\data_en folder, open in Notepad++ "System.json" file and do search&replace (Ctrl+H) from "hasEncryptedImages":true,"hasEncryptedAudio":true to "hasEncryptedImages":false,"hasEncryptedAudio":false or just download attached file.
P.S. If u wanna keep working china language also do it manually the same for www\data_cn folder (do not take attached file coz it for english version only).
 
Last edited:

megalol

Engaged Member
Modder
Game Compressor
Apr 3, 2017
2,122
9,477
I was asked some time ago in PM how properly (not to break em) repack apk files and I've decided to share instruction 4 all (same method uses UAGC Ren'Py apk compressor):
-extract apk file (better only needed folder/s)
-make changes (compess media files for example)
-open apk file again in 7-zip archiver (u don't compress unpacked folder/s by right click! but u should open apk again and move extracted data as I've said before using drag'n'drop, I repeat again u don't create new archive but put extracted data in current apk). no file renames, no creating new archives, u should use existing apk and put unpacked data there in 7-zip file manager.
-create .bat file with this content: java -jar uber-apk-signer-1.2.1.jar -a your.apk
where your.apk is name of ur apk file
-
run bat file. new apk file would be created with same name + "-aligned-debugSigned..."
P.S. Link to (requires Java SE 8)
 

megalol

Engaged Member
Modder
Game Compressor
Apr 3, 2017
2,122
9,477
This was asked before 1654106163126.png in those thread same page with link to answer https://f95zone.to/threads/female-k...urse-of-penis-v1-06-gaptax.25207/post-3881534 (u need to convert .RPGMVP file to png)
For future better avoid compressing non originally english ( DLsite games are usually japanese translated to english) games like this if u don't wanna get such troubles...
 
  • Like
Reactions: Asenaris and "CJ"

Asenaris

Conversation Conqueror
Aug 31, 2018
6,429
24,249
  • Haha
Reactions: megalol and "CJ"

megalol

Engaged Member
Modder
Game Compressor
Apr 3, 2017
2,122
9,477
Update (OP would be updated later) v1.9.6 (install on v1.9.4):
Added Unity v1.5 (recommended if v1 fails) and v2 (x64 bit only, not recommended but could be useful in some rare cases) compressors - fixed problem with big asset files. v1 compressor has best speed but still crashes at big asset files so until it would be fixed by UnityEx dev it's abandoned by me.
How new UAGC Unity compressors works in few words:
v1.5 - 1. UnityEx from assets->dds; 2. UAGC copy to Repack folder extracted dds; 3. ConverterTexture dds->png; 4. Imagemagick->fills black png files; 5. UnityEx -> import filled black png. 6. Imagemagick dds->webp in Repack folder; 7. UAGC creates SFX WinRar with unRep (imagemagick webp -> non compressed dds; optionally if selected before repack creation runs dds optimizer after it or game size would be much bigger than original non repacked) script for repack installation.
v2 - 1. UnityEx from assets->dds; 2. UAGC copy to Repack folder extracted dds; 3. ConverterTexture dds->png; 4. Imagemagick->fills black png files; 5. UnityEx -> import filled black png. 6. nwn_crunch (x64) dds->crn in Repack folder; 7. UAGC creates SFX WinRar with unRep (nwn_crunch -> crn2dds).
P.S. It's still in very early experimental stage so use it on your own risk! It's most ungrateful task to compress Unity and game needs to be tested after compression!
 
5.00 star(s) 2 Votes