Alternative/ Second save location for RenPy 7.7.3 / 8.2.3 SDK in Android Ports

Wills747

Game Modder
Game Porter
Game Compressor
Registered
Lewd
Joined
Nov 16, 2022
Threads
2
Messages
5
Reaction score
1
LC COIN
39
Hi all, I have made a package that will enable alternative or second saves in Android ports done on RenPy, currently 7.7.3 and 8.2.3

Based in part on the work done by Naidin and second save mod by DarkAssassin

Recommended Install RenPy 8.2.3/7.7.3/7.5.0.242n pre packaged below.
Bare files are provided as well including optional build naming. If you want to keep track of APK versions this is the easiest way.
- best to apply them before starting RenPy.

Optionally open all the .py and .rpy files and replace "RenPy_Saves" with a folder name of your choice(i.e. Wills747 ;) )
Hope this all makes sense.

By default saves will be in "Documents/RenPy_Saves/"
Also creates "Documents/RenPy_Saves/game.name.here/game" folder. This is now the default search path and mods or update files can be added there in the device.

RenPy 8.3.2/7.8.2 Release
Removed "sync" folder - now uses Android/data/game.name.here/files/saves folder instead.
Included the import of 0x52_URM.rpa from documents
Removed import of GL2_on.rpy from documents(obsolete)
Fixed delete bug
NOTE:
As a temprary measure I'm using SDK35 to build but still targeting SDK29

RenPy 8.2.3/7.7.3 Release
No changes aside from RenPy source
RenPy 8.2.1/7.7.1 Release
Will import config.version every time you run "Configure" from Android tab in RenPy SDK
Allow letters/names/numbers in version
Removed the horrible "seconds since 01/01/1970" versionCode from name
Corrected handling of Ren'Py android downloader (Thanks to lent1_andrealphusgames) (I still haven't tested this aspect)

RenPy 8.2.0/7.7.0 Release
No changes aside from RenPy source, and that was a fair bit this time.
Note: You will need JDK21 for this one, Oracle or OpenJDK seem to work just as well.

RenPy 8.1.3/7.6.3 Release
No changes aside from RenPy source
RenPy 8.1.2/7.6.2 Release
Minor fix in keystore placement for if the game's root folder is deleted/moved after apk built and before continue to Launcher's Android screen

RenPy 8.1.0/7.6.0 Release
Added back in default saves location (thanks estrada777 )
Added function to copy file (GL2_on.rpy) from documents folder(if exists) to game folder pre load. (useful for PowerVR devices, may break videos on others)
(Attached exmple file)
Added autocopy android.keystore/bundle.keystore from rapt to game's project folder(if it doesn't exist in project folder already)
log.txt will now show:
Alternative_Saves_Android_Port
Manufacturer/ Model (standard)
Android Version
Device Architecture
Maybe a few other things I've forgotten.

RenPy 8.0.3/7.5.3 Release
Updated 3/12/22 - Version compatability for Android 5 - 13

RenPy 7.5.0.242n Nightly
Yes it's older but relatively bug free
Backport Android clean and tmp file cleanup.
RenPy changes listed in github, notably some games not going full screen either on start or after task switch.

Current:
RenPy 8.3.2 Includes rapt and ready to go



RenPy 8.3.2 Bare files pack


RenPy 7.8.2 Includes rapt and ready to go


RenPy 7.8.2 Bare Files Pack


Older Files:

RenPy 7.5.0.242n
(Nightly) install Incl rapt with Single Alternative Save ready to go:

Bare files needed for 7.5.0.242n and optional build output naming:


(Some older versions back to 7.4.5 are available on request but typically won't be supported)
 
Last edited:
  • Thinking
  • Heart
Reactions: 2 users
Updated for RenPy 7.7.3/8.2.3
 
Thanks for the code wills ❤️ . This worked perfectly when I created my port.
I have a question - My port crashes until files and media permission is given. In your and The66's ports, I have seen that the permission box/settings opens automatically instead of app crashing.

Could you tell me what might solve this? If I have to guess it is adding an exception for access to folder the app is trying to access but not sure.

Edit: Did some research, lil bit coding & testing and got the prompt for Permission working before launching the game. Thanks <3
 
Last edited:
RenPy 8.3.2/7.8.2 Release
Removed "sync" folder - now uses Android/data/game.name.here/files/saves folder instead.
Included the import of 0x52_URM.rpa from documents
Removed import of GL2_on.rpy from documents(obsolete)
Fixed delete bug
NOTE:
As a temprary measure I'm using SDK35 to build but still targeting SDK29
 
Back
Top Bottom