89 Commits

Author SHA1 Message Date
Tom Rothamel 74157a4ad6 Update copyright for 2025. 2025-01-02 18:48:44 -05:00
Tom Rothamel 113a60faa5 Update the copyright for 2024. 2024-01-05 00:31:12 -05:00
Tom Rothamel 926ca22963 web: Remove logging print. 2024-01-04 21:51:51 -05:00
Tichq ca7641be56 feature: search control before initialization (#5222)
feature: search control before initialization

Currently, the search can be modified, but the initial initialization of the archives is done with the initial paths.
2024-01-01 11:11:11 -05:00
Michael df26c03087 OneDrive uses virtualized file system (vault) so
we use __file__ to get the real path of the file.
2023-08-04 13:18:20 +02:00
Tichq b9c5317556 add: path_to_logdir 2023-07-06 01:53:03 +03:00
Tom Rothamel 8a7fc84f96 pylance: Eliminate type errors.
These changes aren't expected to change the behavior of Ren'Py.
2023-02-23 00:29:29 -05:00
Tom Rothamel 33c86d3b93 Revert "Normalize gamedir to slashes"
This reverts commit c7c7733be3.
2023-02-02 09:37:16 -05:00
Gouvernathor c7c7733be3 Normalize gamedir to slashes 2023-02-02 15:15:50 +01:00
Tom Rothamel 1cb7d09b97 Update the copyright to 2023. 2023-01-07 19:21:14 -05:00
Tom Rothamel 351c97bf09 Access __main__ as renpy.__main__.
This allows Ren'Py to be imported separately.
2022-12-27 18:53:28 -05:00
Tom Rothamel fd06027101 Add a shebang, to prevent weird errors when run incorrectly. 2022-04-10 14:33:25 -04:00
Tom Rothamel 5a03f46f2e Move the selection of the game directory into the main file.
Fixes #2689.
2022-03-31 21:17:53 -04:00
Tom Rothamel 645d527c8f py3,ios: Adapt to the return type of UTF8String. 2022-03-14 00:10:50 -04:00
Gouvernathor a7c9cc85f6 Merge branch 'master' into patch-9 2022-01-09 15:25:21 +01:00
Tom Rothamel c920246777 pyi: More type error triage. 2022-01-07 23:27:08 -05:00
Gouvernathor 6c371b4a2a Merge branch 'master' into patch-9 2022-01-03 10:39:10 +01:00
Tom Rothamel c8a4cb8794 Update copyright for 2022. 2022-01-01 12:28:58 -05:00
Asriel Senna fc2f18f9d3 remove the other bare excepts 2021-12-20 04:03:01 +01:00
Tom Rothamel 90ddea6f47 Add RENPY_PATH_TO_SAVES, document RENPY_MULTIPERSISTENT.
In both cases, system-level save paths.

Fixes #3092.
2021-11-16 22:14:09 -05:00
Tom Rothamel 9c71146079 Update copyright. 2021-01-08 21:08:22 -05:00
Tom Rothamel 24cc05d350 Remove raises found in #2601
Fixes #2601.
2020-09-25 22:47:00 -04:00
Tom Rothamel 26aaf86e8a Allow gles2 to run on Android.
It doesn't work yet, but it initializes to a black screen.
2020-08-10 23:51:58 -04:00
Tom Rothamel 5613eb562d Update copyright notices to 2020. 2020-05-17 14:22:47 -04:00
Andy_kl cefb702f8c Fix a potential bug with duplicated path in savelocation. 2020-04-04 23:56:06 +02:00
Tom Rothamel 40af08b40c py3: Run modernize on renpy.__init__ to renpy.dump 2019-10-15 18:19:43 -04:00
Tom Rothamel f9deff6bc5 Update copyright for 2019. 2019-01-12 13:37:18 -05:00
Tom Rothamel 3eb0bcbc3e Update copyright to 2018. 2018-01-07 18:47:32 -05:00
Tom Rothamel 9b76083a78 Update copyright for 2017. 2017-01-05 00:39:48 -05:00
Tom Rothamel 5a265030df Encode save_directory before it's used. 2016-11-15 18:40:40 -05:00
Joshua Fehler 1feecac9f1 Replace print statement with print function 2016-09-22 06:49:40 -04:00
Tom Rothamel 84f98da817 Remove x-bit from renpy.py.
Per discussion on #869.
2016-03-17 21:00:44 -04:00
Tom Rothamel 113616101a Remove shebang and unused code.
The shebang is removed per discussion on #869.
2016-03-17 20:57:29 -04:00
Tom Rothamel 58960441fd Update copyright for 2016. 2016-01-26 22:31:25 -05:00
Tom Rothamel ecd36ecfed Call maximum_framerate during tests.
This should speed testing up, since some tests are limited to once
per screen draw.
2016-01-03 21:14:11 -05:00
Tom Rothamel c1ed41f82d Ren'Py will automatically backup .rpy files.
Backup is done if script_version.{rpy,rpyc,txt} is not present,
and at least one .rpy file has changed (as compared to the
corresponding .rpyc files).

Backups are placed in the "backups" directory underneath the
user-global saves directory.

Fixes #687.
2015-08-13 23:18:26 -04:00
Tom Rothamel 24f26acea4 Work around a problem with the NSUrl.path property on iOS.
On 7.0, it's a method. On 8.0, it's a property. I don't get why,
 but this defensively codes around it.
2015-02-17 19:42:45 -05:00
Nolanlemahn ca1f1f1032 Update the copyright notices in the file headers for 2015. 2015-01-28 11:22:22 -08:00
Tom Rothamel 5914e9317c Find the iOS save directory. 2014-12-14 18:29:17 -05:00
Tom Rothamel 4221eb049f Move android detect to renpy module, add renpy.mobile.
The latter is a flag that determines if we're on android or ios,
inclusive. (These platforms tend to behave similarly, and different
from the desktop platforms.)
2014-12-13 23:45:14 -05:00
Tom Rothamel b397f4b235 Stop using the RENPY_BASE environment variable.
Fixes #460.
2014-09-21 17:37:04 -04:00
Tom Rothamel 1c71db539e Test that save directories are writable on Android before using them.
Relevant to #441.
2014-09-05 23:27:56 -04:00
Tom Rothamel 913a1078df Update copyright to 2014.
Also:

* Include the copyright in .rpy files.
* Fix missing copyrights.
* Add the BOM to .rpy/.rpym files that were missing it.
2014-01-27 22:58:15 -05:00
Tom Rothamel 0c74863be9 Remove spurious whitespace. 2013-07-14 12:00:15 -04:00
Tom Rothamel 5290296952 Print the android savedir to stdout/logcat.
I just have the feeling this will come in handy one day.
2013-06-17 01:58:14 -04:00
Tom Rothamel 110c8b890b Change the search path for saves on android.
We look in:

* The public directory used by very old RAPT versions.
* The private directory used by newer RAPT versions.
* The getExternalFilesDir directory, used by the newest RAPT versions.

This means that saves will now be placed in a public place, so they
can be copied and otherwise shared.
2013-06-17 01:36:27 -04:00
Tom Rothamel 627261f51d Clarify what the Ren'Py license applies to. 2013-04-07 19:43:58 -04:00
Tom Rothamel 5d9d4955ff Allow symlinks to renpy.py. 2013-02-25 09:26:35 -05:00
Tom Rothamel 915b67758a Move the common directory to renpy/common. 2012-12-16 21:51:38 -05:00
Tom Rothamel a1616b5e65 Rewrite renpy.sh so it can choose between linux-x86 and linux-x86_64. 2012-06-23 20:09:22 -04:00