Search found 30 matches

by srksrk 68
Sat Oct 16, 2021 6:37 am
Forum: Ren'Py Questions and Announcements
Topic: The Renpy 2gb memory limit. Possible workaround for 64 bit?
Replies: 3
Views: 2665

Re: The Renpy 2gb memory limit. Possible workaround for 64 bit?

Sorry for reviving this ancient thread, but I just came accross the problem and solution for a game that actually suffers from memory shortage, then searching if anybody else would need it, I found this thread. Yes, downloadig and applying the patch mentioned in the original post solves the issue. B...
by srksrk 68
Thu Sep 16, 2021 12:23 pm
Forum: Ren'Py Questions and Announcements
Topic: Translation: How to get the text in original language
Replies: 1
Views: 437

Re: Translation: How to get the text in original language

OK, since nobody came up with suggestions, I investigated more and came up with a solution that suits my needs. For those who might be interested... I already mentioned I had a hook to the RenPy say function (see initial post). I now also created a hook to the lookup method of the Translate class: m...
by srksrk 68
Sun Sep 12, 2021 9:14 am
Forum: Ren'Py Questions and Announcements
Topic: Translation: How to get the text in original language
Replies: 1
Views: 437

Translation: How to get the text in original language

Hi, I have the issue of getting the original untranslated game's text from a translated text that is passed to the say function. The problem is as follows. I created a hook to the say function like this: my_old_say = renpy.exports.say def my_say(who, what, *args, **kwargs): <do something specific wi...
by srksrk 68
Sat Aug 28, 2021 11:48 am
Forum: Ren'Py Questions and Announcements
Topic: How to *not* translate a character name
Replies: 5
Views: 718

Re: How to *not* translate a character name

if I write "{#<something>}June" or "June{#<something>}" or similar, the # tag will be ignored but June will still be translated. By whom? The purpose of # tag is to generate different translatable entries for June{#month} and June{#chatacter}. Then you can just... not translate ...
by srksrk 68
Fri Aug 27, 2021 5:36 pm
Forum: Ren'Py Questions and Announcements
Topic: How to *not* translate a character name
Replies: 5
Views: 718

Re: How to *not* translate a character name

I'm not 100% sure I understand the question, however, you can single out a translation by adding "_()" to it. e.g: june = Character(_("June"), color='c2e8cd') Which will prompt the translation engine to always translate that singled out piece of text as whatever you want it to b...
by srksrk 68
Fri Aug 27, 2021 11:14 am
Forum: Ren'Py Questions and Announcements
Topic: How to *not* translate a character name
Replies: 5
Views: 718

How to *not* translate a character name

Hello, I have a game where a character has the name "June". Now when translation comes into play, this name is translated by the say function to, e.g. German "Juni" which is the translation for the month "June" into German. However, I do not want to translate that chara...
by srksrk 68
Tue Feb 23, 2021 7:58 pm
Forum: Ren'Py Questions and Announcements
Topic: Public writable directories on different platforms
Replies: 3
Views: 298

Re: Public writable directories on different platforms

Thanks, will try this out! But since I don't have a Mac, I cannot report back soon I fear...
by srksrk 68
Sat Feb 20, 2021 6:19 am
Forum: Ren'Py Questions and Announcements
Topic: Android 11 and access to android/data folder
Replies: 7
Views: 4964

Re: Android 11 and access to android/data folder

To all who are affected as well and still search for a solution: it appears that meanwhile some Android File Managers can overcome this restriction and access/write to the Android/data folder.
by srksrk 68
Sat Feb 20, 2021 5:38 am
Forum: Ren'Py Questions and Announcements
Topic: Public writable directories on different platforms
Replies: 3
Views: 298

Public writable directories on different platforms

Hello, so I am trying to create a file in a folder related to the game, and I am successful under Android and under Windows, and under some Linux installations. But I am having trouble under MacOS and some other Linux environments because config.gamedir seems to be write protected. Is there a genera...
by srksrk 68
Tue Dec 22, 2020 9:25 am
Forum: Ren'Py Questions and Announcements
Topic: Android 11 and access to android/data folder
Replies: 7
Views: 4964

Re: Android 11 and access to android/data folder

The thing is, as I understand, that the idea behind putting stuff (mods, saves) into the android/data folder was that this folder was publically accessible. It no longer is, so there should be another option. Also, I am not modding my own game here. I want to install mods to games I did not make. An...
by srksrk 68
Sat Dec 19, 2020 7:19 am
Forum: Ren'Py Questions and Announcements
Topic: Android 11 and access to android/data folder
Replies: 7
Views: 4964

Re: Android 11 and access to android/data folder

I am not asking for a way around the restriction to android/data. But it might be an option to make Ren'py look into some other publically accessible folder like some other apps do, e.g. a folder renpy/<game> on the internal memory or sd card. After all, it's not an option to ask a gamer to root his...
by srksrk 68
Thu Dec 17, 2020 8:39 pm
Forum: Ren'Py Questions and Announcements
Topic: Android 11 and access to android/data folder
Replies: 7
Views: 4964

Android 11 and access to android/data folder

Hello, until recently I was able to access the android/data folder of Ren'py games without problems using Anrdroid's file manager. I used this to install mods or to access the saves folder. However, Android 11 changed the permissions so that basically no legal access to that folder is possible any m...
by srksrk 68
Wed May 27, 2020 11:56 am
Forum: Ren'Py Questions and Announcements
Topic: Image not found in ANDROID_PUBLIC path
Replies: 9
Views: 566

Re: Image not found in ANDROID_PUBLIC path

OK, I guess I found a solution, or workaround. Or rather an exploit. Seems that on Android, the image in fact must be stored inside the <game>/game directory, and absolute paths do not work even if the image is existing and os.path.isfile confirms it. So the solution (which in my case is no solution...
by srksrk 68
Wed May 27, 2020 5:06 am
Forum: Ren'Py Questions and Announcements
Topic: Image not found in ANDROID_PUBLIC path
Replies: 9
Views: 566

Re: Image not found in ANDROID_PUBLIC path

Well, the first link does not apply because it is about making the APK. I already have an APK, I want to put in a mod. The second link seems to be the same topic. The third one is interesting, but there PyTom mentions that the issue that Android can walk the external memory will be put onto the ToDo...
by srksrk 68
Wed May 27, 2020 4:45 am
Forum: Ren'Py Questions and Announcements
Topic: Image not found in ANDROID_PUBLIC path
Replies: 9
Views: 566

Re: Image not found in ANDROID_PUBLIC path

This would explain the issue. But why does it work in Windows, and why does os.path.isfile not give an error on Android? And to my understanding, this image *is* inside the game's directory, it is just not included in config.searchpath. Which, again, works well on Windows.