Methods to minimize file size
Forum rules
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
- akareed
- Regular
- Posts: 41
- Joined: Tue Jun 30, 2015 7:20 am
- Projects: Noted @ website
- Location: Canada
- Contact:
Methods to minimize file size
I'm actually quite confused on where to put this, crossing fingers this would be the best section to post it under.
I do have some questions regarding your game's file size and such.
1. What are some methods you use to reduce the game's final size? (If you do any at all)
2. Do players care about this at all? Will they pass a game just because the file size is too big?
Wow, I actually had more questions than I thought. What are you guys' opinions about these?
Right now I don't do anything but put all my images through a compressor app called ImageOptim.
As a player, I don't usually look at its size.
I do have some questions regarding your game's file size and such.
1. What are some methods you use to reduce the game's final size? (If you do any at all)
2. Do players care about this at all? Will they pass a game just because the file size is too big?
Wow, I actually had more questions than I thought. What are you guys' opinions about these?
Right now I don't do anything but put all my images through a compressor app called ImageOptim.
As a player, I don't usually look at its size.
↓ check out gallery and projects I've worked on with fellow creators! ↓
Need some graphics for your game?
Need some graphics for your game?
Re: Methods to minimize file size
I avoid using bmp and png files where I can, and use jpg files instead.
On video files I use MP4. For sound I avoid wav files and use mp3.
Also on music tracks, instead of playing a 60 second piece of music, I'll try to find a 10 second piece and loop it.
On video files I use MP4. For sound I avoid wav files and use mp3.
Also on music tracks, instead of playing a 60 second piece of music, I'll try to find a 10 second piece and loop it.
Some of my visual novels are at http://www.the-new-lagoon.com. They are NSFW
Poorly done hand-drawn art is still poorly done art. Be a Poser (or better yet, use DAZ Studio 3D) - dare to be different.
Poorly done hand-drawn art is still poorly done art. Be a Poser (or better yet, use DAZ Studio 3D) - dare to be different.
- Katta
- Veteran
- Posts: 499
- Joined: Sat May 04, 2013 11:18 am
- Tumblr: gamesbykatta
- Deviantart: katjama
- Contact:
Re: Methods to minimize file size
I've seen a recommendation to use .ogg files instead of mp3 and they really are smaller. Personally I don't care much about the file size but people in some countries still do.
- Fuseblower
- Regular
- Posts: 189
- Joined: Sat Jan 16, 2016 6:01 pm
- Projects: Mall Macabre, Slushball Slasher, Doomed Diner, Tenkeiteki Tokyo
- itch: fuseblower
- Location: Netherlands
- Contact:
Re: Methods to minimize file size
Well, one thing you could do is combine jpeg and png images. Jpeg typically gives better compression but it doesn't have an alpha mask. So, you could put the mask on its own in a png file and combine it with the jpeg that contains the colors. The mask will compress just fine in png format since it's mostly composed of 0's and 255's anyway. Of course, jpeg is a "lossy format" so the better compression comes at the cost of a bit of loss in the quality (normally hardly an issue).
A quick search in the renpy documentation showed the function "AlphaMask()" but I don't have any experience with it since I'm just starting out with renpy. I don't know whether there are any performance issues with it or not.
Players might not look to the file size but hosting sites might. Sites like "Kongregate", for example, have a 50MB limit (although Kongregate doesn't host renpy games as far as I know
A quick search in the renpy documentation showed the function "AlphaMask()" but I don't have any experience with it since I'm just starting out with renpy. I don't know whether there are any performance issues with it or not.
Players might not look to the file size but hosting sites might. Sites like "Kongregate", for example, have a 50MB limit (although Kongregate doesn't host renpy games as far as I know
- YonYonYon
- Veteran
- Posts: 371
- Joined: Sun Jul 11, 2010 9:25 am
- Projects: Nightflower(Frozen), Reach the Starlight(WIP)
- Contact:
Re: Methods to minimize file size
You can try PNGGauntlet to compress your .png files https://pnggauntlet.com/
Works best with sprites than BGs and CGs, for these, it is better to use .jpg format
Works best with sprites than BGs and CGs, for these, it is better to use .jpg format
- MoonByte
- Regular
- Posts: 173
- Joined: Thu Mar 24, 2016 9:18 pm
- Completed: Shine (RPG Maker), Heroes (RPG Maker), Lantern Bearer (RPG Maker), Loop the Loop (Unity), Other Stars (Unreal), Sky Eye (RPG Maker), WIN Delivery & Fateful (Ren'Py)
- Projects: Weird Is Normal (Ren'Py)
- Location: Germany
- Contact:
Re: Methods to minimize file size
What usually is the big overkill are sound and music files.
Keep them small and in file types that don't just eat double as much as necessary. Most of the time, you will find that even all image folders combined (UI, sprites, backgrounds, CGs) are at most only a quarter of the game size with the rest being the music. If you want top quality images, then always first try and see if you really need a 3 minute song in .wav
Keep them small and in file types that don't just eat double as much as necessary. Most of the time, you will find that even all image folders combined (UI, sprites, backgrounds, CGs) are at most only a quarter of the game size with the rest being the music. If you want top quality images, then always first try and see if you really need a 3 minute song in .wav
- akareed
- Regular
- Posts: 41
- Joined: Tue Jun 30, 2015 7:20 am
- Projects: Noted @ website
- Location: Canada
- Contact:
Re: Methods to minimize file size
Thank you for all the replies/suggestions so far! I'll still have to take some time to check and see what will work best for me but these are all helpful tips. :wink"
↓ check out gallery and projects I've worked on with fellow creators! ↓
Need some graphics for your game?
Need some graphics for your game?
-
- Lemma-Class Veteran
- Posts: 2299
- Joined: Mon Feb 06, 2012 9:50 pm
- Completed: Icebound, Selenon Rising Ep. 1-2
- Projects: Selenon Rising Ep. 3-4
- Organization: Fastermind Games
- Deviantart: sundownkid
- Location: NYC
- Contact:
Re: Methods to minimize file size
Use an online PNG compressor to reduce file size of images
Convert all music to .ogg (.mp3 would also be suitable, but it's a copyrighted file format and is illegal to sell games without paying a licensing fee)
Of course, players probably wont care THAT much, but it's helpful to your players who have slow internet.
Convert all music to .ogg (.mp3 would also be suitable, but it's a copyrighted file format and is illegal to sell games without paying a licensing fee)
Of course, players probably wont care THAT much, but it's helpful to your players who have slow internet.
-
- The Great Organizer
- Posts: 411
- Joined: Fri Apr 18, 2014 5:26 pm
- Github: nualte
- itch: alte
- Contact:
Re: Methods to minimize file size
1. Alternate method for reducing image file size could be through WEBP format.
I interpret the second question as: What does the players expect from a game with a large file size?akareed wrote:2. Do players care about this at all? Will they pass a game just because the file size is too big?
Who is online
Users browsing this forum: No registered users