CREATE YOUR AI CUM SLUT ON CANDY.AI TRY FOR FREE
x

Tool Ren'Py Alternative/ Second save location for RenPy 7.8.4 / 8.3.4 SDK in Android Ports

Tidus Black

Newbie
Dec 20, 2021
41
46
Good morning, good afternoon or good evening, I don't know if this has already been asked, but I would like to know if it is possible to do 2 things:
1- In RenPy 7.5 and 7.6 the save folder is RenPy-Saves and in the others it is RenPy_Saves. I would like to know how I can make them the same.

2- Do you know if it is possible to change the location of an apk and it works like this mod?
I thank you in advance for your understanding.
I apologize for any typos, as I am speaking via Google Translate.
 

Wills747

Engaged Member
Dec 14, 2018
2,494
5,218
Good morning, good afternoon or good evening, I don't know if this has already been asked, but I would like to know if it is possible to do 2 things:
1- In RenPy 7.5 and 7.6 the save folder is RenPy-Saves and in the others it is RenPy_Saves. I would like to know how I can make them the same.

2- Do you know if it is possible to change the location of an apk and it works like this mod?
I thank you in advance for your understanding.
I apologize for any typos, as I am speaking via Google Translate.
1) Download the Bare files pack and extract. Windows search inside for "*.py" and open all in editor. Find and replace RenPy_Saves with whatever sub Documents folder name you want.
2) You can't change the Apk locations, this is handled by the Android installer. I say locations because if you're updating an app, while it's installing it's using 2 folders.

If you're using a phone with minimal internal storage you can set the install location to SD card but this will only affect the "android/data/game.name.here" and the "Documens/RenPy_Saves/game.name.here" folders.
This is only going to save a lot of phone space if you also use RPA files.
 
  • Like
Reactions: Tidus Black

Tidus Black

Newbie
Dec 20, 2021
41
46
1) Download the Bare files pack and extract. Windows search inside for "*.py" and open all in editor. Find and replace RenPy_Saves with whatever sub Documents folder name you want.
2) You can't change the Apk locations, this is handled by the Android installer. I say locations because if you're updating an app, while it's installing it's using 2 folders.

If you're using a phone with minimal internal storage you can set the install location to SD card but this will only affect the "android/data/game.name.here" and the "Documens/RenPy_Saves/game.name.here" folders.
This is only going to save a lot of phone space if you also use RPA files.
Thank you very much, I managed to unify the folders here.
 

Mikiraus

Member
Game Developer
May 27, 2017
102
30
Hello, I am looking for the possibility of creating Android builds larger than 2GB. I was able to build a 2.48GB project on version 8.2.3 from this page. But now it is 2.51 GB, and the build ends unsuccessfully both on version 8.2.3 and on the new version 8.3.2.

You don't have permission to view the spoiler content. Log in or register now.


Is there any modification to increase the build size? Or maybe I'm doing something wrong?
 

Wills747

Engaged Member
Dec 14, 2018
2,494
5,218
Hello, I am looking for the possibility of creating Android builds larger than 2GB. I was able to build a 2.48GB project on version 8.2.3 from this page. But now it is 2.51 GB, and the build ends unsuccessfully both on version 8.2.3 and on the new version 8.3.2.

You don't have permission to view the spoiler content. Log in or register now.


Is there any modification to increase the build size? Or maybe I'm doing something wrong?
Typically 2Gb is the limit for a single Apk, you must have got lucky before, over this the build typically fails or the Apk won't be signed.
My work around is to use Alternative Compressor to create archive.rpa from all the media files (excluding gui folder)
Then once the Apk is installed and run once archive.rpa can be placed in your "Documents/RenPy_Saves/game.name.here/game" folder.
You can also reuse archive.rpa to minimise the size of the next releases Android Apk by using Alternative Compressor's Update functions.
 

Mikiraus

Member
Game Developer
May 27, 2017
102
30
Typically 2Gb is the limit for a single Apk, you must have got lucky before, over this the build typically fails or the Apk won't be signed.
My work around is to use Alternative Compressor to create archive.rpa from all the media files (excluding gui folder)
Then once the Apk is installed and run once archive.rpa can be placed in your "Documents/RenPy_Saves/game.name.here/game" folder.
You can also reuse archive.rpa to minimise the size of the next releases Android Apk by using Alternative Compressor's Update functions.
Thank you so much! I will definitely try this option.
 

Wills747

Engaged Member
Dec 14, 2018
2,494
5,218
Are the files from version 7.8.2 and 8.3.2 suitable for the new versions 7.8.3 and 8.3.3?
I would advise against it. Even if it does work, you could be undoing fixes and introducing bugs that don't show up immediately.
I'll take a look at it this weekend, waiting for storage and RAM to be delivered. (Ongoing disk array issues and a bad memory address)
 
  • Like
Reactions: Dark563

Mikiraus

Member
Game Developer
May 27, 2017
102
30
I'll take a look at it this weekend, waiting for storage and RAM to be delivered. (Ongoing disk array issues and a bad memory address)
Could this be causing a problem with the increased size of the APK file? I compressed the game with Another Compressor, and the project size is now less than 2GB. However, when I made a build through a modified RenPy from here, the APK file was twice as big as the project (3.2GB). The same result was both on the 8.2.3 and 8.3.2 versions. The 8.2.3 version of the regular RenPy build results in the correct size (1.6 GB). I've had this before, but after clearing the tmp folder in Rapt and using the Android cleanup feature in RenPy, this problem was gone. But now, even that doesn't help. Perhaps there is something else that could be causing this problem?
 

Wills747

Engaged Member
Dec 14, 2018
2,494
5,218
Could this be causing a problem with the increased size of the APK file? I compressed the game with Another Compressor, and the project size is now less than 2GB. However, when I made a build through a modified RenPy from here, the APK file was twice as big as the project (3.2GB). The same result was both on the 8.2.3 and 8.3.2 versions. The 8.2.3 version of the regular RenPy build results in the correct size (1.6 GB). I've had this before, but after clearing the tmp folder in Rapt and using the Android cleanup feature in RenPy, this problem was gone. But now, even that doesn't help. Perhaps there is something else that could be causing this problem?
No idea why it is doubling the size, I've not struck that before. Try extracting the larger Apk file and check what's in the x-game folder or if nothing is obvious extract both versions and compare the whole contents.
Treesize free or similar will help you look at the differences.
 

Mikiraus

Member
Game Developer
May 27, 2017
102
30
No idea why it is doubling the size, I've not struck that before. Try extracting the larger Apk file and check what's in the x-game folder or if nothing is obvious extract both versions and compare the whole contents.
Treesize free or similar will help you look at the differences.
Thanks, I found that there are two folders, game and x-game, in the larger APK file. While cleaning up temporary files, I had an error with x-game in the rapt folder due to the length of the file names, so I thought that was the double size issue as well. I fixed it by moving RenPy and the project folder to the root folder of the C drive to reduce the file path length, and the build was completed successfully with the correct file size. It turned out to be a bit of a silly problem, but thank you for your help. Maybe someone else will have the same trouble, so I hope this case will help
 
  • Like
Reactions: Wills747

Tidus Black

Newbie
Dec 20, 2021
41
46
Good morning, good afternoon or good evening, I apologize because the error is not from the Alternative SDK, but rather in general when generating the apk in sdk 8.3.3 I am having this error in the attached file.
I apologize in advance for the inconvenience.
 

Wills747

Engaged Member
Dec 14, 2018
2,494
5,218
Good morning, good afternoon or good evening, I apologize because the error is not from the Alternative SDK, but rather in general when generating the apk in sdk 8.3.3 I am having this error in the attached file.
I apologize in advance for the inconvenience.
Is there an errors.txt file?
Depending on the actual error you could either fix it or roll back to an earlier RenPy version or use the 7.x.x branch.
There's an update to 8.3.4 that came out fairly quickly, I'll look at that this weekend.
 

Tidus Black

Newbie
Dec 20, 2021
41
46
I managed to solve it by disabling the antivirus and changing the JDK options. After doing this once, you can enable the antivirus and it will always work.
I recommend changing the JDK (hotspot) options and enabling all of them with the antivirus disabled. After doing this, leave options 1, 2 and 4 enabled and both 7.5 and 8.3 will work without error.
That's how I managed to solve my error.
The link to the javas and jdk that I use to generate apks in both 7.5 and 8.3