- May 22, 2017
- 3,449
- 9,041
- 748
It looks like you didn't understand what I said. If you convert files from png or jpg to webp while keeping the original file extensions, then there is no need to change any script files.@Penfold Mole yes and no for this game.When you convert all the pictures then you must change in 2-3 scipts files a few thinks because there is written .png or .jpg and that cause errors in the game.For example: If i remember when the game starts and the mc stands in front from the house.Or for the animation: The scene with Adelle in the living room.
For example, let's say there's a normal png file named "building.png": "building" is the name, "png" is the extension and its compression is png.
Now, right before publishing the game, you get a batch converter to convert all png images to webp, but you do not change the file extension to webp on any of the files. The result is not a webp file named "building.webp", but a file named "building.png" that has webp compression. The compression and extension do not match.
Windows explorer, windows image viewer and some windows-based content-unaware programs will not be able to open this kind of image file, not before you change its extension to webp.
Ren'Py is content-aware as non-windows software has been for ages and it doesn't give a shit about the wrong extension. It looks at the file header, recognizes webp and opens it as a completely normal webp file.
Get it? If you don't change file names nor extensions, you don't have to change any script files in any way.