Page 1 of 1

Renpy 'game' folder location in Android

Posted: Sat Jul 23, 2022 2:08 pm
by Renpapi
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

Re: Renpy 'game' folder location in Android

Posted: Sat Jul 23, 2022 4:40 pm
by Imperf3kt
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.

Re: Renpy 'game' folder location in Android

Posted: Sun Jul 24, 2022 5:49 am
by Renpapi
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)

Re: Renpy 'game' folder location in Android

Posted: Mon Jul 25, 2022 10:29 am
by Ocelot
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.