Renpy 'game' folder location in Android

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
Renpapi
Newbie
Posts: 2
Joined: Sat Jul 23, 2022 1:54 pm
Contact:

Renpy 'game' folder location in Android

#1 Post by Renpapi » Sat Jul 23, 2022 2:08 pm

Just as we can see the folder called 'game' alongside 'renpy' and 'lib' folder in a desktop game directory where is the 'game' folder located in android? I can see the 'renpy' and 'lib' folder at: /data/data/*game.name*/files but can't find the 'game' folder there. Does it exists in android and if no then where can I find those files? Thank you!


Operating System: Android 12
Root Status: Available via Magisk

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3636
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: Renpy 'game' folder location in Android

#2 Post by Imperf3kt » Sat Jul 23, 2022 4:40 pm

Games and apps are installed in ..*\android\data\com.yourgame

You cannot access the folders via this like regular though due to the way Android security works.

Why do you need access to those folders? There may be an alternative you can use.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor
Free Android GUI - Updated occasionally
Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py

Renpapi
Newbie
Posts: 2
Joined: Sat Jul 23, 2022 1:54 pm
Contact:

Re: Renpy 'game' folder location in Android

#3 Post by Renpapi » Sun Jul 24, 2022 5:49 am

What alternative way you're suggesting?

A screenshot of the following path below:
/storage/emulated/0/Android/data/*game.name*/files

Image


(I'm just trying to modify and add some files there. Just like I can in my desktop without any hassle)

User avatar
Ocelot
Eileen-Class Veteran
Posts: 1883
Joined: Tue Aug 23, 2016 10:35 am
Github: MiiNiPaa
Discord: MiiNiPaa#4384
Contact:

Re: Renpy 'game' folder location in Android

#4 Post by Ocelot » Mon Jul 25, 2022 10:29 am

Renpapi wrote:
Sun Jul 24, 2022 5:49 am
(I'm just trying to modify and add some files there. Just like I can in my desktop system with serious security issues without any hassle)
FTFY

If you intend to distribute your game, end users might install it into default loation (Program Files) and then your game will stop working, because noramlly applications do not have write access to Program Files.

Ability to write almost anywhere is a relic of old days. Newer OS, which do not have to bear burden of backward compatibility, do not have that. So, you will need to seek alternatives. Even unauthorised ports of DDLC on Android use alternatives to its file-messing mechanics.
< < insert Rick Cook quote here > >

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], minyan