Tool Ren'Py Alternative/ Second save location for RenPy 7.8.2 / 8.3.2 SDK in Android Ports

Wills747

Engaged Member
Dec 14, 2018
2,450
5,141
Hello! And in which files should I replace "RenPy_Saves" with its own name?
Easiest way is to grab the bare files pack, open all "*.py" in something like Notepad++. Alt-R and replace RenPy_Saves with custom (usually username/handle) in all opened documents. Save and copy into RenPySDK folder.
If you're using the URM import, you'll have to do this one as well but do it last as it supercedes the bare files pack.
 
  • Like
Reactions: 7rty

7rty

Newbie
Sep 3, 2017
31
23
Wow, 197 *.py files found! I think I'll leave it as it is, so as not to break what works.
I'm using version 8.2.1 works fine, has anyone tried version 8.2.3 yet?
 

Wills747

Engaged Member
Dec 14, 2018
2,450
5,141
Wow, 197 *.py files found! I think I'll leave it as it is, so as not to break what works.
I'm using version 8.2.1 works fine, has anyone tried version 8.2.3 yet?
I think there's a few less than that in the bare files pack
 

DANNY1993

Newbie
Oct 30, 2022
24
54
Hello, good evening to those in the community, I have a problem with the renpy-8.2.3-sdk version, I downloaded it and wanted to install the dsk components for Android, but I get this message.
Captura de pantalla 2024-06-27 173131.png
I installed the latest version of the SDK, I had version 21 installed and I installed version 22, but I still get the same message and rectify that I have it installed on my system
Captura de pantalla 2024-06-27 184513.png
I tried to go back to the previous version that did work for me, but I get a different error, someone would be so kind to help me with the problem, I'm on Windows 10 if you're wondering, and thank you in advance for having had the time to understand my question.
 

estrada777

Engaged Member
Modder
Donor
Mar 22, 2020
3,965
9,753
Hello, good evening to those in the community, I have a problem with the renpy-8.2.3-sdk version, I downloaded it and wanted to install the dsk components for Android, but I get this message.
View attachment 3776991
I installed the latest version of the SDK, I had version 21 installed and I installed version 22, but I still get the same message and rectify that I have it installed on my system
View attachment 3776997
I tried to go back to the previous version that did work for me, but I get a different error, someone would be so kind to help me with the problem, I'm on Windows 10 if you're wondering, and thank you in advance for having had the time to understand my question.
Java versions are a pain in the ass. Try setting the JAVA_HOME directory.
 

Mikiraus

Newbie
Game Developer
May 27, 2017
98
29
Hi, everything works fine, only during the installation of the APK file Google Play Protect blocks the installation as an unsafe file due to the build being made for an older version of Android. I am using RenPy 8.2.3 Includes rapt and ready to go. Builds from clean version 8.2.3 install without this warning. Is there any fix for this? Or is there no way to avoid this?
 
  • Like
Reactions: 7rty

Wills747

Engaged Member
Dec 14, 2018
2,450
5,141
Hi, everything works fine, only during the installation of the APK file Google Play Protect blocks the installation as an unsafe file due to the build being made for an older version of Android. I am using RenPy 8.2.3 Includes rapt and ready to go. Builds from clean version 8.2.3 install without this warning. Is there any fix for this? Or is there no way to avoid this?
It's because I'm targeting API 29 for legacy storage permission in android 10 and under. Targeting api33 will work for Android 10(if opted into scoped storage by device manufacturer) and newer.
Seems Google Play protect is now warning if target API is 2 versions lower than the platform.
It's a warning that can be safely ignored for now until I find a work around that doesn't involve dropping support for older Android versions.
 
  • Like
Reactions: 7rty and Mikiraus

Mikiraus

Newbie
Game Developer
May 27, 2017
98
29
It's because I'm targeting API 29 for legacy storage permission in android 10 and under. Targeting api33 will work for Android 10(if opted into scoped storage by device manufacturer) and newer.
Seems Google Play protect is now warning if target API is 2 versions lower than the platform.
It's a warning that can be safely ignored for now until I find a work around that doesn't involve dropping support for older Android versions.
Okay, thanks for the explanation.
 

estrada777

Engaged Member
Modder
Donor
Mar 22, 2020
3,965
9,753
It's because I'm targeting API 29 for legacy storage permission in android 10 and under. Targeting api33 will work for Android 10(if opted into scoped storage by device manufacturer) and newer.
Seems Google Play protect is now warning if target API is 2 versions lower than the platform.
It's a warning that can be safely ignored for now until I find a work around that doesn't involve dropping support for older Android versions.
There's so many people out there with old phones.
 

Wills747

Engaged Member
Dec 14, 2018
2,450
5,141
Anyone out there able to test this on :
A) devices that have the google play "made for older version" warning
B) Anyone who has the Android 15 beta installed. (I suspect Android 15 will show the same warning)

 
  • Like
Reactions: Dark563

Mendoza1053

New Member
Nov 6, 2023
5
3
Hello, does anyone know how I can change where the saves are stored? Since I went to the Renpy.py folder and changed the lines of code from "/documents/Ren'Py Saves" to another of my preference, but something happens, and it still makes the "/document/ folder Ren'Py Saves" means that it literally sends me the save folders in both folders, both the "Ren'Py Saves" one and the one of my choice. Could someone help me and tell me what to change specifically so that I can change it so that it doesn't happen like that anymore? I would greatly appreciate it....
 

Dark563

Member
Aug 18, 2020
117
147
Anyone out there able to test this on :
A) devices that have the google play "made for older version" warning
B) Anyone who has the Android 15 beta installed. (I suspect Android 15 will show the same warning)

I already tried it, only the signature not recognized message appears, the message from the old version of Android does not
 
  • Like
Reactions: 7rty

7rty

Newbie
Sep 3, 2017
31
23
Hello, does anyone know how I can change where the saves are stored? Since I went to the Renpy.py folder and changed the lines of code from "/documents/Ren'Py Saves" to another of my preference, but something happens, and it still makes the "/document/ folder Ren'Py Saves" means that it literally sends me the save folders in both folders, both the "Ren'Py Saves" one and the one of my choice. Could someone help me and tell me what to change specifically so that I can change it so that it doesn't happen like that anymore? I would greatly appreciate it....
2024-07-06_16-23-20.png With a search, I was able to identify 5 files where fixes need to be made.
 

ArunPrime

Member
Nov 5, 2022
292
442
Hi there, I'm using Ren'Py 7.5.0.242n (Nightly). previously i don't see any problems to port. But now i can't port any application.
There is a error while running (Added traceback file).

Another one, I'm ported but the app can't open in android. Also there is a error (added log file).
Exception: Could not load image u'gui/window_icon.png': error(u'Unsupported image format',)

Anyone know why I'm seeing this now?
 

Wills747

Engaged Member
Dec 14, 2018
2,450
5,141
Hi there, I'm using Ren'Py 7.5.0.242n (Nightly). previously i don't see any problems to port. But now i can't port any application.
There is a error while running (Added traceback file).

Another one, I'm ported but the app can't open in android. Also there is a error (added log file).
Exception: Could not load image u'gui/window_icon.png': error(u'Unsupported image format',)

Anyone know why I'm seeing this now?
You should not use 7.5.0.242n to build a 8.0.1 game
What are you using to compress? Is it converting to avif? avif is unsupported in older RenPy - this is one possible scenario.
 

ArunPrime

Member
Nov 5, 2022
292
442
You should not use 7.5.0.242n to build a 8.0.1 game
What are you using to compress? Is it converting to avif? avif is unsupported in older RenPy - this is one possible scenario.
Thanks for answering.
I'm using this version because of the sync, security keys and temp cleanup. That's why I'm still using this.
And I'm not compressing any files at the moment.
Wills747 could you suggest other version like this one.
 
Last edited:

Wills747

Engaged Member
Dec 14, 2018
2,450
5,141
Thanks for answering.
I'm using this version because of the sync, security keys and temp cleanup. That's why I'm still using this.
And I'm not compressing any files at the moment.
Wills747 could you suggest other version like this one.
Can you open one of the PNG files causing the error and see what file type it is? (Something like Irfanview will do)
Alternatively, open it in a text editor and check the file header that way.
 

ArunPrime

Member
Nov 5, 2022
292
442
Can you open one of the PNG files causing the error and see what file type it is? (Something like Irfanview will do)
Alternatively, open it in a text editor and check the file header that way.
I think I'm tried 2nd option. I'm changed manually in android/phone and created (game/gui/'windows_icon.png') it's opened with errors. I'm ignored and continue...
In the game scripts continuing but images not showing errors like
Exception: Could not load image u'image01.png': error(u'Unsupported image format')
 

Wills747

Engaged Member
Dec 14, 2018
2,450
5,141
I think I'm tried 2nd option. I'm changed manually in android/phone and created (game/gui/'windows_icon.png') it's opened with errors. I'm ignored and continue...
In the game scripts continuing but images not showing errors like
Exception: Could not load image u'image01.png': error(u'Unsupported image format')
No, if you want to do it in android, change the extension to .txt, open it and post the top line.