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,129
9,480
megalol Hello,If you free can you say something about this,this can be fix without re-compress? https://f95zone.to/threads/bound-by-lust-v0-3-8-9-lustseekers.40545/post-8316413
Hi, try to use renpy update maker from UAGC on both versions to get missing files from original (not compressed) game. Btw did u get error message saying after compression about not the same amount of files from UAGC?
P.S. I'll think for future maybe to implement option to show what files missing after compression. Usually it's files with unusual names that has non latin alphabet symbols...
 
Last edited:
  • Like
Reactions: Asenaris and "CJ"

megalol

Engaged Member
Modder
Game Compressor
Apr 3, 2017
2,129
9,480
Okay, try these methods, but for now I attached the necessary file, because in the error that the person provided, I see only the lack of this file.
I did not receive any errors after compression in UAGC, it was written that the compression was completed without errors.
It would be nice, otherwise you partially test, and then errors
Ok, I've checked problem (compared both versions - no files missing, same amount, mentioned file opens with XnView without problems) and it has nothing to do with UAGC - it seems that guy that reported error just using that points to wrong image path "CG/SecondRelease/secondRpics (2489).webp" but real image path is "CG/old/SecondRelease/secondRpics (2489).webp" so game shows error coz can't find it.
 
Last edited:
  • Like
Reactions: "CJ" and Asenaris

Asenaris

Conversation Conqueror
Aug 31, 2018
6,429
24,249
Ok, I've checked problem (compared both versions - no files missing, same amount, mentioned file opens with XnView without problems) and it has nothing to do with UAGC - it seems that guy that reported error just using that points to wrong image path "CG/SecondRelease/secondRpics (2489).webp" but real image path is "CG/old/SecondRelease/secondRpics (2489).webp" so game shows error coz can't find it.
Many thanks,you are hero on f95
 

megalol

Engaged Member
Modder
Game Compressor
Apr 3, 2017
2,129
9,480
There are already exists smaller web version from me. Btw I've tried to do something with 7GB version but there too many obstacles: at 1st it's kinda already compressed (4k textures inside converted to crn format - it's something like webp but a bit worse, my compressor for now is for dds), each images stored in it's own subfolder without any extension, has manifest files that stores file hashes (looks like maybe be just deleted to make game read changed texture files), resizing textures to FullHD or taking from web version directly breaks em in game (black screen or image shows at 1/4 size).
 
  • Like
Reactions: "CJ" and Asenaris

cooperdk

Engaged Member
Jul 23, 2017
3,375
4,902
Anyway I think this is not big problem since movies in this game already pretty much (just about 10% of game size) compressed (according bitrate) so just copy em from not compressed folder. U may get better compression results if delete .psd files (167 Mb size) that is most likely not used by the game but it needs to be checked 1st.
This might be due to ffmpeg not being compiled with alpha feature (I don't remember if that is a setting). You may want to include a compiled copy that has everything and see if that's the issue.
 
  • Like
Reactions: Asenaris

cooperdk

Engaged Member
Jul 23, 2017
3,375
4,902
When extracting the temporary archive of rpa files, UAGC doesn't MOVE the files from %TEMP%\RpaKit.*.tmp into the game folder\rpakit_out . It copies them which is kind of senseless, partly because WHY and partly because it takes a really long time with a game with 24.000+ files (in fact, more than half an hour on a hard drive). I don't know how you made your copy operation but it is REALLY slow.

Could you make it so that it moves the extracted files instead of copying them?
 
  • Like
Reactions: Asenaris

megalol

Engaged Member
Modder
Game Compressor
Apr 3, 2017
2,129
9,480
This might be due to ffmpeg not being compiled with alpha feature (I don't remember if that is a setting). You may want to include a compiled copy that has everything and see if that's the issue.
Sadly I don't know (tried editing compilng script with link on older git but compiling just fails after that) how to recompile older version of ffmpeg (that doesn't have problems with framerate, it makes framerate variable intsead of constant that breaks some videos playback) coz all tools compiles master release or latest stable. I'd probably added Intel QSV support for H.264 too if it worth and H.265 again. I'll try again to find precompiled biniries with needed options... Upd: looks like may be useful for UAGC.
When extracting the temporary archive of rpa files, UAGC doesn't MOVE the files from %TEMP%\RpaKit.*.tmp into the game folder\rpakit_out . It copies them which is kind of senseless, partly because WHY and partly because it takes a really long time with a game with 24.000+ files (in fact, more than half an hour on a hard drive). I don't know how you made your copy operation but it is REALLY slow.

Could you make it so that it moves the extracted files instead of copying them?
I'm using Windows "robocopy" (since AMS tool doesn't has proper folder moving) command that sadly doesn't have "true" move feature. On fast M.2 SSD it' ok but on slower devices I agree that it's kinda slow on big amount of files. I've tried to add "/MT:16" parameter but it just gave me longer time at the end...
I'll try to test it with Windows "move /y" command and if it's ok then change to it. Upd: implemented and tested - now it moves almost momentally (expect it in next UACG version).
BTW megalol

Try to check out my rpatool (true compiled version) with UAGC. It should provide a faster archiving, because it is truly compressed and not a Pyinstaller bundle of the python interpreter. According to the Nuitka developer, it should be significantly faster.
Ok, thanks. I'll try it later (now I'm working on next version of Unity compressor with newer version support).
 
Last edited:
  • Like
Reactions: Asenaris and "CJ"

megalol

Engaged Member
Modder
Game Compressor
Apr 3, 2017
2,129
9,480
Update (OP would be updated at UAGC v2 release) v1.9.9 (install on v1.9.6):

Updated tools (ffmpeg, pingo, nconvert, UnityEx and some others too), ffmpeg with almost all features (may be useful in future) enabled added for testing and if it's ok would stay in UAGC ver 2, fixed rpa packer bug for folders with spaces and some bugs in Unity compressors. Main feature in new version that now Unity compressor v1.5 supports (don't forget to activate Ultimate switch for it) all (?) versions of Unity and .unity3d files (for example tried on v0.4 version of this game and after compression repack size was just 164Mb against almost 1Gb for not compressed version).
Advice for Unity games compression: games that have big .resouce (about 1/2 of its size) files most likely wouldn't deserve to be repacked since those files consist of audio and videos files that (for now and most likely in future too) can't be compessed.
 

megalol

Engaged Member
Modder
Game Compressor
Apr 3, 2017
2,129
9,480
I found out a tricky way to implement video compression (and most likely audio too) for Unity asset files in UAGC.
1 step (easy): extract video, compress it (transcode with H.264 codec with lower bitrate), move to Repack folder.
2 step (not easy but already implemented): search videos (tested on mp4 only for now) offset and its lenght in .resource file and fill those areas of file with zero from position of offset + 10000 and to the lenght -11000 so after packing to archive such .resource file containted only videos would be almost zero size.
3 step: creating repack install script with video import support which UAGC would put inside created repack.
4 step: testing. still not 100% sure that this method would work fine but when I did it manually with some game it seems worked fine.
Upd: implemented in UAGC and if all ok it would be in available v2.
 
Last edited:
  • Like
Reactions: Asenaris and "CJ"

megalol

Engaged Member
Modder
Game Compressor
Apr 3, 2017
2,129
9,480
  • Like
Reactions: Asenaris

megalol

Engaged Member
Modder
Game Compressor
Apr 3, 2017
2,129
9,480
Not Compressed version work Normal.
UAGC 1.9.9.
Just move folders from ..\TamasAwakening-0.14-pc\game\rpakit_out one level up to the ..\TamasAwakening-0.14-pc\game. Looks like folder moving in v1.9.9 has some problems. I was trying speed up folder moving from rpakit_out to game folder by changing from Windows robocopy to plain "move" command but looks like it has problems and needs more testing...
 
  • Like
Reactions: Asenaris and "CJ"

Asenaris

Conversation Conqueror
Aug 31, 2018
6,429
24,249
Just move folders from ..\TamasAwakening-0.14-pc\game\rpakit_out one level up to the ..\TamasAwakening-0.14-pc\game. Looks like folder moving in v1.9.9 has some problems. I was trying speed up folder moving from rpakit_out to game folder by changing from Windows robocopy to plain "move" command but looks like it has problems and needs more testing...
Many thanks
 

megalol

Engaged Member
Modder
Game Compressor
Apr 3, 2017
2,129
9,480
Update (OP would be updated at v2.0 final release) v2.0 alpha (install on v1.9.9):

Fixed (?) bug in v1.9.9 that sometimes doesn't moves unpacked rpa from rpa_out folder to the "game" directory. Lol, I didn't thought that it's so hard to find fully working folder moving command line tool that handles almost all possible problem situations.
Unity v1.5 compressor: added video compression support for testing. Actually there are not very much Unity games with videos stored in assets but this is big step to the main target - audio compression. Also planning to add .untity3d files unpacker tool (usually Unity games compresses good just with 7zip but if asset files in .unity3d bundle file then it packs with very bad ratio) so if you don't want to make repack but just recompress game with better raion with 7zip it also could be useful.
New sample game repacked: Mad Turn [S2 v0.1] (original about 700Mb 7z ultra -> .untity3d unpack + 7zip ultra about 600Mb -> 282Mb Repacked) ( ) no videos but has big file (sharedassets1.resource) about 150Mb with audio so without audio compresion support can't get better compression...
 

Asenaris

Conversation Conqueror
Aug 31, 2018
6,429
24,249
Update (OP would be updated at v2.0 final release) v2.0 alpha (install on v1.9.9):

Fixed (?) bug in v1.9.9 that sometimes doesn't moves unpacked rpa from rpa_out folder to the "game" directory. Lol, I didn't thought that it's so hard to find fully working folder moving command line tool that handles almost all possible problem situations.
Unity v1.5 compressor: added video compression support for testing. Actually there are not very much Unity games with videos stored in assets but this is big step to the main target - audio compression. Also planning to add .untity3d files unpacker tool (usually Unity games compresses good just with 7zip but if asset files in .unity3d bundle file then it packs with very bad ratio) so if you don't want to make repack but just recompress game with better raion with 7zip it also could be useful.
New sample game repacked: Mad Turn [S2 v0.1] (original about 700Mb 7z ultra -> .untity3d unpack + 7zip ultra about 600Mb -> 282Mb Repacked) ( ) no videos but has big file (sharedassets1.resource) about 150Mb with audio so without audio compresion support can't get better compression...
Nice,Good Work. I'm Awaiting for release that's would be nice.
 

megalol

Engaged Member
Modder
Game Compressor
Apr 3, 2017
2,129
9,480
Update (OP would be updated at v2.0 final release) v2.0 beta (install on v2.0 alpha):

Unity v1.5 compressor: added experimental audio compression support for testing. UAGC uses quickbms script to export/import .fsb audio files from Unity .resource files and FSBTool to transcode extracted .fsb files to lower bitrate with ogg vorbis profile. Other Unity compressors would be removed from final release since v1.5 compressor is best one for now.
Sample game updated repack (added audio compression): Mad Turn [S2 v0.1] (original about 700Mb 7z ultra -> 147Mb Repacked) .
 
5.00 star(s) 2 Votes