Tool Ren'Py Alternative/ Second save location for RenPy 7.8.7 / 8.3.7 SDK in Android Ports

estrada777

Forum Fanatic
Modder
Donor
Mar 22, 2020
4,551
10,930
Wills747

When I try to create an Android APK, I get this message.
What am I doing wrong ?
I use w11

Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "launcher/game/android.rpy", line 554, in script
    $ android_build(bundle=persistent.android_bundle, opendir=True)
  File "launcher/game/android.rpy", line 554, in <module>
    $ android_build(bundle=persistent.android_bundle, opendir=True)
  File "launcher/game/android.rpy", line 296, in android_build
    rapt.build.build(
  File "game/mobilebuild.rpy", line 198, in call
FileNotFoundError: [WinError 2] The system cannot find the specified file

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "launcher/game/front_page.rpyc", line 246, in script call
  File "launcher/game/android.rpy", line 554, in script
    $ android_build(bundle=persistent.android_bundle, opendir=True)
  File "C:\renpy-8.3.7-sdk\renpy\ast.py", line 834, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\renpy-8.3.7-sdk\renpy\python.py", line 1187, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "launcher/game/android.rpy", line 554, in <module>
    $ android_build(bundle=persistent.android_bundle, opendir=True)
  File "launcher/game/android.rpy", line 296, in android_build
    rapt.build.build(
  File "C:\renpy-8.3.7-sdk\rapt\buildlib\rapt\build.py", line 751, in build
    iface.call([ plat.gradlew, "-p", plat.path("project"), command ], cancel=True)
  File "game/mobilebuild.rpy", line 198, in call
  File "lib/python3.9/subprocess.py", line 951, in __init__
  File "lib/python3.9/subprocess.py", line 1420, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the specified file

Windows-10-10.0.26100 AMD64
Ren'Py 8.3.7.25031702
Ren'Py Launcher 8.3.7.25031702
Sun Apr  6 11:17:08 2025
It seems like it can't find a file, try reading through the words and taking a little time to digest the meanings.
 

Arthas Menethil

Well-Known Member
Apr 7, 2019
1,241
894
I solved it but I have another problem.

When I try to compile for the apk to download all the tools with the app "the question" I get failure.

I cannot download the tools in the rapt folder,

the one that weighs 2.5 gb.
 
Last edited:

Wills747

Engaged Member
Dec 14, 2018
2,594
5,554
I solved it but I have another problem.

When I try to compile for the apk to download all the tools with the app "the question" I get failure.

I cannot download the tools in the rapt folder,

the one that weighs 2.5 gb.
Are you using a VPN? Some will cause failures here.
 

kanuku

New Member
Oct 23, 2023
3
3
Hi Wills747 !

I have used some of your SDKs to create android ports for some games and they work great. Thank you very much for your work.

I am looking to create a port for version 8.3.6 and a rather old version 7.3.5. Do you have SDKs for these versions?

I will donate to you, I promise!
 

Wills747

Engaged Member
Dec 14, 2018
2,594
5,554
Hi Wills747 !

I have used some of your SDKs to create android ports for some games and they work great. Thank you very much for your work.

I am looking to create a port for version 8.3.6 and a rather old version 7.3.5. Do you have SDKs for these versions?

I will donate to you, I promise!
8.3.6 should be 8.3.7 compatible?
7.3.5 I still have somewhere, I've modified rapt to still work after bintray shut down but it's otherwise stock.
 

kanuku

New Member
Oct 23, 2023
3
3
8.3.6 should be 8.3.7 compatible?
Haven't tried it yet but let me see if it works.

7.3.5 I still have somewhere, I've modified rapt to still work after bintray shut down but it's otherwise stock.
I know this is quite old version, very few games still support it. But my customers really need games of this version. Do i have any test version of 7.3.5?
 

Wills747

Engaged Member
Dec 14, 2018
2,594
5,554
Haven't tried it yet but let me see if it works.


I know this is quite old version, very few games still support it. But my customers really need games of this version. Do i have any test version of 7.3.5?
Here's 7.3.5.
No Alternative Saves mod.
 
  • Heart
Reactions: kanuku

estrada777

Forum Fanatic
Modder
Donor
Mar 22, 2020
4,551
10,930
Haven't tried it yet but let me see if it works.


I know this is quite old version, very few games still support it. But my customers really need games of this version. Do i have any test version of 7.3.5?
Every game that I do with that old of an SDK gets an upgrade :)
 

Devil'sDad

Son of a...
Game Developer
Oct 14, 2017
204
1,686
Hello, first of all - great work! Using your solutions to keep my players' save data in place.

With the new update, I used your Renpy 8.3.7 SDK. And some of my players on android 15 (and 14 too I believe) got this message:
Unsafe app blocked

This app was built for an older version of Android and doesn't include the latest privacy protections.

Installing this app may put your device at risk. Learn more about Play Protect.
And while they can click "Install anyway" without problems, can this be solved on my end somehow? And do I understand right that this is due to targeting SDK29? Or is there something else I could have made a mistake about while installing the Renpy? Like installing SDK through Renpy itself after download, for example.
 

Wills747

Engaged Member
Dec 14, 2018
2,594
5,554
Hello, first of all - great work! Using your solutions to keep my players' save data in place.

With the new update, I used your Renpy 8.3.7 SDK. And some of my players on android 15 (and 14 too I believe) got this message:


And while they can click "Install anyway" without problems, can this be solved on my end somehow? And do I understand right that this is due to targeting SDK29? Or is there something else I could have made a mistake about while installing the Renpy? Like installing SDK through Renpy itself after download, for example.
Unfortunately I still have to target 29, anything newer is too restrictive. Although I haven't looked at the core mechanics for a while I doubt anything will change in Google's storage.
Android 16 will likely be more of the same.
 
  • Like
Reactions: Devil'sDad

Devil'sDad

Son of a...
Game Developer
Oct 14, 2017
204
1,686
Unfortunately I still have to target 29, anything newer is too restrictive. Although I haven't looked at the core mechanics for a while I doubt anything will change in Google's storage.
Android 16 will likely be more of the same.
Seems like I was wrong, it's not about android version because the person with android 12 got the same message, while the other with 15 didn't. It's something about specific android firmwares. For now, error was only on Xiaomi phones, so it breaks my theory about SDK target version.
 

Wills747

Engaged Member
Dec 14, 2018
2,594
5,554
Seems like I was wrong, it's not about android version because the person with android 12 got the same message, while the other with 15 didn't. It's something about specific android firmwares. For now, error was only on Xiaomi phones, so it breaks my theory about SDK target version.
Play Protect is updated independent of Android version and it's more to do with the age of SDK29
Play Protect pretty much follows similar rules as Google play store apps. For more info
 

estrada777

Forum Fanatic
Modder
Donor
Mar 22, 2020
4,551
10,930
Seems like I was wrong, it's not about android version because the person with android 12 got the same message, while the other with 15 didn't. It's something about specific android firmwares. For now, error was only on Xiaomi phones, so it breaks my theory about SDK target version.
I believe if we adhere to the new standards, then we lose the ability to write to the external directories. They got really super restrictive about what can access files outside the app's local storage.
 
Aug 29, 2020
176
816
Can you get some old, please?
I need more of the 745, 7.4.11, 744, and 746.
But if you have any extras and can send them, I would be very grateful.
 
Last edited:
Aug 29, 2020
176
816
I have a doubt in 7.4.11, although I read the instructions, there are three options for saving Single
'I will number the end of the masses to make it more noticeable.'
1750952641496.png 1750952641496.png
 

Wills747

Engaged Member
Dec 14, 2018
2,594
5,554
Can you get some old, please?
I need more of the 745, 7.4.11, 744, and 746.
But if you have any extras and can send them, I would be very grateful.
What is the RenPy version of the game you're trying to port?
Have you tried 7.5.0.242n? If this errors out 7.4.11 is unlikely to work as well. Look up the history of incompatible changes for RenPy, often there are switches you can use to revert behaviours.
 
Aug 29, 2020
176
816
I have a doubt in 7.4.11, although I read the instructions, there are three options for saving Single
'I will number the end of the masses to make it more noticeable.'
View attachment 4983183
What is the RenPy version of the game you're trying to port?
Have you tried 7.5.0.242n? If this errors out 7.4.11 is unlikely to work as well. Look up the history of incompatible changes for RenPy, often there are switches you can use to revert behaviours.
It was 7.4.11, I managed to do it.

But will it work with 7.4.5/6?



What about this image?

I don't understand the three options. What are dual and single?

Dual would be in two locations? While single would be only one?
 

Wills747

Engaged Member
Dec 14, 2018
2,594
5,554
It was 7.4.11, I managed to do it.

But will it work with 7.4.5/6?



What about this image?

I don't understand the three options. What are dual and single?

Dual would be in two locations? While single would be only one?
Single was only alternative saves folder, dual included the original android/data folder.
Dual is the behaviour going forwards.
7.5.0.242n is a nightly and much more backwards compatible than the 7.5 released.
I've also back ported a number of newer features into it and it contains fixes for Android that 7.4.11 never will.
 
  • Like
Reactions: Derek Lamperouge