compacting apk on renpy[SOLVED]
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
- beastcarving
- Regular
- Posts: 139
- Joined: Mon May 13, 2019 5:03 pm
- Completed: Pulse Cage https://beastcarving.itch.io/pulse-cage-the-full-series
- Projects: Your Brother's Religion
- Organization: BeastCarving Studio
- IRC Nick: BeastCarving
- Tumblr: beastcarving
- Deviantart: beastcarving
- Github: beastcarving
- itch: beastcarving
- Contact:
compacting apk on renpy[SOLVED]
Every time I build my APK it turns out to be 137mb and I only have about a 5 minute long test game on it. How do I get it down to maybe under 50mb at least or at least 70mb?
Last edited by beastcarving on Tue Jun 23, 2020 8:12 pm, edited 1 time in total.
Pulse Cage (full game) Your Brother's Religion (Demo)
PLAY HERE: https://beastcarving.itch.io/
Love my work: https://www.patreon.com/beastcarving
PLAY HERE: https://beastcarving.itch.io/
Love my work: https://www.patreon.com/beastcarving
- Remix
- Eileen-Class Veteran
- Posts: 1628
- Joined: Tue May 30, 2017 6:10 am
- Completed: None... yet (as I'm still looking for an artist)
- Projects: An un-named anime based trainer game
- Contact:
Re: compacting apk on renpy[HELP]
It has to include the Ren'Py codebase, Python, graphics and sound apis along with numerous other pieces of code. It needs those so it can run.
If you want to know the minimum filesize, maybe try creating an apk for a blank new project with just one line and no images. I seem to recall even that is over 110mb.
If you want to know the minimum filesize, maybe try creating an apk for a blank new project with just one line and no images. I seem to recall even that is over 110mb.
Frameworks & Scriptlets:
- Speech Bubble dialogue system
- Multiple Notify with ATL and history
- (WIP) Radial Masking - needs updating to use Shader
- 7.4 - Smooth Tinting using ATL and matrixcolor
- Several other repositories there too
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3791
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: compacting apk on renpy[HELP]
Nah, the minimum APK size I can get to is about 14MB.Remix wrote: ↑Mon Jun 22, 2020 7:19 am It has to include the Ren'Py codebase, Python, graphics and sound apis along with numerous other pieces of code. It needs those so it can run.
If you want to know the minimum filesize, maybe try creating an apk for a blank new project with just one line and no images. I seem to recall even that is over 110mb.
If you want a smaller game, consider compressing your images, optimising your filesizes and use video sparingly.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
- Remix
- Eileen-Class Veteran
- Posts: 1628
- Joined: Tue May 30, 2017 6:10 am
- Completed: None... yet (as I'm still looking for an artist)
- Projects: An un-named anime based trainer game
- Contact:
Re: compacting apk on renpy[HELP]
Dang, I was sure it was much larger... Probably should have tested before writing, oops
Frameworks & Scriptlets:
- Speech Bubble dialogue system
- Multiple Notify with ATL and history
- (WIP) Radial Masking - needs updating to use Shader
- 7.4 - Smooth Tinting using ATL and matrixcolor
- Several other repositories there too
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3791
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: compacting apk on renpy[HELP]
It used to be before the switch to Gradle.
Note that's the APK size I'm talking about, not the expanded install size, that's closer to 60MB
https://i.imgur.com/yRE9CCH.png
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
- beastcarving
- Regular
- Posts: 139
- Joined: Mon May 13, 2019 5:03 pm
- Completed: Pulse Cage https://beastcarving.itch.io/pulse-cage-the-full-series
- Projects: Your Brother's Religion
- Organization: BeastCarving Studio
- IRC Nick: BeastCarving
- Tumblr: beastcarving
- Deviantart: beastcarving
- Github: beastcarving
- itch: beastcarving
- Contact:
Re: compacting apk on renpy[HELP]
Compressing images did work. I got it down to 75mb with out changing the image quality. That's about as low as I could get it.
Pulse Cage (full game) Your Brother's Religion (Demo)
PLAY HERE: https://beastcarving.itch.io/
Love my work: https://www.patreon.com/beastcarving
PLAY HERE: https://beastcarving.itch.io/
Love my work: https://www.patreon.com/beastcarving
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3791
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: compacting apk on renpy[SOLVED]
To get a bit more, you can compose the images within renpy via Composite()
So for example, instead of using three images for a sprite, you could use one image for the base, and three smaller images for the facial expressions.
The trade off is you'll use more RAM, but its generally worth it.
Doing this also partially helps discourage copyright theft as the thieves must recompose the image themself if they extract it from your game.
So for example, instead of using three images for a sprite, you could use one image for the base, and three smaller images for the facial expressions.
The trade off is you'll use more RAM, but its generally worth it.
Doing this also partially helps discourage copyright theft as the thieves must recompose the image themself if they extract it from your game.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Who is online
Users browsing this forum: Ocelot