- Sep 3, 2016
- 2,020
- 4,050
So, you can losslessy (unless you choose otherwise) optimize your game assets with >>>
Games are 5-25% smaller with this, without quality loss. JPG files 1-11%, PNG files 5-25%
It is not multi-threaded/parallel, but recurses subdirs. SO! You can just leave it optimizing for X hours, maybe in two instances. This program simply runs third-party command-line optimizers one by one to achieve best file size. Some of these 3rd party apps are single-threaded and some are multi-threaded. So I suggest leaving 2-3 instances of optimizer with work divided between them. Suggested program's options:
Also, I believe that optimized PNGs are less complex internally and easier to open/scroll etc. So MAYBE your game will be faster, not only smaller.
There is PNG Gauntlet app which is obsolete to above one. File Optimizer provides same or better result in 100% cases.
Since ultra optimization takes DAYS for turbo optimization select:
General 1 / Optimization level 0
General 2 / Disable plugin mask /
EDIT: 30-09-2020 - I added TruePNG to exceptions, because it hangs sometimes.
-------------------------------------------------------------------------------------
EDIT 11.03.2018 - WebP Ren'Py lossless compression, images ~25-50% smaller than PNGs.
So, guys, for Ren'Py consider using WebP format instead of PNG and forget optimization thing.
WebP for RPGMakerMV:
-------------------------------------------------------------------------------------
For (almost) maximum ZIP compression, use latest >>>
With following options (click to enlarge):
I highlighted custom options with red (you must set them manually). Note, I suggest using n+1 threads for compression and rendering for better performance. Compression ratio will be unaffected.
NOTE: You can still use FileOptimizer for ZIP archives. 7-zip method described above is still quite fast and efficient.
-------------------------------------------------------------------------------------
Do you have a text editor that shows line numbers like notepad ++ or Atom? If you do, edit the batch file line 75 and replace "-q 85" with "- lossless -q 100 -m 6 -exact". Then it will work lossless !
(leave like if you think this post is helpful)
You must be registered to see the links
<<<- PNG, jpg, mp3 and more ! Just don't use it on Ogg Vorbis. Do not optimize or convert CMYK images or do it carefully. Don't use for RPG MAKER versions earlier than VX (VX, VX ACE, MV are OK).Games are 5-25% smaller with this, without quality loss. JPG files 1-11%, PNG files 5-25%
It is not multi-threaded/parallel, but recurses subdirs. SO! You can just leave it optimizing for X hours, maybe in two instances. This program simply runs third-party command-line optimizers one by one to achieve best file size. Some of these 3rd party apps are single-threaded and some are multi-threaded. So I suggest leaving 2-3 instances of optimizer with work divided between them. Suggested program's options:
Also, I believe that optimized PNGs are less complex internally and easier to open/scroll etc. So MAYBE your game will be faster, not only smaller.
There is PNG Gauntlet app which is obsolete to above one. File Optimizer provides same or better result in 100% cases.
Since ultra optimization takes DAYS for turbo optimization select:
General 1 / Optimization level 0
General 2 / Disable plugin mask /
Code:
pngwolf;PNGOut;TruePNG
-------------------------------------------------------------------------------------
EDIT 11.03.2018 - WebP Ren'Py lossless compression, images ~25-50% smaller than PNGs.
So, guys, for Ren'Py consider using WebP format instead of PNG and forget optimization thing.
You must be registered to see the links
with this thing you can select WebP as output, in properties force lossless encoding and batch convert all images to WebP. Put this into your Ren'Py game, edit code and enjoy. Irfanview allow viewing. I suggest optimizing only images folder, since I never tested it on alpha channel (transparency) images. On i5-8600K this shit consumes 25% of CPU, so run ~4 instances doing different part of the images.WebP for RPGMakerMV:
Native Windows WebP support codec:DynamiteRedGames said:The JavaScript library that RPG Maker MV uses already supports WebP image files, but the developers of RPG Maker hard coded the ".png" file extension into its ImageManager.loadBitmap() method, which you can find in rpg_managers.js One solution would be just to edit that file and replace ".png" with ".webp". This however would force you to use WebP for all of your images, including tilesets, system images, etc. I wanted a hybrid approach so that I could use both PNG and WebP files, so what I did was override the ImageManager.loadBitmap() method in a separate plugin, and added a bit of code to check if the PNG file exists. If the PNG doesn't exist, then it trys to load the file as .webp instead. Another unrelated change I made was to change RPG Maker's error handling of missing image files so that the game doesn't hard crash, but just loads a blank texture.
You must be registered to see the links
-------------------------------------------------------------------------------------
For (almost) maximum ZIP compression, use latest >>>
You must be registered to see the links
<<<With following options (click to enlarge):
I highlighted custom options with red (you must set them manually). Note, I suggest using n+1 threads for compression and rendering for better performance. Compression ratio will be unaffected.
NOTE: You can still use FileOptimizer for ZIP archives. 7-zip method described above is still quite fast and efficient.
-------------------------------------------------------------------------------------
You must be registered to see the links
- LOSSY tool for automatic Ren'Py game recompression.Do you have a text editor that shows line numbers like notepad ++ or Atom? If you do, edit the batch file line 75 and replace "-q 85" with "- lossless -q 100 -m 6 -exact". Then it will work lossless !
(leave like if you think this post is helpful)
Last edited: