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

ArunPrime

Member
Nov 5, 2022
270
397
Open it with a text editor.
ftypavifavifmif1miaf�meta!hdlrpictpitm4ilocD@���8iinfinfeav01infeav01�iprp�ipcocolrnclx
�av1C�ispe��pixi8auxCurn:mpeg:mpegB:cicp:systems:auxiliary:alphaav1C�ispe��pixiipma���irefauxl
�mdat
�~XT2�`@P�?^j!Q����d�s�L��(ƨ�o3Ն�(�[���GC�� &�����l$,a�{�����I4v�Ê�!v��T��[����j�5���o(%�4���� �����}.~��[L1�R��pu�I��b2΍�����}���ӆ~=��ɨ6���>_��]�K�H��-ӷoC��x�O!T�Ak�2s���EW�����^�d�ù5��P]���6��9���A
 

Wills747

Engaged Member
Dec 14, 2018
2,402
5,018
ftypavifavifmif1miaf�meta!hdlrpictpitm4ilocD@���8iinfinfeav01infeav01�iprp�ipcocolrnclx
�av1C�ispe��pixi8auxCurn:mpeg:mpegB:cicp:systems:auxiliary:alphaav1C�ispe��pixiipma���irefauxl
�mdat
�~XT2�`@P�?^j!Q����d�s�L��(ƨ�o3Ն�(�[���GC�� &�����l$,a�{�����I4v�Ê�!v��T��[����j�5���o(%�4���� �����}.~��[L1�R��pu�I��b2΍�����}���ӆ~=��ɨ6���>_��]�K�H��-ӷoC��x�O!T�Ak�2s���EW�����^�d�ù5��P]���6��9���A
av1 is your problem.
Older RenPy doesn't support this.
I advise using the latest versions.
 

ArunPrime

Member
Nov 5, 2022
270
397
av1 is your problem.
Older RenPy doesn't support this.
I advise using the latest versions.
Yeah I'm just finished porting with 8.2.3
It's working now.
Thanks for the advice & point out what my problem :)

One question, if I'm compressed another size and change my all image format to new one will it work then?

If you know what the error in traceback file. I'm previously posted.
 

Wills747

Engaged Member
Dec 14, 2018
2,402
5,018
Yeah I'm just finished porting with 8.2.3
It's working now.
Thanks for the advice & point out what my problem :)

One question, if I'm compressed another size and change my all image format to new one will it work then?

If you know what the error in traceback file. I'm previously posted.
I think that traceback is a similar problem.
Once the game's in AVIF it's probably easier to use newer RenPy rather than change. Newer RenPy will support older file formats as well.
 
  • Like
Reactions: ArunPrime

Kylson23

Member
Apr 24, 2019
209
2,368
Hi, I'm sorry for the English I'm using deepl, I wanted to ask you why when I want to create an apk I get error when the file names are very long, it happens to me in the game milfylicious and world of secret.

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



.

Mientras se ejecutaba el código del juego:
File «launcher/game/android.rpy», line 552, in script
$ android_build(bundle=persistent.android_bundle, opendir=True)
File «launcher/game/android.rpy», line 552, in <module>
$ android_build(bundle=persistent.android_bundle, opendir=True)
File «launcher/game/android.rpy», line 236, in android_build
distribuir.Distribuidor(p,
File «game/distribute.rpy», line 689, in __init__
Archivo «game/distribute.rpy», línea 1598, en make_package
File «game/package_formats.rpy», line 306, in add_file
FileNotFoundError: [Errno 2] No such file or directory: 'C:\_Users\\luisg\\\Downloads\Compressed\renpy-8.2.3-sdk\\tmp\WorldofSecrets-0.1.3-pc-compressed\android. dist\game/images/locations/barbara_house/barbara_room/event/evening/find_laptop/laundry_basket/barbara_house_barbara_room_event_evening_barbara_find_laptop_laundry_basket1.jpg'
 

phdusa1

Member
Aug 18, 2018
193
351
Hello Wills747 thanks for making wonderful versions.
I wanted to ask is there a way to remove sync folder and security keys.
I'm using 8.2.1-sdk version.

If you guys know guide me please....

Edit : found it because of the latest Ren'Py version
Can you or anyone tell me how I can disable the sync folder being created and saves being copied there. Its making the saves twice the size they need to be for no rather upside. Thanks in advance <3

I tired a couple of things like making $config.has_sync False in both renpy and game 00sync file but it doesn't seem to work.
 

ArunPrime

Member
Nov 5, 2022
270
397
Can you or anyone tell me how I can disable the sync folder being created and saves being copied there. Its making the saves twice the size they need to be for no rather upside. Thanks in advance <3

I tired a couple of things like making $config.has_sync False in both renpy and game 00sync file but it doesn't seem to work.
Same for me. I can't fix this in latest renpy version (8+) so i just dropped trying.
But renpy 7 and old version have temp cleanup, so port with Lower version if you want. But some games need latest version because the dev making in latest renpy version.
 
  • Like
Reactions: phdusa1

phdusa1

Member
Aug 18, 2018
193
351
Can you or anyone tell me how I can disable the sync folder being created and saves being copied there. Its making the saves twice the size they need to be for no rather upside. Thanks in advance <3

I tired a couple of things like making $config.has_sync False in both renpy and game 00sync file but it doesn't seem to work.
Hi Wills747, Sorry for the ping but can you please help with this.

Edit: tagging Ghost''
 
Last edited:

phdusa1

Member
Aug 18, 2018
193
351
Found the solution. estrada777 & ArunPrime Tagging if guys want to implement.
Estrada you were right. Defining some variables killed it.

Solution is here by Twistty in last 2-3 pages(Thank you very much Twistty :) ):
https://f95zone.to/threads/new-renpy-token-check-when-creating-a-save.168169/post-13756630

You can either use twistty's extra_savedirs_Fix.rpy and paste it in ./game folder and sync folder will no more be created.

Or paste following code in any rpy file you create for customizing you ports:

Code:
init 9999 python:
    renpy.config.has_sync = None
    renpy.config.extra_savedirs = []

I am thinking I will just copy attached file in ./game folder of every port i will create.

Edit: I tried it in one of my ports and it works like a charm. No more double save files :love:
 
Last edited:

Wills747

Engaged Member
Dec 14, 2018
2,402
5,018
Found the solution. estrada777 & ArunPrime Tagging if guys want to implement.
Estrada you were right. Defining some variables killed it.

Solution is here by Twistty in last 2-3 pages(Thank you very much Twistty :) ):
https://f95zone.to/threads/new-renpy-token-check-when-creating-a-save.168169/post-13756630

You can either use twistty's extra_savedirs_Fix.rpy and paste it in ./game folder and sync folder will no more be created.

Or paste following code in any rpy file you create for customizing you ports:

Code:
init 9999 python:
    renpy.config.has_sync = None
    renpy.config.extra_savedirs = []

I am thinking I will just copy attached file in ./game folder of every port i will create.

Edit: I tried it in one of my ports and it works like a charm. No more double save files :love:
Interesting, I won't be changing this built in feature anytime soon as some people use it to copy saves PC <---> Android but any knowledge is useful.
 
  • Like
Reactions: phdusa1

estrada777

Engaged Member
Modder
Donor
Mar 22, 2020
3,828
9,389
Interesting, I won't be changing this built in feature anytime soon as some people use it to copy saves PC <---> Android but any knowledge is useful.
Same, plus the auto saves are pretty tiny, all things considered. Maybe one or two MB?
 
  • Like
Reactions: phdusa1