Compare commits

...

3997 Commits

Author SHA1 Message Date
Andy_kl 7f303a5fbf Revert some changes to make branch surface smaller. 2025-02-17 00:27:45 +04:00
Andy_kl 388cf6aac7 Fix -dash-attribute-names. 2025-02-16 13:37:34 +04:00
Andy_kl c7db343855 Fix tokenization of 1. floats. 2025-02-16 13:37:34 +04:00
Andy_kl 7a45ec3e0a Fix incorrect attribute name. 2025-02-16 13:37:34 +04:00
Andy_kl 976aeebf0b Remove lexer.Lexer and tokenizer.Tokenizer duplication. 2025-02-16 13:37:34 +04:00
Andy_kl 98e85f83be Do not litter renpy.lexer with tokenizer stuff. 2025-02-16 13:37:34 +04:00
Andy_kl 9273c41437 Fixes after review. 2025-02-16 13:37:34 +04:00
Andy_kl a590472f55 Update SyntaxError in tokenizer to ParseError. 2025-02-16 13:37:34 +04:00
Andy_kl 06e884ac70 Replace fake TokenKind class and constants with literals of token kinds. 2025-02-16 13:37:34 +04:00
Andy_kl fd5f97289b Fix line munging after rebase. 2025-02-16 13:37:34 +04:00
Andy_kl 8e2f926bc3 Move filename to PhysicalLocation named tuple. 2025-02-16 13:37:34 +04:00
Andy_kl 916a4b0f56 Strip \n at the end of logical line in Lexer.
It was that way before, it does not break things,
and people could rely on that.
2025-02-16 13:37:34 +04:00
Andy_kl 3191754e79 Make munging more robust. 2025-02-16 13:37:34 +04:00
Andy_kl 0770876b14 Make Lexer more backward compatible. 2025-02-16 13:37:34 +04:00
Andy_kl b4783374a8 Fix scriptedit and add_from. 2025-02-16 13:37:34 +04:00
Andy_kl 5c401c0406 Fix pre-7.3 CDS renpy.statements.parse function. 2025-02-16 13:37:34 +04:00
Andy_kl 4b39d4d0c4 Some cleanup. 2025-02-16 13:37:34 +04:00
Andy_kl 3860fc7d8d Rework it so it does not change Ren'Py syntax. 2025-02-16 13:37:34 +04:00
Andy_kl 50c70a8615 Revert "Delete lexersupport module."
This reverts commit e4be5a646bc39741e53f77c3aa63d046321ec904.
2025-02-16 13:37:34 +04:00
Andy_kl 70f0362b4a Fix tokenization of f-strings. 2025-02-16 13:37:33 +04:00
Andy_kl bd418d9541 Fix _ren.py to .rpy column offsets. 2025-02-16 13:37:33 +04:00
Andy_kl 95e764b411 Update tokenizer for Python 3.12 2025-02-16 13:37:33 +04:00
Andy_kl b173b7252d Fix ur"strings" parse. 2025-02-16 13:37:33 +04:00
Andy_kl 16fbd10e6f Change token kind from enum to plain string.
This is even 5% faster to init and compare.
2025-02-16 13:37:33 +04:00
Andy_kl feb9cd85ed Get rid of 2 separate enums and make it StrEnum back.
This is 15% faster accodring to cProfile.
2025-02-16 13:37:33 +04:00
Andy_kl 362f9d6c33 Some optimizations. 2025-02-16 13:37:33 +04:00
Andy_kl f2def9c148 Factor out token-based delimited python. 2025-02-16 13:37:33 +04:00
Andy_kl 1d994fa126 Change kind enums not to be string subclasses
so `TokenKind("name") != TokenExactKind("name")`.
2025-02-16 13:37:33 +04:00
Andy_kl 16685b6b9f Move munging from tokenizer to lexer. 2025-02-16 13:37:33 +04:00
Andy_kl fd5841d2d2 Delete lexersupport module. 2025-02-16 13:37:33 +04:00
Andy_kl 753776973e Move tokenizer code into separate file. 2025-02-16 13:37:33 +04:00
Andy_kl e546ac6c73 Fix performance 2025-02-16 13:37:33 +04:00
Andy_kl e67c91d176 Make Lexer token-based. 2025-02-16 13:37:33 +04:00
Andy_kl 6252945a47 Update Lexer class. 2025-02-16 13:37:33 +04:00
Andy_kl 819d3386d7 Some changes in Lexer. 2025-02-16 13:37:33 +04:00
Andy_kl 430d01aa13 Update from old tokenization. 2025-02-16 13:37:33 +04:00
Andy_kl ef8917e044 Finish Tokenizer class. 2025-02-16 13:37:33 +04:00
Andy_kl 4d1be9e610 Initial 2025-02-16 13:37:33 +04:00
Tom Rothamel e1b8de8512 assimp: Rename AssimpModel to GLTF model.
Assimp was contributing a lot of to the size of Ren'Py, so put it on a
diet and removed all the formats except for GLTF). This would also let
us switch toanother GLTF parser in the future.
2025-02-15 23:26:32 -05:00
Tom Rothamel e55856d177 Merge pull request #6154 from renpy/pep-657-munge
Fix incorrect column offsets of munged names.
2025-02-15 22:29:44 -05:00
Tom Rothamel fbe7cab9c6 Remove spurious backslash in README. 2025-02-15 20:05:42 -05:00
Tom Rothamel d6e3b4f492 Merge pull request #6157 from jsfehler/tyop_killer
Fix mimor typos
2025-02-15 17:55:35 -05:00
Joshua Fehler 7aac6fffb6 Fix mimor typos 2025-02-15 16:08:25 -05:00
Tom Rothamel 4e09103b09 Merge pull request #6155 from jsfehler/remove_unused_particle
Remove unused import
2025-02-14 20:05:28 -05:00
Joshua Fehler 3605298777 Remove unused import 2025-02-14 17:35:44 -05:00
Tom Rothamel 6b467eca81 Merge branch 'master' into pep-657-munge 2025-02-14 00:07:08 -05:00
Tom Rothamel 9e966702ac More precisely control mipmapping.
* For images used by Live2D and AssimpModel, it's enabled.
* Other images can opt-in on a per-image basis.
2025-02-13 23:48:07 -05:00
Tom Rothamel cc2486fa82 gl2: Disable mipmapping by default.
Despite Ren'Py supporting it, scaling images down (except when the
window is scaled) is somewhat rare. So instead of generating a lot of
mipmaps that will not be used, we only opt in automatically if the
window itself is scaled down, and otherwise leave the decision to
the creator.
2025-02-13 23:48:07 -05:00
Andy_kl 74cadd2b03 python: Raise original exception without chaining the same via cause for incorrect pythons. 2025-02-14 06:19:48 +04:00
Andy_kl caad552141 Update copyright year in lost files. 2025-02-14 05:25:38 +04:00
Andy_kl 3202e0eab2 Remove monkey-patch name from name_blacklist 2025-02-14 05:21:19 +04:00
Andy_kl 58434e2553 Fix 2025-02-14 03:48:18 +04:00
Andy_kl 78ff61dd08 Fix incorrect column offsets of munged names.
This moves munging to AST, so column offsets match source code.
2025-02-14 03:36:22 +04:00
Andy_kl 65edc55eb0 Add PyExpr.__new__ signature. 2025-02-13 18:04:55 +04:00
Andy_kl 5bf35c8c4f Remove linecache.updatecache monkeypatch.
That no longer needed after changes to `renpy.python.create_store`.
2025-02-13 17:59:11 +04:00
Tom Rothamel ef5777d6b6 Add PEP 657-style parse error handling. (#5881) 2025-02-13 00:02:28 -05:00
Tom Rothamel 033574e235 Merge branch 'fix' 2025-02-12 23:31:22 -05:00
Tom Rothamel 8a21aa55dc Wrap json loaded in revertible objects.
This is intended to improve compatibility with older games that might
use .iteritems and similar methods.
2025-02-12 23:21:48 -05:00
Tom Rothamel 6c948bf046 fonts: Allow deallocation and clear face cache.
So fonts can be reloaded when required. Fixes #6153.
2025-02-12 22:51:50 -05:00
Tom Rothamel 95074ff55d doc: Update keymap.
Fixes #6145.
2025-02-11 22:55:40 -05:00
Tom Rothamel d836316e90 Document the AssimpModel displayable. 2025-02-11 01:28:12 -05:00
Tom Rothamel 4804b04dcc assimp: Add zoom and flip operations. 2025-02-10 23:13:41 -05:00
Tom Rothamel 6d08132e58 assimp: Expose AssimpModel to the default store. 2025-02-09 23:35:47 -05:00
Tom Rothamel dfb6c7beb1 assimp: Handle _duplicate. 2025-02-09 21:25:09 -05:00
Tom Rothamel d2755faa5c Optimize caching of UnoptimizedTexture. 2025-02-09 14:49:20 -05:00
Tom Rothamel ef40de899c assimp: Preload AsssimpModels.
This prevents long loading times by preloading AssimpModel objects
from disk when required.

As part of this, the idea of a callback is dropped, and renders of
textures happen when the displayable is rendered. This creates all
Renders in the main thread, which makes Render mark-sweep reliable.
2025-02-09 14:05:04 -05:00
Tom Rothamel d81f8264ff Fix regression in renpy.get_all_labels.
Fixes #6130.
2025-02-08 22:30:19 -05:00
Ren'Py Bot 3b60afe8dc Merge branch 'fix' 2025-02-08 04:30:40 -05:00
Tom Rothamel 6783f22f3b When walking paths, replace \ with /. 2025-02-07 08:45:48 -05:00
Tom Rothamel 3c59cac254 Proxy SelectedIf and SensitiveIf lists into a single Action.
Fixes #6132.
2025-02-07 08:45:48 -05:00
Tom Rothamel 8de2bda1e6 Proxy SelectedIf and SensitiveIf lists into a single Action.
Fixes #6132.
2025-02-07 01:24:18 -05:00
Mal Graty 57f9a1e508 Remove disused import 2025-02-07 01:26:13 +00:00
Tom Rothamel e0ca2992ed Fix typos (#6142)
Fix typos
2025-02-06 20:17:35 -05:00
tinyboxvk 731cb8c53c Fix typos
Signed-off-by: tinyboxvk <13696594+tinyboxvk@users.noreply.github.com>
2025-02-06 18:18:43 -04:00
Tom Rothamel 37d7d71d2b Avoid renaming the filename stored in nodes.
When a .rpy is removed, and a .rpyc is given.
2025-02-06 00:33:28 -05:00
Tom Rothamel a672a6840a Redo statement names when a .rpyc file has been moved.
Fixes #6137.
2025-02-06 00:23:26 -05:00
Tom Rothamel 8603ca2cf1 assimp: Allow tangents and bitangents to be loaded. 2025-02-06 00:17:44 -05:00
Tom Rothamel 6793d7e5fa Document when mouse moves are unlikely to work.
Fixes #6126.
2025-02-05 23:40:47 -05:00
Tom Rothamel 24a8135657 Merge pull request #6138 from mal/optimised-file-scan
Optimise startup file scan
2025-02-05 20:54:37 -05:00
Tom Rothamel 1a945d9663 Merge pull request #6139 from Lezalith/master
Doc changes - Colormatrix, Audio, general cleanup
2025-02-05 20:52:34 -05:00
Lezalith 0196e6aa69 Merge branch 'colormatrix-docs' 2025-02-05 18:08:24 +01:00
Lezalith dbee728716 Doc: Audio Directory & Namespace rewrite
Directory mentioned before the Namespace.
Made more newbies friendly, and moved more to the top of the docs.

This is consistent with the Doc page on Displaying Images.
2025-02-05 17:52:37 +01:00
Mal Graty 86bb2b83c0 Find archive files during main directory scan 2025-02-05 16:26:59 +00:00
Mal Graty 9586b0f685 Minor improvements when loading extensions 2025-02-05 15:18:08 +00:00
Tom Rothamel 6aa0ee45bf doc: Matrix uniforms. 2025-02-05 01:18:16 -05:00
Tom Rothamel 54e567160c gl2: Improved missing uniform handling.
* Do a lookup and function call rather than a big if statement.
* Use the suffix to perform matrix computations.
2025-02-04 22:29:07 -05:00
Tom Rothamel 6c40f39930 gl2: Allow transforms to supply view and projection matrices.
And while at it, rename u_camera to u_projection, as the camera is
really both projection and view.
2025-02-04 02:18:10 -05:00
Tom Rothamel 9eefa84bf2 gl2: Rename the model matrix, and add u_cameraview.
This makes all the matrices we need available in uniforms. The reason
for u_transform and u_cameraview is both to make these available for
further processing in Program.missing.
2025-02-03 23:00:00 -05:00
Tom Rothamel 9d1f34995a gl2: Break out the different kinds of matrices. 2025-02-03 22:38:03 -05:00
Tom Rothamel 0883e74935 gl2: Default to highp floats on gl2es.
To prevent issues where mediump is rounded and causes problems.
2025-02-02 22:52:15 -05:00
Tom Rothamel f257dc1c41 assimp: Free the scene once import is done. 2025-02-01 16:59:26 -05:00
Tom Rothamel 1b079ef358 assimp: Route IO through Ren'Py. 2025-02-01 15:39:17 -05:00
Andrej Klychin 07b853f77f Merge pull request #6127 from dm1sh/handle_uninitialized_newest_mtime
Handle newest_mtime initialized as None while determining newest game save
2025-02-01 17:24:02 +02:00
dm1sh 8db8651eb0 Handle newest_mtime initialized as None while determining newest game save 2025-02-01 18:02:48 +03:00
Ren'Py Bot 3568c02c42 Merge branch 'fix' 2025-02-01 04:30:40 -05:00
Tom Rothamel 5e3b209ba2 Fix the name of config.dissolve_shrinks.
Fixes #6122.
2025-01-31 22:07:18 -05:00
Lezalith 4a097934de Doc: Config defaults updated. 2025-01-30 23:13:01 +01:00
Lezalith 159f6a94ce Doc: config.web_video_prompt commented out
Currently a to-do variable.
2025-01-30 23:12:49 +01:00
Lezalith c726573089 Doc: Typos. 2025-01-30 23:12:21 +01:00
Lezalith b2499105ec Doc: Recommend VSCode in Quickstart
Used to recommend Editra back when it was an option in the launcher itself.
2025-01-30 23:10:26 +01:00
Tom Rothamel 315b0a9118 The _reset style property shouldn't be exposed to sl. 2025-01-29 23:13:58 -05:00
Tom Rothamel cb6101eab4 Only clear focus when a displayable is not grabbed.
Fixes #6121.
2025-01-29 23:13:58 -05:00
Tom Rothamel 8773f1b0ed Update compat fixes for tokenizer changes in Python 3.12. (#6037) 2025-01-28 22:11:01 -05:00
Tom Rothamel ecf19de428 Merge branch 'master' into update-token-fixes 2025-01-28 22:10:31 -05:00
Tom Rothamel c182a7cc72 atl: Deal with a boolean becoming a tuple. 2025-01-27 23:17:26 -05:00
Tom Rothamel 3b5be04369 Add assimp as a dependency. 2025-01-27 01:31:38 -05:00
Tom Rothamel 38b91afaa1 assimp: Add to the build process. 2025-01-27 01:30:42 -05:00
Tom Rothamel cb382804c3 doc: Ubuntu version increase. 2025-01-27 01:30:42 -05:00
Tom Rothamel 364eef9392 assimp: Rename modelloader to assimp. 2025-01-27 01:30:42 -05:00
Tom Rothamel 773b428996 ml: Integrate modelloader with render memory management. 2025-01-27 01:30:42 -05:00
Tom Rothamel 043a7c142e Fix bad range conversion. 2025-01-27 01:30:42 -05:00
Tom Rothamel a312a6f77e ml: Move to callback-based model loading.
This allows a callback to go mesh-by-mesh, asking about textures
(and eventually, material properties) before making the render.
2025-01-27 01:30:42 -05:00
Tom Rothamel ccc502e8a6 Add the im.Null() image manipulator.
This allows the creation of a 1x1 clear pixel. The intent is to
use this when a texture is missing.
2025-01-27 01:30:42 -05:00
Tom Rothamel b2af375e0a Search for archive files in sub-directories of game/.
Per #6013.
2025-01-27 01:29:25 -05:00
Tom Rothamel 14c191cf7f ml: Texture access. 2025-01-27 01:26:36 -05:00
Tom Rothamel 3a47bea97f ml: Load embedded textures. 2025-01-27 01:26:36 -05:00
Tom Rothamel 373235c179 ml: Allow mat2 and mat3, compute the normal matrix. 2025-01-27 01:26:36 -05:00
Tom Rothamel b0765aaf3a ml: Allow Matrix to compute its transpose. 2025-01-27 01:26:36 -05:00
Tom Rothamel 8b7b17c5ac ml: Walk the node tree and handle matrix transformations. 2025-01-27 01:26:36 -05:00
Tom Rothamel 82d2384b09 cy3: Replace old for syntax with range syntax.
In older versions of Cython, the `for` loop syntax `for 0 <= i < n:`
was used. This has been replaced with the more Pythonic
`for i in range(n):` syntax, which the Cyright tool handles better.

Both syntaxes are optimized in modern Cython.
2025-01-27 01:26:36 -05:00
Tom Rothamel 37647ecfea ml: Load to the point where a model becomes visible. 2025-01-27 01:26:36 -05:00
Tom Rothamel 3dd9bff6ea ml: Get Asset Importer loading the model. 2025-01-27 01:26:36 -05:00
Lezalith 8e5445c6bf Doc: Fix quick maths
(There are 6 items in the list)
2025-01-26 18:16:35 +01:00
Lezalith a6142487c8 Doc: Clearer Premultiplied Alpha explanation
I felt like the discrepancy between "transparent pixel" and "transparent black" was confusing. This seems much clearer and hopefully technically correct.
2025-01-26 18:16:01 +01:00
Ren'Py Bot 2acbd61df4 Merge branch 'fix' 2025-01-25 04:30:40 -05:00
Tom Rothamel 2e45c3e609 doc: Fixes.
Fixes #6097.
2025-01-24 21:29:51 -05:00
Ren'Py Bot 87cc2c334d Merge branch 'fix' 2025-01-24 04:30:40 -05:00
Tom Rothamel 8c7a3b13bf Merge pull request #6105 from nullvoid8/docs_nearrect
Update `nearrect` documentation
2025-01-23 22:32:49 -05:00
Tom Rothamel 83c75d1a0f Merge pull request #6107 from Kassy2048/limit-cython-processes
Limit the number of cython processes ran in parallel
2025-01-23 22:15:11 -05:00
Kassy ac83e934a1 Limit the number of cython processes ran in parallel
Running all the cython tasks in parallel at once is a bit violent. On my Docker
container for instance, it makes some processes be killed before they complete
because of resources exhaustion.

Using a ThreadPoolExecutor instance to limit the number of parallel tasks
guarantees there will be at least as much processes at the number of CPU plus 4
(up to 32) so that should be as fast as before without risking to reach the
host resources limit.
2025-01-23 21:01:32 +01:00
Tom Rothamel 9ce1334039 Merge branch 'fix' 2025-01-22 22:31:54 -05:00
Tom Rothamel e8ece0a442 Implement creating rpa archives in subdirectories (#6103) 2025-01-22 22:22:01 -05:00
Tom Rothamel 4a0738f2aa Document build.version.
Fixes #6102.
2025-01-22 22:19:42 -05:00
nullvoid8 899eb6616f merge documentation of nearrect the class, and nearrect the statement 2025-01-23 02:46:14 +00:00
Gio 8cdc759126 Don't allow ./ path prefix in archive list 2025-01-22 18:32:04 -06:00
Gio d1af90f096 Keep track of archives' paths relative to game root 2025-01-22 18:23:38 -06:00
Gio e88db2678b Implement creating rpa archives in subdirectories 2025-01-21 22:06:06 -06:00
Tom Rothamel 125f3b81d1 Search for archive files in sub-directories of game/.
Per #6013.
2025-01-21 22:54:26 -05:00
Tom Rothamel dc4541553e Merge pull request #6084 from mal/drop-disused-winver-function
Remove disused internal function
2025-01-19 20:54:38 -05:00
Tom Rothamel 6c4e86ac13 Merge pull request #6096 from the66F95/nested-viewports
Update viewport.py
2025-01-19 20:54:20 -05:00
the66F95 a96174950f Update viewport.py
this should fix #6087 (dragging of nested viewports).
however, i don't see a way to fix scrolling of nested viewports via mousewheel also, now that a viewport is no longer focusable with a mouse/touch screen(rv.add_focus(self, renpy.display.render.Render.NO_MOUSE_FOCUS, 0, 0, width, height)).
on the other hand, i don't know if that would be very practical at all. so currently only the outer viewport makes use of the mouseweel property.
2025-01-19 10:14:20 +01:00
Tom Rothamel 536fce4a22 sl2: Add box properties to imagemap.
As documented. Fixes #6090.
2025-01-18 23:03:42 -05:00
Tom Rothamel 4957280f4c Merge pull request #6091 from Elckarow/rpe_in_libs
search for rpe files in /libs
2025-01-18 11:13:26 -05:00
Elckarow e9a0fdbbc7 doc 2025-01-18 08:41:34 +01:00
Elckarow 9c86961cd1 search /libs for rpe files 2025-01-18 08:36:04 +01:00
Tom Rothamel f3e1b12e61 doc: The addition of the as clause to use and custom screen language.
Closes #6041.
2025-01-16 19:18:19 -05:00
Tom Rothamel 805308d78a Address #6041 for custom SL statements. 2025-01-15 23:51:18 -05:00
Tom Rothamel d0fdf85658 Allow the SL use statement to take an as clause.
Per #6041
2025-01-15 21:36:29 -05:00
Mal Graty ebfcd1b153 doc: Small changes to last commit 2025-01-15 12:30:06 +00:00
Tom Rothamel 52ae19a185 doc: Transform reset changes. 2025-01-15 02:13:27 -05:00
Tom Rothamel 97f4b95969 Improve standard reset transform (#6085)
To reset all properties, and to have a reset argument to Transform.
2025-01-14 22:17:15 -05:00
Mal Graty 9af6d13c08 Improve standard reset transform
The built-in reset transform will now reset all transform properties
rather than only a small subset. This makes it more predictable (no more
guessing which properties it will reset) and also future proof as it no
longer requires being kept up to date as an explicit definition.
2025-01-14 17:45:01 +00:00
Mal Graty b4bbf4bd80 Remove disused internal function
This was previously used to make allowances for Windows 7 and below,
however those conditions have been dropped along with Windows 7 support
and so there's no need to keep this function around.
2025-01-14 14:59:09 +00:00
Tom Rothamel 698d391033 Allow a displayable with size to opt out of mouse focus.
And do that for viewports.

Fixes #6081.
2025-01-14 02:11:35 -05:00
Tom Rothamel d9ecde9a62 Make gles2 the default renderer on arm-linux.
As it's much faster on Raspberry Pi, and probably other arm-linux
devices.
2025-01-14 02:11:35 -05:00
Tom Rothamel ca9e2dfe47 Fix regexp. 2025-01-14 01:49:35 -05:00
Tom Rothamel 321434e95e Allow a displayable with size to opt out of mouse focus.
And do that for viewports.

Fixes #6081.
2025-01-14 01:44:45 -05:00
Tom Rothamel 33e633c1aa docs: Remove debug print and fix typos. 2025-01-13 22:43:24 -05:00
the66F95 41b6e689d3 fix some newline typos 2025-01-13 08:56:13 -05:00
Tom Rothamel cddda04e20 Merge pull request #6077 from the66F95/newline-typos
fix some newline typos
2025-01-13 08:55:21 -05:00
the66F95 1a8eed69ac fix some newline typos 2025-01-13 14:31:20 +01:00
Tom Rothamel 3bcc9c72b2 Changelog game/libs and game/mods.
Per #6049.
2025-01-12 22:54:17 -05:00
Tom Rothamel 4f1ee9e601 Make game/libs and game/mods special.
If flag files, game/libs/libs.txt and game/mods/mods.txt exist.

In both cases, the files in the directory load in unicode order by
filename, and not by full path. Files in game/libs load before other
files in game, while those in game/mods load after other files in
games.

The main reason for this is to support CDSes that are  distributed
in libraries. A CDS in game/libs/cds.rpy can be used in any file
in the main game.

Similarly, mods son't affect the parsing of the main game.

Per #6049.
2025-01-12 22:31:42 -05:00
Tom Rothamel 732ef3af11 Create libs/ and lib/libs.txt.
The latter is the flags file that will load the libs directory in
libs mode.
2025-01-12 15:25:28 -05:00
Tom Rothamel 0c3b419dad Add the libs and mods directories to the list in launcher. 2025-01-12 14:21:13 -05:00
Ren'Py Bot adf545a199 Merge branch 'fix' 2025-01-12 04:30:40 -05:00
Tom Rothamel 1a952fd87e py312: Remove import machinery from store modules.
If the import machinery is present, Python will try to use it when
loading lines for a traceback. This would lead to the wrong line
being shown in tracebacks.
2025-01-12 00:22:09 -05:00
Tom Rothamel 96825cb518 Changelog prefering gles2 on Raspberry Pi. 2025-01-11 22:48:55 -05:00
Tom Rothamel 7958f5445a Make gles2 the default renderer on arm-linux.
As it's much faster on Raspberry Pi, and probably other arm-linux
devices.
2025-01-11 22:36:46 -05:00
Gio efd4cc6b5e Document cb_args cb_ prefix behavior 2025-01-11 15:34:01 -05:00
Tom Rothamel c57b7748f5 Merge pull request #6062 from GiovanH/doc-callback
Document cb_args cb_ prefix behavior
2025-01-11 15:32:23 -05:00
Tom Rothamel acf1f8ae38 Merge branch 'fix' 2025-01-10 23:03:26 -05:00
Tom Rothamel 35c4ba4a41 Make all fields in gl2draw public.
Fixes #6060.
2025-01-10 22:56:34 -05:00
Tom Rothamel 13df1dc000 Merge branch 'fix' 2025-01-10 01:24:29 -05:00
Tom Rothamel 5361a8e9a5 Ignore text tag errors that happen after {done}. 2025-01-10 01:21:56 -05:00
Tom Rothamel ba76f970c5 Perform substitution when scrying extend text.
This prevents problems if the scryed text substitutes things.

Fixes #6071
2025-01-10 01:07:25 -05:00
Tom Rothamel a9b529b9fd Back out change from fix branch.
That was already made in this branch.
2025-01-09 22:46:32 -05:00
Tom Rothamel a4f4d49259 Merge branch 'fix' 2025-01-09 22:45:28 -05:00
Tom Rothamel 7d8d05107b Allow the fix branch to run on python 3.12. 2025-01-09 22:44:43 -05:00
Tom Rothamel dfb31d28f9 Load common files before game files. 2025-01-09 01:09:42 -05:00
Tom Rothamel 181eb8adab Do not reload with a nonexistent file comes into existence.
Fixes #6018.
2025-01-08 23:32:25 -05:00
Tom Rothamel f0feb9b33e Merge branch 'fix' 2025-01-08 09:38:30 -05:00
Tom Rothamel 2639028ce7 Document config.has_music, config.has_sound, and config.has_voice.
Also, slight correction on how a channel without a mixer works.

Fixes #6068.
2025-01-08 08:27:10 -05:00
Tom Rothamel 85e055a3dc Fix an unconverted use of split_filename. 2025-01-07 22:01:46 -05:00
Tom Rothamel cbc6986ae6 Merge pull request #6070 from mal/windows-platform-checks
Small clean up of Windows platform checks
2025-01-07 19:04:09 -05:00
Mal Graty c329714093 Remove check intended for Windows 7 and older only
Follow up to 919e22059b.
2025-01-07 18:48:13 +00:00
Mal Graty abdf045277 Skip redundant platform version check on Windows 2025-01-07 18:46:24 +00:00
Tom Rothamel 8df7c8605d cslots: Only allow objects of the same type to compare equal.
Fixes #6066, which was caused by the changes to store statement
names in the statement, changes that made an unnamed statement
equal None.
2025-01-07 02:14:28 -05:00
Tom Rothamel 919e22059b Do not use renpy.windows as a tuple.
Fixes #6067.
2025-01-06 22:49:59 -05:00
Tom Rothamel 10d04c1faf Allow Ren'Py to continue to operate if something corrupts the bytecode cache.
This fixed an issue reported to me via patreon, though I have no idea
why it's happening - seems to be one-off.
2025-01-06 22:35:58 -05:00
Tom Rothamel 0a1e694e02 Many changes to how Ren'Py deals with seen statements.
The biggest one is that once a translation has been seen, dialogue
statemments inside that translation are also marked as seen.

This change also changes the representation of seen translates and
nodes, to store a 64-bit hash of the identifier, which should take
up less memory and should be able to be pickled faster.
2025-01-05 23:04:19 -05:00
Tom Rothamel 0f6379a797 Properly cast numbers to ensure there isn't a python conversion. 2025-01-05 22:42:45 -05:00
Gio 9226d27605 Document cb_args cb_ prefix behavior 2025-01-05 18:18:07 +00:00
Tom Rothamel c2baefb2a1 Minor cleanups to the LibExecFinder. 2025-01-05 01:29:03 -05:00
Tom Rothamel 7aeef3bae9 Type corrections.
renpy.windows was aways meant to be bool like the other platform flags,
while store can just be an annotated assign.
2025-01-05 01:06:51 -05:00
Tom Rothamel 8d5dbe4f73 Merge pull request #6006 from renpy/modernize-init
Modernize `renpy.__init__`.
2025-01-05 00:56:25 -05:00
Tom Rothamel 04cd9fe223 Merge remote-tracking branch 'origin/fix' 2025-01-05 00:51:20 -05:00
Kassy beedbc0a22 Do not kill Renders that cache the last video frame on Web (#6057)
Fixes and issue where, when the next video frame is not ready, the previous one is returned by get_movie_texture_web(). Normally, this is just a GLTexture instance, but when using a mask, that frame is a Render instance instead. The problem is that Render instances get killed soon after they have been drawn, so get_movie_texture_web() returns a dead instance when re-using the previous frame which causes a crash because of missing uniforms when drawing the screen.

Fixes #6050.
2025-01-05 00:50:49 -05:00
Tom Rothamel 36c00a5e19 Rewrite the imports to use typing.TYPE_CHECKING. 2025-01-05 00:48:05 -05:00
Tom Rothamel cedcc36418 Update .gitignore and .vscode/settings.json when generating pyi files.
Also check in some missing pyis.
2025-01-04 23:33:41 -05:00
Tom Rothamel 6a828f6ade Revert "cslots: Avoid double store of IntegerSlot defaults"
This reverts commit 627c6c6a48.
2025-01-04 14:37:25 -05:00
Tom Rothamel 3df4aabba0 Fixes to astsupport. 2025-01-04 14:37:15 -05:00
Tom Rothamel ae20ebead0 Merge pull request #6058 from mal/cslots-suggestions
Suggestions for cslots
2025-01-04 14:36:55 -05:00
Tom Rothamel fc5ccc2f7b Rename hash functions, and make astsupport.pyi. 2025-01-04 12:16:34 -05:00
Mal Graty 9c31ee66bb cslots: Unify compressed behaviour of Slot classes 2025-01-04 11:09:24 +00:00
Mal Graty 627c6c6a48 cslots: Avoid double store of IntegerSlot defaults 2025-01-04 11:01:47 +00:00
Mal Graty 407f3ad859 cslots: Maintain experiment while in development 2025-01-04 11:00:32 +00:00
Tom Rothamel 2b63ccf21e cslots: Use the default values from the namespace. 2025-01-03 23:56:19 -05:00
Tom Rothamel 2993629f22 Allow a volume adjustment to be included in audio filenames.
Closes #6055.
2025-01-03 22:19:32 -05:00
Andrej Klychin 77aaeaa514 Merge pull request #6053 from mal/fix-lint-bytecode-check
Update lint to use py_compile function
2025-01-03 18:01:30 +02:00
Mal Graty 7baac98ecb Update lint to use py_compile function 2025-01-03 15:48:32 +00:00
Tom Rothamel ed155c4b43 cslots: Construct the class, then read the annotations dictionary.
This attempts to future-proof things when PEP 649 is out.
2025-01-03 02:06:06 -05:00
Tom Rothamel bfae063c3c Fix to _in_current_store behaviour for ATLTransform (#6043) 2025-01-02 20:07:41 -05:00
Tom Rothamel 2ee62542bb Update Ukrainian Translation (#6044) 2025-01-02 20:06:51 -05:00
Tom Rothamel 20f988a175 Update copyright for 2025. 2025-01-02 19:01:36 -05:00
Tom Rothamel 26c440f7a5 Merge branch 'fix' 2025-01-02 18:57:41 -05:00
Tom Rothamel b0e250d11e cy3: Fix an issue with coercion of the string. 2025-01-02 18:52:43 -05:00
Tom Rothamel 74157a4ad6 Update copyright for 2025. 2025-01-02 18:48:44 -05:00
Ruben Garcia 25b4a17d1a Fix typo 2025-01-02 18:47:03 -05:00
Tom Rothamel a2f0747294 Merge pull request #6005 from RubenGarcia/master
Fix typo in documentation for SaturationMatrix.
2025-01-02 18:41:52 -05:00
Tom Rothamel 7c8f6fc6b7 py3: Remove py2 compatibility. (#6052)
Remove various compatibility names that were only used for py2 to py3 compatibility purposes.
2025-01-02 18:40:54 -05:00
Andy_kl 6951397e17 Remove ast shenenegans, as it was fixed in Python 3.12. 2025-01-02 21:52:59 +04:00
Andy_kl e46ba6c0db Render multi-caret parse errors correctly. 2025-01-02 21:52:59 +04:00
Andy_kl 8737c5f2a7 Work around how Python tokenizer init SyntaxError. 2025-01-02 21:52:58 +04:00
Andy_kl 16855d59a8 Modernize ParserError and uses. 2025-01-02 21:52:58 +04:00
Andy_kl cba492a109 Add monkeypatch of linecache.updatecache.
This replaces `renpy.lexer.get_line_text` but also
allows other python modules to read renpy files,
namely `traceback` module.
2025-01-02 21:47:03 +04:00
Andy_kl 2d0c3a3929 Fixes after review. 2025-01-02 21:31:25 +04:00
Andy_kl 66fd602018 Revert some bytes handlers as it was never public at the first place. 2025-01-02 19:49:20 +04:00
Andy_kl 85eb29e25d Reraise exceptions without spurious frames. 2025-01-02 19:36:42 +04:00
Andy_kl cfa27c3295 Fix unintentional change of basestring in d3c827f 2025-01-02 18:34:40 +04:00
Andy_kl 3bd1fe0d0c Make one change cleaner after review. 2025-01-02 18:11:43 +04:00
Andy_kl ad68443ce9 Revert unrelated changes to displayable[_or_none]. 2025-01-02 18:09:54 +04:00
Andy_kl 29867c25da Audit other functions from renpy.compat. 2025-01-02 17:10:01 +04:00
Andy_kl 5aae0b2a4c Audit Python 2/Python 3 only comments and variables. 2025-01-02 16:52:33 +04:00
Andy_kl 02dee6d384 Audit uses of basestring in RenPy code base.
Most of times it already raised, but often deep in the RenPy.
In other cases, decode or use tuple of str and bytes.
2025-01-02 16:38:40 +04:00
Andy_kl bed1de4001 Update uses of reraise and exec_ with Python 3 counterparts. 2025-01-02 14:39:10 +04:00
Tom Rothamel 6fdb82a211 Allow an AST node to be used as its own name.
By doing this, it's no longer to keep the name tuples materialized
all the time. Instead, the AST store this information, which should
reduced memory usage (at the cost of some CPU time).
2025-01-02 00:30:19 -05:00
Tom Rothamel 4e97001e47 Store node names inside the node.
This prevents a 64 byte tuple and 28 byte integer from being
stored for every object. (At the cost of having to recompute these
when needed.)
2025-01-01 23:48:16 -05:00
Tom Rothamel 389eac79fe Startup times are now in ms. 2025-01-01 23:37:48 -05:00
Tom Rothamel 18558cca21 Reimplement PyExpr in Cython.
The motivation for this is to reduce the memory used by PyExprs
Previously, a PyExpr needed to point to an int object for the line
number (8 bytes for the pointer, 28 bytes for the int), and another for the
Python version. (8 bytes for the pointer.)

Now, the line number is stored in 4 bytes, and the Python version in
1. Even with 4 bytes for the hashcode, this drops from 44 to 12 bytes
of overhead.

There's also another 16 bytes saved by disabling cyclic gc.
2025-01-01 21:00:16 -05:00
Tom Rothamel 0e9198ae0f cy3: Build in -3 mode.
Now that we don't need to support Python 2, it's possible to build
in -3 mode. This should make the generated C more optimized.
2025-01-01 20:02:13 -05:00
Tom Rothamel eee91e5f9c cslots: Allow unknown fields to be handled by a descriptor. 2025-01-01 17:37:13 -05:00
Tom Rothamel 750fc33438 Remove import of renpy.location. 2025-01-01 09:23:33 -05:00
Tom Rothamel 545f4200e4 Rename pythonsupport to astsupport.
Both because it's used mostly by the ast module, and because PyExpr
will be moving here.
2025-01-01 09:09:56 -05:00
Tom Rothamel fe02e12192 Improve the bytecode cache.
Previously, the bytecode cache had a lot of duplication, with
PyCode and PyExpr blocks being treated differently. With this
change, the same cache is used for both.

By storing fnv1a hashcodes on both objects, looking up the bytecode
in the py_compile cache should be fast, and so the second path to
hash and cahe PyCodes isn't required.
2025-01-01 01:30:32 -05:00
Tom Rothamel 57b2ce638e Add a c-compiled fnv1a hash.
This is intended to replace the md5s overkill used when compiling
a script.
2024-12-31 23:30:49 -05:00
Tom Rothamel 05d0bff24e cslots: Decompress a compressed object on modification.
This allows things like scriptedit.py to work.
2024-12-31 22:29:16 -05:00
Tom Rothamel ee1a3cf44a cslots: Compress the script after chaning translates. 2024-12-31 09:22:24 -05:00
Tom Rothamel 5013b1f98f cslots: object.__getstate___ exists, we don't want it. 2024-12-30 08:46:52 -05:00
Tom Rothamel 850a9f9b37 cslots: Fix filename/linenumber. 2024-12-30 02:23:56 -05:00
Tom Rothamel 0b61e59d7f Remove the location class.
Now that cslots supersedes it.
2024-12-30 02:09:08 -05:00
Tom Rothamel b01928453c cslots: Compress and kill nodes.
The former should reduce memory usage, the latter is required to
break reference cycles when the script is unloaded.
2024-12-30 02:03:09 -05:00
Tom Rothamel 3af05dadf6 cslots: Migrate AST to cslots.
This required marking class variables with ClassVar.

Most __new__ methods have been eliminated, as they would duplicate
the default information now contained by cslots.
2024-12-30 01:00:18 -05:00
Tom Rothamel 2508785591 cslots: Add control on if line/column is included when pickling. 2024-12-30 00:59:26 -05:00
Tom Rothamel b8769d9800 cslots: Directly access meta-information. 2024-12-29 22:59:03 -05:00
veydzh3r 1febfd4306 Update gui.rpy 2024-12-29 22:43:57 +00:00
veydzh3r 260cf63292 Update developer.rpy 2024-12-29 22:43:20 +00:00
Mal Graty d95d734912 Avoid acting on a child about to be replaced
Calling an instance of ATLTransform acts on the child, which if none is
passed, is self.child. This isn't desired in cases where we're about to
inject a new child, so instead provide the child as a parameter.

Additionally we pre-emptively call _unique on the child to forestall any
_duplicate attempts during the construction of the transform.
2024-12-29 21:51:27 +00:00
Tom Rothamel c35dc9a02a cslots: Automatically define Slots for non-class variables.
And as a side-effect, make the annotations something I enjoy
looking at.
2024-12-29 11:33:15 -05:00
Tom Rothamel f99c8acd62 cslots: Use __getstate__ if defined. 2024-12-29 11:31:02 -05:00
Tom Rothamel fbf533a003 cslots: Remove auto-interning.
It wasn't being used a bit much, and it would be dangerous to
intern a pyexpr.
2024-12-29 10:37:07 -05:00
Tom Rothamel 03c31da5f0 cslots: Move PyCode over to Cslots. 2024-12-28 23:27:13 -05:00
Tom Rothamel a794ee3b00 cslots: Merge with Ren'Py. 2024-12-28 13:06:35 -05:00
Tom Rothamel c1afced29c Add a debug print when a .rpyc file can't be loaded.
This should never trigger for users, except during downgrade
scenarios.
2024-12-28 10:22:51 -05:00
Tom Rothamel 02156e6e47 Merge pull request #6023 from renpy/modernize-ast
Make `renpy.ast` more polymorphic.
2024-12-28 09:16:29 -05:00
Tom Rothamel 07b9a6da78 cslots: Pickle support.
Also some performance optimizations.
2024-12-28 00:57:41 -05:00
Tom Rothamel a77170508e cslots: Add IntegerSlot
This is a slot that's optimized to contain an integer, storing it
without needing to create a separate object.
2024-12-27 19:10:16 -05:00
Tom Rothamel 03cdfd091d cslots: Add the decompress method. 2024-12-27 17:06:19 -05:00
Tom Rothamel 2caf0adabb cslots: Fix and test getsizeof. 2024-12-27 15:18:07 -05:00
Tom Rothamel 423f544dc9 cslots: Objects with the metaclass also do not particpate in cyclic gc. 2024-12-27 15:16:53 -05:00
Tom Rothamel e207fdc435 cslots: Remove cyclic GC, replace with a ._kill() method.
Cyclic GC imposes a 16 byte overhead on each object. Instead of
cyclic GC, we have a ._kill() method that clears the references
from each object, and rely on Ren'Py to call it to break cycles
when it's time for the Script to be deallocated.
2024-12-27 14:45:15 -05:00
Tom Rothamel bfbc9b8b1f cslots: Use pymalloc. 2024-12-27 14:13:03 -05:00
Tom Rothamel ae04573e90 cslots: Add object compression. 2024-12-27 13:22:04 -05:00
Tom Rothamel 6c2baa1474 cslots: Allow slots to contain integers.
For now, just allow it the IntegerSlot class will come later.
2024-12-27 11:31:05 -05:00
Tom Rothamel ceb7dea7cc cslots: Renamings, error handing, compressed flag. 2024-12-27 01:10:07 -05:00
Tom Rothamel 2da5f4ae6a Support cyclic garbage collection. 2024-12-26 23:56:41 -05:00
Andy_kl 8bbb827d25 Update compat fixes for tokenizer changes in Python 3.12. 2024-12-27 01:35:57 +04:00
Tom Rothamel a535365da0 cslots: Uncompressed objects. 2024-12-26 00:21:22 -05:00
Tom Rothamel 2450dcbfa8 Remove align function.
It's not needed.
2024-12-26 00:21:22 -05:00
Tom Rothamel 439921baea cslots: Initial setup.
Cslots - short for compressed slots, will be an attempt to reduce
AST memory consumption by only including non-default slots in
objects.
2024-12-26 00:21:22 -05:00
Andy_kl ac450c8b1f Fix depricated use cases of python ast. 2024-12-26 06:22:52 +04:00
Tom Rothamel 4163c1396c Merge pull request #6035 from shawna-p/default-focus-fix2
Don't overrule focus override for max focus
2024-12-25 20:39:00 -05:00
shawna-p d6ab06dd1f Don't overrule focus override for max focus 2024-12-25 16:42:56 -05:00
Tichq 3db515db3c fix: function staticmethod of TransformMatrix 2024-12-25 07:29:53 -05:00
Tom Rothamel 99cb4c0975 Merge pull request #6032 from qTich/fix-matrixtransform-function
fix: function property of `TransformMatrix`
2024-12-25 07:28:18 -05:00
Tichq b120ea6303 fix: function staticmethod of TransformMatrix 2024-12-25 11:25:01 +03:00
Tom Rothamel cc654ebfeb atl: Distinguish between children and included transforms.
During prediction. Fixes #6014.
2024-12-25 00:04:04 -05:00
Tom Rothamel a8342ba40b Merge pull request #6031 from mal/fix-docstring-lint-warnings
Use raw strings for docstrings that contain unescaped slashes
2024-12-24 13:21:21 -05:00
Mal Graty 72535d881a Use raw str for docstrings that contain slashes 2024-12-24 15:06:23 +00:00
Tom Rothamel 41458e274e Better error if textshaders are used incorrectly. 2024-12-24 00:26:31 -05:00
Tom Rothamel 5f8382a9aa Use the correct condition for including i686.
Fixes #6028.
2024-12-24 00:26:31 -05:00
Tom Rothamel f389c13b29 Better error if textshaders are used incorrectly. 2024-12-24 00:23:35 -05:00
Tom Rothamel c57dbe7a9d Use the correct condition for including i686.
Fixes #6028.
2024-12-23 20:34:28 -05:00
Tom Rothamel fba051737f dist: Classify pxd files as source only. 2024-12-22 10:26:01 -05:00
Tom Rothamel 83c87011ad Updated keywords.py. 2024-12-22 10:15:15 -05:00
Tom Rothamel 9e9e9061e0 Distribute src/ and the new setup.py. 2024-12-22 10:08:18 -05:00
Tom Rothamel 3bef0a10b0 Remove the usue of future. 2024-12-22 09:44:33 -05:00
Tom Rothamel cedf98910f Python 311 bytecode is no longer needed for web builds. 2024-12-22 09:36:53 -05:00
Tom Rothamel ae08ac55c5 Only include the current libpython3.{x}.dll in builds. 2024-12-22 09:34:49 -05:00
Tom Rothamel e35fcb2e86 Only include the current libpython3.{x}.dll in builds. 2024-12-22 09:32:23 -05:00
Ren'Py Bot 6c8030ad99 Merge branch 'fix' 2024-12-22 04:30:55 -05:00
Tom Rothamel 820bd815ca Fix code-typo regarding tight playback.
Fixes #6019.
2024-12-22 01:34:27 -05:00
Tom Rothamel 38b505ba36 Fix code-typo regarding tight playback.
Fixes #6019.
2024-12-22 01:32:26 -05:00
Tom Rothamel 9de620953d doc: Changelog. 2024-12-22 01:31:14 -05:00
Tom Rothamel c5f54a6d72 rapt: Call non-static methods through mActivity.
This wasn't enforced by pyjnius, and now it is.
2024-12-22 01:25:30 -05:00
Andy_kl 9968387f89 Simplify Node.get_init method to always return init priority
of the node and make polymorphic `Node.execute_init` do the job.
2024-12-21 20:18:23 +04:00
Tom Rothamel 680fe45ec8 Merge pull request #6010 from AbdulGoodLooks/patch-6
Fix typo in style_properties.rst
2024-12-21 10:38:26 -05:00
Andy_kl 5c2258b970 Add Node.get_translation_strings, a polymorphic method to get
extra translation strings of the node.
2024-12-21 18:10:13 +04:00
Andy_kl 4d976330ec Make reacheability a polymorphic method on Node class. 2024-12-21 17:45:50 +04:00
Andy_kl d8096effe4 Add removed slots of TranslateSay as properties. 2024-12-21 17:23:09 +04:00
Andy_kl f04a303af0 Do not set get_init and early_execute to None.
It does not speed things up any way to notice.
2024-12-19 19:46:57 +04:00
Andy_kl 2fdcd690a9 Move non translation nodes before translations. 2024-12-19 19:37:57 +04:00
Andy_kl 52e309aa1b Add types for renpy.ast module. 2024-12-19 19:35:57 +04:00
Ren'Py Bot 293f0f5e5d Merge branch 'fix' 2024-12-19 04:30:54 -05:00
Tom Rothamel f132d49157 text: Handle events in virtual coordinates.
Fixes #6013.
2024-12-18 23:17:56 -05:00
Abdul 73333d16fc Fix typo in style_properties.rst 2024-12-17 21:46:42 +00:00
Tom Rothamel 6cf5e23f6a reorg: Change Setup to work with the new location of generated files. 2024-12-15 23:11:31 -05:00
Tom Rothamel e6b92d5a27 reorg: Give setup.py a main. 2024-12-15 20:39:22 -05:00
Tom Rothamel f2d3e0d20e reorg: Setup.py no longer probes for libraries and includes.
Previously, setup.py had been the main build process, and would
probe the system for dependencies. Now that all dependencies are
available on all platforms, and cross-compiling is done by renpy-build,
setup.py has been simplified by assuming everything is present.

(Optional probing is done using pkg-config.)

Various includes have been changed to be more canonical.
2024-12-15 20:27:42 -05:00
Tom Rothamel e41a4f85e9 reorg: Eliminate use of the module directory.
This directory contained a mix of both c/cython source code, scripts,
and build information. Now, source is in src, scripts are in scripts,
and setup.py is in the root.
2024-12-15 18:14:26 -05:00
Andy_kl 6b4e61f3b2 Remove uses of removed update_path 2024-12-16 02:44:11 +04:00
Andy_kl adfb70038b Modernize renpy.__init__. 2024-12-16 02:41:22 +04:00
Tom Rothamel 5146b83125 Document the two most important branches. 2024-12-15 11:02:18 -05:00
Ruben Garcia 5bc46900f6 Fix typo 2024-12-15 10:31:31 +01:00
Ren'Py Bot b23a0df6e8 Merge branch 'fix' 2024-12-15 04:30:54 -05:00
Tom Rothamel 86dbd0d299 Move statement_start from a property of ast.Node to ast.Menu.
This reduces memory, as it's only relevant for Menu nodes.
2024-12-15 02:41:04 -05:00
Tom Rothamel 13919e7f94 Store ast filename and line number in Location.
This should reduce the memory used by not requiring many integer
objects to be kept alive.
2024-12-15 02:36:08 -05:00
Tom Rothamel 63155fbc7e Ren'Py is now cython 3 compatible. 2024-12-14 23:54:24 -05:00
Tom Rothamel ba0bc218c2 cy3: Add noexcept annotations.
These allow Ren'Py to be compiled by cython 3.0.
2024-12-14 20:50:07 -05:00
Tom Rothamel 8a4a811a4c cy3: Add noexcept annotations.
These allow Ren'Py to be compiled by cython 3.0.
2024-12-14 19:59:04 -05:00
Tom Rothamel 643fd38510 Merge branch 'fix' 2024-12-14 01:08:40 -05:00
Tom Rothamel 8ea6482788 Add config.keep_screenshot_entering_menu.
Per discord discussion, this makes it possible to take a screenshot
before an in-game menu is shown, and use that screenshot when entering
the menu context.
2024-12-14 01:07:20 -05:00
Tom Rothamel 97331e2464 Fix to how SetCharacterVolume sets the volume.
Previously, it would try to adjust the volume. Now it treats it
the same way _CharacterVolumeValue does.

Fixes #6001.
2024-12-13 20:05:12 -05:00
Tom Rothamel 2ba27b5549 Add the location class.
This class stores a filename, linenumber, and a column. Storing the
data as C inside the object is intended to reduce the amount of
RAM used.
2024-12-12 22:54:59 -05:00
Ren'Py Bot 8c26b986a3 Merge branch 'fix' 2024-12-12 04:30:54 -05:00
Tom Rothamel 8d38a6ae4d Add no_launcher_links.txt.
If a file named ``no_launcher_links.txt`` exists in the Ren'Py base directory (the one with
renpy.exe, renpy.sh, and renpy.app in it), the launcher will disable links to renpy.org. While
not guaranteed, this is intended in educational and homeschool environments to prevent young
Ren'Py users from seeing adult sponsors.
2024-12-11 22:27:36 -05:00
Tom Rothamel bac6dbdba7 Add no_launcher_links.txt.
If a file named ``no_launcher_links.txt`` exists in the Ren'Py base directory (the one with
renpy.exe, renpy.sh, and renpy.app in it), the launcher will disable links to renpy.org. While
not guaranteed, this is intended in educational and homeschool environments to prevent young
Ren'Py users from seeing adult sponsors.
2024-12-11 21:59:35 -05:00
Tom Rothamel 346b34d5a0 Allow Gallery.get_Fraction to return the fraction for all buttons.
Fixes #5991.
2024-12-10 22:54:33 -05:00
Tom Rothamel 7d2a131995 Changelog #6000. 2024-12-09 23:32:28 -05:00
Tom Rothamel fd6eb01e5e Change thumb_offset, add thumb_align #6000
Updates thumb_offset to optionally take a tuple instead of an integer. If provided a tuple, the first number is used to offset the left/top of the bar, and the second number is used for the right/bottom. This is helpful for bars whose thumb is asymmetrical, such as a half-circle. In particular, it avoids issues with semi-transparent image overlap (in general or when using ATL or transitions). It is backwards-compatible with the regular integer value.

Adds a thumb_align property to bars. This solves an incredibly common issue which occurs when the bar's thumb is larger than the bar images. Most people want the center and thumb of the bar to be aligned. This provides a simple in-engine solution, rather than forcing players to adjust their bar images in an image editor.
2024-12-09 20:28:02 -05:00
shawna-p 81653b0daf New bar properties 2024-12-09 19:23:08 -05:00
Ren'Py Bot c97f8acadd Merge branch 'fix' 2024-12-09 04:30:54 -05:00
Tom Rothamel e3c4993487 Bump the fix version. 2024-12-08 23:48:49 -05:00
Ren'Py Bot 62810b94ab Merge branch 'fix' 2024-12-08 04:30:54 -05:00
Tom Rothamel d0270729c1 doc: Changelog. 2024-12-07 22:57:53 -05:00
Tom Rothamel 3bc3bf3e19 Avoid reporting string errors on triple-quoted strings.
Which tend to be much more intentional, and cause errors when
monologue mode exists.
2024-12-07 22:31:04 -05:00
Tom Rothamel 831fb59d49 Produce a better error for monologue mode with an id clause.
Fixes #5980.
2024-12-07 22:16:19 -05:00
Tom Rothamel 5db210473c Switch from MultipleDict to collections.ChainMap (#5983)
Switch from MultipleDict to collections.ChainMap
2024-12-07 00:24:22 -05:00
Tom Rothamel 0686c2621d Remove debug raise, again.
Fixes #5986.
2024-12-06 22:44:36 -05:00
Mal Graty 3fcf634c8b Switch from MultipleDict to collections.ChainMap 2024-12-06 03:20:20 +00:00
Tom Rothamel 9caf81c129 Merge remote-tracking branch 'origin/fix' 2024-12-05 22:07:35 -05:00
Tom Rothamel f5555d6f1a Merge pull request #5982 from mal/fix-5981
Prevent MultipleDict masking builtins during interpolation
2024-12-05 22:02:58 -05:00
Mal Graty e7eb0e135b Meet expectation to raise KeyError on missing keys
Fixes #5981
2024-12-06 00:15:14 +00:00
Ren'Py Bot 9d4fd5aef1 Merge branch 'fix' 2024-12-04 04:30:54 -05:00
Tom Rothamel 92514e4c1f imagemap: Remove caching.
This has been disabled for a long time, and doesn't make a lot of sense
in modern Ren'Py. So it's gone.
2024-12-04 00:36:12 -05:00
Tom Rothamel 40078a18f3 Offer config.screen_width, config.screen_height to imagemaps.
This shouldn't affect normal imagemaps that use images, but
should make using non-image displayables in imagemaps work better.

Fixes #5976.
2024-12-04 00:36:12 -05:00
Tom Rothamel 22153cb191 Use itch.zone instead of itch.ovh.
Per https://github.com/itchio/butler/commit/898b30bb2cadaaf561d91c4f7784aa1927c5cfb2

Fixes #5795.
2024-12-04 00:36:12 -05:00
Tom Rothamel bf9de85f75 Offer config.screen_width, config.screen_height to imagemaps.
This shouldn't affect normal imagemaps that use images, but
should make using non-image displayables in imagemaps work better.

Fixes #5976.
2024-12-03 23:28:01 -05:00
Tom Rothamel 6470a37b40 Use itch.zone instead of itch.ovh.
Per https://github.com/itchio/butler/commit/898b30bb2cadaaf561d91c4f7784aa1927c5cfb2

Fixes #5795.
2024-12-03 19:18:34 -05:00
Ren'Py Bot b6aa7e7139 Merge branch 'fix' 2024-12-03 04:30:54 -05:00
Tom Rothamel 99a5ac89db Remove style_prefix from the template say screen.
As it's not used.

Fixes #5973.
2024-12-03 00:34:17 -05:00
Tom Rothamel d594f15b23 Merge branch 'fix' 2024-12-02 23:47:45 -05:00
Tom Rothamel e46073b059 Allow renpy.register_style_preference to take a style by name.
Per the documentation.

Fixes #5972.
2024-12-02 21:57:17 -05:00
Mal Graty 88ddee9d5e doc: Missing version headers in changelog 2024-12-02 01:24:05 +00:00
Tom Rothamel d8283c958c doc: Changelog. 2024-12-01 20:17:41 -05:00
Tom Rothamel 31025cdadb doc: Credits, sponsors. 2024-12-01 19:27:10 -05:00
naughty road e66a9b8c6d Code cleanup: remove superfluous line 2024-12-01 19:10:20 -05:00
naughty road 2b5b9835b7 Fix order of attempting to load presplash images
Checks for foreground+background first, before falling back to the single presplash image, instead of the other way around, to match behavior in the documentation (https://www.renpy.org/doc/html/splashscreen_presplash.html#adding-a-progress-bar).
2024-12-01 19:10:08 -05:00
Tom Rothamel 43441524cd Merge pull request #5969 from NaughtyRoad/fix-order-of-presplash-image-checks-to-match-documentation
Fix order of attempting to load presplash images
2024-12-01 19:09:48 -05:00
the66F95 3f667e3ef1 Update dragdrop.py
should fix #5968 (not extensively tested)
2024-12-01 19:08:38 -05:00
Tom Rothamel f8cc239df6 Merge pull request #5970 from the66F95/drags
Update dragdrop.py
2024-12-01 19:08:16 -05:00
the66F95 3ece5ec173 Update dragdrop.py
should fix #5968 (not extensively tested)
2024-12-02 00:50:22 +01:00
Tom Rothamel 823e235a1c Remove debug raise.
Fixes #5966.
2024-12-01 17:09:27 -05:00
naughty road 2e2020be4a Code cleanup: remove superfluous line 2024-12-01 22:47:04 +01:00
naughty road 6666a285a7 Fix order of attempting to load presplash images
Checks for foreground+background first, before falling back to the single presplash image, instead of the other way around, to match behavior in the documentation (https://www.renpy.org/doc/html/splashscreen_presplash.html#adding-a-progress-bar).
2024-12-01 22:11:45 +01:00
Tom Rothamel 1df2c15b07 Stop movies that may have been restarted when returning to a channel.
Fixes #5960. (Replicated as bug5911.)
2024-12-01 00:20:18 -05:00
Tom Rothamel 4087f8de87 Use the correct variable name. 2024-11-30 22:22:18 -05:00
Tom Rothamel cde2db2ebf Avoid save scanning restarting the interaction.
The strategy chosen was to keep track of which slots have had
information by the rest of Ren'Py, and only restarting if one of
those slots is accessed.

This is motivated by a series of interaction restarts at choice menus,
caused by the autosaves that happen when a choice menu is reached.
2024-11-30 22:22:18 -05:00
Tom Rothamel c1f85b21d5 Remove the ATL "update" event.
This was rarely used, and caused problems, like #5926, with no
actual benefit.

Fixes #5956 by virtue of reverting #5927.
2024-11-30 22:22:18 -05:00
Tom Rothamel 2552c35581 Revert "Update screen.py"
This reverts commit cb10f2a21a.
2024-11-30 22:22:18 -05:00
Tom Rothamel 86294e34f2 Compat #4717.
Fixes #5954.
2024-11-30 22:21:40 -05:00
Tom Rothamel 5c5252a516 Use the correct variable name. 2024-11-30 08:25:11 -05:00
Tom Rothamel 70bb4208bc Avoid save scanning restarting the interaction.
The strategy chosen was to keep track of which slots have had
information by the rest of Ren'Py, and only restarting if one of
those slots is accessed.

This is motivated by a series of interaction restarts at choice menus,
caused by the autosaves that happen when a choice menu is reached.
2024-11-29 21:42:03 -05:00
Tom Rothamel 2e1c09dbbd Remove the ATL "update" event.
This was rarely used, and caused problems, like #5926, with no
actual benefit.

Fixes #5956 by virtue of reverting #5927.
2024-11-29 21:09:41 -05:00
Tom Rothamel fc5f8e0d3e Revert "Update screen.py"
This reverts commit cb10f2a21a.
2024-11-29 20:23:41 -05:00
Tom Rothamel 81198df4c5 Add the arrowkeys property to input.
This controls if the arrow keys apply to the input, or can be
used for focus.

Fixes #5959.
2024-11-29 15:09:45 -05:00
Tom Rothamel 9deaddbbd4 Fix where nvl_hide sets store._window.
So that _window is False before the empty window is shown.
2024-11-29 14:53:23 -05:00
Tom Rothamel 4dbddc88ed Add renpy.get_statement_name.
To make available the statement name.
2024-11-29 14:53:23 -05:00
Tom Rothamel 17e574866b Handle non-keyboard focusable displayables.
Specifically, before doing any sort of keyboard focus, check
that the current focus supports the keyboard, and drop it if
it does.

Per #5936. Keeps the fix for #5173.
2024-11-29 14:51:59 -05:00
Tom Rothamel c59e787262 Compat #4717.
Fixes #5954.
2024-11-29 14:51:59 -05:00
Tom Rothamel 5f77306cba Fix keyboard focus of viewports.
Based on #5936, fixes #5934.
2024-11-29 14:51:41 -05:00
Tom Rothamel 28ae4a7c0c Fix where nvl_hide sets store._window.
So that _window is False before the empty window is shown.
2024-11-29 14:36:51 -05:00
Tom Rothamel ec5738c6e0 Add renpy.get_statement_name.
To make available the statement name.
2024-11-29 14:30:40 -05:00
Tom Rothamel 2da8beecd7 Handle non-keyboard focusable displayables.
Specifically, before doing any sort of keyboard focus, check
that the current focus supports the keyboard, and drop it if
it does.

Per #5936. Keeps the fix for #5173.
2024-11-29 13:07:57 -05:00
Tom Rothamel e0062cbebc Compat #4717.
Fixes #5954.
2024-11-28 22:31:14 -05:00
Tom Rothamel 9b290e07f5 Fix keyboard focus of viewports.
Based on #5936, fixes #5934.
2024-11-28 21:53:27 -05:00
Tom Rothamel c0051f49b3 Merge pull request #5953 from 0x0ade/fix-persistent-clear-doc
docs: Update persistent._clear with current behavior
2024-11-27 08:28:11 -05:00
Jade Macho f64c74ac78 docs: Update persistent._clear with current behavior 2024-11-27 14:19:22 +01:00
Tom Rothamel 5d217f6527 Merge pull request #5901 from the66F95/android-open-editor
Android open editor
2024-11-26 22:46:40 -05:00
Tom Rothamel e63efb05de Merge branch 'master' into android-open-editor 2024-11-26 22:46:33 -05:00
Tom Rothamel 48ef5c89b3 Make quick menu locatioon configurable through a style.
As requested in #5948.

Thought was given to doing something similar with file_slots, but
that would require multiple new styles, and it's generally a bigger
lift when it comes to customization.
2024-11-25 23:01:02 -05:00
Ren'Py Bot 2145516173 Merge branch 'fix' 2024-11-24 22:11:26 -05:00
Tom Rothamel 864feaba02 Indentation fix from #5947. 2024-11-24 11:48:50 -05:00
Tom Rothamel 76b068c6dc Take the CaretBlink change from #5947. 2024-11-24 11:45:22 -05:00
Tom Rothamel ebc6e66433 Add a ZWSP to pad out an empty line.
This fixes the same thing seen in #5947, in a different way.
2024-11-24 11:11:00 -05:00
Ren'Py Bot 9ee1562ff3 Merge branch 'fix' 2024-11-24 04:30:12 -05:00
Tom Rothamel f25dcea3cb Take the remaining fix from #5931.
Fixes #5929.
2024-11-23 22:35:03 -05:00
ヽ◕◡◕✿ノ 78899cfef3 Live2D.blend_opacity wasn't usable 2024-11-23 22:28:51 -05:00
Tom Rothamel 442c4fdc7a Merge pull request #5942 from farzher/master
Live2D.blend_opacity wasn't usable
2024-11-23 22:27:56 -05:00
Tom Rothamel 339c7357dc Update and modernize SpriteManager.
Fixes #5939

* Make SpriteManager pickleable.
* Update the idea of a fast render to take gl2 into account.
2024-11-23 22:15:35 -05:00
Tom Rothamel 4a1182cdd5 Ensure inputs are at least 1px wide.
Fixes #5944 while retaining #5929 and #5913.
2024-11-23 21:41:38 -05:00
Tom Rothamel 9ff3bb67e8 Revert "input mask regression"
This reverts commit 89d5858d2b.
2024-11-23 21:19:45 -05:00
Ren'Py Bot a84543fb99 Merge branch 'fix' 2024-11-23 04:30:13 -05:00
ヽ◕◡◕✿ノ bb3d8254b1 Live2D.blend_opacity wasn't usable 2024-11-23 02:31:36 -05:00
Jan Masek f7a5e874ea Mention screen calling labels in Special Labels 2024-11-22 23:39:29 -05:00
Tom Rothamel 97f05000b5 Merge pull request #5937 from Lezalith/master
Mention screen calling labels in Special Labels
2024-11-22 22:45:55 -05:00
Lezalith e7297b78f8 Merge branch 'renpy:master' into master 2024-11-23 04:23:44 +01:00
Ren'Py Bot 6f2bc54e1b Merge branch 'fix' 2024-11-22 04:30:12 -05:00
Jan Masek 07dc391c59 Mention screen calling labels in Special Labels 2024-11-22 02:54:21 +01:00
HorBro38 ec758301ac Update displaying_images.rst
Corrects errant use of .jxl file type discovered in #5933
2024-11-21 17:56:47 -05:00
Tom Rothamel 83cada0b34 Merge pull request #5935 from HorBro38/Displaying-Images-doc-fix
Update displaying_images.rst
2024-11-21 17:50:05 -05:00
HorBro38 2fe65592db Update displaying_images.rst
Corrects errant use of .jxl file type discovered in #5933
2024-11-21 13:24:00 -05:00
Ren'Py Bot 48bd8358d2 Merge branch 'fix' 2024-11-21 04:30:13 -05:00
the66F95 19122e45c8 Update screen.py
seems to fix #5926 while preserving #5905
2024-11-20 23:10:26 -05:00
the66F95 89d5858d2b input mask regression
should fix #5929 while preserving #5913
2024-11-20 23:10:12 -05:00
Tom Rothamel 75ef4e4f7e Merge pull request #5927 from the66F95/screen-show-update-events
Update screen.py
2024-11-20 21:12:05 -05:00
Tom Rothamel e6e72e3d94 Merge pull request #5930 from the66F95/input-mask-regression
input mask regression
2024-11-20 21:11:38 -05:00
the66F95 d5b1da1052 input mask regression
should fix #5929 while preserving #5913
2024-11-20 23:51:09 +01:00
the66F95 cb10f2a21a Update screen.py
seems to fix #5926 while preserving #5905
2024-11-20 17:35:58 +01:00
Ren'Py Bot 089675bafa Merge branch 'fix' 2024-11-20 04:30:28 -05:00
the66F95 5a65eea075 Update viewport.py
should fix #5921
2024-11-19 22:59:21 -05:00
Edward Nicholes Jr. 4e5dd16606 Fix the ATL part of the tutorial to show the correct example code
In the "Tutorial" > "Transforms and Animation", there is a section that demonstrated that `repeat` can take an integer argument.

However, the `alt_image1` example code is shown twice on lines 543 and 548 for two different examples.

Line 548, should be changed to show the `alt_image2` example code which removed the `repeat 2` line from the previous example, showing that the animation will only happen once.
2024-11-19 22:59:12 -05:00
Tom Rothamel f746a61a1c Merge pull request #5922 from the66F95/viewport-focus
Update viewport.py
2024-11-19 22:49:40 -05:00
Tom Rothamel 28a35bfcea Merge pull request #5925 from GameDevFox/patch-1
Fix the ATL part of the tutorial to show the correct example code
2024-11-19 22:41:37 -05:00
Tom Rothamel dd61e71beb Ensure the cache is maintained under lock.
And also check that cache entry is in the cache when it's killed.

Fixes #5923.
2024-11-19 22:25:23 -05:00
Edward Nicholes Jr. 74b4674439 Fix the ATL part of the tutorial to show the correct example code
In the "Tutorial" > "Transforms and Animation", there is a section that demonstrated that `repeat` can take an integer argument.

However, the `alt_image1` example code is shown twice on lines 543 and 548 for two different examples.

Line 548, should be changed to show the `alt_image2` example code which removed the `repeat 2` line from the previous example, showing that the animation will only happen once.
2024-11-19 16:51:40 -06:00
Ren'Py Bot 1a8dbd84fb Merge branch 'fix' 2024-11-19 04:30:28 -05:00
the66F95 358502391f Update viewport.py
should fix #5921
2024-11-19 09:02:02 +01:00
Tom Rothamel c3246406c2 Add config.translate_additional_strings_callbacks.
This is a list of callbacks that return strings that will be
offered up for translation.

Fixes #5849.
2024-11-18 22:53:36 -05:00
naughty road 70f30147df fix link to pyjnius docs
Seems the original URL refering to "stable" doesn't exist anymore, this updates it to direct to "latest" instead.
2024-11-18 22:41:47 -05:00
Tom Rothamel bdd07c41ee Merge pull request #5919 from NaughtyRoad/fix-pyjnius-link-in-sphinx
fix link to pyjnius docs
2024-11-18 17:19:35 -05:00
naughty road 55bc71c810 fix link to pyjnius docs
Seems the original URL refering to "stable" doesn't exist anymore, this updates it to direct to "latest" instead.
2024-11-18 23:05:56 +01:00
Tom Rothamel 423e54de9f Add the ___ function.
This translates text, then applies text interpolation.
2024-11-17 20:44:44 -05:00
Tom Rothamel b097fcf3de Merge branch 'fix' 2024-11-16 21:35:25 -05:00
Tom Rothamel fa84f0c61e doc: Changelog wording fix. 2024-11-16 03:06:09 -05:00
Tom Rothamel 74339b0432 Bump the fix version. 2024-11-16 01:59:03 -05:00
Tom Rothamel f6f4b3bce3 Empty masked inputs no longer show a single mask glyph.
Fixes #5913.
2024-11-15 20:34:32 -05:00
Tom Rothamel 5dbd50159a doc: Correct the notify screen. 2024-11-15 00:11:26 -05:00
Tom Rothamel 1e85fd051a doc: Sponsors. 2024-11-14 23:16:13 -05:00
Ren'Py Bot 88185556c6 Merge branch 'fix' 2024-11-14 04:30:28 -05:00
Tom Rothamel dc65afd6f1 Duplicate the children of Movie.
Fixes #5907.
2024-11-13 22:55:57 -05:00
Ren'Py Bot 4cf058d823 Merge branch 'fix' 2024-11-13 04:30:28 -05:00
Tom Rothamel e3222ec11d Store the old_max_default even if it's not used.
Fixes #5903.
2024-11-12 22:30:57 -05:00
Tom Rothamel 37c78dccda config.nvl_adv_transition no longer forces the dialogue window to be hidden.
Fixes #5904.
2024-11-12 22:11:46 -05:00
Tom Rothamel 1a7f0ca8c3 Screens go from SHOW to UPDATE upon first update.
Fixes #5905.

The underlying issue was caused by the screen being run for a
second time in SHOW mode, which in turn prevented scopes of used
screens from being saved.
2024-11-12 21:55:58 -05:00
Tom Rothamel 098b29a15c Merge branch 'fix' 2024-11-11 23:39:23 -05:00
the66F95 0ea39d7637 open editor on Android
the Python part to open/select an editor to open the traceback file on Android devices.
2024-11-11 15:54:38 +01:00
the66F95 173e4ebef4 Revert "open editor on Android"
This reverts commit f2badd8cc9.
2024-11-11 15:49:06 +01:00
the66F95 f2badd8cc9 open editor on Android
the Python part to open/select an editor to open the traceback file on Android devices, works with 651c31a0bd3a6e6dbe67ede889106562d12e68b5
2024-11-11 15:46:10 +01:00
Tom Rothamel be8831b4b2 doc: Changelog and credits. 2024-11-11 00:50:46 -05:00
Tom Rothamel fc87c053c3 Do not focus a displayable that's been transformed to nothing.
Fixes #5869.
2024-11-11 00:41:32 -05:00
Tom Rothamel 10cc039460 Merge pull request #5900 from Kassy2048/fix
Do not offer to open "traceback.txt" on mobile
2024-11-10 23:48:00 -05:00
Tom Rothamel fd027dbdbd Duplicate an AlphaMask's mask. 2024-11-10 23:47:28 -05:00
Kassy 15eb9a9c13 Do not offer to open "traceback.txt" on mobile
renpy.launch_editor() is not supported on mobile (or Web) so clicking on
the button does nothing.
2024-11-11 05:31:11 +01:00
woolion 2ded06bc5d steam: fix get_session_ticket 2024-11-10 13:56:08 -05:00
Tom Rothamel 06f6c73e41 Merge pull request #5899 from Le09/master-getsessionticket
steam: fix get_session_ticket
2024-11-10 13:54:55 -05:00
woolion bebf063872 steam: fix get_session_ticket 2024-11-10 19:36:15 +01:00
Andrej Klychin 8c759f7760 Merge pull request #5895 from Ayowel/doc/pydeps
doc: fix python dependencies list for copy/paste
2024-11-10 18:34:20 +02:00
Ayowel 7fd921b1a0 doc: fix python dependencies list for copy/paste 2024-11-10 16:50:08 +01:00
Dipesh Aggarwal 54fb00100e Fix the wrong keymap for accessibility 2024-11-09 22:38:23 -05:00
Dipesh Aggarwal b87b105387 Replace balloon with 'bubble` to represent a valid type for callbacks 2024-11-09 22:38:23 -05:00
Tom Rothamel bf142b2ba8 doc: Changelog whitespace changes. 2024-11-09 22:38:18 -05:00
Tom Rothamel 13285fe264 doc: Changelog. 2024-11-09 22:37:48 -05:00
Tom Rothamel a9159c5f71 Only skip the BOM, not other characters. 2024-11-09 22:37:27 -05:00
Tom Rothamel c5cdd0038e Merge pull request #5891 from DipeshAggarwal/patch-2
Fix the wrong keymap for accessibility
2024-11-08 21:18:51 -05:00
Tom Rothamel 8bac98c29a Merge pull request #5892 from DipeshAggarwal/patch-3
Replace `balloon` with 'bubble` to represent a valid type for callbacks
2024-11-08 21:18:37 -05:00
Dipesh Aggarwal 421d8cc37d Replace balloon with 'bubble` to represent a valid type for callbacks 2024-11-09 07:08:01 +05:30
Dipesh Aggarwal c097434036 Fix the wrong keymap for accessibility 2024-11-09 06:59:12 +05:30
Dipesh Aggarwal e3cc4be1b8 Fix UnboundLocalError: local variable 'keyboard_mode' referenced before assignment
(cherry picked from commit 15f498516a)
2024-11-09 03:31:10 +04:00
Andrej Klychin 2137eab4cb Merge pull request #5890 from DipeshAggarwal/patch-1
Fix UnboundLocalError: local variable 'keyboard_mode' referenced befo…
2024-11-09 01:21:29 +02:00
Dipesh Aggarwal 15f498516a Fix UnboundLocalError: local variable 'keyboard_mode' referenced before assignment 2024-11-09 01:20:03 +05:30
Tom Rothamel b5711f7e11 doc: Changelog whitespace changes. 2024-11-08 01:07:11 -05:00
Tom Rothamel 8f2649e3a7 doc: Changelog. 2024-11-07 22:29:47 -05:00
Tom Rothamel ab42c0f6e1 Only skip the BOM, not other characters. 2024-11-07 22:02:23 -05:00
Tom Rothamel 01eacd2932 Avoid forcing synchro_start when playing a movie.
Fixes #5887.

This may cause mask_channel to get a bit more out of sync, but it's
already so-so, and side_mask is the superior alternative.
2024-11-07 21:55:08 -05:00
Tom Rothamel c25f22fe4f doc: Credits. 2024-11-07 21:54:55 -05:00
Tom Rothamel e1ca5b3d8a Avoid forcing synchro_start when playing a movie.
Fixes #5887.

This may cause mask_channel to get a bit more out of sync, but it's
already so-so, and side_mask is the superior alternative.
2024-11-07 01:26:32 -05:00
Tom Rothamel 03b6addae0 doc: Credits. 2024-11-07 01:03:49 -05:00
Tom Rothamel bc31530843 doc: Credits. 2024-11-06 20:37:35 -05:00
Tom Rothamel ad49dcae3c Merge branch 'fix' 2024-11-05 01:55:32 -05:00
Tom Rothamel fe3b800cab Change Model to create meshes as documented.
Fixes #5692.
2024-11-05 00:36:12 -05:00
Tom Rothamel ccde74bdb8 doc: Fix config.skip_sounds.
Fixes #5883.
2024-11-04 08:47:28 -05:00
Ren'Py Bot 1817191f8f Merge branch 'fix' 2024-11-04 04:30:28 -05:00
Tom Rothamel ab6f469811 textshader: Consider all glyphs when assigning coordinates.
Fixes #5884.
2024-11-03 23:22:46 -05:00
Tom Rothamel f92b70d38c Protect against errors with disconnected audio sources.
Fixes #5882, with low confidence.
2024-11-03 21:14:34 -05:00
Andy_kl e89338342a Skip BOM in ren_py_to_rpy so RENPY can start at first line. 2024-11-04 02:29:14 +04:00
Ren'Py Bot 60db4ee41a Merge branch 'fix' 2024-11-03 04:30:28 -05:00
Tom Rothamel 62ca262aec Fix tyop. 2024-11-02 15:49:52 -04:00
Tom Rothamel eb5a84d420 Remove unnecessary locking in im.Cache.
This is the most likely cause of the performance issues in #5295.
Now, the lock should be held for brief periods of time.
2024-11-02 15:48:08 -04:00
Tom Rothamel 3280bcc5ff Clarify where gui.unscrollable works.
Fixes #5218.
2024-11-02 15:06:05 -04:00
Ren'Py Bot 2155bb02ae Merge branch 'fix' 2024-11-02 04:30:28 -04:00
Tom Rothamel 5c5f72659c Restore old behavior of screenshot.
When render_tree is None, screenshot takes the old contents of
the framebuffer. Which isn't great, but since it happens when
at the main menu, isn't a huge deal.

Fixes #5879.
2024-11-01 22:47:15 -04:00
Tom Rothamel bc6e2a63d0 Only set the tag if it's not explicitly set. 2024-10-31 22:07:10 -04:00
Ren'Py Bot 204ca35321 Merge branch 'fix' 2024-10-31 04:30:28 -04:00
Tom Rothamel b9789ae25c Fix icon font in the director.
Fixes #5876.
2024-10-31 01:29:21 -04:00
Tom Rothamel 899307d791 Make show expression similar to show.
In the most common string case, it will now use the tag from
the string, rather than the expression.

Per #5877.
2024-10-31 01:16:33 -04:00
Tom Rothamel 0bf4ab51d6 Make show expression use a unique tag.
This prevents tags from conflicting by mistake. Discussed at #5877.
2024-10-30 22:52:37 -04:00
Tom Rothamel 88d3870d5c Merge branch 'fix' 2024-10-30 22:31:14 -04:00
Tom Rothamel db7d998c38 doc: Sponsors. 2024-10-30 22:31:07 -04:00
Tom Rothamel 58e56cff88 Quote attributes in the image attributes screen.
Per #5877.
2024-10-30 22:30:28 -04:00
Ren'Py Bot b1623451e8 Merge branch 'fix' 2024-10-30 04:30:30 -04:00
Tom Rothamel 4b532ac11e Produce a sensible error when monologue mode is used in a menu.
Fixes #5872.
2024-10-29 21:40:41 -04:00
Tom Rothamel a7f16eee3f Remove the "always" steam deck keyboard mode. 2024-10-29 21:13:53 -04:00
Tom Rothamel af7314a8a1 Merge pull request #5875 from AbdulGoodLooks/patch-5
Fix typo in changelog.rst
2024-10-29 18:04:56 -04:00
Abdul a8567d0811 Fix typo in changelog.rst 2024-10-29 20:59:27 +00:00
Tom Rothamel 74a6660ae1 Merge branch 'fix' 2024-10-28 01:30:51 -04:00
Tom Rothamel fff2558083 Revert "Fix an issue that could stop audio rollback from working."
This reverts commit 14ced3377a.
2024-10-28 01:03:30 -04:00
Tom Rothamel 944b7d0e9c Copy the music dictionary when it changes.
Fixes #5868 while continuing to fix #5802.
2024-10-28 00:51:38 -04:00
Tom Rothamel 797e37678a Revert "Fix an issue that could stop audio rollback from working."
This reverts commit 14ced3377a.
2024-10-28 00:30:33 -04:00
Tom Rothamel c4528cf6ad Improve selection of what Python versions to include.
Fixes #5866.
2024-10-27 19:09:07 -04:00
Ren'Py Bot 1417e58963 Merge branch 'fix' 2024-10-27 04:30:30 -04:00
Tom Rothamel 7022001dbe Keep high-rate drawing for 12 frames (.2s).
This ensures that a static image is pushed through any sort of
compositor that requires constant flipping.

Fixes #5867.
2024-10-27 01:38:58 -04:00
Tom Rothamel 0ab9444676 hbfont: Underlines and strikethroughs should not include glyph.x_offset.
Fixes #5861.
2024-10-26 19:19:17 -04:00
Ren'Py Bot 65440785e5 Merge branch 'fix' 2024-10-25 01:11:50 -04:00
Tom Rothamel 0795565e07 Quit out of pygame.display when the presplash ends.
This resets the IME system, which is needed to fix #5801.
2024-10-25 00:51:30 -04:00
Tom Rothamel 3cf31edae2 doc: Fix mistake.
Fixes #5863.
2024-10-24 21:45:59 -04:00
Craig de Stigter 8b356090d9 Fix an obvious undefined variable error 2024-10-24 21:28:40 -04:00
Tom Rothamel c8a2c7036f Merge pull request #5864 from craigds/fix-obvious-undefined-error
Fix an obvious undefined variable error
2024-10-24 20:58:52 -04:00
Craig de Stigter c512985741 Fix an obvious undefined variable error 2024-10-25 11:57:58 +13:00
Ren'Py Bot a2d6911b4e Merge branch 'fix' 2024-10-24 04:30:30 -04:00
Tom Rothamel 9f3be6e604 Only synchro start movie channels when explicitly requested.
Per #5914.
2024-10-23 21:28:48 -04:00
Ren'Py Bot d59029d66c Merge branch 'fix' 2024-10-23 04:30:30 -04:00
Tom Rothamel 0e6522f867 Use a different approach to #5854.
The focus system may not always use the same displayable, so .focus
is a good idea. Instead, change the prefix each time it's asked for.
2024-10-23 01:50:46 -04:00
Tom Rothamel 3cbe6fa1d8 Avoid re-focusing a displayable that has replaced another.
Fixes #5854.
2024-10-22 23:42:02 -04:00
Ren'Py Bot a9ecae1a59 Merge branch 'fix' 2024-10-22 04:30:30 -04:00
Ayowel bb5588f182 Do not needlessly track files in late_base_patterns 2024-10-21 23:38:34 -04:00
Ayowel 45a6a08559 Only ignore .rpe files if they are not explicitly tracked 2024-10-21 23:38:23 -04:00
Tom Rothamel 3bf1b78250 Merge pull request #5855 from Ayowel/patch-1
Only ignore .rpe files if they are not explicitly tracked
2024-10-21 22:26:19 -04:00
Ayowel 2eda0dc2e9 Do not needlessly track files in late_base_patterns 2024-10-21 22:10:39 +02:00
Ayowel 7084ee4b46 Only ignore .rpe files if they are not explicitly tracked 2024-10-21 20:44:56 +02:00
Ren'Py Bot 93d760c9fa Merge branch 'fix' 2024-10-21 04:30:30 -04:00
Tom Rothamel e1cb42f253 gl2: Round coordinates during pixel_perfect.
Rounding errors could cause problems when performing the pixel
perfect correction, and the rounding errors could be different
in normal rendering and render-to-texture.

By rounding first, we eliminate these problems.

Fixes #5844.
2024-10-21 00:53:08 -04:00
Tom Rothamel dde19b8716 gl2: Fix gl_anisotropic
Which used the incorrect field.

Fixes #5851.
2024-10-20 21:57:18 -04:00
Ren'Py Bot 01f74075b8 Merge branch 'fix' 2024-10-20 04:30:30 -04:00
Tom Rothamel 906788fe88 video: Avoid stopping movies if both current and old have _play.
To make Ren'Py cooperate better with games that run the movies
themselves.

Per #5814.
2024-10-19 16:35:26 -04:00
Tom Rothamel 69b019f03c Use last_channel_movie to stop movies, since it exists. 2024-10-19 16:30:11 -04:00
Ren'Py Bot 51f523b3c3 Merge branch 'fix' 2024-10-19 04:30:30 -04:00
Tom Rothamel 9de1c93ef9 Document that transforms shouldn't be applied to a Drag directly.
Per #5847.
2024-10-19 01:19:06 -04:00
Tom Rothamel faf1e15710 Document that renpy.emscripten is the emscripten module.
Closes #5848.
2024-10-19 00:34:50 -04:00
Ren'Py Bot ef4c0bd1d9 Merge branch 'fix' 2024-10-18 04:30:30 -04:00
Tom Rothamel 339300d2a0 Report non-dynamic images that reference non-existent images.
Fixes #5771.
2024-10-18 01:35:40 -04:00
Tom Rothamel 51f6b0d756 Add referrer support to installer.download. 2024-10-18 01:35:40 -04:00
Tom Rothamel c4f478160b Add referrer support to installer.download. 2024-10-17 23:21:01 -04:00
Tom Rothamel f547ea3ed1 Restart looping movies during rollback.
Fixes #5564.
2024-10-17 22:31:30 -04:00
Tom Rothamel 054535f0c8 Restart looping movies during rollback.
Fixes #5564.
2024-10-16 23:19:10 -04:00
Ren'Py Bot 8911825d46 Merge branch 'fix' 2024-10-15 04:30:30 -04:00
Tom Rothamel 16b9c2be67 Use insets when evaluating keyboard focus conditions.
Fixes #5831.
2024-10-15 01:05:44 -04:00
Ren'Py Bot ddc3f67539 Merge branch 'fix' 2024-10-14 04:30:30 -04:00
Tom Rothamel 4a591d552b Fix a rounding issue that stopped bar_invert from working.
Fixes #5843.
2024-10-14 00:43:15 -04:00
Tom Rothamel 99915a3ed3 Merge pull request #5772 from the66F95/replays-seen-events
no seen labels, images, audio in replays
2024-10-13 19:54:07 -04:00
Tom Rothamel 576a1138d3 Changelog last. 2024-10-13 19:35:41 -04:00
avonder 50ef339f16 android: Install-time asset pack support. (#5837)
Enable reading from APK-based asset packs
2024-10-13 19:32:49 -04:00
avonder 21774019a7 android: Install-time asset pack support. (#5837)
Enable reading from APK-based asset packs
2024-10-13 19:32:10 -04:00
Ren'Py Bot 33fbe01388 Merge branch 'fix' 2024-10-13 04:30:30 -04:00
Tom Rothamel 0385bbcb9b Re-render displayables after box_wrap.
After wrap, a displayable may be offered a different size, and
so the render needs to happen again.
2024-10-12 23:52:07 -04:00
Tom Rothamel 82dd5968e3 Merge pull request #5838 from racinmat/readme-update
docs: restrict the cython version and add setuptools
2024-10-12 10:06:15 -04:00
Matěj Račinský 43c6f83aff docs: restrict the cython version and add setuptools 2024-10-12 14:25:29 +02:00
Tom Rothamel e6fc6e3c26 Scale image fonts using nearest neighbor.
When config.nearest_neighbor is True.

Fixes #5830.
2024-10-11 21:53:13 -04:00
the66F95 7fe14c09c9 Update persistentexports.py 2024-10-11 09:12:39 +02:00
the66F95 588824cf3f Update config.py 2024-10-11 09:11:58 +02:00
Tom Rothamel ddf7b35160 Merge pull request #5687 from onitake/patch/ffmpeg-7
Replace deprecated APIs when compiling against newer FFmpeg
2024-10-10 23:15:05 -04:00
Tom Rothamel d85879b1fd Script to find recursive inner functions. 2024-10-08 22:53:24 -04:00
Tom Rothamel adfbb4970b Remove recursive inner functions in transform and lexer. 2024-10-08 09:43:19 -04:00
Ren'Py Bot bbf2cff58f Merge branch 'fix' 2024-10-08 04:30:30 -04:00
Tom Rothamel a1a0b78cb4 Remove recursive inner functions.
Per #5832.
2024-10-08 01:29:56 -04:00
Tom Rothamel 4cd14e18b5 Factor out check_spline_types.
Recursive inner functions create reference loops that need to be
GC-ed, so eliminating such can reduce GC pauses.

Per #5832.
2024-10-07 22:52:08 -04:00
Tom Rothamel 20a5d6cd69 Factor out check_spline_types.
Recursive inner functions create reference loops that need to be
GC-ed, so eliminating such can reduce GC pauses.

Per #5832.
2024-10-07 22:33:42 -04:00
Ren'Py Bot e70011862a Merge branch 'fix' 2024-10-07 04:30:27 -04:00
Tom Rothamel 34a1f57e50 Make all default_focus activations explicit.
So the hovered handler runs.

Fixes #5794.
2024-10-07 02:06:43 -04:00
Tom Rothamel 5245fbb38e Consider controller events inputs before being mapped.
Fixes #5780.
2024-10-06 23:16:54 -04:00
Ren'Py Bot 916c6cc9e9 Merge branch 'fix' 2024-10-06 04:30:30 -04:00
Tom Rothamel 937c91f314 Proactively remove ongoing transitions.
Fixes #5827.
2024-10-06 01:39:47 -04:00
Ren'Py Bot f1e2d074c6 Merge branch 'fix' 2024-10-05 04:30:30 -04:00
Tom Rothamel 6e83ae9bd1 Display if transform are applied to a layer.
Fixes #5822.
2024-10-05 01:01:43 -04:00
Tom Rothamel d3506085c8 Add an internal api to determine if transforms are applied to a layer. 2024-10-05 00:59:40 -04:00
Tom Rothamel d90f1cdc30 Another fix to grabs and viewports. 2024-10-04 21:48:41 -04:00
Ren'Py Bot 02d7a3305a Merge branch 'fix' 2024-10-04 04:30:30 -04:00
Tom Rothamel 8c82667ae1 Disable pixel-perfect for Frame.
It only would work in corners, and wasn't working on the other sections
except at 1:1. So disable it.

Fixes #5793.
2024-10-04 00:28:32 -04:00
Tom Rothamel 3085c15caf Add a method in render.pyx to find GL properties. 2024-10-03 23:37:14 -04:00
Tom Rothamel 2e37df7103 Prevent crash when Live2D.used_nonexclusive is None.
Fixes #5816.
2024-10-03 21:46:32 -04:00
Tom Rothamel 9a75b6628b Another fix to viewport dragging.
Per #5776.

Co-Authored-by: the66F95 <54831834+the66F95@users.noreply.github.com>
2024-10-03 21:37:34 -04:00
Ren'Py Bot cd590d78eb Merge branch 'fix' 2024-10-03 04:30:30 -04:00
Tom Rothamel 405d8d4399 Allow drag to begin inside a button.
Fixes #5776, comment 2383488254.
2024-10-03 00:51:19 -04:00
Ren'Py Bot 0ed2c16ee9 Merge branch 'fix' 2024-10-02 04:30:30 -04:00
Mark 56dda5590b doc: Fix code block in cds.rst 2024-10-01 22:48:48 -04:00
Tom Rothamel fc429eb984 Merge pull request #5748 from remarkablemark/patch-1
doc: Fix code block in cds.rst
2024-10-01 22:46:57 -04:00
Tom Rothamel 623c5f6d1f Merge pull request #5811 from sunrisesarsaparilla/master
remove unused code
2024-10-01 22:33:33 -04:00
Ren'Py Bot b430ca2243 Merge branch 'fix' 2024-09-30 04:30:30 -04:00
Tom Rothamel 86046383a8 Improve how draggable viewports and drags interact.
After these changes, the innermost draggable should take precedence,
rather than what's focused.

Fixes #5776.
2024-09-29 22:16:42 -04:00
Ren'Py Bot 8e21bcbc00 Merge branch 'fix' 2024-09-29 04:30:30 -04:00
Tom Rothamel f907fe119a Changes to audio filters take place immediately after reload.
Fixes #5802.
2024-09-29 02:01:52 -04:00
Tom Rothamel 14ced3377a Fix an issue that could stop audio rollback from working.
The failure would take place in the case where a channel is changed
between roll-forward and and an interaction, but the sound playing
would not change (ie. a queue operation).
2024-09-29 01:47:28 -04:00
Tom Rothamel ad690d8a16 audiofilter: Make the time the filter changes well defined. 2024-09-28 23:47:12 -04:00
Tom Rothamel 31ff6d3e95 py311: Remove now-obsolete AST properties. 2024-09-28 01:36:39 -04:00
Tom Rothamel 6aadfe4d15 py311: Improve analysis of the match statement.
This doesn't bother to try to analyze it, but it will mark the
correct variables as non-constant.
2024-09-28 01:29:38 -04:00
Tom Rothamel 435fec2be6 py311: Wrap the match statement. 2024-09-27 23:53:47 -04:00
Tom Rothamel 6b507d5a57 Merge branch 'fix' 2024-09-27 18:22:25 -04:00
Tom Rothamel 1c830a0be1 Audited #5797 2024-09-27 18:21:28 -04:00
sunrisesarsaparilla 25b0068b1d remove duplicate code line 2024-09-27 01:37:17 -07:00
Ren'Py Bot b1a3171a40 Merge branch 'fix' 2024-09-26 04:30:30 -04:00
sunrisesarsaparilla 30af1dfb70 remove unused code 2024-09-25 22:50:32 -07:00
Tom Rothamel ee89717b47 linvol: Remove compatibility.
This was compat code that has served it's purpose - players can still
adjust the volumes as required.

Fixes #5806.
2024-09-26 01:09:13 -04:00
Tom Rothamel 6cfef151da Write <package>.update.json in a temporary directory, only copy if needed.
Fixes #5798.
2024-09-25 20:18:42 -04:00
Tom Rothamel fca89d813e Merge pull request #5809 from sunrisesarsaparilla/fix-parallel-build-bug-that-adds-one-second
fix bug that adds 1 second to each successive parallel build
2024-09-25 09:53:40 -04:00
sunrisesarsaparilla 9050a9d5a5 fix bug that adds 1 second to each successive parallel build 2024-09-25 06:26:53 -07:00
Tom Rothamel d257b9dc70 doc: #5756. 2024-09-25 00:51:26 -04:00
Tom Rothamel 89c79e55fe Merge pull request #5756 from sunrisesarsaparilla/customize-renpy-launcher-file-shorcuts
allow 'Open Directory' and 'Edit File' customization on renpy launch screen #2467
2024-09-24 21:17:49 -04:00
Gouvernathor d7f194072e fix unbound exception 2024-09-25 01:40:55 +02:00
Tom Rothamel 60ca4cd5ae py3: Always use the Python 3 compilation path. 2024-09-23 23:10:17 -04:00
Gouvernathor 20c1f572d7 Revert use of unpicklable MappingProxyType and wrong import order
fixes #5797
2024-09-20 20:25:50 +02:00
Tom Rothamel a73e20288c Merge pull request #5783 from renpy/py3-signature
Modernize the parameters module
2024-09-19 20:22:21 -04:00
Ren'Py Bot 16fe7290fa Merge branch 'fix' 2024-09-19 04:30:30 -04:00
Tom Rothamel 8d2a6d2596 Allow textshaders to work with glyphs at negative offsets.
Fixes #5787.
2024-09-19 00:20:57 -04:00
Tom Rothamel f225453ff1 Only store transform events on Displayables that use or produce them.
This prevents an issue from occurring when a non-duplicatable
displayable is the child of multiple other displayables, which
could set transform_event multiple times.

As it doesn't respond to the event, and doesn't produce it, there's
no reason for the event to be stored. So we don't.

Fixes #5788
2024-09-18 22:27:12 -04:00
Ren'Py Bot ff04b3ea56 Merge branch 'fix' 2024-09-18 04:30:30 -04:00
Tom Rothamel 209eb580cf web: Prevent access to files and directories starting with "." 2024-09-17 21:24:01 -04:00
Tom Rothamel 3103cff7f7 Restore RENPY_NO_STEAM support. 2024-09-17 20:34:10 -04:00
Ren'Py Bot 903e971395 Merge branch 'fix' 2024-09-17 04:30:30 -04:00
brimbel 138884b545 Fix example of shader text tag
jitter text shader does not have a speed uniform
2024-09-17 00:46:19 -04:00
Tom Rothamel 45e942de05 Merge pull request #5790 from brimbel/patch-1
doc: Fix example of shader text tag
2024-09-17 00:40:04 -04:00
brimbel 24a699ba12 Fix example of shader text tag
jitter text shader does not have a speed uniform
2024-09-16 15:50:07 -07:00
Ren'Py Bot f5ed3d7947 Merge branch 'fix' 2024-09-16 04:30:30 -04:00
Tom Rothamel 1489a4e748 text: Add pseudo-glyphs to the start and end of outlined lines.
These are shown to ensure that all of the outlines are shown, even
if there is no character in that space.

Fixes #5778.
2024-09-16 01:48:00 -04:00
Tom Rothamel 1a7fb9c008 text: Ensure that there is no space between textshader glyphs. 2024-09-15 21:50:26 -04:00
Ren'Py Bot c761ba4c75 Merge branch 'fix' 2024-09-15 04:30:30 -04:00
Tom Rothamel 79fbc7718e Avoid distributing renpy.gl. 2024-09-14 16:02:35 -04:00
Tom Rothamel 7d4f7d17f9 Doc: Requirements changes. 2024-09-14 16:00:24 -04:00
Tom Rothamel 439bcf73f3 Do not include armv7l builds. 2024-09-14 15:52:01 -04:00
Tom Rothamel 6506a3a45e Fix an issue with with sdist, versions, and pygame_sdl2. 2024-09-14 13:15:06 -04:00
Gouvernathor dc81a5edeb Simplify defaulted fields 2024-09-14 18:08:39 +02:00
Gouvernathor 331a4f0211 Add from clauses to raises 2024-09-14 16:39:36 +02:00
Gouvernathor 69f1a2bb0b Optimize empty arguments parsing 2024-09-14 16:33:42 +02:00
Gouvernathor cd90dfa789 Clamp down ArgumentInfo fields
the mutable arguments are not converted, but this is better
2024-09-14 16:32:47 +02:00
Gouvernathor d20d9f2aa7 Use emptymap 2024-09-14 16:30:35 +02:00
Gouvernathor fb1d40db3c Use naturally ordered dict
mappingproxy requires an additional pickling handle which would introduce yet another switch
2024-09-14 16:29:23 +02:00
Gouvernathor 4f835f1250 Change Parameter's parameter rules 2024-09-14 16:27:14 +02:00
Tom Rothamel 0843e46e91 Fix an issue with with sdist, versions, and pygame_sdl2. 2024-09-14 00:19:09 -04:00
Tom Rothamel a0963c18ee Call install_headers.py. 2024-09-13 22:22:51 -04:00
Ren'Py Bot f0dfe18bbf Merge branch 'fix' 2024-09-12 04:30:30 -04:00
Tom Rothamel 9c6cc41ec3 doc: Windows 10 required. 2024-09-12 01:27:55 -04:00
Tom Rothamel 41e13911e3 It's no longer requires to install_headers for pygame_sdl2. 2024-09-12 01:12:15 -04:00
Tom Rothamel 35f6794db2 Remove old find_module method.
As it's not needed in recent Pythons.
2024-09-12 00:47:58 -04:00
Tom Rothamel 699c2a1679 Fix deprecation warning. 2024-09-12 00:46:58 -04:00
Tom Rothamel cad9dc37c2 Merge pull request #5686 from onitake/patch/absolute-launcher-imports
Support find_spec in custom module loader
2024-09-12 00:45:51 -04:00
Tom Rothamel deb959a1e7 Change some of the build process to support Python 3.12. 2024-09-12 00:44:29 -04:00
levicratic 3913ca9c0c Fix size tag preventing outer tags from closing 2024-09-11 21:36:45 -04:00
Tom Rothamel 93c4c4e8df Merge pull request #5775 from levicratic/remove-second-push-from-size-segment
Fix size tag preventing outer tags from closing
2024-09-11 21:32:40 -04:00
Ren'Py Bot c634ff91d2 Merge branch 'fix' 2024-09-10 04:30:30 -04:00
Tom Rothamel 4e03602bd6 Bump versions. 2024-09-10 00:43:15 -04:00
levicratic 5b0f4cf5a7 Fix size tag preventing outer tags from closing 2024-09-09 13:51:27 -04:00
Ren'Py Bot ddd0896840 Merge branch 'fix' 2024-09-09 04:30:30 -04:00
the66F95 a175edde26 no seen labels, images, audio in replays
i don't think labels, images and audio files should be marked as seen in replays. basically all other variables are local to that context.
for instance developer would be able now to temporarily unlock content of a replay gallery for higher tier patrons without actually changing the seen status of a label.
to preserve the old behavior one can set the new config var to True.
2024-09-09 10:21:21 +02:00
Tom Rothamel a2e08864c4 doc: Changelog. 2024-09-09 01:09:54 -04:00
Tom Rothamel 14563943ed Do not include keys in build. 2024-09-09 00:48:57 -04:00
Tom Rothamel 4ebedb6a20 py2: Remove PY2 conditions from launcher. 2024-09-08 19:50:31 -04:00
Tom Rothamel d3c827fc55 py2: Remove support for PY2 in the compat module.
The compat module still needs to exist to keep support for older
games and saves, but a lot of it went away.
2024-09-08 19:40:13 -04:00
Tom Rothamel fc9744192d py2: Remove things conditioned on PY2. 2024-09-08 19:23:25 -04:00
Tom Rothamel 72602ab6ab py2: Remove py2analysis.
As part of the process of dropping support for Python 2.
2024-09-08 17:07:15 -04:00
Ren'Py Bot b78f1d1b41 Merge branch 'fix' 2024-09-08 04:30:30 -04:00
Tom Rothamel 5e91783620 Bump fix version. 2024-09-08 00:04:52 -04:00
Ren'Py Bot e8bbfde5b1 Merge branch 'fix' 2024-09-07 04:30:30 -04:00
Tom Rothamel cde01cf27b Do not allow image keywords to occur in image simple expressions. 2024-09-06 22:12:11 -04:00
Ren'Py Bot 79bda8a568 Merge branch 'fix' 2024-09-06 04:30:30 -04:00
Tom Rothamel 1fefbeba52 Remove checks for config.gl2. 2024-09-06 00:40:09 -04:00
Tom Rothamel 1336b5cfb8 Remove the gl, gles, and angle renderers. 2024-09-06 00:34:14 -04:00
the66F95 6d0b674c30 Update render.pyx
still debug output present.
2024-09-05 13:20:30 -04:00
Tom Rothamel 935a25490a Merge pull request #5766 from the66F95/render.pyx-debug
Update render.pyx
2024-09-05 13:18:04 -04:00
the66F95 5f73d6f1b2 Update render.pyx
still debug output present.
2024-09-05 19:09:43 +02:00
Tom Rothamel e42c774cd4 doc: Fix changelog. 2024-09-05 09:03:21 -04:00
Ren'Py Bot 595e4d45bd Merge branch 'fix' 2024-09-05 04:30:30 -04:00
Tom Rothamel b46eabc2af Update changelog. 2024-09-04 21:43:43 -04:00
Ren'Py Bot c42667b197 Merge branch 'fix' 2024-09-04 04:30:30 -04:00
Tom Rothamel 2c6e08247f Fix invoking local shaders in shader tags.
Fixes #5765.
2024-09-04 00:45:50 -04:00
Tom Rothamel 32ab62f5dd Improve the audio init error message.
Per #5763.
2024-09-03 23:38:19 -04:00
Tom Rothamel 003ac717d8 Improve AudioData.
* Allow it to take <...> properties.
* Document that it works with video as well.
2024-09-03 23:23:33 -04:00
Tom Rothamel e4089d2dce text: Adjust large textshader text for texture borders. 2024-09-03 22:16:18 -04:00
Tom Rothamel 4076bc8ae9 gl2: Store the borders that were used to create a texture mesh. 2024-09-03 22:16:07 -04:00
Ren'Py Bot 00750cb5d5 Merge branch 'fix' 2024-09-03 04:30:30 -04:00
Tom Rothamel 13831d4c39 text: Fixes > 4k textshaders. 2024-09-03 00:45:03 -04:00
Tom Rothamel 33552beb80 text: Close-to-working support for text textures above 4k. 2024-09-02 23:37:18 -04:00
Tom Rothamel 0da702db49 Add a function to offset textures in a mesh. 2024-09-02 22:10:51 -04:00
Tom Rothamel 9d8329c766 Add renpy.stop_skipping.
Fixes #5743.
2024-09-02 19:38:13 -04:00
Tom Rothamel efc671e647 Add Gallery.image(movie=True).
This fixes #5758 by providing a way to keep the movie from
playing through the transition.
2024-09-02 19:09:05 -04:00
Ren'Py Bot 5f42c6bff9 Merge branch 'fix' 2024-09-02 04:30:30 -04:00
Tom Rothamel b2456f5a16 Properly combine transform-uniforms with model-uniforms.
Per #5759
2024-09-01 21:00:13 -04:00
Tom Rothamel 2ad7cebd7a Improvements to allow large amounts of text and meshes.
Fixes #5760.
2024-09-01 15:57:32 -04:00
Ren'Py Bot e6e11dab9f Merge branch 'fix' 2024-09-01 04:30:30 -04:00
Tom Rothamel 6351d60213 Merge pull request #5757 from sunrisesarsaparilla/indent-project.json
make project.json easier for humans to read
2024-08-31 23:55:26 -04:00
Sunrise Sarsaparilla 2928e5495c make project.json easier for humans to read 2024-08-31 20:32:52 -07:00
Andy_kl 72a6d5d347 Make config.interface_layer an early config.variable.
Without it, developer need to set it with `-501` priority to be
lower than `Screen.define`
2024-09-01 04:37:47 +04:00
Sunrise Sarsaparilla 0b5a35a208 allow 'Open Directory' and 'Edit File' customization on renpy launch screen 2024-08-31 14:58:01 -07:00
Ren'Py Bot ffd5eddaf9 Merge branch 'fix' 2024-08-31 04:30:30 -04:00
Tom Rothamel c34b2da03b Add multiple to the character callback.
Fixes #5750.
2024-08-31 00:12:41 -04:00
Tom Rothamel bd943f16a1 Remove debug raise. 2024-08-30 09:31:52 -04:00
Ren'Py Bot 27b4c46013 Merge branch 'fix' 2024-08-30 04:30:30 -04:00
Tom Rothamel 26046d3b15 Only consider input events for default focus.
Fixes #5753.
2024-08-30 00:32:45 -04:00
Tom Rothamel 9ebe782866 Fix subsurfacing of displayables with negative offset and clipping.
Fixes #5752.
2024-08-30 00:19:15 -04:00
Tom Rothamel 327f6a32d5 Route all url-opening through renpy.open_url.
And on PC, shut down fullscreen when opening a web browser.

Fixes #5747.
2024-08-29 09:34:30 -04:00
Ren'Py Bot c8da44781d Merge branch 'fix' 2024-08-29 04:30:30 -04:00
Tom Rothamel a78af4ad86 Remove the Beta flag on the web port. 2024-08-29 00:11:09 -04:00
Mark acf2347930 doc: Fix code block in cds.rst 2024-08-28 22:54:52 -04:00
Tom Rothamel 495d980277 Check in the changes vscode settings. 2024-08-28 20:51:48 -04:00
Tom Rothamel 07ab2c9e52 lint: Do not check non-files as files. 2024-08-28 20:38:12 -04:00
Tom Rothamel c48e102658 Document config.font_transforms.
Fixes #5746.
2024-08-28 19:17:30 -04:00
Ren'Py Bot a40d302500 Merge branch 'fix' 2024-08-28 04:30:30 -04:00
Tom Rothamel 53f2d81f88 Remove debugging raise. 2024-08-28 00:54:14 -04:00
Tom Rothamel 14ed5f4f76 Make TransformState.get work with all properties.
Not just simple ones.

Fixes #5669.
2024-08-28 00:41:23 -04:00
Tom Rothamel a53b06834d Allow negative offsets to be subsurfaced.
This stores the area of the crop box, and lets a displayable go
outside its parents so long as it goes outside the crop box.

(Not 100% sure why this is working without changes when the
displayable is out to the right, but so far so good.)
2024-08-28 00:04:08 -04:00
Tom Rothamel e5d8581a7e render: Fix names compute_subline. 2024-08-27 21:35:02 -04:00
Mark 325a349092 doc: Fix example in dialogue.rst (#5736) 2024-08-27 16:53:23 -04:00
veydzh3r bb0a201e2a Update ukrainian (#5741)
* Update common.rpy

* Update developer.rpy

* Update gui.rpy

* Update launcher.rpy

* Update options.rpy

* Update screens.rpy

* Update script.rpym
2024-08-27 16:53:15 -04:00
Mark 8ad44080ae doc: Fix example in dialogue.rst (#5736) 2024-08-27 16:52:01 -04:00
veydzh3r c41b740ae6 Update ukrainian (#5741)
* Update common.rpy

* Update developer.rpy

* Update gui.rpy

* Update launcher.rpy

* Update options.rpy

* Update screens.rpy

* Update script.rpym
2024-08-27 16:51:34 -04:00
Ren'Py Bot 67e508c979 Merge branch 'fix' 2024-08-27 04:30:30 -04:00
Tom Rothamel ba48755589 Use the correct when rendering a TextMeshDisplayable.
Fixes #5737.
2024-08-26 20:57:18 -04:00
Tom Rothamel d6cf8b37ab Ensure the show_done callback is always called.
And re-document it.
2024-08-26 17:54:39 -04:00
Ren'Py Bot a7e9d39c1d Merge branch 'fix' 2024-08-26 04:30:30 -04:00
Kassy 0e0ae03baa [Web] Only call syncfs once from MultiLocation functions (#5733)
* Do not call syncfs() twice in save_persistent()

With Ren'Py default config, MultiLocation.save_persistent() will call
save_persistent() on 2 different instances of FileLocation. They both
call synfc(), so the warning message "2 FS.syncfs operations in flight
at once, probably just doing extra work" shows up. This commit prevents
that.

* Create and use a context for syncfs pause

* Only call syncfs once from MultiLocation functions

This should handle all the functions of MultiLocation that call
functions of FileLocation that call syncfs().
2024-08-25 23:18:31 -04:00
Kassy 921ddb07f7 [Web] Only call syncfs once from MultiLocation functions (#5733)
* Do not call syncfs() twice in save_persistent()

With Ren'Py default config, MultiLocation.save_persistent() will call
save_persistent() on 2 different instances of FileLocation. They both
call synfc(), so the warning message "2 FS.syncfs operations in flight
at once, probably just doing extra work" shows up. This commit prevents
that.

* Create and use a context for syncfs pause

* Only call syncfs once from MultiLocation functions

This should handle all the functions of MultiLocation that call
functions of FileLocation that call syncfs().
2024-08-25 23:06:10 -04:00
Tom Rothamel 5d59d32634 Skip action cancels skipping when skipping.
Fixes #5731.
2024-08-25 09:13:28 -04:00
Tom Rothamel 06366a8f8f web: Save persistent data during idle frames. 2024-08-25 08:59:55 -04:00
Ren'Py Bot b2b222f23e Merge branch 'fix' 2024-08-25 04:30:30 -04:00
Tom Rothamel be8f94443f py2: Fixes to add.py. 2024-08-24 23:56:11 -04:00
Tom Rothamel 61e1e025ce Make add.py understand multiple directories. 2024-08-24 23:50:59 -04:00
Tom Rothamel 3837df39be Update sponsor doc. 2024-08-24 23:24:46 -04:00
Tom Rothamel 850fc555e2 Bump fix versions. 2024-08-24 22:29:50 -04:00
Ren'Py Bot af202584db Merge branch 'fix' 2024-08-24 22:23:52 -04:00
Tom Rothamel dacbf5515e Synchro start only defaults to true on looping channels.
This is an attempt to prevent synchro start from delaying sound
effects while music is fading out.

Fixes #5730.
2024-08-24 21:53:07 -04:00
Tom Rothamel 147e46dbee Make game.zip configurable. 2024-08-24 21:29:39 -04:00
Tom Rothamel 1ce2f2b2ce doc: Back out. 2024-08-24 21:20:12 -04:00
Tom Rothamel 4242ff838e Revert "web: Rename game.zip to game.data."
This reverts commit f39d53cbac.
2024-08-24 21:19:25 -04:00
Tom Rothamel 4133172fab doc: Syncfs change. 2024-08-24 21:01:51 -04:00
Tom Rothamel f69768bad9 doc: Change from game.zip -> game.data. 2024-08-24 20:59:54 -04:00
Tom Rothamel f39d53cbac web: Rename game.zip to game.data.
This allows games to be hosted on web hosts that don't support
.zip files.

https://lemmasoft.renai.us/forums/viewtopic.php?t=68768
2024-08-24 20:55:50 -04:00
Ren'Py Bot d38dbc79b2 Merge branch 'fix' 2024-08-24 04:30:30 -04:00
Tom Rothamel c275244741 Similar fix for quicksaves. 2024-08-24 02:22:03 -04:00
Tom Rothamel 3b1161c2a4 Allow syncfs to be deferred.
And defer it during autosaves, to prevent warning messages.

Fixes #5725. Closes #5728.
2024-08-24 02:17:16 -04:00
Tom Rothamel 5573b3c2dc Re-document renpy.clear_keymap_cache.
It never was undocumented, but the docs weren't being
generated properly.
2024-08-23 23:44:26 -04:00
Abdul d6ca5e6992 Fix typos in changelog.rst 2024-08-23 21:53:04 -04:00
Andrej Klychin 15c6fdf8c1 Merge pull request #5726 from AbdulGoodLooks/patch-4
Fix typos in changelog.rst
2024-08-24 00:21:10 +02:00
Abdul 5e02e88ec0 Fix typos in changelog.rst 2024-08-23 15:52:51 +01:00
Tom Rothamel 3337049968 py2: Disable build process. 2024-08-23 00:56:10 -04:00
Tom Rothamel 2565157a5a Bump versions. 2024-08-23 00:56:10 -04:00
Tom Rothamel 952e29e737 Merge branch 'future' 2024-08-23 00:40:07 -04:00
Tom Rothamel 276e4b1808 doc: Credits. 2024-08-21 21:35:27 -04:00
Tom Rothamel 4f4dcc1927 Add u_text_max_depth.
This provides a way to find the bottom layer.
2024-08-21 20:57:19 -04:00
Tom Rothamel 0fecd1f70a Add a_text_descent.
To mirror a_text_ascent and provide full metrics for a font.
2024-08-21 20:04:24 -04:00
Tom Rothamel 46c80bfae6 Merge pull request #5724 from Veydzher/master
Update Ukrainian translation
2024-08-21 18:21:39 -04:00
Denys 5d5954b150 Update TRANSLATORS.rst 2024-08-21 21:38:12 +01:00
Denys 7e1643b734 Update screens.rpy
Added new translations.
2024-08-21 21:29:24 +01:00
Denys bf9d78ce17 Update launcher.rpy 2024-08-21 21:27:20 +01:00
Denys b07b4db4cc Update gui.rpy
Added new translations.
2024-08-21 21:26:40 +01:00
Denys d104db85a0 Update developer.rpy 2024-08-21 21:25:09 +01:00
Denys fcadb205db Update developer.rpy
Added new translations.
2024-08-21 21:24:52 +01:00
Denys 961277a751 Update common.rpy
Added new translations.
2024-08-21 21:24:20 +01:00
Denys c4e6cb8a06 Update launcher.rpy 2024-08-21 20:23:22 +01:00
Denys 83e05fca2e Update launcher.rpy 2024-08-21 20:18:55 +01:00
Denys b2b80bbfc3 Update error.rpy 2024-08-21 19:23:54 +01:00
Tom Rothamel 52fba62616 Bump versions. 2024-08-21 01:40:12 -04:00
Tom Rothamel 269c7e6ed5 When using a shader, limit blits to those containing characters.
Per #5718.
2024-08-20 22:31:49 -04:00
Tom Rothamel 3075ae4108 textshader: Add a_text_ascent.
This is intended to help scale effects to the font.
2024-08-20 01:17:01 -04:00
Tom Rothamel 2114dfe3a7 Properly outline the glyph mesh.
Fixes #5719.
2024-08-19 22:52:27 -04:00
Tom Rothamel 644e683c91 Use saturation alpha in fonts.
Fixes #5720
2024-08-19 22:04:15 -04:00
Tom Rothamel 43eefe49b1 doc: Synchro start. 2024-08-19 01:48:52 -04:00
Tom Rothamel 9c5c424bc0 Update sponsors. 2024-08-19 01:42:14 -04:00
Tom Rothamel a86cc5582b Ensure transforms run once before another transform take state.
Fixes #5701.

That was caused by a transform that ran in the normal path, but
was skipped during rollback. As the skipped transform never updated
its state, the outcome was visually different.
2024-08-18 22:33:17 -04:00
Tom Rothamel 1296a95140 Mark Text as being in the None language in the init phase.
This is because during the init phase, deferred translations
haven't been loaded. This leads to two cases:

1) The game is in the None language, and so everything is awesome.
2) The game is in another language, in which case Text.per_interact
   will re-translate the text, and everything becomes awesome.

Fixes #5713.
2024-08-18 16:52:08 -04:00
Tom Rothamel 279c35a80a Allow the creator to select the layer bubbles appear on,.
Fixes #5716.
2024-08-18 15:27:24 -04:00
Tom Rothamel 7058707f7c Only consider the tag when showing a screen.
This had been using get_screen, which considered both tag and
screen name. This means that when the bubble screen was shown
as _retain_0, and the bubble screen was shown, the instance
with retain_0 would be found, causing problems.

Fixes #5715.
2024-08-18 01:29:37 -04:00
Tom Rothamel 5ae359984f Produce a more informative error when {shader] is used wrong.
Specifically, when it's used for a text block where shaders
aren't in use.

Fixes #5711.
2024-08-17 23:52:19 -04:00
Tom Rothamel 5f74557df3 Update the icons in the launcher.
The mac icon is by HB38, and conforms to modern mac icon guidelines.
The windows one is based on the old mac icon, and looks better
on windows 11.
2024-08-17 23:33:46 -04:00
Tom Rothamel 17935743bb audio: Start channels unpaused. 2024-08-17 22:46:48 -04:00
Tom Rothamel 118c66a694 Add RENPY_DEBUG_SOUND. 2024-08-17 22:33:51 -04:00
Tom Rothamel 152025b402 Prevent Ren'Py from initiating a second reload when reloading.
Fixes #5714.
2024-08-17 22:19:48 -04:00
Tom Rothamel da575dfd5c Defer reloading until there hasn't been a file mtime change for 50ms. 2024-08-17 22:12:12 -04:00
Andrej Klychin 2974263792 Merge pull request #5709 from Veydzher/master
Update options.rpy in ukrainian
2024-08-17 15:18:43 +02:00
Tom Rothamel 252221f16f Remove a use of renpy.file. 2024-08-16 21:46:11 -04:00
Tom Rothamel 65eb26ae91 Better documentation for renpy.open_file. 2024-08-16 21:46:11 -04:00
Denys 65de4dafdd Update options.rpy 2024-08-17 02:11:43 +03:00
Denys 5aa423f6dd Merge branch 'renpy:master' into master 2024-08-17 01:17:47 +03:00
Andy_kl d2eaf0f2e3 Minor tweak in generate_pyi script.
This allow to use SDK python (3.9) to execute the script.
2024-08-16 22:27:46 +04:00
Andy_kl 67fd54215f Fix the the and a a duplication in the codebase. 2024-08-16 16:55:20 +04:00
Tom Rothamel c2e1d5b6af steam: Fix initialization problems.
* Remove a debug traceback.
* Avoid trying to initialize steam on unsupported platforms.
2024-08-15 02:35:23 -04:00
Tom Rothamel ea3c2f32ff audio: Implement synchro start using webaudio. 2024-08-15 02:25:08 -04:00
Tom Rothamel 487fc1c9f2 audio: Reimplement synchro_start in renpysound.
This is a more principled implementation than we had before. Syncro
start now consists of audio about to play being delayed until:

* All audio about to play with the synchro_start flag set is
  ready to play. (Has samples decoded.)
* There is no queued audio with the synchro_start flag set.
2024-08-15 00:51:03 -04:00
Tom Rothamel 0081d80c44 audio: Remove the existing implementation of synchro start. 2024-08-14 22:36:32 -04:00
Tom Rothamel 6561f50908 Prevent an exception during prediction from crashing Ren'Py.
Fixes #5698
2024-08-13 22:24:43 -04:00
Tom Rothamel 720a57bad0 Cycle autosaves after the save completes.
This should prevent empty save slots when an autosave fails.

Fixes #5704.
2024-08-13 21:39:18 -04:00
Tom Rothamel 3090a97550 Minor fixes to incompatible changes.
Closes #5701.
2024-08-12 21:49:17 -04:00
Tom Rothamel 53fcb11869 Remove padding from remaining width before rendering.
Fixes #5684.
2024-08-12 01:28:22 -04:00
Tom Rothamel f0a86c2a97 doc: That blend functions work on premultiplied alpha. 2024-08-11 11:17:26 -04:00
Tom Rothamel e00f82fea5 Merge pull request #5700 from renpy/patch-atl-pos-only
Patch compat ATL pos-only behavior
2024-08-11 10:48:43 -04:00
Gouvernathor 50e2b4432e Change the compat setting
This seems better : re-allowing these parameters is the responsibility of another issue
2024-08-11 15:14:09 +02:00
Gouvernathor 24bffd6cbe Patch pre-7.2.0 atl pos-only behavior
the block in which this is added to compat is to be checked
2024-08-11 15:10:25 +02:00
Gregor Riepl 5b0cd0bce7 Use spec_from_loader for the second case 2024-08-10 23:40:10 +02:00
Tom Rothamel df879a7f9f Fix how ids are added to displayables.
Fixes #5683.
2024-08-10 17:21:43 -04:00
Tom Rothamel 04812f43fa Format the volume on mac.
Fixes #5697.
2024-08-10 11:00:45 -04:00
Tom Rothamel 7a59a6bfa0 Do not hide the keyboard on mobile when resizing.
This is an attempt to prevent flickering when the keyboard is
shown.
2024-08-10 10:18:52 -04:00
Tom Rothamel ecdf4c83fc Merge pull request #5670 from renpy/doc-atl-partial
Document ATL's partial behavior
2024-08-09 22:52:23 -04:00
Tom Rothamel 2d941be35c Show "Image Attributes" in order.
Fixes #5689.
2024-08-09 01:26:53 -04:00
Tom Rothamel 76b92e55d6 text: Assign {fast} text a time of -3600.0 seconds.
This is intended to help with textshaders, as it means that any
textshader should have long completed before time 0, preventing it
from happening at time 0.

Fixes #5685.
2024-08-09 01:03:56 -04:00
Tom Rothamel dabe6494e5 Merge pull request #5688 from brimbel/patch-1
Fix texture_wrap typo
2024-08-08 22:58:03 -04:00
brimbel 8dc5b7e554 Fix texture_wrap typo 2024-08-08 19:34:42 -07:00
Gregor Riepl 2901314d05 Fix custom importer/finder/loader to be compatible with Python 3.12 2024-08-09 00:36:08 +02:00
Gregor Riepl 9ec1cd3c4f Revert "Make relative imports from rpy scripts absolute"
This reverts commit c213d17436.
2024-08-09 00:31:36 +02:00
Gregor Riepl b120f82f98 Replace deprecated APIs when compiling against newer FFmpeg 2024-08-08 23:56:16 +02:00
Gouvernathor 142b3fc895 Document parameter default value evaluation time 2024-08-08 22:19:12 +02:00
Gregor Riepl c213d17436 Make relative imports from rpy scripts absolute 2024-08-08 21:08:43 +02:00
Ren'Py Bot 8ddf779df5 Merge branch 'fix' 2024-08-08 04:30:30 -04:00
Tom Rothamel 3d213cb7db Merge pull request #5680 from kyouryuukunn/add_note_textshader
add the textshaders doc note
2024-08-08 01:06:33 -04:00
Tom Rothamel 93b844bc63 Apply __slotname when cycling quicksave slots.
This allows __slotname to apply the prefix and other processing.
Fixes #5679.
2024-08-08 00:05:18 -04:00
kyouryuukunn 1781891b3a add the textshaders doc note 2024-08-08 12:36:33 +09:00
Tom Rothamel e788f399d4 Prevent a crash in warp when next is None.
Fixes #5678.
2024-08-07 21:47:41 -04:00
Andy_kl 87431a41ad Fix for #5522.
Model defined with `default_fade != 1.0` was incorrectly looking for a duplicated for a probably undefined model with `default_fade == 1.0`.
2024-08-08 03:52:16 +04:00
Tom Rothamel 51b8b805e0 Check in updated keywords. 2024-08-06 23:04:55 -04:00
Tom Rothamel ea5bffc799 Name Ren'Py 8. 2024-08-06 22:19:35 -04:00
Tom Rothamel 2b8ece51df doc: Changelog and Sponsors. 2024-08-06 22:19:35 -04:00
Gouvernathor 4627bdba11 Update method doc 2024-08-06 08:28:01 +02:00
Tom Rothamel 8cf771d8fe Merge pull request #5671 from renpy/unrestrained-crop
Unrestrain crop
2024-08-06 00:45:01 -04:00
Tom Rothamel 68a5dfea9d Fix error reporting in screen variable functions.
Fixes #5674.
2024-08-05 23:14:57 -04:00
Asriel Senna 7b836f8a50 Shuffle config values more accurately 2024-08-05 19:34:55 +02:00
Asriel Senna 0faf3553e9 Expand a bit on out-of-bounds crop 2024-08-05 19:26:33 +02:00
Gouvernathor b18003976f Rephrase 2024-08-05 12:10:20 +02:00
Gouvernathor 01420fd46c doc: update incompat 2024-08-05 11:54:25 +02:00
Gouvernathor 68fde6ccb4 Update documentation 2024-08-05 11:45:11 +02:00
Gouvernathor 271e2d5278 doc: Move stuff 2024-08-05 11:43:35 +02:00
Gouvernathor d4d5d0ff3e Unrestrain crop for 8.3 on 2024-08-05 11:22:38 +02:00
Gouvernathor 236a910e62 Reorder and explicite the versions 2024-08-05 11:17:41 +02:00
Gouvernathor 5399b55fa4 Rename the relative function
it's not about abstract relative computation anymore, it's now tied to crop
2024-08-05 11:06:54 +02:00
Gouvernathor a69fefea05 Other doc stuff 2024-08-05 11:04:47 +02:00
Gouvernathor 917765c333 Cancel 4405 2024-08-05 11:04:34 +02:00
Gouvernathor 8ee37ee9bc Document partialing and parameters behavior 2024-08-05 11:04:16 +02:00
Tom Rothamel 534dc8d32c atl: Allow spline to interpolate inherited position properties.
Fixes #5669
2024-08-05 01:55:06 -04:00
Tom Rothamel beca6f8759 Limit cropping of a displayable to the size of that displayable.
Previous versions of Ren'Py could expand a displayable by cropping
it, which makes no sense. This version limits the size of the
cropped displayable to the intersection  of the crop box and
displayable.

This has compatibility with the 8.2 and pre-8.2 behaviors.
2024-08-05 00:22:13 -04:00
Tom Rothamel 6e9a47587c Fix the keybinding for the style inspector.
So it doesn't conflict with the full inspector.
2024-08-04 19:29:55 -04:00
Tom Rothamel 98615653e0 ffmedia: Call media_pause for each channel during a global pause.
This adjust the times on movies so that there isn't a pause when
we come back. Fixes #5667.
2024-08-04 14:28:40 -04:00
Tom Rothamel 328c2b5d95 Change the links to the schinese documentation.
Fixes #5665.
2024-08-04 01:25:13 -04:00
Tom Rothamel 9c5f9de257 Fix uniqueness problems in DynamicImage and slast.
DynamicImages would not be marked unique before the first execution,
which is wrong.

The change in slast is to fix a missing _unique call on the creation
of an unaliased displayable.

Fixes #5659.
2024-08-04 01:02:29 -04:00
Tom Rothamel 3ab001e11a Only enable subpixel subsurface for subsurface blits.
Fixes #5661's second comment.
2024-08-03 14:44:59 -04:00
Tom Rothamel d9baf3f919 boxes: Make box_align/box_justify work better with xfill/yfill.
This is done by making the boxes change behavior when the justify
or align is given, to not supply extra space to the placements
like xfill and yfill usually do.
2024-08-03 10:55:00 -04:00
Ren'Py Bot de103f6039 Merge branch 'fix' 2024-08-03 04:30:30 -04:00
Tom Rothamel c2316d6742 Fix a regression with boxes xfill and yfill. 2024-08-03 03:30:08 -04:00
Tom Rothamel 6d93afe2ed Scale the image before applying config.screenshot_crop.
Fixes #5560.
Fixes #5621.
2024-08-03 02:41:10 -04:00
Tom Rothamel c060312d4b Changes to box_align and box_justify.
This moves alignment and justification to a second pass, when the
size of each placement is fully known. This seems better than trying
to place each with partial information and then correcting it.

As a change, box_align and box_justify no longer imply xfill or
yfill. This follows how Text works, where justify and align
occur inside a small text size.
2024-08-03 02:32:14 -04:00
Tom Rothamel 598ab7f97d Use !r to report the exception, since it shows the exception name. 2024-08-02 23:02:09 -04:00
Tom Rothamel 3dd41ed247 Merge pull request #5451 from renpy/better-cds-lint
Show the error when linting a cds's next
2024-08-02 23:01:28 -04:00
Tom Rothamel c396526408 Use floats to distribute padding in justified boxes.
This makes sure that box_justify completely fills the screen.
2024-08-02 22:40:28 -04:00
Tom Rothamel c1e2724c3a Remove the use of min_line_x and min_line_y.
These were causing crashes, and there's probably a more direct way
of doing the same thing.
2024-08-02 02:31:15 -04:00
Tom Rothamel a54b8fc9d8 Compat for the interaction between box_reverse and box_align.
See the discussion in #5404 for why this is required.
2024-08-01 22:48:06 -04:00
Tom Rothamel af23452394 Support Render.subsurface or subpixel blits.
Turned off on initial call for compatibility, but then activated
for nested calls to subsurface to get correct results.

Fixes #5661.
2024-07-31 23:01:51 -04:00
Tom Rothamel a9dd666e11 text: Make hspace and vspace respect text scaling.
Fixes #5662.
2024-07-31 21:36:42 -04:00
Tom Rothamel 1e91cd28a0 Work on box_justify and box_align.
Some 'cleanups' on #5404.

* Integrate it with the style system.
* Rename justify to box_justify.
2024-07-31 02:00:22 -04:00
Tom Rothamel 99a12807b2 Merge pull request #5404 from shawna-p/box-updates
Add box_align and justify for boxes
2024-07-30 23:18:51 -04:00
Tom Rothamel 850f2705bd Merge branch 'master' into box-updates 2024-07-30 23:18:43 -04:00
Gouvernathor 494420d884 Typo
Interestingly enough, Lint will also not report spelling mistakes in dialogue, snake case in class names, or your stash of downloaded movies to the authorities. The more you know.
2024-07-30 20:19:20 +02:00
Tom Rothamel 2eedf53eac Lint now reports obsolete image manipulators.
Fixes #5532.
2024-07-30 00:55:57 -04:00
Tom Rothamel 5bdbcc2111 Replace uses of im.Tile with Tile.
Allowing us to obsolete im.Tile.
2024-07-30 00:41:47 -04:00
Tom Rothamel f0ecc1dc1a Check to see if the new vscode extension is installed.
And if it is, assume that the old one has been taken care of.
2024-07-29 23:43:53 -04:00
Tom Rothamel c6a29f79bc Run Linux non-system outside the sandbox.
Because we can't set it suid on install.
2024-07-29 23:34:11 -04:00
Tom Rothamel 82bbab49b6 Upgrade the Ren'Py extension for VS Code.
If Ren'Py sees the old VS Code extension, it will offer to upgrade it
to the new renpy.language-renpy extension.
2024-07-29 22:27:51 -04:00
Tom Rothamel d9f595f93e Sync screen fixes.
* Make sync_text inherit from gui text.
* Only use gui/overlay/confirm.png if it exists.

Fixes #5647.
2024-07-28 14:41:28 -04:00
Tom Rothamel 0acd1968e2 renpy.open_file now returns an io.BufferedReader
... when opened in binary mode.

Fixes #5653.
2024-07-28 12:39:50 -04:00
Tom Rothamel 0bae8dd684 Fixen.
Per @mal.
2024-07-27 23:37:06 -04:00
Tom Rothamel d97eb9e4d7 Allow control to start/stop skipping without considering modifiers.
Fixes #5657.
2024-07-27 16:47:48 -04:00
Tom Rothamel b5802657ac Add the anymod keymap prefix.
And rename any to anyrepeat, but keep compatibility.
2024-07-27 16:47:33 -04:00
Tom Rothamel 9dfe6ffc36 Merge pull request #5655 from pabdulin/fix-ru-translate
Fixed some obvious translation "bugs"
2024-07-27 11:10:10 -04:00
Petr Abdulin ba7ff1c175 Fixed some obvious translation "bugs" 2024-07-27 20:42:07 +07:00
Gouvernathor 3c38aa8965 doc: fix a typo and reorder some 2024-07-27 04:49:07 +02:00
Tom Rothamel 2d5b2bc3b8 Correct help. 2024-07-25 23:56:39 -04:00
Tom Rothamel d10b10d4f3 Revert "Export time into the default store."
This reverts commit fcc0f1cfd3.
2024-07-25 23:56:09 -04:00
Tom Rothamel 84d631a41a Merge pull request #5285 from lent1-andrealphusgames/android_packages
Add package argument when building android from CLI
2024-07-25 23:55:52 -04:00
Gouvernathor bac73366e2 Better type annotations 2024-07-26 01:56:28 +02:00
Tom Rothamel b61a47d7c9 Merge pull request #5652 from renpy/trans-doc-overhaul
Transforms, ATL and Transitions doc overhaul
2024-07-25 08:33:37 -04:00
Tom Rothamel 79e83cf566 Include the config.auto_channels mixers in the list of all mixers.
Fixes #5645.
2024-07-24 22:58:24 -04:00
Tom Rothamel 23f9268dad Exclude .rpe files from the build.
Fixes #5648.
2024-07-24 22:49:41 -04:00
Gouvernathor a08224d937 Comments for future evolution of allowed ATL parameters 2024-07-24 13:35:06 +02:00
Gouvernathor bdba20bab6 Add warpers
I would put it in transform properties, to balance the length of the two pages
but existing links to the Warpers section will survive this way (once the redirect is put in place)
and it would be the only part not directly related to transform properties
2024-07-24 13:29:48 +02:00
Gouvernathor cec9fa5e7e Move At from displayables to transforms 2024-07-24 13:10:27 +02:00
Gouvernathor 6e6de0b50a Linkify 2024-07-24 13:00:49 +02:00
Gouvernathor 32076a51b6 Fix links again 2024-07-24 12:46:56 +02:00
Gouvernathor 5818a20746 Merge branch 'master' into trans-doc-overhaul 2024-07-24 12:43:31 +02:00
Gouvernathor 2148123b59 Document the child parameter and its latest features 2024-07-24 12:43:03 +02:00
Gouvernathor c12b4558ea Fix links 2024-07-24 12:42:49 +02:00
Gouvernathor a35d42268c Reorder the statement for good practice and explicitibility reasons 2024-07-24 12:16:06 +02:00
Gouvernathor 6dafe282cf Add the last ATL statements 2024-07-24 11:55:23 +02:00
Tom Rothamel 1ad8e6706e doc: Fix errors.
* Duplications in config.
* Bad reference in Steam.
2024-07-24 02:12:45 -04:00
Gouvernathor ca40c7f797 Fix headers and add more ATL statements 2024-07-24 05:33:28 +02:00
Gouvernathor 4af6740050 Merge branch 'master' into trans-doc-overhaul 2024-07-24 05:07:38 +02:00
Gouvernathor c08d3a72b4 Add more ATL statements 2024-07-24 05:07:11 +02:00
Tom Rothamel fcc0f1cfd3 Export time into the default store.
For compatibility with older saves. Fixes #5650.
2024-07-23 23:04:10 -04:00
Tom Rothamel b321389cde Move loadsaveexports to contextexports.
The two functions make sense in the contextexports file.
2024-07-23 22:58:13 -04:00
Gouvernathor 0e420d769f Add redirect stubs 2024-07-24 04:53:22 +02:00
Gouvernathor f768ba1c82 Shorten the line so that it displays correctly 2024-07-24 04:34:22 +02:00
Tom Rothamel ebd134d91d Add missing import.
Fixes #5649.
2024-07-23 22:34:07 -04:00
Gouvernathor 5702b3a627 Update transform properties intro 2024-07-24 04:30:07 +02:00
Gouvernathor 69f25761e4 Add some ATL statements 2024-07-24 04:29:51 +02:00
Tom Rothamel c39ff754dc doc: Remove obsolete file. 2024-07-23 20:35:06 -04:00
Gouvernathor 8058c86c60 Forgotten page 2024-07-24 02:06:43 +02:00
Gouvernathor 5cad3b479e Include the new pages in the toctree 2024-07-24 02:05:00 +02:00
Gouvernathor 6e86645fa7 First pass of rewriting transforms and transitions 2024-07-24 01:49:03 +02:00
Tom Rothamel 436191ab90 Remove files used to reorder config.rst. 2024-07-23 02:06:42 -04:00
Tom Rothamel 073d54b8aa doc: Reorganize config.rst.
Fixes #5549.

Co-Authored-By: Lezalith <Lezalith@gmail.com>
2024-07-23 02:05:11 -04:00
Tom Rothamel 181a58a0de doc: Continue the organization of config variables. 2024-07-22 23:24:41 -04:00
Tom Rothamel 51d50d9fad Initial grouping of configuration variables.
Co-Authored-By: Lezalith <Lezalith@gmail.com>
2024-07-22 21:17:33 -04:00
Tom Rothamel 9770667158 Sort the contents of exports/__init__.py. 2024-07-21 21:54:46 -04:00
Tom Rothamel ecee802d9d Finish refactoring exports into multiple files. 2024-07-21 20:25:50 -04:00
Tom Rothamel 4a51df2543 More refactoring of exports. 2024-07-21 11:05:55 -04:00
Tom Rothamel 2f561a4294 Continue breaking up exports. 2024-07-21 02:18:47 -04:00
Tom Rothamel 7dab37afaa Continue refactoring exports. 2024-07-21 01:32:28 -04:00
Tom Rothamel 4c405aa344 Make lint accept the shader= tag.
Fixes #5643.
2024-07-20 20:46:54 -04:00
Tom Rothamel 5c41886bf4 Add u_virtual_size, the virtual size of the window.
Per #5642.
2024-07-20 18:20:31 -04:00
Tom Rothamel 753750ba58 Export proxies. 2024-07-19 12:18:15 -04:00
Tom Rothamel c316398404 Migrate more to export files. 2024-07-19 01:18:45 -04:00
Tom Rothamel ce62a7794e Break the fetch exports out into their own file. 2024-07-18 01:30:18 -04:00
Tom Rothamel 65486e9c30 Breaking exports up into multiple files. 2024-07-18 01:23:49 -04:00
Tom Rothamel 437c5ce7d5 Move exports into a package. 2024-07-18 00:54:38 -04:00
Tom Rothamel 07ca61f826 Fix an initialization problem with default preferences.volume.x
Fixes #5639.
2024-07-17 22:07:48 -04:00
Tom Rothamel 287f74065d Convert the translation identifier screen to the translation info screen.
This:

* Is available outside of developer mode.
* Shows the current line number.
* If a translation is in use, shows the source line number.
* If a translation is in use, shows the translated line.

Fixes #5414.
2024-07-17 01:05:50 -04:00
Tom Rothamel 1d2a811c36 Add the _translates screen, which shows what a line will translate. 2024-07-17 00:37:55 -04:00
Tom Rothamel 3ec75f6a10 tl: Add renpy.translation_info.
This returns an object containing information about a translation
or the default text corresponding to the translation, including
the source, filename, and line number.

Per #5414.
2024-07-16 23:14:34 -04:00
Tom Rothamel 423acaa502 Unpremultiply colors when taking a screenshot.
Fixes #5630.
2024-07-15 23:39:50 -04:00
Ren'Py Bot 57be1ca33f Merge branch 'fix' 2024-07-15 04:30:21 -04:00
Tom Rothamel cc61f53730 gl2: When intersecting polygons, align to a grid.
This prevents errors from accumulating and causing glitches. The grid
is 1/100th of a pixel, which should allow for subpixel movement without
too many problems.

Fixes #5632
2024-07-15 02:30:01 -04:00
Tom Rothamel db57fa8e39 Mark side image transforms as unique.
Fixes #5633.
2024-07-14 22:22:50 -04:00
Tom Rothamel 67d5a05a85 Document renpy.show's atl argument. 2024-07-14 16:35:08 -04:00
Tom Rothamel 3186c7c584 Creator-defined statements can take an ATL block.
It's also possible for the block to be optional, or to take an
optional block of script statements.
2024-07-14 16:00:35 -04:00
Tom Rothamel 111d786b59 Predict ATL used in scene and show statements. 2024-07-14 15:36:19 -04:00
Tom Rothamel fa077786aa Add config.interface_layer.
This is the layer that built-in screens will be shown on. It defaults
to "screens", but can be changed by creators.

Fixes #5618.
2024-07-13 23:57:33 -04:00
Ren'Py Bot 56e9243f23 Merge branch 'fix' 2024-07-13 04:30:21 -04:00
Tom Rothamel 335f076048 Save the state after an upgrade or DLC download. 2024-07-13 02:06:56 -04:00
Tom Rothamel 59e0595c66 Monkeypatch the updater to fix missing DLC.
The rpu updater didn't save the state during an update, causing
Ren'Py not update files it installed. That was fixed in
05bfde75e3, and this deals with
the fallout by adding the missing dlc as required.
2024-07-13 02:05:04 -04:00
Tom Rothamel b417b19d37 update: Add RENPY_TEST_MONKEYPATCH
This is an internal environment variable that makes it possible for
me to test monkeypatches without building an update.
2024-07-13 01:57:47 -04:00
Tom Rothamel 05bfde75e3 Save the state after an upgrade or DLC download. 2024-07-13 00:03:06 -04:00
Tom Rothamel 584073f824 Merge branch 'fix' 2024-07-12 23:34:00 -04:00
Tom Rothamel d1d299c64d Use the default style for the Window displayable.
Fixes #5625.
2024-07-12 22:39:39 -04:00
Tom Rothamel 270984c6e1 text: Fixes to RTL with multiple segments:
* The segments were not put in the right order.
* Times were not applied to the segments properly.

Fixes #5629.
2024-07-12 22:27:19 -04:00
Tom Rothamel e3d638eca1 Add more checks to renpy.can_rollback()
To check if rollback is actually possible. Fixes #5619.
2024-07-11 01:27:20 -04:00
Tom Rothamel 1df41abf33 Merge pull request #5616 from aleksbelic/docs-typos-fix
Fixes some typos found in docs.
2024-07-10 23:01:20 -04:00
Tom Rothamel b27cf19317 Merge pull request #5620 from kyouryuukunn/add_description_live2d_in_web
[Doc]add the description that live2d is not supported in web plattform
2024-07-10 23:01:07 -04:00
Tom Rothamel a1eeda4074 Merge pull request #5626 from agejevasv/fix-cors-video-loading
Fix video playing if config.web_video_base URL is cross-origin
2024-07-10 14:07:54 -04:00
Viktoras Agejevas c509bd180c Fix video playing if config.web_video_base URL is cross-origin
When `config.web_video_base` is set with an absolute URL to another origin,
modern browsers won't load the video with an error:

> The HTMLMediaElement passed to createMediaElementSource has a cross-origin resource, the node will output silence.

For CORS to work:
1. The server serving the resources should have a `access-control-allow-origin: *` header.
2. The `video` element should have `crossorigin="anonymous"` attribute.
2024-07-10 18:33:44 +03:00
Tom Rothamel b2ba205e22 Merge branch 'to-renpy-json' 2024-07-10 01:57:39 -04:00
Tom Rothamel bebd305e66 Avoid breaking a role across two lines. 2024-07-10 01:57:27 -04:00
Tom Rothamel e6d8522b96 doc: Document the default namespaces.
Right now, this is mostly hidden, intended to supply information
to vscode completion.
2024-07-09 23:16:00 -04:00
Tom Rothamel 0db128da75 vscode: Create renpy.json when the documentation is built. 2024-07-09 22:05:46 -04:00
Tom Rothamel 5b01a7c678 vscode: Move renpy_json generation into game. 2024-07-09 21:37:40 -04:00
Tom Rothamel b573a0249b Handle deprecation.
With a list of rules for deprecated and non-deprecated names.

The origin of all Ren'Py-sourced names is "renpy", and then this
is changed to "deprecated" if a rule hits.
2024-07-09 21:35:26 -04:00
Ren'Py Bot c01616a959 Merge branch 'fix' 2024-07-09 04:30:21 -04:00
Tom Rothamel 341bf3aaa1 vscode: Experimental script to generate renpy.json.
This does it by parsing the reStructuredText input to Sphinx, and
then converting it to Markdown in the correct format.
2024-07-09 01:17:31 -04:00
Tom Rothamel 4c15220b91 Do not end instantly. 2024-07-08 22:05:06 -04:00
Tom Rothamel 1a06f959bb End the animation if the animation delay is 0 or None.
Fixes #5622.
2024-07-08 21:34:34 -04:00
Tom Rothamel b0ce4e71ac Scale the image before applying config.screenshot_crop.
Fixes #5560.
Fixes #5621.
2024-07-08 01:08:45 -04:00
Gouvernathor 1a2186ad26 doc: tweak renpy.Choice signature
this should be changed once we enable py3-only code
2024-07-08 00:22:38 +02:00
Tom Rothamel 18dc019a54 Add the renpy.Choice class, allowing arguments to be suppled to menu items.
Fixes #5509.
2024-07-07 09:26:10 -04:00
Tom Rothamel 9b8cde6240 doc: Steam. 2024-07-06 17:02:46 -04:00
Tom Rothamel b5767defc2 doc: Document achievement.steam. 2024-07-06 16:26:04 -04:00
Tom Rothamel 296948317a steam: Add support for Steam Timeline. 2024-07-06 16:16:10 -04:00
Tom Rothamel ca4e791fd4 steam: Update to support v160. 2024-07-06 14:26:36 -04:00
Tom Rothamel 712cb434da Add license information to renpy.gl2 files. 2024-07-06 09:44:52 -04:00
Tom Rothamel 0b34353f2a doc: Changelog. 2024-07-06 09:31:30 -04:00
Tom Rothamel 9ecd771a78 screenshot: Add the ability to resize rendered displayables. 2024-07-06 09:22:22 -04:00
Tom Rothamel 6003d51716 doc: Screenshot functions. 2024-07-06 09:12:43 -04:00
Tom Rothamel 2bb9739212 Add renpy.render_to_surfacne and renpy.render_to_file.
Two functions that can capture the rendered version of a displayable.

Fixes #5440.
2024-07-06 01:12:16 -04:00
Tom Rothamel 6d71bfd7fb Give renpy.display.draw.screenshot the ability to screenshot arbiratry renders.
Per #5540.
2024-07-05 19:54:16 -04:00
Tom Rothamel d4fc779f6d gl2: Allow texture wrap to be customize on a per-uniform basis. 2024-07-05 12:13:15 -04:00
Tom Rothamel d16c81f936 gl2: Apply texture properties at render time.
Rather than when the texture is created. This fixes an issue
introduced by texture caching that was preventing GL_REPEAT
from working.

Fixes #5568.
2024-07-05 10:13:05 -04:00
kyouryuukunn 5daac3c611 add the description that live2d is not supported in web plattform 2024-07-05 22:36:29 +09:00
Tom Rothamel a4eb607775 Supply res<x> to shaders, even if tex<x> isn't used.
Fix #5615.
2024-07-04 21:34:53 -04:00
Tom Rothamel 8ed2f4fbfd Allow renpy.display_menu to take menu arguments.
Fixes #5509.
2024-07-03 22:53:56 -04:00
Aleksandar Belic Aleksanchez 300d50b826 Fixes some typos found in docs. 2024-07-03 23:30:23 +02:00
Tom Rothamel a23c5ef778 Retained speech bubbles are cleared...
... when other say, menu, or call screen statement are invoked. With
a variable to control this.

Fixes #5611.
2024-07-03 08:31:01 -04:00
Tom Rothamel fd4da5b0de Merge pull request #5563 from luejerry/save-load-mousewheel
Allow mousewheel to paginate save/load screen
2024-07-02 22:19:11 -04:00
Tom Rothamel acba6a2f60 Remove exec.py support.
It's a bit too footgun, so instead we'll use .rpe.py files to
inject the same thing. See the discussion in #5607.
2024-07-01 22:38:45 -04:00
Tom Rothamel c99a9052d4 RPE changes.
* RPE files are now searched for in config.renpy_base as well as
  the game directory, to make it easy for the user to install
  .rpes.

* .rpe.py files are searched for in the same places, and loaded at
  the same time.
2024-07-01 22:38:45 -04:00
Tom Rothamel 44b5ca8a02 Merge pull request #5608 from m-from-space/master
Update German Translation Files
2024-07-01 11:38:46 -04:00
m-from-space 309080f4e8 Update script.rpym
Changed formal to informal speech, because it is more natural.
2024-07-01 15:56:37 +02:00
m-from-space a998c4dc42 Update screens.rpy
Fixed auto translations where necessary and changed formal to informal speech, because it is more natural and usually shorter.
2024-07-01 15:48:10 +02:00
m-from-space 7e16ce9d2d Update options.rpy
Fixed auto translations where necessary and changed formal speech into informal speech, because it is more natural and usually shorter.
2024-07-01 14:57:21 +02:00
m-from-space c074279dc4 Update launcher.rpy
Fixed auto translations where necessary and changed formal to informal speech, because it is more natural and usually shorter
2024-07-01 14:41:18 +02:00
m-from-space 3cca58e474 Update error.rpy
fixed auto translations and some other translations where necessary and changed formal speech into informal speech, because it is more natural and usually shorter
2024-07-01 11:40:48 +02:00
m-from-space 4ffd682634 Update developer.rpy
fixed auto translations where necessary and changed informal speech into formal, because it is more natural
2024-07-01 11:26:41 +02:00
m-from-space 00facab8c2 Update common.rpy
fixed auto translations where necessary and changed formal speech to informal one, since this is more natural in games
2024-07-01 11:10:41 +02:00
Tom Rothamel 9ceb14d4e0 Add renpy.get_ongoing_transition.
Fixes #5385.
2024-07-01 02:06:37 -04:00
Tom Rothamel 6081c49f5d Add config.translate_ignore_who.
Fixes #5575.
2024-06-30 23:43:46 -04:00
Tom Rothamel 01a5d37ee3 Merge pull request #5606 from qTich/fix/5603
fix: #5603
2024-06-30 23:14:15 -04:00
Tom Rothamel 6c45cdd8f1 Document oversampling directories. 2024-06-30 16:39:31 -04:00
Tom Rothamel 0ca1015974 Merge pull request #5605 from levicratic/allow-@-in-folder
Be more lenient with '@' in image names
2024-06-30 14:18:50 -04:00
Ren'Py Bot d3de1405dc Merge branch 'fix' 2024-06-30 04:30:21 -04:00
Tichq 84ff26b8cb fix: #5603 2024-06-30 07:07:44 +03:00
Tom Rothamel 1e3c7a346d Fix bad merge. 2024-06-29 23:42:39 -04:00
Tom Rothamel e41d22cb9e Merge branch 'fix' 2024-06-29 23:39:22 -04:00
Tom Rothamel 38623ff2ea Merge pull request #5587 from kyouryuukunn/add_describes_for_files
[Doc]add describes for files
2024-06-29 23:03:25 -04:00
Tom Rothamel aa1289aa17 Merge pull request #5589 from shawna-p/pad-event-fix
Gamepad event fix
2024-06-29 23:02:48 -04:00
Gouvernathor 5c14eb023b Trim Signature
the legacy constructor is not used anymore, the positional property either.
extrapos and extrakw returned the name of the parameter instead of the object itself, that's useless
also reimplement the atl commented code that was using it - there needs to be clarity between parameter objects and names
2024-06-30 03:43:34 +02:00
Tom Rothamel 2435f93658 ATL polar coordinates now support the radius being a negative number.
Fixes #5598.
2024-06-29 21:03:11 -04:00
levicratic 387d45cf73 Pull oversample value from folder or base name 2024-06-29 20:51:57 -04:00
Tom Rothamel 1653b87ef3 wp: Store and use the sign of the radius. 2024-06-29 19:33:30 -04:00
Tom Rothamel 2939404b27 transform: Fix error when dealing with near-0 radii.
Fixes #5596.
2024-06-29 16:59:57 -04:00
Tom Rothamel 5321773622 Scroll restarts interaction on when an adjustment is ranged.
Fixes #5599.
2024-06-28 23:46:47 -04:00
Tom Rothamel 48693f76f4 Scroll restarts interaction on when an adjustment is ranged.
Fixes #5599.
2024-06-28 08:52:05 -04:00
kyouryuukunn f80a8c71aa Merge pull request #5601 from kyouryuukunn/japanese_translation_240628
fix japanese translation 240628
2024-06-28 19:36:44 +09:00
kyouryuukunn 1a541133e3 fix japanese translation 240628 2024-06-28 19:30:53 +09:00
Ren'Py Bot ec9c6486b3 Merge branch 'fix' 2024-06-28 04:30:19 -04:00
Tom Rothamel 5e90fbad2e Only trigger default_focus if the mouse hasn't been used in 100ms.
This fixes and issue where restarted interactions could cause
the default_focus behavior.

Fixes #5600.
2024-06-27 20:23:09 -04:00
Ren'Py Bot 098bf0b06e Merge branch 'fix' 2024-06-27 04:30:20 -04:00
Tom Rothamel 5d33a14d3e tts: Properly handle modal screens that do not contain tts text.
Fixes #5590.
2024-06-26 22:26:26 -04:00
Tom Rothamel 06f145a17b Reorg documentation. 2024-06-25 23:30:35 -04:00
Tom Rothamel 43783c2caf Merge #5237 (ATL partials overhaul and fix.)
Adresses most of the main points of #5102, and #4371.
The parameters that get fixed are still forbidden though, as are var-pos and var-kw parameters. That will be for another PR. But the implementation that goes with handling those is already here, commented-out for performance.

The solution to #4405 is there too but also commented out. That change will also go in separately.
2024-06-25 21:16:57 -04:00
shawna-p 1b8780fc8a Update for new pad_bindings as of 8.2 2024-06-25 11:14:39 -04:00
shawna-p fe5f68ab1d Fix for lists of pad events 2024-06-25 11:13:58 -04:00
Tom Rothamel 4379d2187a The displayable inspector (Shift+Alt+I) now shows a displayable's id if it has one.
Fixes #5583.
2024-06-24 16:21:02 -04:00
Tom Rothamel 02573ed165 Store the id as a field on Displayables. 2024-06-24 16:19:49 -04:00
kyouryuukunn a02e5f38bb add describes for files 2024-06-24 19:48:42 +09:00
Tom Rothamel a8ffb16c63 Hide notifications before screenshots.
Fixes #5569.

This works by deferring the screenshot until after an immediate
interaction restart, and adding actions that can be run before
this restart.

As part of this, the precise timing of renpy.invoke_in_main_thread
handing is adjusted. Since that wasn't ever defined, this seems fine.
2024-06-23 22:25:12 -04:00
Tom Rothamel 1537306cab Add Hide(..., immediately=True).
And the renpy.hide_screen equivalent. There are cases (#5569) when
we want to hide a screen with triggering events, and this allows
for that.
2024-06-23 22:03:18 -04:00
Tom Rothamel b231071aa6 Handle local labels in test cases.
Qualified local labels work as expected. Unqualified local labels
are relative to the test case names.

Per #5410.
2024-06-21 23:42:06 -04:00
Tom Rothamel 38b6cdfa94 test: Fix execution of test cases. 2024-06-21 23:41:52 -04:00
Tom Rothamel 40055b24c6 Add changelog and documentation for config.clear_log. 2024-06-21 20:54:15 -04:00
kyouryuukunn 8560b39e71 Merge pull request #5579 from kyouryuukunn/Japanese_update_240621
Japanese update 240621
2024-06-21 12:58:19 +09:00
Tom Rothamel 48d9a8da10 Merge pull request #5286 from lent1-andrealphusgames/clear_config_log_during_startup
Clear config.log file during game startup
2024-06-20 21:43:35 -04:00
kyouryuukunn 5a66ab997d update japanese translation 240621 2024-06-21 08:59:03 +09:00
kyouryuukunn b04141a3a4 update japanese translation 240620 2024-06-20 21:06:24 +09:00
Tom Rothamel c386922b16 Undocument the show_done callback, which was rarely or never called. 2024-06-19 21:04:14 -04:00
Tom Rothamel 066660451e Pass more keyword arguments to character callbacks.
Fixes #5533.
2024-06-19 21:04:14 -04:00
kyouryuukunn f639c176fc Merge pull request #5577 from kyouryuukunn/Japanese_update_240619
update Japanese translation
2024-06-19 12:26:22 +09:00
kyouryuukunn db39372702 update Japanese translation 2024-06-19 12:24:04 +09:00
Tom Rothamel f949c2f09a Merge branch 'fix' 2024-06-18 22:54:36 -04:00
Tom Rothamel 45a13a9da6 Bump versions. 2024-06-18 22:52:10 -04:00
Tom Rothamel 5a88385e7a doc: Update. 2024-06-17 21:55:22 -04:00
Tom Rothamel 689ce63e85 Pull before build. 2024-06-17 20:24:38 -04:00
Tom Rothamel 2c0fcf0418 Limit exec.py processing to developer mode + environment variable handling.
To limit security implications.
2024-06-16 22:20:48 -04:00
Ren'Py Bot 4be97baab1 Merge branch 'fix' 2024-06-16 04:30:18 -04:00
levicratic e8d627d7c7 Add font check for aliases in font_name_map 2024-06-15 19:32:47 -04:00
Tom Rothamel 66aa290908 Merge pull request #5571 from levicratic/lint-font-name-map
Add lint check for font aliases in font_name_map
2024-06-15 19:31:39 -04:00
Tom Rothamel c2f34f0727 Use correct variable. 2024-06-15 19:30:41 -04:00
levicratic c21b2cad01 Add font check for aliases in font_name_map 2024-06-15 16:03:59 -04:00
Tom Rothamel 0aea527511 Add the _clear_layers argument for renpy.{call,invoke}_in_new_context.
Fixes #5550.
2024-06-14 22:52:40 -04:00
Ren'Py Bot 13c5f8d11b Merge branch 'fix' 2024-06-14 04:30:18 -04:00
npckc 6cd01c559e Correct config.fill_shrinks_frames to config.fill_shrinks_frame
The Incompatible Changes page has the variable written as config.fill_shrinks_frames, but config.fill_shrinks_frame is the correct variable
2024-06-13 23:53:47 -04:00
Tom Rothamel 9b3743508e Merge pull request #5565 from npckc/master
Correct config.fill_shrinks_frames to config.fill_shrinks_frame
2024-06-13 23:52:26 -04:00
Tom Rothamel 36690cd413 live2d, doc: Update live2d documentation. 2024-06-13 18:10:53 -04:00
Ren'Py Bot b7f3368c64 Merge branch 'fix' 2024-06-13 04:30:18 -04:00
npckc c8bd10b486 Correct config.fill_shrinks_frames to config.fill_shrinks_frame
The Incompatible Changes page has the variable written as config.fill_shrinks_frames, but config.fill_shrinks_frame is the correct variable
2024-06-13 17:16:59 +09:00
Tom Rothamel 3e6eb3c1f8 Bump version. 2024-06-12 19:12:39 -04:00
Tom Rothamel 18b01d9fb9 Bump version. 2024-06-12 19:03:16 -04:00
luejerry 64ab754bca Allow mousewheel to paginate save/load screen 2024-06-12 01:37:51 -07:00
Ren'Py Bot f8f8a6b2d6 Merge branch 'fix' 2024-06-12 04:30:18 -04:00
Tom Rothamel db12aca24b Add a mode to show files that have changed size. 2024-06-12 01:35:35 -04:00
Tom Rothamel 4248ea0b18 doc: Changelog. 2024-06-11 22:59:11 -04:00
Tom Rothamel e976763457 doc: Changelog. 2024-06-11 21:47:14 -04:00
Tom Rothamel 95c3070bd2 doc: Update sponsors. 2024-06-11 21:23:20 -04:00
Ren'Py Bot 0949e14892 Merge branch 'fix' 2024-06-11 04:30:01 -04:00
Tom Rothamel 6e5d3b926b Scale up the interface styles on small devices.
This makes the accessibility menu more usable on phones.
2024-06-11 00:06:35 -04:00
Tom Rothamel fed3bbf2c1 tts: Allow tts on Android and iOS. 2024-06-10 23:41:10 -04:00
Tom Rothamel 4decefb7c4 On touch platforms, allow a gesture to access the accessibility menu. 2024-06-10 23:03:33 -04:00
Ren'Py Bot 6d0443c94c Merge branch 'fix' 2024-06-10 04:30:01 -04:00
Tom Rothamel 0b257c3505 Tweak the LOD setting.
This changes when it triggers, as .5 is too close to sizes a
creator might use.

Fixes #5466.
2024-06-09 21:16:46 -04:00
Tom Rothamel bf04173e44 tts: Fallback if the selected voice can't be used.
Fixes #5556. Probably only works on Linux and Mac, as on Windows
this is the default.
2024-06-09 16:21:09 -04:00
Tom Rothamel 0ec182d18d tts: Fallback if the selected voice can't be used.
Fixes #5556. Probably only works on Linux and Mac, as on Windows
this is the default.
2024-06-09 16:20:13 -04:00
Tom Rothamel ffc8b5532c Merge branch 'fix' 2024-06-09 01:03:43 -04:00
Tom Rothamel 33818ecd5b Include the version at the end of blocks of variables.
This should help with merges.
2024-06-09 01:01:50 -04:00
Tom Rothamel 08538b2ed6 Merge branch 'fix' 2024-06-09 01:00:56 -04:00
Tom Rothamel 14f28c0160 android: Call armOnStop, finishOnStop.
This is required by renpy/renpy-build@c6253f81ad.
2024-06-09 00:56:28 -04:00
Tom Rothamel 90398b5604 android: Use armOnStop and FinishOnStop.
Per renpy/renpy-build@c6253f81ad
2024-06-08 23:02:35 -04:00
Tom Rothamel ce2ad1c14e Fix translations. 2024-06-07 22:49:40 -04:00
Tom Rothamel 8486ab06bf Fix translations. 2024-06-07 22:49:15 -04:00
Zout141 4b888f0c89 Try To Update Existing SChinese and TChinese Translation,Fix A Little Problem Of Korean Translation (#5524)
Co-authored-by: Liu Wenyuan <15816141883@163.com>
Co-authored-by: 复予 <clonewith@qq.com>
2024-06-07 22:25:54 -04:00
Zout141 f346cf5a1a Try To Update Existing SChinese and TChinese Translation,Fix A Little Problem Of Korean Translation (#5524)
Co-authored-by: Liu Wenyuan <15816141883@163.com>
Co-authored-by: 复予 <clonewith@qq.com>
2024-06-07 22:15:21 -04:00
Tom Rothamel bbd9bfb8ad Us a style to control image error placement.
And update the style to something more modern.
2024-06-07 00:32:11 -04:00
Tom Rothamel 1463b141ab Stop raising image exceptions if the player choses to ignore. 2024-06-07 00:32:11 -04:00
Tom Rothamel a4c51a0095 Add config.raise_image_load_exceptions.
This lets the creator control when image load exceptions
occur.
2024-06-07 00:32:11 -04:00
Tom Rothamel 8cfb3e4dbd Add config.python_exit_callbacks.
Functions that are called when Ren'Py is shutting down, to allow
Python modules to be deinitialized.
2024-06-07 00:31:48 -04:00
Tom Rothamel 7ffdde6ac2 Undocument config.at_exit_callbacks.
This is a really poorly named callback that has little purpose
(other than saving jsondbs) as it runs between when the game
store has been loaded and when the init data is removed.
2024-06-07 00:31:13 -04:00
Tom Rothamel cc97832772 Us a style to control image error placement.
And update the style to something more modern.
2024-06-07 00:19:37 -04:00
Tom Rothamel 4bcb365a78 Stop raising image exceptions if the player choses to ignore. 2024-06-06 21:54:58 -04:00
Tom Rothamel cbf17de9bc Add config.raise_image_load_exceptions.
This lets the creator control when image load exceptions
occur.
2024-06-06 21:50:17 -04:00
Tom Rothamel 1c39200c17 Add config.python_exit_callbacks.
Functions that are called when Ren'Py is shutting down, to allow
Python modules to be deinitialized.
2024-06-05 22:37:41 -04:00
Tom Rothamel f549453214 Undocument config.at_exit_callbacks.
This is a really poorly named callback that has little purpose
(other than saving jsondbs) as it runs between when the game
store has been loaded and when the init data is removed.
2024-06-05 22:09:50 -04:00
Ren'Py Bot f5d065e181 Merge branch 'fix' 2024-06-05 04:30:18 -04:00
Tom Rothamel 6e46f2bb6a Restore _with_none to renpy.call_screen.
See discussion in #5536.
2024-06-04 22:22:03 -04:00
Tom Rothamel 72437e55fa Remove _with_none from argument signatures.
It was never useful, and it's obsolete at this point.

Fixes #5536.
2024-06-04 21:58:57 -04:00
Tom Rothamel c0d6b9b6df Merge branch 'fix' 2024-06-03 23:07:46 -04:00
Tom Rothamel 968c6059df doc: Fix typo. 2024-06-03 23:05:11 -04:00
Tom Rothamel ab09cd29f0 tts: Queue up and allow forced tts.
Queuing up allow multiple messages with renpy.alt to be queued up
before the next tts. And this fix allows renpy.alt(force=True) to
work where it had been broken.

Fixes #5545.
2024-06-03 23:01:38 -04:00
Tom Rothamel 2b5b93adc1 Munge __word everywhere in strings.
Fixes #5442.
2024-06-03 22:32:37 -04:00
Tom Rothamel 4978fe748b Merge branch 'fix' 2024-06-03 02:19:09 -04:00
Tom Rothamel 3b8194dd5e Prevent xfill and yfill from shrinking frames.
Fixes #5424.
2024-06-03 02:17:05 -04:00
Tom Rothamel 909f665585 Merge branch 'fix' 2024-06-02 11:25:15 -04:00
Tom Rothamel 823c168154 Work around an issue where harfbuzz couldn't get font height.
Fixes #5416.
2024-06-02 11:25:01 -04:00
Tom Rothamel 8bf7dbac7b Change files shown in .vscode. 2024-06-01 21:21:13 -04:00
Tom Rothamel 62a002659c Work around an issue where harfbuzz couldn't get font height.
Fixes #5416.
2024-06-01 21:20:21 -04:00
Tom Rothamel a8521df324 doc: Fix style property names. 2024-06-01 13:13:54 -04:00
Ren'Py Bot d08efd929f Merge branch 'fix' 2024-06-01 04:30:01 -04:00
Tom Rothamel 8f2a30c2d5 Merge pull request #5543 from Kuroonehalf/patch-1
Couple typos fix in textshaders.rst
2024-06-01 01:12:59 -04:00
Kuro 4422f66ba8 Couple typos fix in textshaders.rst 2024-06-01 05:50:11 +01:00
Tom Rothamel d7a10778ee Treat the use of default_focus as an explicit focus.
That causes hovered handlers to run. Fixes #5477.
2024-05-31 22:25:50 -04:00
Tom Rothamel 8e6446e85a Add the prefences.volume namespace.
This allows mixers to be set with the default statment.

Fixes #5541.
2024-05-30 22:10:28 -04:00
Denys 451fc492b3 Merge branch 'renpy:master' into master 2024-05-30 15:33:02 +01:00
Tom Rothamel 12e781cf4f Merge pull request #5513 from renpy/doc-display_menu
Tweak display_menu
2024-05-30 01:33:07 -04:00
Tom Rothamel d0c78aaaca Merge branch 'fix' 2024-05-29 21:54:29 -04:00
Tom Rothamel 7886c536ec live2d: Always apply attribute_filter.
Fixes #5415.
2024-05-29 20:36:38 -04:00
Tom Rothamel 7620f8ef78 Fadeout audio when stopping sounds for rollback.
Fixes #5497.
2024-05-29 20:21:21 -04:00
Tom Rothamel 8a6111cf83 Use config.fadeout_audio on play/stop sound.
Per #5497.
2024-05-29 20:21:21 -04:00
Tom Rothamel ac8cd9d9b2 live2d: Properly encode and suggest cause of errors from missing symbols.
Fixes #5485.
2024-05-29 20:21:21 -04:00
Andy_kl ac81c53bf2 Allow to have the same model with 2 different default_fade 2024-05-29 20:21:21 -04:00
Tom Rothamel 2eddbd9712 Fadeout audio when stopping sounds for rollback.
Fixes #5497.
2024-05-29 01:50:34 -04:00
Tom Rothamel 2c7bf8aed4 Use config.fadeout_audio on play/stop sound.
Per #5497.
2024-05-29 01:08:46 -04:00
Tom Rothamel e2cb92540f live2d: Properly encode and suggest cause of errors from missing symbols.
Fixes #5485.
2024-05-28 22:48:29 -04:00
Tom Rothamel 64779676a8 Merge pull request #5540 from qTich/fix/textshader-compilation
textshader: convert static int to float
2024-05-28 09:44:11 -04:00
Tichq f914c0ae50 textshader: convert static int to float 2024-05-28 09:32:53 +03:00
Tom Rothamel fd9fee113e Clear after_rollback even if an interaction aborts early.
Fixes #5511
2024-05-28 01:47:45 -04:00
Tom Rothamel d348af3edf Clear after_rollback even if an interaction aborts early.
Fixes #5511
2024-05-28 01:47:19 -04:00
Tom Rothamel 9476a1e2cd Merge pull request #5489 from andrigamerita/the-question
Create full Italian translation of The Question
2024-05-27 23:14:43 -04:00
Tom Rothamel 4ee10cb9bf Merge pull request #5486 from andrigamerita/master
Update existing Italian translations and add missing ones
2024-05-27 23:14:19 -04:00
Tom Rothamel 920921e87d Merge pull request #5522 from renpy/live2d-auxiliaryout
Allow to have the same model with 2 different default_fade
2024-05-27 21:35:48 -04:00
Tom Rothamel 3907f95a1c Fix newlines in config.log.
Fixes #5535.
2024-05-26 21:09:41 -04:00
Tom Rothamel a2f6891341 Fix newlines in config.log.
Fixes #5535.
2024-05-26 21:08:52 -04:00
Tom Rothamel 10a71b7e0d Add config.log_events.
A way of logging pygame events.
2024-05-26 20:41:31 -04:00
Mal Graty 18aec480f0 Skip unnecessary conditionals during interpolation
We already bail early when inside parens, and taking the same approach
with brackets allows us to short-circuit further character checks.
2024-05-26 20:40:49 -04:00
Mal Graty eb7d711fa8 Respect config.savegame_suffix in sync 2024-05-26 20:40:49 -04:00
Tom Rothamel 7fafea3a5c Move to a different approach to pausing on Android and iOS.
This is a (more or less) direct call of SDL_PauseAudio, without
any locking.

Per #5292.
2024-05-26 20:40:49 -04:00
Tom Rothamel 67618d00fc Look for live2d ion the main executable on ios.
Per #5502.
2024-05-26 20:40:19 -04:00
Tom Rothamel f8383eef39 Add config.log_events.
A way of logging pygame events.
2024-05-25 23:30:35 -04:00
Tom Rothamel 6a9039a7c3 Add config.shader_part_filter.
This can be used to filter shaders, to implement preference that turn
shaders parts on and off as required.

Close #5534.
2024-05-24 22:34:56 -04:00
Tom Rothamel b7bb25fa38 doc textshader: Document creating a textshader. 2024-05-24 01:04:31 -04:00
Tom Rothamel f5b4c5fd5d Convert int to float. 2024-05-24 01:04:16 -04:00
Tom Rothamel ae873abdf4 doc textshader: Generate documentation for built-in textshaders. 2024-05-23 22:02:44 -04:00
Tom Rothamel 0bc13d58a3 doc, textshader: Textshader callbacks. 2024-05-22 21:58:25 -04:00
Tom Rothamel f54bc355fd Only create a rollback at a label if the current rollback is not at a lable.
This fixes a problem where:

    label start:

        "A"
        $ pass

    label b1:
    label b2:
    label b3:
    label b4:
    label b5:
    label b6:
    label b7:
    label b8:
    label b9:

        "B"

Would create a Rollback for each of the labels, depleting the rollback
log space. The practical version of this involves many calls and returns.

Fixes #5406.
2024-05-21 22:00:46 -04:00
Tom Rothamel 53f5445f82 Merge pull request #5529 from mal/optimise-str-interpolation
Skip unnecessary conditionals during interpolation
2024-05-21 20:08:26 -04:00
Tom Rothamel 392fd5c3da Merge pull request #5528 from mal/respect-save-game-suffix
Respect config.savegame_suffix in sync
2024-05-21 20:07:09 -04:00
Chengtian He 8ac49970b8 Fix unpaired quotation mark in python.rst (#5523)
doc: fix unpaired quotation mark in example code
2024-05-21 20:01:07 +02:00
Tom Rothamel 1a7ead6ec0 doc: More changes.
* Do not build the abbreviated documentation on the command line.
* Remove debug prints.
2024-05-21 02:07:12 -04:00
Tom Rothamel 78d8547b27 doc: Fix various errors. 2024-05-21 01:59:22 -04:00
Tom Rothamel db2b3acc31 doc, textshader: Document and rationalize shader priorities. 2024-05-21 01:54:34 -04:00
Tom Rothamel 09f3a53c09 doc: Add an index of shader priorities. 2024-05-21 00:15:41 -04:00
Tom Rothamel d607076acb doc: Move shader parts into their own file. 2024-05-20 23:02:03 -04:00
Tom Rothamel 0cda6a3de6 textshader: Add linetexture. 2024-05-20 02:29:54 -04:00
Tom Rothamel fbfbbfe081 textshader: Remove the texture rect attribute.
As it's equivalent to the a_text_pos_rect / res0.
2024-05-20 01:53:06 -04:00
Tom Rothamel 59d2c251e7 textshader: Add u_text_main.
This is 1.0 if we're on the main text (no outline or offset), and
0.0 otherwise.
2024-05-19 23:40:42 -04:00
Tom Rothamel 00e36f3305 gl2: Correct shader line numbers in log. 2024-05-19 23:30:28 -04:00
Tom Rothamel 8d8ea32b46 textshader: Prefer multiply to divide. 2024-05-19 22:39:57 -04:00
Tom Rothamel 6130437ee7 gl2: Make the texture resolution available to shader uniforms. 2024-05-19 22:25:40 -04:00
Tom Rothamel 2b1c5ac83b textshader: Include the bounding rectangles for positions and textures as attributes. 2024-05-19 22:18:04 -04:00
Mal Graty 92a00f1183 Skip unnecessary conditionals during interpolation
We already bail early when inside parens, and taking the same approach
with brackets allows us to short-circuit further character checks.
2024-05-19 22:05:48 +01:00
Mal Graty 02e654e855 Respect config.savegame_suffix in sync 2024-05-19 22:04:04 +01:00
Tom Rothamel 6a613314c5 Do not add uniforms when rendering a render that is a model. 2024-05-19 01:39:30 -04:00
Tom Rothamel 61c2963ef6 textshader: offset and wave shaders.
And rename the old wave shader to dissolve to free up the name.
2024-05-18 23:25:19 -04:00
Tom Rothamel 3b9068c659 textshader: Fix issue applying arguments. 2024-05-18 23:24:35 -04:00
Tom Rothamel 094827aa83 textshader: Make the index of the character available in the shader. 2024-05-18 23:17:00 -04:00
Tom Rothamel fc0e410ef2 If config.default_texshader is set, set style.default.textshader. 2024-05-18 14:54:18 -04:00
Andy_kl 3318d23a8d Allow to have the same model with 2 different default_fade 2024-05-18 10:24:42 +04:00
Tom Rothamel 234765499c Merge pull request #5517 from brainos233/vf-bold-italic
Allow use italic/bold italic instance for variable font by default
2024-05-17 23:02:49 -04:00
Tom Rothamel 44ebeddaf6 textshader: Add the jitter shader. 2024-05-17 22:53:25 -04:00
Tom Rothamel 554c2f816b textshader: Finish variable rename. 2024-05-17 22:50:33 -04:00
Tom Rothamel 98dee5f007 Move to a different approach to pausing on Android and iOS.
This is a (more or less) direct call of SDL_PauseAudio, without
any locking.

Per #5292.
2024-05-17 01:21:14 -04:00
OleSTEEP e57117ec90 Fix renpy.exports.get_sdl_dll() for Android 2024-05-16 18:57:21 -04:00
Tom Rothamel 48d84ee045 Merge pull request #5519 from OleSTEEP/master
Fix permission requesting on Android platform
2024-05-16 18:55:16 -04:00
OleSTEEP 71424d877a Fix renpy.exports.get_sdl_dll() for Android 2024-05-16 23:58:35 +03:00
Brainos ffb60c054e Allow use italic instance for variable font by default 2024-05-16 23:03:54 +08:00
Gouvernathor 899a4ac7d1 doc: typo in example 2024-05-16 14:50:04 +02:00
Tom Rothamel 2118c398bc gl2: Use cached textures, where possible. 2024-05-16 03:03:08 -04:00
Tom Rothamel a9806926bd textshader: Render text meshes using a displayable.
This makes it possible to have the mesh render depend on
texture displayables, which will allow the mesh displayable
to change if the texture displayable animates.
2024-05-16 02:51:35 -04:00
Tom Rothamel a11c36bb3a gl2: Allow Renders to be supplied to uniforms.
These become textures and are suppled to shaders.
2024-05-16 01:32:05 -04:00
Tom Rothamel f0a52916c4 textshader: Allow textshaders to take textures as arguments.
This is just supplying the argument, with the next commit
going to make use of the displayables.
2024-05-15 21:27:18 -04:00
Tom Rothamel 3292ad26f4 Merge pull request #5514 from renpy/doc-label
Tweak label documentation
2024-05-15 20:20:06 -04:00
Tom Rothamel 63433f7656 Merge pull request #5515 from renpy/cleanup-revertable
Cleanup some warnings in the revertable module
2024-05-15 20:19:24 -04:00
Gouvernathor 0a6e6fb7e1 Cleanup some warnings in the revertable module
importing __future__ is not strictly necessary as the imported values of division and with_statement could be used directly, but I think it's preferable to separate the future statement from the future import.
2024-05-16 01:14:28 +02:00
Gouvernathor ca3d291861 Tweak some more 2024-05-16 01:06:29 +02:00
Gouvernathor 6a4038b5b8 Tweak label documentation 2024-05-16 00:49:09 +02:00
Gouvernathor 97e0b8c71f Tweak display_menu
actually, arbitrary kwargs are a very bad thing to pass since as long as the specified screen exists (so, unless something is very wrong), they are just ignored
the scope's default value change is benign as long as we don't do stupid things with it and continue to call dict() on it - and it prevents stupid things we might do to it in the future to go unseen
2024-05-16 00:04:34 +02:00
Tom Rothamel 8f24a44a02 Add the zoom shader.
This is a shader that causes the text to zoom in.
2024-05-14 22:57:30 -04:00
Tom Rothamel 68a361ddd7 textshader: Add the flip shader. 2024-05-14 22:02:08 -04:00
Tom Rothamel e223e845da textshader: typewriter and slowalpha shaders. 2024-05-14 01:52:24 -04:00
Tom Rothamel 60e56e5e08 textshader: Add the wave text shader. 2024-05-13 22:30:12 -04:00
Tom Rothamel 86d750f741 gl2: Allow shaders to define local variables. 2024-05-13 22:02:56 -04:00
Tom Rothamel 3ef2e5ec58 textshader: Allow textshaders to take a function to adjust settings. 2024-05-12 23:05:33 -04:00
Tom Rothamel 70462ab3e2 Merge pull request #5501 from renpy/textshader-doc-pass
Textshader doc pass
2024-05-12 10:42:17 -04:00
Tom Rothamel db2ac67b6f gl2, textshader: Move support for scoped shader variables into gl2.
These could be useful for other kinds of shaders, so it makes sense
to move them to a common place.
2024-05-11 21:54:55 -04:00
Tom Rothamel 1ab277c8a5 Fix invalid function call in error case. 2024-05-11 09:57:03 -04:00
Tom Rothamel 19b8cfb9aa Look for live2d ion the main executable on ios.
Per #5502.
2024-05-10 21:50:32 -04:00
Tom Rothamel 3eb675c119 textshader: Fix use of undefined variable.
This doesn't actually do all that much, since displayables aren't
rendered by shaders, but it does set the field.

Fixes #5504.
2024-05-10 21:31:09 -04:00
Asriel Senna 5e981d9828 Typing, and trimming useless/obsolete code 2024-05-09 22:19:07 +02:00
Tom Rothamel 19819337a9 textshader: Allow a__ and v__ to be shader-scoped. 2024-05-09 09:35:01 -04:00
Ren'Py Bot c583894c0e Merge branch 'fix' 2024-05-09 04:30:14 -04:00
Tom Rothamel f26b014856 textshader: Add a way of documenting textshaders. 2024-05-09 01:47:47 -04:00
Tom Rothamel 5d862887dc doc: Fix typos in updater documentation.
Fixes #5500.
2024-05-08 23:29:21 -04:00
Asriel Senna 62b8260090 Fix and improve various stuff in exports
optimizing some priority choices or wasteful idioms
also some doc stuff
2024-05-09 04:39:02 +02:00
Asriel Senna 1aa83b0109 doc: rephrases and clarifications
a character is something in renpy (and in renpy dialogue), calling it a unicode character, while not particularly relevant otherwise, helps clarification
internal links = gud, x2
textshader is a tag, text shader is the feature
you can't create an entire text shader out of string interpolation - or I would be very surprised - what you can create is a textshader tag which is nice enough
2024-05-09 00:39:45 +02:00
Asriel Senna c984170eac typo last 2024-05-09 00:36:12 +02:00
Asriel Senna 01d46ae6cd doc: fix code markup and rephrase 2024-05-09 00:25:06 +02:00
Tom Rothamel 2fd6da4195 textshader,doc: Start docs. 2024-05-08 02:03:34 -04:00
Tom Rothamel 1bad7055a8 textshader: Add per-shader uniforms.
These have the form u__var, and expand to u_textshader_name_var,
though are intended to be used as positional-only in most cases.

A way of preventing uniform conflicts.
2024-05-08 02:01:43 -04:00
Tom Rothamel 77e24c0c51 textshader: Allow positional uniforms.
Rather than just one single default, allow multiple positional
shader arguments. It's just too useful not to allow.
2024-05-08 01:13:58 -04:00
Tom Rothamel e9aba8253b textshader: Supply premultiplied alpha to shaders. 2024-05-08 00:17:37 -04:00
Tom Rothamel ab9d904b19 Add tasks.json to .gitignore. 2024-05-07 22:57:33 -04:00
Tom Rothamel 376c520b75 textshader: Make the slow duration available.
The slow duration is 1 / slow_cps, or 0 if slow text is not active.
It's available in the shader, to make effects scalable by the
duration. It's also available as a multiplier that can be used
to add to extra_time.
2024-05-07 22:00:31 -04:00
Tom Rothamel 766be19326 textshader: Avoid slow effects when the CPS is 0. 2024-05-06 02:35:40 -04:00
Tom Rothamel 7a6f6385e1 textshader: Improve getting shaders.
Add config.textshader_callbacks to make it possible to change the
textshader each time it is access.

Cache text shaders once parsed.
2024-05-06 02:28:33 -04:00
Tom Rothamel 88b6373572 textshader: Improve uniform handling.
* Uniforms are checked for existence.
* The u_ prefix is no longer mandatory.
* It's possible to specify a default uniform that's used if no
  uniform name is given.
2024-05-06 01:40:48 -04:00
Tom Rothamel 9bbd594645 textshaders: Disable if not running gl2. 2024-05-06 00:25:11 -04:00
Tom Rothamel 5ce9407066 textshader: Factor out computing the redraw time. 2024-05-05 23:51:12 -04:00
Tom Rothamel dee798a5ea textshader: Allow shaders to be combined with |. 2024-05-05 22:08:10 -04:00
Tom Rothamel 2ca90a5600 textshader: Create the API.
Several changes to provide an API for the textshader system.

Add the renpy.register_textshader function.

Add config.default_textshader. This is a shader that is combined with
other textshaders, generally to provide the slow text effect while
the other textshader provides more complicated effects.
2024-05-05 21:44:48 -04:00
Tom Rothamel 3164cc9deb textshader: Use slow_time, not st.
This is meant to keep shaders from using u_text_slow_time when
u_time is needed.
2024-05-05 12:06:54 -04:00
Tom Rothamel 2d777c9f0c textshader: Use the texture, not the surface. 2024-05-05 02:06:04 -04:00
Tom Rothamel dc0b840c01 textshader: Fixes to shaders that use redraw. 2024-05-04 22:40:10 -04:00
Tom Rothamel 07adaa472e textshader: Add the shader text tag. 2024-05-04 02:10:22 -04:00
Tom Rothamel 4a1dcaf28b textshader: Add a uniform that converts from drawable to virtual. 2024-05-04 01:49:10 -04:00
Tom Rothamel 8589740e8e textshader: Work on the textual representation. 2024-05-03 23:07:24 -04:00
Tom Rothamel 0417b08ed9 Add raw_changed to ui.adjustment.
This gets the raw value, and can be used to trigger actions when
an adjustment goes out of range.
2024-05-03 02:08:07 -04:00
Tom Rothamel 88246afd66 Add RENPY_REPORT_EXCEPTIONS.
This is mostly intended for use in VS Code and similar environments.
When an exception happens, this will propagate it through Ren'Py,
allowing the debugger to inspect the state of the game.
2024-05-02 01:47:27 -04:00
Tom Rothamel ae81022b0c textshader: Move shaders into a dedicated file. 2024-05-02 01:23:23 -04:00
Tom Rothamel d3542f8bc3 textshader: Allow there to be multiple shaders in a single block.
This just implements the rendering aspects, actually having more
than one shader at a time will require the upcoming shader
text tag.
2024-05-01 23:52:02 -04:00
Tom Rothamel 10e210052d textshader: Add more uniforms to the renders. 2024-05-01 22:39:00 -04:00
Tom Rothamel ba8815cff0 textshader: Improve slow text.
* When slow is False, set u_text_slow_time to the end of the slow text
  period.
* Use different redraws for slow and not-slow text.
2024-04-30 23:21:08 -04:00
OctoSpacc a790e836e2 Create full Italian translation of The Question 2024-04-29 16:44:16 +02:00
Ren'Py Bot 4df19285a8 Merge branch 'fix' 2024-04-29 04:30:14 -04:00
Tom Rothamel 1151ac4b9e textshader: Make the glyph duration -1 when no time is assigned.
This is meant to make it more clear what text needs transition
in effects, and what should be displayed from the start.
2024-04-29 01:58:08 -04:00
Tom Rothamel 3dde152c59 textshader: Redraw time handling. 2024-04-29 01:44:25 -04:00
Tom Rothamel dc5101270d textshader: Make it easier to add new info per-glyph. 2024-04-29 01:35:22 -04:00
Tom Rothamel ea34d8f995 Allow Transform to take a Transform Matrix.
Fixes #5487.
2024-04-29 00:57:10 -04:00
Tom Rothamel 7f9ee7ba6c textshader: Create the renders once per layout, not once per frame. 2024-04-28 15:16:56 -04:00
Tom Rothamel 9fbfd99cca textshader: Read text shader config out of an object. 2024-04-28 14:35:33 -04:00
Tom Rothamel d340e41c58 textshader: First working text shaders. 2024-04-28 13:11:00 -04:00
Tom Rothamel 94c912c3ce gl2: Break the renpy.geometry shader up.
This allows for other shaders to adjust the untransformed
geometry if required. (Text shaders will likely be doing
this.)
2024-04-28 12:53:48 -04:00
octospacc ec89ca3cdc Update and improve italian translation for template and launcher 2024-04-28 18:21:00 +02:00
Tom Rothamel 3d717ed39b textshader: Add style. 2024-04-27 14:52:00 -04:00
Tom Rothamel 353f08ce13 textshader: Move blitting text into its own function.
So it will be able to serve as an alternative to shader/mesh
text.
2024-04-27 14:33:37 -04:00
Tom Rothamel 9655231fc0 Remove use of max_height.
Closes #5481, right idea, wrong change.
2024-04-26 21:20:39 -04:00
Tom Rothamel fe1023fe74 text shader: Create meshes.
This moves the conversion of positions to texture coordinates
to glyph_coordinates, where it's faster.

This also stores information about RTL and duration into
each glyph, which is then used to figure out the duration
of each glyph.

Finally, the mesh is created when it doesn't exist already,
and stored in the layout.
2024-04-26 00:54:15 -04:00
Tom Rothamel 8b57b220b9 text shader: Determine bounding box excursions for each glyph.
This is going to be used when computing the text mesh, to expand
the bounding boxes of each glyph when outside the (width, line_spacing)
default bounding box.
2024-04-26 00:54:15 -04:00
Tom Rothamel afc03e11ee Merge pull request #5480 from qTich/fix/emscripten-progress
fix: `emscripten` presplash progress
2024-04-25 22:15:14 -04:00
Tichq ae542aeb3b fix: emscripten presplash progress 2024-04-25 20:40:24 +03:00
Tom Rothamel a2529e3af5 Merge branch 'fix' 2024-04-24 21:32:36 -04:00
Tom Rothamel 5bbbd688af Restore removed line.
Fixes #5469.
2024-04-24 21:03:47 -04:00
Ren'Py Bot ff3a9c4d42 Merge branch 'fix' 2024-04-24 04:30:14 -04:00
Tom Rothamel a7c113adbc text shader: Compute the baseline of each line.
This will be used to determine the 'center' of the character.
2024-04-24 00:28:09 -04:00
Tom Rothamel 9a479f25e5 doc: Fixes.
Mostly the aftermath of undocumenting mode.

Fixes #5469.
2024-04-23 21:37:53 -04:00
Tom Rothamel 3674f45efe doc: Fixes.
Mostly the aftermath of undocumenting mode.

Fixes #5469.
2024-04-23 21:35:16 -04:00
Ren'Py Bot c8ed7059a4 Merge branch 'fix' 2024-04-23 04:30:14 -04:00
Tom Rothamel fb58d699f5 Properly filter the axis text tag.
Fixes #5470.
2024-04-22 22:23:16 -04:00
Tom Rothamel ff8e0a0cb0 Ensure the vibration time is above a minimum value.
Fixes #5474.
2024-04-22 21:45:45 -04:00
Tom Rothamel 6815ae4439 text shader: Add text meshes.
This will store the data used by a text shader.
2024-04-21 23:16:20 -04:00
Tom Rothamel d722260f71 Use the upcoming say statement for window.show. 2024-04-20 11:20:00 -04:00
Tom Rothamel 130f7f4e36 Change how window auto works.
The window hide/show statements no longer disable the window auto
flag, with new statements (window auto True, window auto False)
taking care of that.

The thinking behind this is that window hide is useful in it's own
right, but significantly less useful if it requires a matching
window auto each time.

For example, one might want to do:

     e "Dialogue"
     window hide
     show clouds with dissolve
     e "Dialogue"

and have that work.
2024-04-19 22:38:23 -04:00
Ren'Py Bot 43d0c955a4 Merge branch 'fix' 2024-04-19 04:30:55 -04:00
Tom Rothamel 9cb8b904b9 Improve and document config.statement_callbacks. 2024-04-18 22:16:57 -04:00
Tom Rothamel 980c7cfb1f Undocument mode callbacks. 2024-04-18 21:45:58 -04:00
Tom Rothamel 2c09515c4d Add some safety to MouseDisplayable, by using the default if the mouse isn't defined. 2024-04-18 21:37:02 -04:00
Tom Rothamel 94a8647291 Document last. 2024-04-18 01:01:02 -04:00
Tom Rothamel 66ab709373 Better integrate window show/hide/auto and nvl show/hide.
The two had been largely independent. The result of these changes
is that nvl operations now adjust the window show/hide state, while
the nvl <-> adv transitions won't happen if the window is hidden.

If the window is hidden, then window show will happen instead.
2024-04-17 23:50:00 -04:00
Tom Rothamel a04946905d Remove some obsolete TODOs. 2024-04-17 21:54:36 -04:00
Tom Rothamel 378950f633 Allow ruby text to inherit its color from parent text.
Fixes #5418
2024-04-16 22:23:39 -04:00
Tom Rothamel f855f8367c Merge pull request #5401 from CensoredUsername/screenlang-v1-rpyc-loading-support
Allow ren'py 8 to load .rpyc files using old-style screens.
2024-04-16 21:21:31 -04:00
Tom Rothamel 4b4f993886 Make math match. 2024-04-15 22:38:57 -04:00
Tom Rothamel 7595c32728 web filter: Get all filters working in browser. 2024-04-15 22:06:47 -04:00
Tom Rothamel cc2729257d Restrict layer names to image component names.
To fix some syntax issues. Fixes #5464.
2024-04-14 23:14:25 -04:00
Tom Rothamel c5c1b8af92 Disable debug sound during error handling.
Because it can really interfere with error handling.

And also disable it by default.
2024-04-14 22:42:46 -04:00
Tom Rothamel 6b8295a122 web filter: More work.
Filter replacement is in, as are Null and Crossfade.
2024-04-14 02:33:31 -04:00
Tom Rothamel 87dd502244 web filter: Basic infrastructure for web audio filters.
This handles uploading filters to the web audio system, identified by
numeric ids. It can also then plumb those filters in to the rest of
the system, allowing them to be used to filter audio.

Finally this adds the Biquad filter.
2024-04-13 22:02:59 -04:00
Tom Rothamel 1c7a665312 Load _audio_filter.js.
This file will contain the JS audio filters.
2024-04-13 20:32:57 -04:00
Tom Rothamel 7b24aaf5de emscripten: Fix compatibility. 2024-04-13 20:28:36 -04:00
Tom Rothamel b2ef8d5f33 Add the fps transform property.
This quantizes time inside the transform to a particular number of
frames per second. This can be used to simulate a
lower frame rate.

Per #5463.
2024-04-12 22:54:48 -04:00
Tom Rothamel 3bb93db2c4 filter: Call a deallocate function when an audio filter is deallocated.
When webaudio filters are a thing, this will let those filters
be deallocated when they are no longer needed.
2024-04-11 23:53:47 -04:00
Ren'Py Bot bad814b135 Merge branch 'fix' 2024-04-11 04:30:55 -04:00
Tom Rothamel 51393042b4 Fix downloader instructions.
Fixes #5421.
2024-04-11 01:19:49 -04:00
Tom Rothamel f4067af182 Under navigation, the TODOs button now has a count of TODOs next to it.
Fixes #5445
2024-04-10 22:17:50 -04:00
Tom Rothamel a560520af9 Document exec.py. 2024-04-09 22:09:42 -04:00
Gouvernathor 8d1b73a606 doc: Add missing parameters in display_menu signature
forgotten in e576d4d47a
2024-04-09 11:44:43 +02:00
Tom Rothamel 9e59ae470f Implement exec.py.
This change causes Ren'Py to scan for a file named exec.py, and if
found, run it.

This is intended to enable certain kinds of tools, like #5455, and
probably a bunch I haven't thought of, like debuggers.

Security:

I don't think this has security implications. It requires writing
exec.py into config.basedir. If you can do that, you can write
renpy.sh or renpy.exe. There's also a good chance you'd have
permissions to write into game/ or lib/.

So, it's basically letting you do something you could do anyway,
without restarting the game.
2024-04-08 22:22:25 -04:00
Ren'Py Bot 836b42bd78 Merge branch 'fix' 2024-04-07 22:29:18 -04:00
Tom Rothamel 10c02a4caf Do not end an interpolation expression inside brackers or parens.
This fixes an issue I caught myself where trying to slice inside an
interpolation would cause an error, because:

"[l[:100]]"

would be parsed as an expression of l[ and a format string of
:100], which is wrong.
2024-04-07 22:21:30 -04:00
Ren'Py Bot 6416aea8aa Merge branch 'fix' 2024-04-07 04:30:55 -04:00
Tom Rothamel 0ab547dd34 Document fixes. 2024-04-07 00:37:53 -04:00
Tom Rothamel f9ccc4b2e0 Generate string translations from _ren.py files.
Fixes #5458.
2024-04-06 22:15:05 -04:00
Tom Rothamel 1e5845b5b6 Typecheck achievement names. 2024-04-06 21:26:56 -04:00
Tom Rothamel d932e09cd4 Clean invalid achievement names out of persistent._achievements.
Fixes #5457.
2024-04-06 21:20:05 -04:00
Ren'Py Bot 0fda6fe389 Merge branch 'fix' 2024-04-05 04:30:55 -04:00
Tom Rothamel bc2c137c18 doc: Replace eileen mad with eileen concerned.
Fixes #5454.
2024-04-05 01:03:12 -04:00
Tom Rothamel e07a7b231d doc: Replace eileen mad with eileen concerned.
Fixes #5454.
2024-04-05 01:02:29 -04:00
Tom Rothamel c2c5e41948 fetch: Accept headers.
Fixes #5452.
2024-04-04 23:38:22 -04:00
Tom Rothamel 1357cd3990 Merge branch 'fix' 2024-04-04 02:45:19 -04:00
Tom Rothamel af2e9e2b0a Mark RPY nodes as weakly reachable.
Fixes #5447.
2024-04-02 23:05:14 -04:00
Tom Rothamel 5c5475a1fa py2: Fix weakref pickling.
NoneType isn't a function in Python 2, so one is provided.

Fixes #5446.
2024-04-02 22:28:38 -04:00
Tom Rothamel 86aa7722a1 filter: Add __repr__ and .constructor()
The constructor function returns a JS/Python function that
creates a filter.
2024-04-01 18:38:55 -04:00
Gouvernathor ad5f042de9 Show the error when linting cds's next 2024-04-01 22:20:07 +02:00
Elckarow 1c29911877 check for warp_function as well 2024-03-31 10:17:35 -04:00
Tom Rothamel 27b2fb08b8 Merge pull request #5433 from Elckarow/fit-warp-interp
fix `warp` interpolation
2024-03-31 10:10:02 -04:00
Tom Rothamel f88f1013dc Add u_drawable_size.
A new standard uniform that gives the viewport's drawable size.
2024-03-30 22:37:39 -04:00
Tom Rothamel 8051c69b8e gl2: Log the shader source when an error happens. 2024-03-30 22:26:49 -04:00
Elckarow 044c608354 fix nvl hide 2024-03-30 00:34:27 -04:00
Tom Rothamel bc9fb905ed Merge pull request #5426 from Elckarow/fix-nvl-hide
Fix nvl hide
2024-03-30 00:31:09 -04:00
Tom Rothamel 83d157e384 Merge pull request #5437 from qTich/feature/loader-loadable
add: `tl` keyword into `renpy.loadable` method
2024-03-30 00:30:31 -04:00
Tom Rothamel 69b8e0a945 doc: Filter reuse. 2024-03-29 00:36:58 -04:00
Tom Rothamel 883b6ad0cb filter: Add some bounds checks. 2024-03-28 21:42:58 -04:00
Tom Rothamel 2f8325a773 Disable sound in the launcher.
Per #5429.
2024-03-27 23:10:12 -04:00
Tom Rothamel 79ec01fe1a filter: Pad channels with silence.
This ensures that Delay, Comb, and Reverb filters generally have
time to complete.
2024-03-27 00:44:48 -04:00
Tom Rothamel 231dbeb6b9 filter: Raise the reverb lowpass cutoff. 2024-03-26 22:44:00 -04:00
Tom Rothamel f0e5f5b8ca doc: Audio filters. 2024-03-26 02:08:53 -04:00
Tom Rothamel 1c9c718220 doc gen: Make the keywords more diffable. 2024-03-26 00:15:57 -04:00
Tom Rothamel 328062e089 doc: Music functions. 2024-03-25 22:44:53 -04:00
Tichq 93ee54f74f add: tl keyword into renpy.loadable method 2024-03-26 02:09:30 +03:00
Elckarow 881aeacc69 check for warp_function as well 2024-03-24 23:16:46 +01:00
Tom Rothamel 7ff7e6edf4 filter: Documentation for filters. 2024-03-24 13:59:42 -04:00
Tom Rothamel 75fd6f115f filter: Add __reduce__ methods to AudioFilter classes.
This allows the filters to be saved and restored.
2024-03-24 12:57:56 -04:00
Tom Rothamel 962547cd12 filter: Remove check_subchannels.
This isn't needed, as all of the filters take the same number of
subchannels (right now, left and right).
2024-03-24 12:35:25 -04:00
Tom Rothamel eb9990d424 filter: Allow each channel to have a separate delay. 2024-03-23 23:19:24 -04:00
Tom Rothamel b81050babb filter: Improve the Reverb. 2024-03-22 23:54:45 -04:00
Tom Rothamel fe900d1817 filter: Improve Comb, add WetDry.
Comb can now give the audio with or without the dry audio. The
WetDry audio makes it possible to specify the wet and dry mix.
2024-03-22 23:31:56 -04:00
Tom Rothamel b22559954c filter: Untuned reverb.
Based on https://itnext.io/algorithmic-reverb-and-web-audio-api-e1ccec94621a.
2024-03-22 03:07:34 -04:00
Tom Rothamel 363777cdc8 filter: Replace gain with multiplier.
More algorithms seem to come with multipliers, and gain can
be implemented using a multiplier.
2024-03-22 03:07:34 -04:00
Tom Rothamel d1ec960bda filter: Initial take on a comb filter. 2024-03-22 03:07:34 -04:00
Tom Rothamel f917d63e31 Merge pull request #5427 from qTich/feature/set_audio_filter-props
add: `duration` parameter & allow filter to be set to `None` as can be done directly.
2024-03-21 17:16:19 -04:00
Tichq 86b4e20dfb add: duration parameter & allow filter to be set to None as can be done directly. 2024-03-21 16:00:24 +03:00
Tom Rothamel 7b3fb20ae6 filter: Process audio in chunks.
To allow .01s delays.
2024-03-20 20:25:19 -04:00
Tom Rothamel fc3b991c88 filter: Gain should take gain in db. 2024-03-20 02:07:36 -04:00
Tom Rothamel a8d77bf318 filter: Fix various issues with filters. 2024-03-20 02:04:19 -04:00
Tom Rothamel 26b115106b filter: Implement the Delay filter.
with some fixes for other filters.
2024-03-20 00:15:18 -04:00
Tom Rothamel ebe5e8ee14 filter: Drop the number of subchannels to 2.
Until we support more otherwise.
2024-03-20 00:15:18 -04:00
Elckarow 5f02188e4c fix nvl hide 2024-03-19 14:57:32 +01:00
Ren'Py Bot 6aedd4c58f Merge branch 'fix' 2024-03-19 04:30:05 -04:00
minger0 184be0b5ec Add to web.rst the details where to find the generated web files 2024-03-18 14:14:26 -04:00
Tom Rothamel 78af5e8f5d Merge pull request #5423 from minger0/patch-1
Add to web.rst the details where to find the generated web files
2024-03-18 14:13:50 -04:00
Tom Rothamel 51841c8687 filter: Mix and Gain filters. 2024-03-18 01:53:09 -04:00
Tom Rothamel c36330de21 filter: Add Null()
This simply copies input to output.

By adding this, it's now possible to be sure that (in filter.pyx,
_not_ renpysound), an AudioFilter will never be None. This in turns
removes a lot of special casing.
2024-03-18 01:37:36 -04:00
Tom Rothamel 585683f653 filter: Add FilterList.
This encapsulates multiple filters into a single object that
can be iterated with and without the GIL.
2024-03-18 01:10:56 -04:00
Tom Rothamel 503007274d filter: Crossfade between filters.
This is similar to the way music fades out by default - by using
one frame to crossfade the audio filter, leveles change relatively
slowly and a pop is avoided.
2024-03-18 00:54:40 -04:00
Tom Rothamel 0a6bd6c93e filter: Rename Sequence. 2024-03-17 23:30:07 -04:00
Tom Rothamel 0af51330b5 filter: Document and rename Biquad, remove Lowpass. 2024-03-17 23:29:30 -04:00
Tom Rothamel 8e64c73887 filter: Implement the biquad filter. 2024-03-17 17:01:30 -04:00
Tom Rothamel 2d2867ef21 filter: Pass the sample rate to the filter. 2024-03-16 22:19:06 -04:00
minger0 2c945dc13e Add to web.rst the details where to find the generated web files 2024-03-16 22:02:12 +01:00
Tom Rothamel b29ef94141 filter: Add a function to expose the audio sample rate. 2024-03-16 02:07:57 -04:00
Tom Rothamel 42e3b2600c filter: Include filter in the build process. 2024-03-15 17:08:32 -04:00
Tom Rothamel 6e532f1b08 filter: Add set_audio_filter(replace=True)
To give the option of effects where the filter is replaced
while music is playing.
2024-03-15 03:01:36 -04:00
Tom Rothamel e0718d9143 filter: Low-level public API. 2024-03-15 02:15:03 -04:00
Tom Rothamel 554b019218 filter: Work to support filter composition.
* SequenceFilter is a filter that takes multiple filters as
  children, and pipelines them in sequence.
* to_audio_filter turns lists into SequenceFilters, and typechecks.
* The check_subchannels methods make sure that audio filters are
  compatible.
2024-03-15 01:46:38 -04:00
Tom Rothamel 552e555204 filter: Add filter.pyx to the import system. 2024-03-14 23:41:14 -04:00
Tom Rothamel d25bbaa01c filter: Store and use the audio filter. 2024-03-14 01:21:48 -04:00
Tom Rothamel aa0925d1db filter: Basic audio filtering.
This converts the sound to float, and sends it to the audio filter
before mixing. This also includes the initial implementation of the
AudioFilters, using SoundBuffers to store the audio.
2024-03-13 02:04:53 -04:00
Tom Rothamel 44145febf4 Add an empty renpy.audio.filter module. 2024-03-12 01:29:07 -04:00
Tom Rothamel dbdb439ccb Fix the one non-deprecation warning. 2024-03-12 01:03:37 -04:00
Tom Rothamel 457ad4ddb5 Add a way of hiding ffmpeg deprecations.
While we're stuck on an old version that supports Win7.
2024-03-12 00:00:02 -04:00
Tom Rothamel 229b80a76c filter: Accept audio_filter as an argument to renpysound.play.
And renpysound.queue, and propagate it through the system. This
lets an audiofilter defined in Python and Cython be available to
the C.
2024-03-11 23:16:47 -04:00
Tom Rothamel dd5475bd5f Merge pull request #5411 from qTich/fix/sync-fetch
fix: `FetchError` case & check on `renpy.emscripten` before import `requests`
2024-03-11 10:52:31 -04:00
Tichq 9ad6f8c3ed fix: FetchError case & check on renpy.emscripten before import requests 2024-03-11 17:06:19 +03:00
CensoredUsername a61595021e Allow ren'py 8 to load .rpyc files using old-style screens.
Ren'py 8 still has all the code needed to support these files, but
as the ast module of python has changed between 2.7 and 3.9 it becamse
impossible to even load these files as the unpickling process would error
due to unknown classes. This means nearly any ren'py 6.17 game cannot be ported
over without a recompile.

This commit fixes this by intercepting the construction of these classes
using pre-existing mechanisms in renpy.compat.pickle. When not needed this
adds only a single equality check to the critical path of unpickling files.
2024-03-11 12:40:17 +01:00
Tom Rothamel 96e77332a2 Move to F32 audio.
We'll be doing audio processing in F32 anyway, so if conversion is
necessary, let's let SDL do it. And if it's not, we have extra
headroom.
2024-03-10 21:10:42 -04:00
Tom Rothamel 0e8e8944fa Merge branch 'fix' 2024-03-10 18:23:00 -04:00
Tom Rothamel 83aecea50b Revert "Remove duplicate say-related functions from 00library."
This reverts commit 122dbf2619.

Fixes #5409.
2024-03-10 17:04:58 -04:00
Ren'Py Bot b7f4812bee Merge branch 'fix' 2024-03-10 04:30:05 -04:00
shawna-p 744b503e84 Add box_align and justify for boxes 2024-03-09 20:15:37 -05:00
Tom Rothamel 32a372a56e Merge pull request #5398 from DipeshAggarwal/fix
Update transistions.rst and atl.rst
2024-03-09 15:42:01 -05:00
Bas Couwenberg 11c4a4e7f1 Fix 'if' typo
Replace 'inf' with 'if'.
2024-03-09 15:39:34 -05:00
Tom Rothamel 44a43abd34 Merge pull request #5402 from sebastic/patch-1
Fix 'if' typo
2024-03-09 15:38:54 -05:00
Bas Couwenberg 457aa55941 Fix 'if' typo
Replace 'inf' with 'if'.
2024-03-09 13:52:01 +01:00
Tom Rothamel c9bde1dd9e Fix bad call. 2024-03-08 22:23:34 -05:00
Tom Rothamel ae298fd2a8 Use proxies everywhere else.
Fixes #5400.
2024-03-08 22:01:34 -05:00
Tom Rothamel b42e1954e4 Rewrite the downloader in terms of requests.
This can't use renpy.fetch, as its purpose is to report progress.
2024-03-08 21:43:16 -05:00
Tom Rothamel e9b77344c2 sync: Rewrite in terms of renpy.fetch. 2024-03-08 21:27:09 -05:00
Tom Rothamel 784fbff0e0 Use the proxies in the updater. 2024-03-08 20:37:02 -05:00
Tom Rothamel 3d6c00dc64 Make the list of proxies available in renpy.fetch. 2024-03-08 20:23:05 -05:00
Tom Rothamel 6b5c555c99 Fix incorrect use of builtins. 2024-03-07 21:46:47 -05:00
Tom Rothamel 5abad0df54 Add the min and max arguments to BarValues.
So one can write FieldValue(persistent, "option", min=1.0, max=5.0)
rather than FieldValue(persistent, "option", range=4.0, offset=1.0),
which is a bit harder to read.
2024-03-07 20:49:41 -05:00
Dipesh Aggarwal 928387e2d8 Update atl.rst 2024-03-07 17:27:30 +05:30
Dipesh Aggarwal cb8b5d3de8 Update transitions.rst
Fix a broken ref to dialogue-window-management
2024-03-07 17:09:08 +05:30
Tom Rothamel ce58c4e4b1 Add keyboard_focus_insets.
The keyboard_focus_insets style property makes it possible to
have keyboard focus work with overlapping buttons, by artificially reducing
the size of the buttons to remove the overlap, when determining keyboard focus.

Closes #4620.
2024-03-06 21:51:49 -05:00
Tom Rothamel 18d478545c Merge branch 'fix' 2024-03-06 01:29:17 -05:00
Dipesh Aggarwal c8b76750c3 Update template_projects.rst
config.build_name doesn't exist. Replaced it with build.name
2024-03-06 01:27:07 -05:00
Dipesh Aggarwal 754d50c345 Update changelog.rst
Fix link to the vertical property and remove unncessary ` after renpy.fetch
2024-03-06 01:26:58 -05:00
Tom Rothamel 5564ca3bc0 Merge pull request #5392 from AbdulGoodLooks/patch-3
Fix typos in changelog.rst
2024-03-06 01:23:24 -05:00
Abdul f774d14e04 Fix typos in changelog.rst
posssible -> possible
gtlphs -> glyphs
2024-03-05 22:09:36 +00:00
Dipesh Aggarwal d836d94bac Update template_projects.rst
config.build_name doesn't exist. Replaced it with build.name
2024-03-06 00:03:36 +05:30
Dipesh Aggarwal e156bae357 Update changelog.rst
Fix link to the vertical property and remove unncessary ` after renpy.fetch
2024-03-05 23:58:25 +05:30
Ren'Py Bot d60a00d118 Merge branch 'fix' 2024-03-05 04:30:05 -05:00
Tom Rothamel e0fd979c54 Bump version. 2024-03-05 01:39:20 -05:00
Tom Rothamel 60eaa0877b doc: Fix incorrect caveat. 2024-03-04 22:45:05 -05:00
Tom Rothamel 1a30d4dd8e doc: Credits and sponsors. 2024-03-04 21:13:46 -05:00
Tom Rothamel dcbfe5ce0d doc: Document changes from renpy-build. 2024-03-04 21:03:04 -05:00
Tichq 85b71f2295 fix: nvl_hide transition 2024-03-04 20:59:39 -05:00
Tom Rothamel 1ee2ee468f Undocument gl_powersave = "auto".
It hasn't been supported for a while.

Fixes #5387.
2024-03-04 20:57:41 -05:00
Tom Rothamel b239050801 Merge pull request #5382 from mal/snap-back-fix
Avoid trying to snap when not snapping
2024-03-04 20:54:28 -05:00
Tom Rothamel b7abc2bbc9 doc: Changes. 2024-03-04 20:53:39 -05:00
Ren'Py Bot f3477da262 Merge branch 'fix' 2024-03-04 04:30:05 -05:00
Tom Rothamel 51b5df3ea6 Documentation. 2024-03-04 00:53:13 -05:00
Tom Rothamel 8816700e78 font: Avoid translating the rotated glyph. 2024-03-03 21:18:14 -05:00
Tom Rothamel b29b132245 font: Fix the rotation of glyphs when computing bounds. 2024-03-03 20:38:17 -05:00
Tom Rothamel bc561be9fe console: Add a warning if a represention is shortened.
Fixes #5388.
2024-03-02 21:15:31 -05:00
Ren'Py Bot c468719abb Merge branch 'fix' 2024-03-02 04:30:05 -05:00
Tom Rothamel c049a5cff2 text: Get text metrics through harfbuzz.
This makes it much more straightforward to get the vertical metrics,
when those are required.

Harfbuzz seems to place underlines a bit differently, but since it
doesn't look bad, this is acceptable.
2024-03-02 02:59:07 -05:00
Tom Rothamel 74cd45f434 text: Improve some terminology.
Most notably, x_offset was used for both harfbuzz's offsets, and
for the amount that Ren'Py adjusted text to match drawable to
virtual layout.

Also make clear that the names refer to horizontal text, and
are reversed for vertical text.
2024-03-01 22:47:53 -05:00
Ren'Py Bot 7868dbd4a7 Merge branch 'fix' 2024-03-01 04:30:05 -05:00
Tom Rothamel 123b3bfa1d Add robustness to shader errors being in any encoding. 2024-02-29 22:30:34 -05:00
Tom Rothamel f3f67cab04 Correct underline and strikeout when glyph.advance is non-integer.
Fixes #5332.
2024-02-29 21:08:36 -05:00
Tom Rothamel e150ef680a Fix bad revert-reversion.
Fixes #5384.
2024-02-27 22:13:42 -05:00
Ren'Py Bot 74d69259e8 Merge branch 'fix' 2024-02-27 04:30:56 -05:00
do10HM c8175ea75a Fix typo in code example 2024-02-26 20:42:19 -05:00
Tom Rothamel 5bd001c50b Merge pull request #5383 from do10HM/patch-1
Fix typo in code example
2024-02-26 20:41:50 -05:00
Tom Rothamel 1754fdd458 lint: Avoid erroring out due to incomplete images.
It's possible to have an an image (in this case, a layered image)
that isn't complete at runtime, but is at runtime. These shouldn't
cause errors when unknown attributes are used - that's the creator's
problem.
2024-02-26 20:39:58 -05:00
do10HM a7ae398908 Fix typo in code example 2024-02-26 17:14:09 -08:00
Mal Graty 8a7daec3bc drag: Avoid trying to snap when not snapping 2024-02-26 18:09:32 +00:00
Tom Rothamel 48c0012f56 Allow the user to filter out translations when navigating by file.
Fixes #3567.
2024-02-25 22:26:43 -05:00
Ren'Py Bot 8f56b41c02 Merge branch 'fix' 2024-02-25 04:30:56 -05:00
Tom Rothamel 097e680064 doc gen: Generate documetation for cython w/o :args:.
Per discussion on #5356.
2024-02-24 21:52:55 -05:00
Ren'Py Bot 4c756b2238 Merge branch 'fix' 2024-02-24 04:30:56 -05:00
ImJustAQ d57ea734cb Fix typos 2024-02-23 20:53:04 -05:00
Tom Rothamel 2744a40248 Merge pull request #5380 from ImJustAQ/master
Fix typos n stuff
2024-02-23 20:52:32 -05:00
Tom Rothamel 5a4a320f49 Remove symlinks when opening files in the editor.
Fixes #5379.
2024-02-23 20:41:55 -05:00
ImJustAQ 40dd9c4a42 Fix typos 2024-02-23 11:47:49 -03:00
Tom Rothamel f4f18d8da5 Make synchro_start the default.
In response to vn;conf discussion.
2024-02-22 23:26:17 -05:00
Tom Rothamel 44db8893ab Fix use of incorrect class. 2024-02-22 19:51:38 -05:00
Tom Rothamel fa7c68c18e Rep SplineMatrix when it could be useful. 2024-02-21 22:55:02 -05:00
Tom Rothamel 6f741be169 Merge branch 'fix' 2024-02-21 22:37:56 -05:00
Tom Rothamel 4361fff535 Add SplineMatrix.
This is a class that lets the creator use a spline to interpolate
between ColorMatrix-es and TransformMatrix-es.

Fixes #5376.
2024-02-21 22:37:45 -05:00
Tom Rothamel 3898c1ed32 atl: Warn the user when a spline is given the wrong type.
Fixes #5367.
2024-02-21 21:09:29 -05:00
Ren'Py Bot 1199e7defe Merge branch 'fix' 2024-02-20 04:30:56 -05:00
Tom Rothamel abbbd7bfaf Actually use the renios interface package.
Not just import it.
2024-02-20 01:53:23 -05:00
Tom Rothamel 233fbf4401 Fix bad merge. 2024-02-19 21:13:04 -05:00
Ren'Py Bot 5694fee81b Merge branch 'fix' 2024-02-19 21:12:18 -05:00
Tom Rothamel 2dc533170d Use a renios-specific text-mode interface object.
Fixes #5372.
2024-02-19 20:54:45 -05:00
Tom Rothamel 107cabeadd Merge branch 'fix' 2024-02-19 19:51:39 -05:00
Tom Rothamel 6226014005 Allow weakrefs to be pickled.
Or rather, allow them to be pickled, but then broken during pickling.

Fixes #5365.
2024-02-19 02:05:54 -05:00
Tom Rothamel e596f42338 launchjer: Only delete template files that exist.
Fixes #5368.
2024-02-19 01:55:36 -05:00
Tom Rothamel f4b3f14f13 Allow blur == 0, and clamp blur to >= 0.
Fixes #5369.
2024-02-18 22:10:02 -05:00
Tom Rothamel 8b45464802 Handle at transform: with 2 tokens of lookahead. 2024-02-17 23:59:54 -05:00
Tom Rothamel 1601456255 Disallow with from being part of an image name. 2024-02-17 23:23:28 -05:00
Tom Rothamel 72adb7f78d Revert "Revert "Document image name specific keywords.""
This reverts commit c40d1cd68c.
2024-02-17 23:21:31 -05:00
Tom Rothamel 5e4617df86 Revert "Revert "Relax what Ren'Py considers to be a keyword.""
This reverts commit d339e17f39.
2024-02-17 23:21:21 -05:00
Tom Rothamel d339e17f39 Revert "Relax what Ren'Py considers to be a keyword."
This reverts commit e29854e0b4.
2024-02-17 23:20:18 -05:00
Tom Rothamel c40d1cd68c Revert "Document image name specific keywords."
This reverts commit 6a9a0c5d59.
2024-02-17 23:20:18 -05:00
Tom Rothamel 14595ec106 Revert "Relax what Ren'Py considers to be a keyword."
This reverts commit e29854e0b4.
2024-02-17 23:19:06 -05:00
Tom Rothamel 4d3b8dd790 Revert "Document image name specific keywords."
This reverts commit 6a9a0c5d59.
2024-02-17 23:18:56 -05:00
Ren'Py Bot 65ad9fe72b Merge branch 'fix' 2024-02-17 04:30:56 -05:00
Tom Rothamel 6a9a0c5d59 Document image name specific keywords. 2024-02-16 22:16:48 -05:00
Tom Rothamel e29854e0b4 Relax what Ren'Py considers to be a keyword.
Names that Ren'Py uses in other places (like image) are illegal
becase those names are keywords, when there's no need to be. So
this removes most keywords, and makes other words only keywords
when used in image specifiers.

This is largely informed by the way the language has been evolving
to mostly use Python names as keywords, and also by the way Python
now has some soft keywords.

Per #5366.
2024-02-16 22:08:11 -05:00
Ren'Py Bot 279e4d8789 Merge branch 'fix' 2024-02-16 04:30:56 -05:00
Tom Rothamel cf3163d37b Adding a new focus should cause the focus to update.
Fixes #5358.
2024-02-15 22:48:50 -05:00
Tom Rothamel 9a6b31eba9 Merge pull request #5362 from qTich/fix/nvl_hide
fix: `nvl_hide` transition
2024-02-15 19:22:15 -05:00
Tichq 88940b7c9d fix: nvl_hide transition 2024-02-16 01:50:04 +03:00
Ren'Py Bot a168314f57 Merge branch 'fix' 2024-02-14 01:46:18 -05:00
Tom Rothamel 609930bedb Mark newly created transforms as unique.
In the various layer transform functions. This is a speedup, and also
a somewhat hacky fix - as it means the transform will be used, rather
than copied, and hence the state available to be propagated.

Fixes #5358.
2024-02-14 01:46:05 -05:00
Tom Rothamel d779f385d9 When processing at-lists, check for ATL after transforms. 2024-02-14 01:45:57 -05:00
Tom Rothamel 322291286a Mark newly created transforms as unique.
In the various layer transform functions. This is a speedup, and also
a somewhat hacky fix - as it means the transform will be used, rather
than copied, and hence the state available to be propagated.

Fixes #5358.
2024-02-14 01:44:21 -05:00
Tom Rothamel 7bf86d6851 When processing at-lists, check for ATL after transforms. 2024-02-14 01:06:17 -05:00
Tom Rothamel f75ddca122 Merge branch 'fix' 2024-02-13 21:53:31 -05:00
Dipesh Aggarwal 8ba903c319 Update transitions.rst 2024-02-13 10:05:50 -05:00
Tom Rothamel 55b20e23a5 Merge pull request #5353 from DipeshAggarwal/patch-2
Fix broken link to dialogue-window-management in sphinx/source/transitions.rst
2024-02-13 10:03:21 -05:00
Dipesh Aggarwal 44905b89d3 Update transitions.rst 2024-02-13 18:22:13 +05:30
Dipesh Aggarwal 3cdb662d2b Update transitions.rst 2024-02-13 18:16:50 +05:30
Tom Rothamel d49f402ad9 Hide transient replaced text with "replaced", not "hide".
Fixes #5351.
2024-02-12 22:47:12 -05:00
Tom Rothamel b04e8c6838 Add an API to change the event used to hide a transient displayable. 2024-02-12 22:46:58 -05:00
Tom Rothamel 9ae3d31d53 Remove debug print. 2024-02-11 23:13:17 -05:00
Tom Rothamel 10cc613cc7 Merge branch 'fix' 2024-02-11 22:49:19 -05:00
Tom Rothamel 40a8869842 Use the new texture functions in Model. 2024-02-11 14:17:09 -05:00
Tom Rothamel 713d56021c Add renpy.display.im.render_for_texture.
An internal API that's used to grab a GL2Texture, if possible, and
a Render if not.
2024-02-10 23:20:01 -05:00
Abdul 51caec89d1 Fix typos 2024-02-10 15:34:24 -05:00
Abdul 21ebaaa633 Fix typos 2024-02-10 15:33:55 -05:00
Tom Rothamel 825b1192d4 Merge pull request #5347 from AbdulGoodLooks/patch-2
Fix typos
2024-02-10 15:27:24 -05:00
Tom Rothamel 45954a6eed Merge pull request #5346 from AbdulGoodLooks/patch-1
Fix typos
2024-02-10 15:27:09 -05:00
Tom Rothamel 7072ca6d6e fetch: Allow fetch to take params.
To make it easier to just pass GET parameters to a website, without
having to remember the right way to encode them.
2024-02-10 15:26:12 -05:00
Tom Rothamel 3d1d42f856 Make renpy.fetch work in more places.
It now works:

* During the init phase.
* Inside an interaction.
* And as before, outside an interaction.
2024-02-10 15:26:03 -05:00
Ren'Py Bot 15f833cd88 Merge branch 'fix' 2024-02-10 04:30:56 -05:00
Tom Rothamel 634ff223a0 doc: Recent changes. 2024-02-09 23:32:36 -05:00
Tom Rothamel 6b379eb1a7 live2d: Automatically adjust config.max_texture_size.
To prevent live2d textures from being loaded small.
2024-02-09 22:22:18 -05:00
Tom Rothamel 43dcd36d45 live2d: Directly use unoptimized textures.
Unoptimized means that we don't have transparent pixels cropped
out. This is the format live2d expects, and so using it will
ensure that the texture can be used directly avoiding a
render-to-texture.
2024-02-09 22:22:12 -05:00
Tom Rothamel 5e14531909 Rename config.fbo_size to config.max_texture_size, and doc.
Some games want to use very large textures in live2d, so this needs
to be available.
2024-02-09 22:16:17 -05:00
Tom Rothamel e776ed3746 live2d: Automatically adjust config.max_texture_size.
To prevent live2d textures from being loaded small.
2024-02-09 22:15:24 -05:00
Tom Rothamel 20022c7ff6 Rename config.fbo_size to config.max_texture_size, and doc.
Some games want to use very large textures in live2d, so this needs
to be available.
2024-02-09 22:14:41 -05:00
Tom Rothamel ef0b676972 Revert "live2d: Grow the FBO to fit all textures."
This reverts commit 476ef5cd74.
2024-02-09 18:43:00 -05:00
Tom Rothamel 83fd684140 Revert "Ensure that FBO resizing takes place in the main thread."
This reverts commit 2ee6001306.
2024-02-09 18:42:50 -05:00
Tom Rothamel c548e82728 Revert "Fix failure to start."
This reverts commit 9133530f8d.
2024-02-09 18:42:38 -05:00
Abdul 4a936c6199 Fix typos 2024-02-08 23:39:55 +00:00
Abdul 07f5a1193f Fix typos 2024-02-08 23:28:53 +00:00
Tom Rothamel 9133530f8d Fix failure to start. 2024-02-07 23:31:15 -05:00
Tom Rothamel 2ee6001306 Ensure that FBO resizing takes place in the main thread. 2024-02-07 02:37:58 -05:00
Tom Rothamel f5aa3dbd34 live2d: Directly use unoptimized textures.
Unoptimized means that we don't have transparent pixels cropped
out. This is the format live2d expects, and so using it will
ensure that the texture can be used directly avoiding a
render-to-texture.
2024-02-07 02:25:04 -05:00
Tom Rothamel 476ef5cd74 live2d: Grow the FBO to fit all textures.
This ensures that Ren'Py will be able to load all Live2D textures
that the game uses at full resolution, provided the system supports
that.

Fixes #5293.
2024-02-06 22:18:04 -05:00
Ren'Py Bot 29ec8a9bf8 Merge branch 'fix' 2024-02-06 04:30:56 -05:00
Tom Rothamel 84eb4303f9 Allow template games to work with missing .rpy files.
Fixes #5342.
2024-02-05 21:36:52 -05:00
Tom Rothamel fb2e9d49b5 Fix the documented names of build.time and build.info. 2024-02-05 18:31:40 -05:00
Tom Rothamel 4cfc9fbc65 Merge pull request #5339 from renpy/import-urllib
Better urllib import
2024-02-05 09:48:03 -05:00
Gouvernathor b047e69c86 Better urllib import 2024-02-05 11:19:40 +01:00
Tom Rothamel d6a687804e fetch: Allow fetch to take params.
To make it easier to just pass GET parameters to a website, without
having to remember the right way to encode them.
2024-02-04 22:36:45 -05:00
Tom Rothamel ae8af536d8 Make renpy.fetch work in more places.
It now works:

* During the init phase.
* Inside an interaction.
* And as before, outside an interaction.
2024-02-04 22:01:54 -05:00
Tom Rothamel 416e7608da Make the secret progress screen easier on my old eyes. 2024-02-03 23:49:02 -05:00
Ren'Py Bot c1db32003f Merge branch 'fix' 2024-02-03 12:10:00 -05:00
Tom Rothamel 9e922b23ea update: Include the current version when fetching the channels URL.
This will let the server be able to choose to offer a different
set of downloads based on what version of Ren'Py is in use.
2024-02-03 12:09:34 -05:00
Gouvernathor dd740a8b95 Fix ukr translation
fixes #5333
See c2c094fbf6 for the regex
2024-02-03 18:08:30 +01:00
Tom Rothamel 342af0cbdd update: Include the current version when fetching the channels URL.
This will let the server be able to choose to offer a different
set of downloads based on what version of Ren'Py is in use.
2024-02-03 12:06:19 -05:00
Tom Rothamel b5345274b0 py2: Fix syntax error in susbtitutions. 2024-02-02 20:23:47 -05:00
Ren'Py Bot 29c29b24f3 Merge branch 'fix' 2024-02-02 04:30:56 -05:00
Tom Rothamel 8369fe8127 Merge pull request #5331 from renpy/opti-substitute
Fix optimization of string substitution
2024-02-01 19:00:36 -05:00
Tom Rothamel fc89fc4c05 update, py2: Monkeypatch os.makedirs, so 7.7 can update.
This lets 7.7 work despite calling os.makedirs with exist_ok=True.
2024-02-01 18:52:13 -05:00
Tom Rothamel 50f912e9ca update, py2: Make the updater py2 compatible.
By removing the use of exist_ok in os.makedirs.
2024-02-01 18:23:14 -05:00
Gouvernathor 2e0c0667bc Fix optimization of string substitution 2024-02-01 22:52:45 +01:00
iivusly 96ccfe1028 Update chromeos.rst spelling mistakes 2024-02-01 13:18:33 -05:00
Tom Rothamel e310687ad2 Merge pull request #5328 from iivusly/patch-1
Update chromeos.rst spelling mistakes
2024-02-01 13:18:09 -05:00
iivusly e2f028fe7a Update chromeos.rst spelling mistakes 2024-02-01 09:16:59 -08:00
Tom Rothamel 9619ae80bc Merge branch 'fix' 2024-02-01 00:24:03 -05:00
Tom Rothamel fefa4c07ed Document the updater changes. 2024-01-31 23:39:03 -05:00
Tom Rothamel 559343a591 update: Only accept identity encoding.
The streaming downloader can't handle non-identity encodings, and
the rpu format won't benefit from it anyway.

This also adds a timeout.
2024-01-31 23:11:33 -05:00
Tom Rothamel 56b07a6ab0 distribute: Write update.ecdsa in binary mode.
This fixes a problem on Windows where the file was being signed
in binary mode, but written in text mode, preventing the update
from proceeding.
2024-01-31 22:24:01 -05:00
Tom Rothamel f3f69614c1 distribute: Write update.ecdsa in binary mode.
This fixes a problem on Windows where the file was being signed
in binary mode, but written in text mode, preventing the update
from proceeding.
2024-01-31 22:16:13 -05:00
Gouvernathor 69108223cb Merge branch 'master' into at-partial 2024-01-31 18:39:17 +01:00
Gouvernathor 406693c920 Update incompat for new version (and add link) 2024-01-31 18:10:21 +01:00
Tom Rothamel 2bed8513f7 Allow input to take an action.
This makes it easier to call a function on enter, without needing
to write a custome Input value.

Fixes #4936.
2024-01-30 21:22:27 -05:00
Tom Rothamel 40ff25241f Merge branch 'fix' 2024-01-29 23:59:20 -05:00
Tom Rothamel 272f0819fb Add _scene_show_hide_transition to the list of non-builtins.
Fixes #5321.
2024-01-29 22:52:05 -05:00
Tom Rothamel c3f38087ab Remove the build cache.
This was only used for building Ren'Py, and mostly used because
building atom took forever. With RPU updates, this causes problems,
so I'm removing it.

Fixes #5315.
2024-01-29 08:56:31 -05:00
Ren'Py Bot c5a143cce4 Merge branch 'fix' 2024-01-29 00:29:27 -05:00
Alexandre Detiste 9f9a9106c7 typo (#5317)
Co-authored-by: a-detiste
2024-01-28 22:55:39 +01:00
Gouvernathor 0bad2e675c Partially redo 8d5b1b5 and remove dualangle_or_float_or_none
None as an anchorangle wasn't supported (it fails at the setter phase in an expectable way).
The use in atl.py was simplified before, then undone for reasons of git revert only.
2024-01-28 22:54:35 +01:00
Tom Rothamel 75b49e7f24 doc: Typo in changelog. 2024-01-28 11:06:30 -05:00
Ren'Py Bot 7228e76a01 Merge branch 'fix' 2024-01-28 04:30:06 -05:00
Tom Rothamel 318fd0e96e Update fix branch, start new master branch. 2024-01-27 22:21:15 -05:00
Tom Rothamel 259fa14f8c Deal with transparent animated presplashes.
Fixes #5313.
2024-01-27 00:33:52 -05:00
Tom Rothamel 0a5cadc008 Merge pull request #5312 from mal/fix-rollback-a-little-more
Ensure that all checkpoints are tracked
2024-01-26 19:25:06 -05:00
Mal Graty d684670e6a rb: Ensure that all checkpoints are tracked
Once the hard_rollback_limit is exceeded, hard checkpoints are added to
the number of blocked checkpoints, ensuring that when totalled limit and
block counts total the number of hard checkpoints currently in the log.

Now that the entire log is counted, it makes it safe to count hard
checkpoints out of the log, first from the blocked count, and then from
the limit count, never dropping below zero.
2024-01-27 00:13:20 +00:00
Andy_kl 951e59b1f5 lint: Fix language statisitcs count for TranslateSay nodes. 2024-01-26 21:33:48 +04:00
Mal Graty 5aff29acaf Fix compat for transitions_use_child_placement
Fixes #5309.
2024-01-26 11:39:36 +00:00
Tom Rothamel 12759d454e Fix circular import. 2024-01-25 23:01:49 -05:00
Tom Rothamel b2720b81b7 On read, simplify the position type to int, absolute, or float.
If possible (when not mixing types).
2024-01-25 22:56:24 -05:00
Tom Rothamel 181247a8c0 Fix crop_relative False.
Fixes #5307.
2024-01-25 22:25:51 -05:00
Tom Rothamel 14355c457f Always call absolute.compute_raw.
Fixes #5306.
2024-01-25 18:22:58 -05:00
Tom Rothamel cf6312c40d Pass Live2D style properites to a copied displayable.
Fixes #5302.
2024-01-25 00:45:40 -05:00
Tom Rothamel 825b3bd665 Prevent divide by 0 if euler-slerping similar angles.
Prevents #5305, assuming it's just bad luck.
2024-01-24 23:11:51 -05:00
Tom Rothamel 2e7af86757 Merge pull request #5304 from mal/translate-say-predict
Fully prep for prediction in TranslateSay
2024-01-24 19:36:01 -05:00
Mal Graty ab6f4a78a4 Fully prep for prediction in TranslateSay
By calling up to the Say class which holds the logic for dealing with
say attributes and other aspects of Say statements which we need to
proxy though.
2024-01-24 21:27:50 +00:00
Tom Rothamel c74871a414 Merge pull request #5283 from Elckarow/Elckarow-doc-periodic-callbacks
doc `periodic_callbacks` rather than `periodic_callback`
2024-01-23 21:22:54 -05:00
Tom Rothamel 4b7183188d Merge pull request #5300 from mal/translate-say-scry
Fix TranslateSay scrying
2024-01-23 13:09:05 -05:00
Mal Graty 7d2ab0d5cc Scry correctly from TranslateSay nodes 2024-01-23 17:47:03 +00:00
Mal Graty df9491fc05 Let TranslateSay node recognise themselves 2024-01-23 17:38:31 +00:00
Tom Rothamel 3a3d271404 rapt: Defer onPause ending until save is finished.
This will hopefully fix #5292, which might have been caused by onPause
ending while the save was still happening.
2024-01-23 02:37:23 -05:00
Tom Rothamel 77e4e90061 rapt: Use finishAndRemoveTask to end the process.
As we do in core.py.
2024-01-23 02:35:39 -05:00
Tom Rothamel 8f33273c36 Forcibly terminate Ren'Py on Android.
This prevents crashes in cleanup code that runs after Python exits.

Fixes #5280.
2024-01-22 22:23:45 -05:00
Tom Rothamel a007bfca59 Get the translation ids of TranslateSay statments.
Fixes #5298
2024-01-22 01:22:35 -05:00
Tom Rothamel 01e6522090 Prevent a crash when the projects directory isn't set.
Fixes #5299.
2024-01-22 00:50:28 -05:00
Tom Rothamel 8f5ea6c785 Minor fixes.
* Fix incorrect variable name in documentation.
* Fix valid-but-wrong indentation.
2024-01-21 18:28:45 -05:00
Tom Rothamel c771322c31 Add some debugging to going to sleep on Android and iOS. 2024-01-20 22:47:32 -05:00
Tom Rothamel 4706495e17 Avoid including a screenshot with the android saves.
This prevents things from blocking if it's no longer possible to
draw.
2024-01-20 01:36:29 -05:00
Tom Rothamel 287b9a227b Fix backwards compatibility of ParameterInfo. 2024-01-19 23:16:15 -05:00
Tom Rothamel 18937ddba0 Fix looking up SayTranslations in the None language.
Fixes #5281.
2024-01-19 01:13:41 -05:00
Tom Rothamel c4674da478 Document arc and ellipse aren't implemented.
In Render.canvas.

Per #5291.
2024-01-18 23:11:57 -05:00
Tom Rothamel 01c9d148a1 Allow Ren'Py to install Cubism 5.
It's not supported yet, but this will allow it when it's the main
version.

Fixes #5287.
2024-01-18 22:55:56 -05:00
Tom Rothamel ddbe005427 Merge pull request #5290 from mal/keep-rollback-sync
Prevent negative rollback counters
2024-01-18 22:29:09 -05:00
Mal Graty 96efe0277d Prevent negative rollback counters
As we pop from the end of the log we decrement the limit until it is
exhausted, before continuing to decrement the block count as further
entries are popped in an effort to find a place to end rollback.
2024-01-19 00:21:52 +00:00
Lent1 cd5ee3ec6f Allow specifying a package when building android from cli 2024-01-18 10:41:47 +01:00
Elckarow 89b85b6a24 Update config.rst 2024-01-18 03:31:24 +01:00
Tom Rothamel 72febe4b1b Use the region to decide simplified vs traditional Chinese.
Simplifed for PRC and Singapore, Traditional for Hong Kong,
Taiwan, and Macao. (Based on some googling.)

Fixes #5282.
2024-01-17 19:26:20 -05:00
Tom Rothamel e91f753b16 Properly compute the inverse of the live2d scaling matrix.
Fixes #5278.
2024-01-17 01:07:02 -05:00
Ren'Py Bot 4a9acf6f7a Merge branch 'fix' 2024-01-16 04:30:57 -05:00
Tom Rothamel 60322da470 Use the local version of layers.
Fixes an issue that would prevent transitions (especially the move
transition) from terminating.
2024-01-16 02:25:34 -05:00
Tom Rothamel c53ea5e6a8 Mild improvements to #5270. 2024-01-16 01:13:09 -05:00
Tom Rothamel 8481aea8f1 Prioritize fullscreen movies over movies in displayables.
Because the former will be shown, and the latter will not.
2024-01-15 22:37:51 -05:00
Tom Rothamel f1222ae358 Merge pull request #5129 from renpy/pause-predict
doc: Clarify renpy.pause's parameters
2024-01-15 21:12:52 -05:00
Tom Rothamel 8aadaf5fb3 Merge pull request #5270 from mal/limit-transform-event-propagation
Filter events propagated through containers
2024-01-15 21:07:04 -05:00
Tom Rothamel 2f3e8193aa Change the type of offset to absolute. 2024-01-15 21:03:46 -05:00
Tom Rothamel 941ff812ef Merge pull request #5275 from mal/fix-spline-interpolation-types
Retain correct types during spline interpolation
2024-01-15 20:55:10 -05:00
Tom Rothamel 269c50c815 Merge pull request #5273 from mal/lint-font-none
lint: Allow emoji_font to be None
2024-01-15 20:16:21 -05:00
Tom Rothamel 270f0f36be webaudio: Fix unpause.
Fixes #5276.
2024-01-15 20:12:39 -05:00
Mal Graty 5f8485a6da Cheat align types to allow spline interpolation 2024-01-15 23:01:07 +00:00
Mal Graty 9e28e89272 Retain correct types during spline interpolation 2024-01-15 23:01:07 +00:00
Mal Graty 89ab6bc81f Revert "Simplify ALIASES and nuke dualangle_or_float_or_none"
This reverts commit 8d5b1b55c0.
2024-01-15 23:01:07 +00:00
Mal Graty 0ed5eeec9e lint: Allow emoji_font to be None 2024-01-15 21:41:17 +00:00
Mal Graty 225d4fa337 Filter events propagated through containers 2024-01-15 20:36:13 +00:00
Gouvernathor aa006323eb doc: fix typo in e19a29f #5268 2024-01-15 20:49:59 +01:00
Lent1 98118b0d97 Allow clearing config.log at startup 2024-01-15 10:58:17 +01:00
Tom Rothamel eeedd53371 Force MultiBox to adjust times.
Fixes #5266.
2024-01-14 19:40:51 -05:00
Tom Rothamel cb21214076 Return a correct value from get_change.
Fixes #5266.
2024-01-14 18:53:44 -05:00
Gouvernathor 0d9f0a2267 doc: typos incompat
the first one is a common mistake (it sounds the same in czech)
2024-01-14 19:26:26 +01:00
Gouvernathor 0378e32950 py3 todo 2024-01-14 19:21:15 +01:00
Tom Rothamel 4ffb254e1c Include downloader in docs. 2024-01-14 11:53:46 -05:00
Tom Rothamel 5f77630b7e doc: Credits, changelog, deprecations. 2024-01-14 11:50:18 -05:00
Tom Rothamel c1f906fcba Fix an issue computing store changes.
It would trigger if there were previous changes, but no new changes.

The traceback is in a comment in #5263, but it doesn't fix the main
issue.
2024-01-14 10:45:27 -05:00
Gouvernathor 83199bb4b1 Internal doc and spurious import 2024-01-14 13:46:28 +01:00
Gouvernathor 13728673a1 doc: incompat 2024-01-14 13:23:17 +01:00
Tom Rothamel 46cc847ca2 doc: Sponsors. 2024-01-14 02:17:01 -05:00
Tom Rothamel 38d90a1ef0 Generate file: urls; Remove the schinese specific URL.
Use urllib functions to ensure file urls are quoted properly.

Remove the schinese url, because it can overwrite the main URL, and
it'll be rarely used now.
2024-01-14 01:06:54 -05:00
Gouvernathor fc45b09ed3 Make the doc URLs local when it's available (#5082)
Rather than using the web copy.

---------

Co-authored-by: Tom Rothamel <pytom@bishoujo.us>
2024-01-13 23:51:26 -05:00
Tom Rothamel 63cb631d52 Retain_after_load should disable greedy rollback.
To prevent non-retain_after_load rollbackness from overwriting
retained data.
2024-01-13 18:22:12 -05:00
Gouvernathor b1ffb3faec Merge branch 'master' into at-partial 2024-01-13 21:55:23 +01:00
Tom Rothamel 03bddfe289 Doc fix. 2024-01-13 15:45:53 -05:00
Gouvernathor 0959631c44 doc: update pause 2024-01-13 21:45:44 +01:00
Tom Rothamel f695788eb8 Remove debug print. 2024-01-13 15:17:58 -05:00
Tom Rothamel 966613f7db Add config.layer_transforms.
The new config.layer_transforms variable allows you to supply
a list of transforms that will be applied to all layers, or to the
combination of all layers in config.layers.

The intent is to prevent people from having to repeat transforms
in camera statements.

Fixes #4562.
2024-01-13 14:58:11 -05:00
Tom Rothamel e576d4d47a renpy.display_menu should take layer as an argument, not from scope.
This is my go at improving #5261, which improves on #4848.

Closes #5261.
2024-01-12 23:39:04 -05:00
Tom Rothamel 9f5b3ffb4b Merge pull request #4848 from renpy/nvl-menu-layer
Enable the _layer parameter for the menu statement and add config.nvl_choice_layer
2024-01-12 21:43:54 -05:00
Tom Rothamel 44d62b4b3e Merge pull request #4924 from mal/alpha-mask-shader
Implement AlphaMask using shader
2024-01-12 21:42:43 -05:00
Tom Rothamel fd96903e03 live2d: Fix create common.
Fixes #5256.
2024-01-12 21:34:49 -05:00
Andy_kl 6b3bde2f15 Update Russian translation. 2024-01-13 01:09:15 +04:00
Tom Rothamel bad18bbd36 doc: Include websockets in the changelog. 2024-01-12 01:01:57 -05:00
Tom Rothamel 398d1aa4b0 doc: Changelog. 2024-01-11 00:19:31 -05:00
Tom Rothamel 29c22ba0aa Changelog and fix translations. 2024-01-10 23:46:54 -05:00
Tom Rothamel 461b9ed8de doc: Changelog. 2024-01-10 23:43:35 -05:00
Tom Rothamel 45c8af418a Merge pull request #5209 from symegac/master
Danish translation of the launcher and The Question
2024-01-10 23:43:19 -05:00
Tom Rothamel ad43a1e39d Document the Android downloader. 2024-01-10 22:37:36 -05:00
Tom Rothamel 9a1a3b8235 Add the dependencies for chromeos. 2024-01-10 21:50:06 -05:00
Tom Rothamel 537569477e Further translation fixes. 2024-01-10 10:27:38 -05:00
Tom Rothamel dbecaefad6 Swap release names. 2024-01-10 10:14:50 -05:00
Tom Rothamel 4b9b22c009 Add names for 8.2 and 7.7. 2024-01-09 23:25:15 -05:00
Tom Rothamel cc7cde5100 Fix translations. 2024-01-09 23:24:35 -05:00
Tom Rothamel 077bebea95 Update piglatin translation. 2024-01-09 23:23:03 -05:00
Tom Rothamel 6f5558c160 Correct for translation change. 2024-01-09 23:09:16 -05:00
Tom Rothamel 360dd86310 Remove mention of rollback side in the help screen.
Fixes #5254.
2024-01-09 22:47:26 -05:00
Tom Rothamel d26c052da5 Merge pull request #5252 from renpy/fix-polar-anchor
Fix polar anchor and some ATL docs improvements
2024-01-09 22:43:30 -05:00
Gouvernathor ecd1e59b41 Do the same with align's getter 2024-01-10 00:14:14 +01:00
Gouvernathor 232ad293a2 Recommend not using the weird behavior 2024-01-09 20:44:48 +01:00
Gouvernathor 2e79eb49ce Make the xycenter getters more honest 2024-01-09 20:05:36 +01:00
Tom Rothamel 6845c59738 Merge pull request #5251 from mal/web-cli
Add CLI for web builds
2024-01-09 01:47:18 -05:00
Gouvernathor 546942640a More documentation tweaks 2024-01-09 00:32:09 +01:00
Mal Graty af6721c5ef launcher: Add CLI for web builds 2024-01-08 23:12:57 +00:00
Gouvernathor 2184e27214 Doc pass on polars 2024-01-08 23:25:07 +01:00
Gouvernathor cc14f31b64 Simplify get_xycenter to nonexistence 2024-01-08 23:20:21 +01:00
Gouvernathor 6830882bbe Remove never-read variables 2024-01-08 22:54:49 +01:00
Gouvernathor ef8a1b6ee3 Add anchor polar to the condition and kick xaround 2024-01-08 22:49:52 +01:00
symegac f291cd8bd2 Updated translation of The Question 2024-01-08 16:44:17 +01:00
symegac c2711b26f7 Updated translation of launcher 2024-01-08 16:43:12 +01:00
symegac 8ad22f6a0a Merge branch 'renpy:master' into master 2024-01-08 16:41:51 +01:00
Tom Rothamel 3e659a58e3 doc: Rewrite the documentation for get_side_image. 2024-01-08 02:37:03 -05:00
Tom Rothamel f294b9e936 Merge pull request #5250 from renpy/3994-misc
Misc lints
2024-01-08 00:48:14 -05:00
Tom Rothamel 22e1e892a1 Merge pull request #5249 from renpy/doc-file
Use the :file: role a lot
2024-01-08 00:47:11 -05:00
Tom Rothamel dccb7b2af4 Merge pull request #5248 from renpy/cleanup-dualangle-and-aliases
Simplify renpy.transform.ALIASES and nuke dualangle_or_float_or_none
2024-01-08 00:47:04 -05:00
Tom Rothamel c068640633 Force _side_image_attributes to non-None.
The last commit is the real fix, but this fixes #5027, fixes #5242.
2024-01-07 22:38:05 -05:00
Tom Rothamel 251b4f7e88 Fix an interaction between RollbackLog.complete and Context.make_dynamic.
In the case where:

* A new Rollback begins.
* A variable has it's value changed.
* A new context is created, with rollback disabled.
* The variable is made dynamic.
* The variable is set back to it's original value.
* A Rollback is completed.

It would be possible to have a variable that was set and not rolled
back. To fix this, the Rollback is completed on entering a context,
and a rollback can be completed multiple times.

This manifested on _side_image_attributes, so this adresses #5242
and #5207.
2024-01-07 22:34:36 -05:00
Gouvernathor d2aa3b9fbc Hotfix polar anchor 2024-01-08 01:18:40 +01:00
Gouvernathor 239b8c0022 Moar (and whitespace)
I didn't do them all, but still quite a number
2024-01-08 00:41:56 +01:00
Gouvernathor c1c5cc4cf7 Merge branch 'master' into doc-file 2024-01-07 23:20:29 +01:00
Gouvernathor 8d5b1b55c0 Simplify ALIASES and nuke dualangle_or_float_or_none
DualAngle.from_any is already dualangle_or_float, and anchorangles (if not None) cannot be a tuple of None, it can only be a tuple of float (from older versions of renpy) or DualAngle
ALIASES's values were never read, because the only read values of PROPERTIES are those also present in diff2_properties or diff4_properties, both of which are only populated by add_property
2024-01-07 21:42:18 +01:00
Tom Rothamel f3652281a2 doc: Fix missing word. 2024-01-07 14:28:08 -05:00
Tom Rothamel 3504ae1bd8 bubble: Document how transforms work with the bubble screen. 2024-01-07 01:49:36 -05:00
Tom Rothamel 564cc0e0cd Screen hide and replace events run to completion.
Even if the same screen is shown again. This makes it possible to use
transform events with screens that may be shown again immediately,
like the say or bubble screens.
2024-01-06 23:51:58 -05:00
Tom Rothamel 582e467f22 Fix out-of-date comment. 2024-01-06 21:35:46 -05:00
Tom Rothamel 5d54d6f2d8 It helps to save before committing. 2024-01-06 21:29:12 -05:00
Tom Rothamel 8b4fdf015a Supply the "replace" (rather than "show") event to say screens after {w}.
This makes it possible for screens (like the bubble screen) to
have one transition on initial show, and another on clicks through
{w}.

Fixes #4735.
2024-01-06 21:26:10 -05:00
Tom Rothamel 6a651ff299 Fix modal and tts not working properly together.
The issue was that tts would read the modal screen and everything
below it, not above it. (This had to do with the change in order
for layers a while back.)
2024-01-06 19:25:26 -05:00
Tom Rothamel 423b8baf92 Improve the tts-accessibility of the accessibility menu.
Fixes #4499.
2024-01-06 19:10:52 -05:00
Tom Rothamel e19a29f20a Pass transform events to children of containers.
This makes it possible of the children of containers to respond
to a button changing state differenty. Fixes #4578.
2024-01-06 18:47:34 -05:00
Tom Rothamel 7dc7184fdb Document that MouseMove may not work.
Closes #4023.
2024-01-06 18:25:26 -05:00
Tom Rothamel e1ed5ad6f1 Repeat MouseMove over 4/60ths of a second.
In case a mousemove on button release overrides it.
2024-01-06 18:24:07 -05:00
Tom Rothamel 01ffb18b4f Clean up, change, and changelog #5245. 2024-01-05 23:36:14 -05:00
Tom Rothamel e4b78f47d1 Merge pull request #5245 from Neyunse/continue
action Continue(): re-PR
2024-01-05 23:16:57 -05:00
KagariSoft-Dev 2dad3acf35 restore: the Update the ShowMenu doc entry 2024-01-06 01:01:53 -03:00
KagariSoft-Dev 565a2da69e restore doc: Fix gui documentation typo. 2024-01-06 01:01:02 -03:00
KagariSoft-Dev f127d3eda6 minor fix 2024-01-06 00:49:31 -03:00
KagariSoft-Dev 2773c0dbed fixed year 2024-01-06 00:48:41 -03:00
ねゆんせ 02fc331a2c action Continue(): re-PR 2024-01-06 00:38:21 -03:00
Tom Rothamel 69d3a85597 Add ruby_line_leading.
This allow lines with ruby to get additional leading, while
non-ruby lines do not.

Fixes #4997.
2024-01-05 01:48:08 -05:00
Tom Rothamel 113a60faa5 Update the copyright for 2024. 2024-01-05 00:31:12 -05:00
Tom Rothamel d37242fd38 Fix spanish translation. 2024-01-05 00:29:51 -05:00
Tom Rothamel bf0993097a Only predict_show a screen by name when not transient.
This fixes #4999 while trying to keep #4834 fixed. There is a
very minor behavior changes here:

When a screen has been called, renpy.showing will not return
true for a screen's name if the screen has a tag.

This seems fine, because renpy.showing is only documented to work
with tags, not names - working with screens by name has been the
job of renpy.get_screen. So it's only a change to undocumented
behavior.
2024-01-05 00:08:00 -05:00
Tom Rothamel ee06cbca48 Always pass the tag to predict_show, not the image/screen name.
This was always the case for normal images, but screens pass the
screen name as name. This could cause a problem (#4999), where
a transient screen going away would leave the tag (but see the next
commit.)
2024-01-05 00:02:13 -05:00
Tom Rothamel b0a7b3a6d8 Merge pull request #5243 from Moshibit/master
Update Spanish trasnlation
2024-01-04 22:06:51 -05:00
Tom Rothamel 926ca22963 web: Remove logging print. 2024-01-04 21:51:51 -05:00
Gouvernathor 62d6e50a9e doc: tweaks, typos, whitespace, use the exc and file roles
fixes #5227
2024-01-05 00:14:06 +01:00
Moshibit 1fd3aa2c5d Update launcher.rpy 2024-01-04 12:32:09 -06:00
Moshibit 702c6e1f75 Update screens.rpy 2024-01-04 12:12:40 -06:00
Moshibit 3b83d45544 Update developer.rpy 2024-01-04 11:56:44 -06:00
Moshibit c912a451ae Update common.rpy 2024-01-04 11:53:26 -06:00
Tom Rothamel 45d952fc4e Make _vol public. 2024-01-03 19:26:20 -05:00
Tom Rothamel 6b87244193 Add a fallback mode for f-string style interpolations.
This is intended to allow creators to migrate their games
piecemeal.

Per #5236.
2024-01-03 01:15:29 -05:00
Tom Rothamel 840f0e8de9 Acclelerate the most common formatting case.
A simple variable, which is just looked up and doesn't need
to be evaled all the time.
2024-01-03 00:51:12 -05:00
Tom Rothamel 9df57291d6 Add the ability to reset preferences.
Fixes #5000.
2024-01-03 00:19:34 -05:00
Tom Rothamel 0273af7c4f Run default persistent.var = ... statements on persistent._clear.
This adds support for re-running default statements in the special
namespaces, and then enables that for persistent. It also adds a
call to renpy.execute_default_statement in persistent._clear.

Per #5000.
2024-01-02 23:48:31 -05:00
Tom Rothamel 9c6bf97f21 Merge pull request #5240 from qTich/fix/translatesay-predict
fix: `TranslateSay.predict`
2024-01-02 22:30:02 -05:00
Tichq 2160e8d31f fix: TranslateSay.predict 2024-01-03 05:57:06 +03:00
Gouvernathor 0b1c017150 doc: fixes and markup improvements 2024-01-02 23:45:03 +01:00
Gouvernathor 631618d4d8 Merge branch 'master' into at-partial 2024-01-02 10:48:31 +01:00
Mal Graty d1452e50c3 Treat string interpolations as Python expressions (#5036)
* Move away from Formatter for string interpolation

As we were already overriding the C parser, the only advantage we were
taking advantage of was the C field name parser. We continue to use this
but by moving away from the string.Formatter template we can ignore
a bunch of things that we aren't interested in (such as which fields
from the supplied scope were used).

* Whitespace

* Manage conversion flags with sets

* Update interpolation parser to support expressions

This change allows strings and nested brackets, braces, and parens to be
within an interpolation without breaking out. It also allows conversions
to be specified before the format (in line with Python), with graceful
fallback to ensure existing interpolations continue to work as intended.

* Treat interpolation as Python expressions

* Add support for debug interpolations

This apes fstring functionality where a trailing = symbol is used to
denote that the expression part of an interpolation should be included
with the output and, when no conversion or format are specified, imply
the result should be run through repr.

* Update interpolation documentation for expressions

* Add interpolation expressions to changelog
2024-01-01 23:34:44 -05:00
Gouvernathor 583034a53a Better document conflicting properties (#5235)
doc: better document conflicting properties
2024-01-01 21:12:49 -05:00
Ren'Py Bot c2daeca774 Merge branch 'fix' 2024-01-01 20:17:55 -05:00
Tom Rothamel fb15ba501e Merge remote-tracking branch 'origin/publish-position'
Fixes #5234.
2024-01-01 20:17:02 -05:00
Tom Rothamel 30dd810b3a Merge remote-tracking branch 'origin/movetrans-warpers' (#4998) 2024-01-01 20:15:34 -05:00
Gouvernathor ba8f13af9c Publish the position type in the default store 2024-01-02 02:05:33 +01:00
Gouvernathor 82ccd35d48 Adapt the spline interpolation to the mixed position type (#5233)
* Patch and adapt interpolate_spline with mixed position type

* Tweak the code
2024-01-01 20:05:15 -05:00
Gouvernathor 147073eaf1 Various improvements around warpers (#4995)
* doc: clarify MoveTransition and add examples

* doc: various things loosely related to warpers
2024-01-01 19:57:35 -05:00
Tom Rothamel 9c272b9d45 atl: A few more documentaiton changes. 2024-01-01 18:34:00 -05:00
Tom Rothamel 4a53c80c3c atl: Organize the transition proprties. 2024-01-01 18:25:22 -05:00
Gouvernathor 851471373f Dual-angle fix for polar transform properties under the new position type (#5179)
* Change the type of xanchoraround and yanchoraround

* Try to implement anchoraround

* Avoid calling position_or_none at all

type(spline[-1]) comes from before 5123
It should work until a deeper examination completely clears the issue.

* DualAngle solution to the mixed-types polar anchor system

* Factorize the common end part of the setters

* Factorize the common first part of the getters

* Allow the common first part to be cached/skipped

* Hasten set_anchorradius without slowing down set_anchorangle

* Kick out the former helper functions

* Inner documentation

* Convert polar pos to using absolute and positions without double angles

Basically reuse the architecture from polar anchor, but convert everything to absolute as soon as possible and avoid duplicating everything (including the angle) between an absolute and a relative metric.
I think the issue could have been solved by removing the "divisor" thing and have absolutes always returned, but I'm not sure.
To be tested, maybe the divisor thing was necessary for interpolations of pos inside a container of interpolated size.

* Simplify calculations when the polar vector is 0

The exact same skip can't be done for anchor, because the two radii are independent and the get_anchorradius calculates them both
2024-01-01 17:09:26 -05:00
Tom Rothamel 8d170c45ab Allow webinput in fullscreen mode.
Fixes #5231.
2024-01-01 16:29:23 -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
Ren'Py Bot 5a562cc660 Merge branch 'fix' 2024-01-01 04:30:56 -05:00
Tom Rothamel 95bb3a108d web: Enable the anisotropy extension for webgl.
Fixes #5230.
2024-01-01 01:12:21 -05:00
Tom Rothamel 5db965a709 Resume the audio context when it's not running.
Most notably, when it goes into the "interrupted" state after
an iOS devices goes to sleep.

Fixes #5027.
2024-01-01 00:05:26 -05:00
Tom Rothamel 8b5cff47c4 Remove last PY2 check. 2023-12-31 22:24:19 -05:00
Tom Rothamel 5b1c251f3f Enable the new fullscreen api on python2. 2023-12-31 22:08:43 -05:00
Tom Rothamel 540a853d38 Re-enable fullscreen in safari.
The new approach seems to work well in Safari too.

Fixes #4988.
2023-12-31 21:52:35 -05:00
Tom Rothamel 6d4a104b8d web: Use renpy-specific fullscreen api.
This fixes issues with fullscreen, especially on mobile platforms
where the device can rotate while fullscreen is enabled. At the
same time, Ren'Py has been handling web-resize well.

So, we simply requestFullscreen on the html element, and let it
bring the window fullscreen, resizing the canvas as it does so.
2023-12-31 21:43:57 -05:00
Tom Rothamel 0d3e9c9358 Always enable the console in the question.
I use it a lot as a test game, so it makes sense to keep the
console available.

Also, cheat modes.
2023-12-31 21:43:22 -05:00
Tom Rothamel 2e73149782 Document that presplash webps can be animated.
Per #5004.
2023-12-31 16:40:37 -05:00
Tom Rothamel d3af25da6c Stop the music on load or rollback whenever the loop changes.
Fixes #4787.
2023-12-31 16:36:06 -05:00
Tom Rothamel 8412929688 Transitions use child placements.
Fixes #4867.
2023-12-31 15:54:02 -05:00
Tom Rothamel 4a8a991913 Fix typo. 2023-12-31 15:53:54 -05:00
Tom Rothamel 9b621e8b1f Allow inputs inside buttons to get KEY* events.
These were suppressed to help out Keymap (the key statement), but
doing su suppressed the events for Input as well.

Fixes #5205.
2023-12-31 12:18:04 -05:00
kyouryuukunn ada4635073 Merge pull request #5228 from kyouryuukunn/translate_japanese_231231
translate japanese 231231
2023-12-31 17:58:03 +09:00
kyouryuukunn 90840d3ccb translate japanese 231231 2023-12-31 17:41:29 +09:00
the66F95 2f38077f67 let a viewport/vpgrid respect the force_step argument of a used ui.adjustment (#4841) 2023-12-30 20:00:51 -05:00
Tom Rothamel 18eb94c673 Document command line tools.
Fixes #4257.
2023-12-30 11:14:58 -05:00
Tom Rothamel 81f932631c Scroll actions should only be sensitive if scrolling is possible.
Fixes #2702.
2023-12-30 00:24:21 -05:00
Tom Rothamel 40671c36e5 Allow an adjustment to restart the interaction when reaching limits.
This is required to support the next commit.
2023-12-30 00:23:46 -05:00
Tom Rothamel 73d96cf91b Incrementally maintain the image cache size.
Per #3381.
2023-12-29 23:12:13 -05:00
Tom Rothamel 83ef97dd53 Remove the pin cache.
Per #3381.
2023-12-29 22:32:59 -05:00
Tom Rothamel 45a3c60999 Allow inputs inside buttons to get KEY* events.
These were suppressed to help out Keymap (the key statement), but
doing su suppressed the events for Input as well.

Fixes #5205.
2023-12-29 00:14:32 -05:00
Tom Rothamel 42751a1fd9 Merge pull request #5210 from qTich/fix/android-load-archives
fix: loading sequence
2023-12-28 22:05:16 -05:00
symegac 7007b2a292 Merge branch 'renpy:master' into master 2023-12-28 23:16:36 +01:00
Ren'Py Bot f244d521be Merge branch 'fix' 2023-12-28 04:30:08 -05:00
Tom Rothamel 94d1b573e1 ffmedia: Return AVERROR_EOF for end of file.
Fixes #5207.
2023-12-28 02:14:21 -05:00
Tom Rothamel 9d0c347c0f ffmedia: Return AVERROR_EOF for end of file.
Fixes #5207.
2023-12-28 02:09:22 -05:00
Tom Rothamel d2f2022558 Do not encode source before compiling or returning.
Fixes #5213.
2023-12-27 23:25:58 -05:00
Tom Rothamel a90d563648 Merge pull request #5216 from renpy/fix-oldgame-merge
Fix incorrect old-game proccessing if file directory was Windows-styled path.
2023-12-27 22:04:31 -05:00
Andy_kl 59dbb7ac50 Fix incorrect old-game proccessing if file directory was Windows-styled path. 2023-12-27 23:54:27 +04:00
Tom Rothamel 03082f4ab5 doc: Add seealso. 2023-12-27 01:12:19 -05:00
Tom Rothamel cbf2d8fab0 Fix the sense of the defer_tl_scripts test.
Fixes #5211.
2023-12-26 22:03:40 -05:00
Tichq 1206508a2e fix: loading sequence
Loading the file from the archive inside `config.searchpath` on Android will be ignored, as the file is most likely also contained in `apk`.
2023-12-26 15:43:25 +03:00
symegac cbd2576e71 Fixed wording 2023-12-26 04:49:11 +01:00
symegac 7c1e71beb9 Fixed another small typo 2023-12-26 04:14:27 +01:00
symegac 2de93067c7 Fixed small typo 2023-12-26 04:10:31 +01:00
symegac ab5aa1a0e0 Removed stray comment and added period 2023-12-26 04:06:45 +01:00
symegac c67480b6d9 Added Danish translation of the launcher 2023-12-26 04:04:20 +01:00
symegac b9fb74bbc5 Removed TODO note 2023-12-26 03:55:12 +01:00
symegac 3aa3a3edb4 Added Danish to prefs and reordered langs 2023-12-26 03:51:38 +01:00
symegac b7e7a501f1 Added Danish translation 2023-12-26 03:49:45 +01:00
Tom Rothamel 71c52e96f4 Remove use of renpy.file (in favor of renpy.open_file).
Fixes #5201.
2023-12-25 00:00:57 -05:00
Tom Rothamel 97528f2b55 doc: That rapt requires JDK 21. 2023-12-25 00:00:34 -05:00
Tom Rothamel 9a60c796d6 rapt: Update translations. 2023-12-24 09:34:07 -05:00
Tom Rothamel eb7816f508 Merge pull request #5196 from kyouryuukunn/fix_warp_to_line
fix warp_to_line behavior
2023-12-23 22:09:51 -05:00
Tom Rothamel 94c5e4fa5f Remove uses of gui.button_text_properties.
Which duplicates gui.text_properties.

Fixes #5197.
2023-12-23 16:39:11 -05:00
kyouryuukunn ce791bdcf4 fix warp_to_line behavior 2023-12-23 18:01:12 +09:00
Tom Rothamel 0e616a52e3 Merge pull request #5191 from mal/improve-rollback-tracking
Track hard checkpoints that have been blocked
2023-12-23 00:18:42 -05:00
Tom Rothamel 0387f19dae Ignore the warp command line argument after it's been run once.
Fixes #5194.
2023-12-22 22:46:14 -05:00
Mal Graty cdd19ea7c4 Upgrade rollback blocks gracefully
Recalculates rollback_limit and rollback_block to ensure both values are
sane and reflect the current state of the log.
2023-12-22 11:26:40 +00:00
Mal Graty 89895ea29d Track hard checkpoints that have been blocked
This is necessary so they can be counted out as the log is truncated,
keeping rollback_limit accurate. This results in correct reporting from
renpy.can_rollback in the scenario where config.rollback_length has been
exceeded.
2023-12-22 11:26:40 +00:00
Tom Rothamel 8115ef96fb Merge pull request #5192 from qTich/fix/webaudio-broken-file
fix: filename after implementation `RWopsIO`
2023-12-22 01:14:37 -05:00
Tom Rothamel 519a0c56a4 doc: Android. 2023-12-21 23:23:50 -05:00
Tom Rothamel 2c6fba5fda rapt: Supply the version to the build process.
Fixes #5188.
2023-12-21 23:16:13 -05:00
Tichq f72f0e9a22 use: config.debug_sound in webaudio 2023-12-22 04:47:19 +03:00
Tichq 369471fd23 fix: filename after implementation RWopsIO 2023-12-22 04:40:09 +03:00
Tom Rothamel 2a62b88aeb Reduce the rollback length when the rollback log is popped.
Fixes #5041.
2023-12-21 00:45:51 -05:00
Tom Rothamel abe63137e7 Add back line removed incorrectly. 2023-12-21 00:45:34 -05:00
Tom Rothamel d847636c51 Clear out pending events on start.
Particularly, the start after a shift+R reload, where keyboard
events during the reload could be queued up.

Fixes #5187.
2023-12-20 22:47:31 -05:00
Tom Rothamel 7123215f9c Document renpy.register_statement's translation a argument. 2023-12-19 20:58:29 -05:00
Tom Rothamel 08261082c3 doc: TranslateSay. 2023-12-19 01:11:20 -05:00
Tom Rothamel c9ca6e6339 translatesay: Support generating translations. 2023-12-19 01:11:20 -05:00
Tom Rothamel 1045a85b97 translatesay: Lint support. 2023-12-19 01:11:20 -05:00
Tom Rothamel 2f11472982 translatesay: Minor fixes. 2023-12-19 01:11:20 -05:00
Tom Rothamel b580aef310 translatesay: Eliminate many EndTranslates. 2023-12-19 01:11:20 -05:00
Tom Rothamel c92757e769 translatesay: Replace Translate and Say with a single statement. 2023-12-19 01:11:20 -05:00
Ren'Py Bot 626351486e Merge branch 'fix' 2023-12-18 04:30:08 -05:00
Tom Rothamel fd65876e75 Do not call statement_callbacks on translate statements.
Most are internally generated, and so don't really feel like
they should trigger a callback.
2023-12-18 00:27:58 -05:00
Tom Rothamel 492d1a3b55 Add interning.
This interns certain common strings to save memory. Interned are
Lexer.names (which will get things like image attributes), and
simple cases of Say.who.

Per #3759.
2023-12-17 23:54:28 -05:00
Tom Rothamel 36568b72ea Avoid stripping PyExprs in Say. 2023-12-17 22:44:57 -05:00
Tom Rothamel c9278e6aad Merge pull request #5150 from renpy/lint-check_conflicting_properties
Lint check_conflicting_properties
2023-12-17 22:05:54 -05:00
Tom Rothamel 213a74cd90 Merge branch 'fix' into lint-check_conflicting_properties 2023-12-17 22:05:11 -05:00
Tom Rothamel 8187836d7f Allow shift+D to close the developer menu.
Close #5185.
2023-12-16 23:13:45 -05:00
Tom Rothamel a9520b96a1 doc: Template projects.
Finishes a sequence of commits that can close #3877.
2023-12-16 02:06:37 -05:00
Tom Rothamel 2cfef37844 Show template projects in the launcher.
And don't scan for templates in the old location.
2023-12-16 01:53:24 -05:00
Tom Rothamel 91859af328 Add creating a project from a template to the launcher. 2023-12-16 01:46:04 -05:00
Tom Rothamel 4fa61874eb Copy all files, not just generated ones. 2023-12-16 00:11:59 -05:00
Tom Rothamel 7de37450d4 launcher: Add the ability to make a new project from a template.
This reuses portions of the gui mechanism, but only updates the
most basic information, like the title and save directory, as
well as the translation-relate information.
2023-12-15 23:41:57 -05:00
Tom Rothamel 2b1888e0af launcher: Remove the ability to create legacy projects. 2023-12-15 22:32:12 -05:00
Tom Rothamel af4cf6509a Make new types unique. 2023-12-14 18:39:56 -05:00
Tom Rothamel f651702f0e Documentation can't be generated on python 2. 2023-12-14 18:38:24 -05:00
Tom Rothamel 30fe36010c Remove debug print. 2023-12-14 18:38:14 -05:00
Tom Rothamel 96e6975e9f Add a new defaultdict class.
This is similar to Python's collections.defaultdict, except it
participates in rollback.
2023-12-14 01:38:53 -05:00
Tom Rothamel 00ad151a23 Add the MultiRevertable class.
This makes it possible to have a class that is a child of
dict, det, or list, and is still a revertable object.

Per #4498.
2023-12-14 01:17:50 -05:00
Tom Rothamel dad92c5821 Improve the contrast of newly-generated games.
Fixes #5172.
2023-12-14 00:28:14 -05:00
Tom Rothamel 79f1d9f651 Restore accesibility to shift+A only.
Fixes #5177.
2023-12-13 21:21:18 -05:00
Tom Rothamel aeb3d4fb94 Draggable viewports aren't focusable.
A focusable viewport will steal focus from its children, which
is a problem for keyboard and gamepad nav. So now we have
grabbble-only viewportsm which fix the problem.

Fixes #5173.
2023-12-13 21:19:06 -05:00
Tom Rothamel 84d4aebc92 Allow displayables to be grabbed but not focusable.
This is meant for viewports, which can grab focus when dragged,
but shouldn't be focusable otherwise.
2023-12-13 21:13:19 -05:00
Tom Rothamel 9556e9615e ssh: Add to the no-ssh statements. 2023-12-13 02:15:06 -05:00
Gouvernathor 8545260133 doc: fix seealso 2023-12-12 08:32:20 +01:00
Tom Rothamel f2d911fe7c ssh: Document. 2023-12-11 23:33:48 -05:00
Tom Rothamel 17701d3827 Merge pull request #5168 from renpy/fix-5165
Fix #5165
2023-12-11 22:08:24 -05:00
Tom Rothamel d0fd529ad4 Revert "Avoid ever deleting the pixel buffer."
This reverts commit 355fc4f0af.
2023-12-11 22:04:16 -05:00
Tom Rothamel 7c0fb49df2 ssh: Do not do ssh transitions when in a menu or common. 2023-12-11 22:04:16 -05:00
Tom Rothamel 5733c0b81b Merge pull request #5167 from mal/constant-store-definitions
Move constant definitions into individual stores
2023-12-11 21:40:33 -05:00
Tom Rothamel 8c0470a1b5 Merge pull request #5169 from qTich/fix/tts-hover-alt
fix: based on `Style` defined as `_hover_alt`
2023-12-11 21:40:14 -05:00
Tichq 48e8a0f89e fix: based on Style defined as _hover_alt 2023-12-12 05:15:30 +03:00
Gouvernathor 8b3375c7e5 Fix various issues 2023-12-11 20:26:24 +01:00
Mal Graty a3a408ccd1 Move constant definitions into individual stores
Makes it much more obvious which stores are constant when reading the
code that defines those stores.
2023-12-11 18:54:35 +00:00
Tom Rothamel d22f24fa82 Merge pull request #5165 from jsfehler/docs_sdl2
Tweak get_sdl_dll() documentation
2023-12-11 11:30:56 -05:00
Tom Rothamel 573ebd183e Merge pull request #5164 from jsfehler/changlog_tyops
Fix tyops in the changlog
2023-12-11 11:30:33 -05:00
Joshua Fehler e1df1ba894 Tweak get_sdl_dll() documentation 2023-12-11 10:32:24 -05:00
Joshua Fehler 495b19fabc Fix tyops in the changlog 2023-12-11 09:28:43 -05:00
Tom Rothamel 0c0e9b50cd ssh: Do not do ssh after rollback. 2023-12-11 01:22:26 -05:00
Tom Rothamel 3260643769 Add _scene_show_hide_transition.
This is a transition that is run between the scene show and hide
statements, and other statements, if there is not intervening
with statement. This allows transitions to be created to run
when images are shown.

Per #2064, needs to be documented.
2023-12-11 01:15:13 -05:00
Tom Rothamel e2023d28d4 Add config.pass_controller events, document config.pass_joystick_events. 2023-12-10 22:13:01 -05:00
Tom Rothamel 2c99d91ed4 Disable fullscreen on Safari.
This is due to several problems that don't seem to occur on other
browsers. While the visibility problems were patched away, once
we went fullscreen, it was impossible to show anything else, like
the web_input textbox.

After a weekend working on it, no luck - so Fullscreen is disabled.

Fixes #5038.
2023-12-10 21:06:02 -05:00
Tom Rothamel 81de185a88 Bind to 127.0.0.1. 2023-12-10 20:03:35 -05:00
Tom Rothamel 25ec9105bb Browser shouldn't start in fullscreen by default. 2023-12-10 20:00:04 -05:00
Gouvernathor e8c9d6af2b Fix the last part 2023-12-10 19:30:24 -05:00
Gouvernathor 77c3f22aca Refix
otherwise each pass almost-systematically nullifies the preceding ones
2023-12-10 19:43:18 +01:00
Gouvernathor 313d924611 Fix 2023-12-10 13:06:19 +01:00
Asriel Senna a2c2d2e4e3 Future and alternates 2023-12-10 12:59:13 +01:00
Asriel Senna e64a56a00f First trial
The name is quater, Gamma-quater
The commented lines only waste execution time until all kinds of parameters are allowed, but they are intended to be included when all parameters are.
2023-12-10 07:52:03 +01:00
Tom Rothamel 7cede5ff44 Make it possible to bind the webserver publically.
To make testing easier.
2023-12-09 23:31:38 -05:00
Asriel Senna c9a2699c2c Better error message 2023-12-10 04:32:54 +01:00
Asriel Senna 8d9be62187 Add evaluated parameters 2023-12-10 04:29:25 +01:00
Asriel Senna f33a47d4be Free repr 2023-12-10 04:26:21 +01:00
Mal Graty 8014d196f8 Clean up redundant conditional
The child is already ensured to be a drag at the top of the method, no
need to check again.
2023-12-09 18:32:39 +00:00
Asriel Senna 6310d34dd8 Enable scoped evaluation for apply_defaults 2023-12-09 18:19:17 +01:00
Asriel Senna adfe76b6fb Make apply_defaults optional in apply 2023-12-09 18:18:52 +01:00
Tom Rothamel b6c39be680 Avoid unnecessary recompilation of PyExprs.
Specifically, PyExprs loaded from .rpyc files that are only loaded
for the purpose of being upgraded from a .rpy file.
2023-12-09 01:11:31 -05:00
Tom Rothamel 0c6f3bd521 Lint formatting changes.
* Make the per-character stats optional, but use the complete
  version when there.

* Make the problem lists less humanized, and easier to scan by
  lining things up vertically.
2023-12-08 22:51:12 -05:00
Tom Rothamel f06b15023f Include Python warnings in lint. 2023-12-08 01:54:56 -05:00
Tom Rothamel 1082fe614e Store warning info in the bytecode cache. 2023-12-08 01:32:33 -05:00
Tom Rothamel badbd49bff Move parameter and argument handling into its own module. 2023-12-07 23:08:28 -05:00
Tom Rothamel dc6967b44b Remove the privating.
(Not needed in a class that's not intended to be inherited from, and
sends the wrong message.)
2023-12-07 22:41:14 -05:00
Tom Rothamel d30eae0ea9 Merge pull request #5160 from renpy/fix-5159
Fix interpolation of move transitions wrt the position type
2023-12-07 19:30:08 -05:00
Gouvernathor a0517be533 Cleanup 2023-12-08 00:33:11 +01:00
Gouvernathor 61b50b15b1 Fix last 2023-12-07 16:22:41 +01:00
Ren'Py Bot 990ec9f1fe Merge branch 'fix' 2023-12-07 04:30:08 -05:00
Tom Rothamel c54180ac8d Add the ability to force Python to be compiled.
Eventually leading to warnings being emitted.
2023-12-07 01:42:56 -05:00
Tom Rothamel e784f2733f Remove debug print. 2023-12-07 01:41:53 -05:00
Tom Rothamel fa7876055e Merge pull request #5062 from mal/fix-mouse-rel
Update rel values of combined mouse events
2023-12-06 22:29:55 -05:00
Tom Rothamel 84860185c5 Merge pull request #5084 from renpy/doc-dynamic-stores
Document that renpy.dynamic supports variables in stores
2023-12-06 22:25:27 -05:00
Gouvernathor 0471807ede Standalone parameterinfo (#5099)
* Convert ParameterInfo to an inspect subclass, adapt parsing

* Prettier repr for screens

Include the (pretty !) signature in the repr.
The default values are not themselves but the strings evaling to them - but who cares

* Monkeypatch ATL just enough for it to work

use .items() bc it's now a dict, access the default value the new way, and account for Parameter.empty

* Reimplement apply in a much better way

The default values are now evaluated lazily, only when needed, which is both faster and closer to the previous behavior.
The implementation of ignore_errors is not as good, but that should get improved soon.
Performances of the apply call on autorange goes from 50k-.30 to 100k-.32, which is almost a 2x speedup
The legacy apply call is at 100k-.23, we're dragging 40% slower but closing

* Copy and tweak Signature._bind to further improve perfs

apply call's autorange is now 100k-.29, so 26% slower than the former implem
we now manage the _ignore_extra_kwargs special kwarg behavior, forgotten until now
Having all the different raised exceptions now opens the door to ignoring errors all we like

* Realy implement ignore_errors

* Hasten legacy constructor and use empty uniformly

There are pros and cons of using empty or None, only one should be used (especially since now we control unpickling and binding) but let's decide that later

* Fix ignore_errors

* Simplify None barrier and avoid kwargs mutations

* Break free from inspect, make compat for py2, tweak stuff

* Rename the class to prevent unpickling on older versions

* Rephrase signature parsing errors

* Fix : allow defaulted and required kw-only in any order

and comments

* Simplify some code now that Parameter.empty is None

* Improve pyanalysis

extrapos and extrakw are now part of the list (actually dict keys) parameters
while that code would not yield exceptions, it added the same names twice which is a waste of time

* Fix and improve lint parameters check

p[0] gave the first letter of each parameter name, which invalidated the whole test
also, as with previous, extrakw and extrapos are part of the normal list of parameters

And as a bonus, separate the check for renpy and for python internals, making the report more understandable

* Mark ATL transform as needing reform

the only remaining use of extrapos and extrakw after which the properties can be removed from the Signature class

* Fix signature equality

dict equality didn't test ordering

* Hasten Signature equality

Theoretically signatures with different kw-only orderings should be considered equivalent,
but their repr is different, and no part of renpy optimizes over that
and our Signature is not hashable, so who cares, this is faster

* Patch dict ordering for py2

Otherwise a signature pickled in py3 and resurrected in py2 would have arbitrary ordering

* Todo for the future

* Remove unnecessary method

* Only report the first pos-only parameter

showing all of them in a row was bulky on the report

* Print the invalid parameters
2023-12-06 22:24:55 -05:00
Gouvernathor be3c6a0927 Fix interpolation of move transitions wrt the position type 2023-12-06 14:44:27 +01:00
Tom Rothamel d2d991a652 Document deferred translation loading. 2023-12-06 01:48:46 -05:00
Tom Rothamel 15d3719d9b Add the ability to defer the loading of translation scripts.
This speeds up the start of games with large numbers of
translations, by deferring the loading of a game's
translation scripts until the language is selected.

The downside is that these scripts are loaded out of order, but
that seems like a small price to pay for the speed boost that
can be provided.
2023-12-06 01:21:35 -05:00
Tom Rothamel 099b90feb5 Change sample code to work. 2023-12-06 01:06:33 -05:00
Tom Rothamel 064d4066c2 Allow presplash functions to be called at any time.
This simplifies scripts that may optionally call the
presplash.
2023-12-06 01:05:08 -05:00
Tom Rothamel f9a948293e Re-add support for split data in archived files.
These were used in older games to make unpacking a .rpa
harder. They're still not useful, but are necessary to play
older games in modern Ren'Py.
2023-12-05 02:31:19 -05:00
Tom Rothamel 6b1233923e Create RWopsIO directly from buffers. 2023-12-04 23:37:48 -05:00
Tom Rothamel 13cfd68491 Make the loader use RWopsIO. 2023-12-04 04:11:29 -05:00
shawna-p e0a826f06b Drag & Drop fixes and expansions (#4972)
* Fix the start x/y

* Keep the grab x/y accessible in the drop/dragged callbacks

* Can also fetch drags by name

* Documentation

* Clicked callback passes the Drag

* Can reset last_drop at the start

* Fix a typo for the drag docs

* Snap takes a warper

* More documentation

* Disallow dropping while drag is snapping

* Fixes for getting a drag by name

* Convert callable to a run call

* Add snapped callback

* Add the snapped property

* Document last_drop

* Update description

---------

Co-authored-by: Tom Rothamel <pytom@bishoujo.us>
2023-12-03 13:33:29 -05:00
Tom Rothamel 805662251e drag: Use weakrefs to refer to the DragGroup.
This prevents a reference cycle, and in doing so prevents the
garbage collector from having to run.
2023-12-03 01:08:46 -05:00
Tom Rothamel 72744a77dc drag: Add drags to a DragGroup at the top of the stack.
Fixes #5104.
2023-12-02 23:39:26 -05:00
Tom Rothamel cb67bd0e28 drag: Reset drag_move when a drag ends.
Fixes #5116.
2023-12-02 21:50:25 -05:00
Tom Rothamel 04d5381c26 Optimize is_pixel_opaque to consider Render transparency.
This is a performance improvement to focus_mask, especially in
the case where where the bounding of non-transparenty pixels is
small relative to the size of the imagebutton. In that case, the
GPU is only invoked when inside the bounding box.

This prevents expensive round trips to the GPU when we're sure
those operations will be unproductive.

Per #3612.
2023-12-02 16:28:48 -05:00
Tom Rothamel e4530d2791 Ensure that non-gl2 renderers can still be activated. 2023-12-02 16:25:48 -05:00
Tom Rothamel 13908eed30 Disable config.gl2.
This is inspired by #5152, where a large number of crashes were
caused by an issue that was fixed in GL2.

The only reason to keep GL1 in is that we promised another release
with it, but it doesn't need to be easy to use.
2023-12-02 10:58:41 -05:00
Tom Rothamel 5fb402c2d5 doc-gen: Improve scrolling.
Fixes #5153.
2023-12-01 22:08:20 -05:00
Tom Rothamel 4d67a6d93e Make "Image Attributes" list images on all layers
Fixes #5157.
2023-12-01 21:10:47 -05:00
Tom Rothamel fd62945a2a Only report label call errors in developer mode.
The rationale is that if there is nothing that can be done
about the errors, we're not helping the player by forcing
a crash.
2023-12-01 20:25:48 -05:00
Tom Rothamel 8b38433829 Merge pull request #5155 from AbdulGoodLooks/patch-2
Fix typo
2023-11-30 23:54:30 -05:00
Tom Rothamel 355fc4f0af Avoid ever deleting the pixel buffer.
This is an attempt to fix #5152, a crash in glTexImage2D.
2023-11-30 22:48:36 -05:00
Abdul cf0f979c62 Fix typo 2023-11-30 22:33:52 +00:00
Ren'Py Bot fade20a4f1 Merge branch 'fix' 2023-11-30 04:30:08 -05:00
Tom Rothamel f88267da29 py2: Add support for py2 to the position class. 2023-11-29 21:43:30 -05:00
Mal Graty 261ac30727 Merge pull request #5151 from the66F95/_enter_menu()
typo in _enter_menu()
2023-11-29 21:19:42 +00:00
the66F95 e33999e373 typo in _enter_menu()
might fix issue #5131, idk.
2023-11-29 20:54:23 +00:00
Gouvernathor b3ab78b557 Lint check_conflicting_properties 2023-11-29 21:27:26 +01:00
Ren'Py Bot 34702cec5f Merge branch 'fix' 2023-11-29 02:11:13 -05:00
Tom Rothamel 2649abec94 Improved search for the SDL dll.
This finds it on macOS, as well as the other platforms.
2023-11-29 02:10:23 -05:00
Tom Rothamel af1310f04d Improved search for the SDL dll.
This finds it on macOS, as well as the other platforms.
2023-11-29 02:04:51 -05:00
Tom Rothamel c634b5d6e4 Rename --builtins-parameters to reserved parameters. 2023-11-28 21:55:30 -05:00
Gouvernathor a36709f1c6 Better manage lint toggles V2 (#5092) 2023-11-28 21:45:09 -05:00
Gouvernathor 16e50a978e Add a general coordinate type and allow mixed-type ATL interpolation (#5123)
Add a new position type, representing the sum of an absolute position (a current int or absolute) and a relative position (a current float).

See #5013 for the rationale. Closes #5103.
2023-11-28 21:43:40 -05:00
Tom Rothamel 818c7b5daa Merge pull request #5143 from renpy/color
Allow any iterable to build a color, not just a tuple
2023-11-27 21:58:04 -05:00
Ren'Py Bot 64172bd4f2 Merge branch 'fix' 2023-11-27 04:30:08 -05:00
Tom Rothamel 524508470c doc: Fix libjpeg_turbo license.
Fixes #5147.
2023-11-27 00:48:14 -05:00
Tom Rothamel 479e9b1d4a doc: Fix bad indentation. 2023-11-26 19:30:46 -05:00
Tom Rothamel 5c52c076c4 Enable anistropy on gles.
Per #5146.
2023-11-26 18:15:46 -05:00
Tom Rothamel 02fa5ad2bf Merge pull request #5144 from mal/restore-c-conversion
Restore intended behaviour for c in conversion
2023-11-26 16:15:02 -05:00
Ren'Py Bot 53b85f2084 Merge branch 'fix' 2023-11-26 04:30:08 -05:00
Tom Rothamel 00cf974dfa Merge pull request #4799 from renpy/police-atl-params
Forbid pos-only and required kw-only parameters in ATL
2023-11-25 22:56:31 -05:00
Tom Rothamel 719ca310c9 Move the scene lists into a single file.
This simplifies core.py, making pylance analysis go faster.
2023-11-25 22:20:55 -05:00
Gouvernathor bb9c544334 doc: Add links between the two tooltips locations
The new scpref role only exists in master
2023-11-26 04:15:30 +01:00
Tom Rothamel d6b60995cc Do not parse name==... as a keyword argument.
Thanks to reflexbound on discord for pointing this out.
2023-11-25 21:09:14 -05:00
Tom Rothamel eb746dd991 Do not parse name==... as a keyword argument.
Thanks to reflexbound on discord for pointing this out.
2023-11-25 21:08:01 -05:00
Mal Graty f2441a6185 Restore intended behaviour for c in conversion
The change to str.capitalize over str.upper was to cover the case of
digraphs such as "nj" (see pydoc ref). However the remainder of the
string should remain untouched per our docs, with full str.capitalize
parity being achieved by combining the l and c conversions.

Use of capitalize does swap one quirk with another: Previously "NJ", "Nj",
and "nj" would all become "NJ"; now they will all become "Nj". The
potential down casing of the constituent J of the upper case form ends
up being a better trade off than the up casing of the J from the two
latter forms, especially within the context of the c conversion.

ref: https://docs.python.org/3/library/stdtypes.html#str.capitalize
2023-11-24 12:01:19 +00:00
Tom Rothamel cd3b7e2ec8 Change futured_files to file_compiler flags, make defaultdict. 2023-11-24 00:46:40 -05:00
Tom Rothamel b2ff055420 Merge pull request #4716 from renpy/rpy-python
Repeal the annotations future and expand the `rpy python` statement
2023-11-24 00:39:33 -05:00
Tom Rothamel 678e06ff3e Merge branch 'master' into rpy-python 2023-11-24 00:38:26 -05:00
Tom Rothamel e4520b9569 Merge pull request #4561 from Ayowel/fix/ios_create_project
Ensure ios_create uses the target project's information
2023-11-24 00:27:12 -05:00
Tom Rothamel 4c84e878e7 Merge pull request #4495 from jsfehler/docs-stylepreference
docs: Add note for StylePreference about update event getting called
2023-11-24 00:21:55 -05:00
Tom Rothamel 8396e98a43 Make the c conversion use str.capitalize.
Per #3534, closes #3534.
2023-11-24 00:12:47 -05:00
Tom Rothamel c692b098cb Use only the hover image for a hotspot's focus mask.
Fixes #5142, taking h3llra1ser's solution.
2023-11-23 21:18:16 -05:00
Tom Rothamel fe0b544df0 Use the full desktop layout when selecting window position.
This might  be a bit paranoid, but I want to be 100% sure that
the window is on a screen.
2023-11-23 00:45:45 -05:00
Gouvernathor 04a3ef76f2 Raise errors when passing an invalid color parameter 2023-11-23 00:13:11 +01:00
Gouvernathor 8130b65469 Allow Color to take any iterable
also quickens it
2023-11-23 00:09:24 +01:00
Tom Rothamel 389f6cb76c Reclaim some of the empty space in the launcher.
Some of the screens are getting packed, especially when
translations may increase the space. So remove some of the
padding around things.
2023-11-22 17:46:06 -05:00
Tom Rothamel f30cb45ca6 Make restoring the window position a preference. 2023-11-22 17:40:30 -05:00
Tom Rothamel 93e7464a54 doc: Changelog accessibility work. 2023-11-22 01:10:14 -05:00
Tom Rothamel 07b614baa7 Add extra_alt.
This is text that's spoken when the ? key is pressed and
self-voicing is enabled.
2023-11-22 01:07:06 -05:00
Tom Rothamel 00c03b137f alt: Add the group_alt property.
This specifies a group prefix that is spoken the first time a
displayable with the first group prefix is spoke, but won't
be spoken again until a displayable with a different group
prefix is spoken.
2023-11-22 00:37:51 -05:00
Tom Rothamel a04d0a7bae More revisions to wording. 2023-11-21 21:50:05 -05:00
Gouvernathor f79df3b605 Guarantee that invoke_in_main_thread calls are sequential (#5130)
doc: Guarantee that invoke_in_main_thread is sequential
2023-11-20 23:11:34 -05:00
the66F95 daf72a1a99 Fix incorrect variable use involving temporary attributes. (#5136) 2023-11-20 22:16:24 -05:00
Tom Rothamel 9e86457e1a Add the renpy.{get,set}_screen_variable methods.
Providing ways for actions to access screen variables, when
required.

Per #5135.
2023-11-20 20:30:51 -05:00
Tom Rothamel 4b209bc6b4 doc: Fix changelog. 2023-11-20 01:51:49 -05:00
Tom Rothamel 8f023aa580 Merge branch 'fix' 2023-11-20 01:50:08 -05:00
Tom Rothamel 0c7dc2405a tts: The selected_alt property shouldn't say "selected".
Previously, if selected_alt was set for a button, Ren'Py would
say "<whatever> selected." Now it will only say that if selected_alt
is the same as hover_alt.
2023-11-20 01:48:19 -05:00
Tom Rothamel 99e00e43eb doc: The alt attribute of Buttons and BarValues.
Per #5054.
2023-11-20 00:40:12 -05:00
Kassy 71878bafb7 New detection for iPad
Since iOS 13, Safari uses the desktop mode by default on iPad which removes
the "iPad" string from the User-Agent header. The new detection looks for
an Apple product with touch enabled (there is no MacOS product with touch
screens AFAIK).
2023-11-20 00:24:18 -05:00
Tom Rothamel 85c8a114c2 Ensure the current screen is set properly during transform events.
Fixes an issue with:

     screen some_on:
          default A = None
          on "show" action SomeAction("A")
          text "[A]" xalign .0 yalign .2

     init python:
          class SomeAction(Action):
               serial = 0
               def __init__(self, name):
                    self.name = name
               def __call__(self):
                    renpy.notify(f"{renpy.current_screen()=}")
                    renpy.run(SetScreenVariable(self.name, self.serial))
                    SomeAction.serial += 1
2023-11-20 00:22:00 -05:00
Tom Rothamel 9dec43ce2d webaudio: Add some defensive coding against file being None.
Tries to fix #5134.
2023-11-20 00:21:37 -05:00
Tom Rothamel 03b12abe76 Fix an issue detecting maximization on Linux.
Or more specifically, non-maximization - the test would occur
only when the window was resized, and on Linux that can happen
before the maximize flag is removed.
2023-11-20 00:21:24 -05:00
Tom Rothamel 6f8ca11f5f Add a few ways to disable window positioning. 2023-11-20 00:20:37 -05:00
Tom Rothamel 534af32307 Store the window's position in preferences.
And restore it when the game restarts, assuming the display
configuration remains the same.

This also trusts the stored window size when the display
configuration remains the same - on the grounds that if it worked
in the past, it'll work in the future.
2023-11-19 23:53:14 -05:00
Tom Rothamel dcc18305ea Fix an issue detecting maximization on Linux.
Or more specifically, non-maximization - the test would occur
only when the window was resized, and on Linux that can happen
before the maximize flag is removed.
2023-11-19 22:40:16 -05:00
Tom Rothamel f68c6954ca webaudio: Add some defensive coding against file being None.
Tries to fix #5134.
2023-11-19 20:51:55 -05:00
Tom Rothamel 57effd15c5 text: Introduce split ignore.
Text that's marked with SPLIT_IGNORE (the unicode
CL and CP classes) is text that isn't considered for the
purpose of the linebreaking algorithm. These characters tend to
be CJK punctuation and close parenthesis.

SPLIT_IGNORE text doesn't have it's size taken into account when at
the end of a line. This keeps the layout the same visual width, rather
than breaking a character and it's punctuation on the next line.

Fixes #3356, except for ー , though renpy.language_tailor could be
used to change the break class of that character if desired.
2023-11-19 00:56:12 -05:00
Gouvernathor 8e270b8d29 doc: Clarify renpy.pause's parameters 2023-11-18 23:46:00 +01:00
Tom Rothamel 332dfb510b Optimize transform when alpha == 0.
When alpha is 0, the child isn't visible. So don't bother to
draw it.
2023-11-18 00:26:02 -05:00
Tom Rothamel f573db70c2 Ensure the current screen is set properly during transform events.
Fixes an issue with:

     screen some_on:
          default A = None
          on "show" action SomeAction("A")
          text "[A]" xalign .0 yalign .2

     init python:
          class SomeAction(Action):
               serial = 0
               def __init__(self, name):
                    self.name = name
               def __call__(self):
                    renpy.notify(f"{renpy.current_screen()=}")
                    renpy.run(SetScreenVariable(self.name, self.serial))
                    SomeAction.serial += 1
2023-11-17 21:21:50 -05:00
Tom Rothamel fd437c423c Clean up log.txt a bit. 2023-11-17 00:48:35 -05:00
Tom Rothamel 270b4bbb07 Include the game name, version, and build time in logs.
Originally from #3911.
2023-11-17 00:42:36 -05:00
Tom Rothamel 3836adf7b0 build: Combine build.time and build.info into cache/build_info.json
As a way of addressing #3911. The approach there is better, so
going with it.
2023-11-17 00:26:08 -05:00
Tom Rothamel da6ce04df2 Politely berate people for still using Atom.
Per #5077.
2023-11-16 22:44:14 -05:00
Tom Rothamel c916fe311f rt: Remove guisupport when making a test game. 2023-11-16 22:28:11 -05:00
Tom Rothamel a3986b6d23 Merge pull request #5078 from renpy/cancel-atom
Stop proposing Atom as integrated editor
2023-11-16 21:32:40 -05:00
Tom Rothamel b81d985fb2 Rename function. 2023-11-16 01:35:58 -05:00
Tom Rothamel e5fcf87c8f Add build.time. 2023-11-16 01:35:10 -05:00
Tom Rothamel ea3bb8c741 Add build.info.
This lets the creator store information about the build that's
read back.
2023-11-16 01:35:10 -05:00
Tom Rothamel 4015cd7c53 Merge pull request #5121 from tessus/fix/macox-launch-error
fix(arguments): ignore -psn_0 argument on macOS
2023-11-15 22:55:36 -05:00
Tom Rothamel a50b13afa5 Merge pull request #5115 from Kassy2048/fix_5089
Differentiate between adv and nvl menus for window auto hide
2023-11-15 00:05:55 -05:00
Tom Rothamel e7db3adbab doc: Movie image/group interaction.
Fixes #5088.
2023-11-14 23:56:14 -05:00
Tom Rothamel 1fa2bb5240 controller: Make B access the game menu.
Fixes #5019
2023-11-14 21:56:41 -05:00
Helmut K. C. Tessarek e885029180 fix(arguments): ignore -psn_0 argument on macOS
On macOS a file with the quarantine flag will cause an error on game start:

```
error: unrecognized arguments: -psn_0_some_number_here
```

Unfortunately the end user has no control over how the renpy engine is packaged
and/or embedded. Thus let's ignore this argument.
2023-11-14 13:38:16 +01:00
Tom Rothamel 3811005556 Actually cache the keymap entries we compile. 2023-11-14 00:51:12 -05:00
Tom Rothamel 1720565972 Make sure #5114 is compatable with older saves. 2023-11-13 21:33:03 -05:00
Tom Rothamel 80bed537a9 Merge pull request #5114 from shawna-p/nearrect-updates
NearRect Updates
2023-11-13 21:29:57 -05:00
Ren'Py Bot 662bac0343 Merge branch 'fix' 2023-11-13 21:28:54 -05:00
Tom Rothamel eca0051a70 Merge pull request #5119 from mal/py2-sync
py2: Alternate timestamp calculation in sync
2023-11-13 21:04:23 -05:00
Mal Graty 03774c911f py2: Alternate timestamp calculation in sync 2023-11-13 23:55:53 +00:00
Ren'Py Bot 22b93bc017 Merge branch 'fix' 2023-11-13 04:30:08 -05:00
Tom Rothamel 9ff386d1d9 Precompile the keymap, makesure gamepad binding exist.
This should speed things up ever so slightly in rare cases, and
fixes #5101.
2023-11-13 01:20:37 -05:00
Tom Rothamel f3e85d6a24 Add missing colon. 2023-11-13 01:08:43 -05:00
Tom Rothamel ba25120c6c doc: That config.say_layer should be in config.context_clear_layers.
Fixes #5071.
2023-11-13 00:19:22 -05:00
Tom Rothamel 2edfdc4ca9 Make it possible to customize the sync overlay through styles.
Fixes #5112.
2023-11-13 00:14:58 -05:00
Tom Rothamel f33834a058 Range-check inertial-warper. 2023-11-12 21:02:40 -05:00
Kassy ca1ee922d5 Differentiate between adv and nvl menus for window auto hide 2023-11-12 21:14:11 +01:00
shawna-p 5294d389c5 Rename property, add to screen language 2023-11-12 13:07:48 -05:00
shawna-p fdfcde9f97 Add more preferred sides 2023-11-12 13:02:05 -05:00
Tom Rothamel 521db6b3ad Add config.save_persistent.
A way to prevent persistent from being saved.
2023-11-12 02:24:38 -05:00
Tom Rothamel 349ac2d40a Add config.save.
Which lets us disable the say system.
2023-11-12 02:21:31 -05:00
Tom Rothamel d8df2a44ee presplash: Allow 1-bit transparency. 2023-11-11 21:24:12 -05:00
Tom Rothamel 2d2e0e0b15 Merge pull request #5109 from mal/persistent-safety-encapsulation
Centralise safety features for persistent data
2023-11-10 18:14:54 -05:00
Mal Graty 51a02f5a7d Centralise safety features for persistent data
Also guard their installation with the early_developer flag to avoid
impacting production games.
2023-11-10 13:24:08 +00:00
Asriel Senna b1dda7b7a0 Doc typo 2023-11-10 10:07:47 +01:00
Asriel Senna 7a9e363fea Save some time on persistent_dumps 2023-11-10 10:06:12 +01:00
Tom Rothamel e1ee5e2a08 Merge pull request #4606 from renpy/list-operators
Bring list operator dunders in accordance with the datamodel
2023-11-10 01:41:45 -05:00
Tom Rothamel c260995ccd Merge pull request #4545 from renpy/persistent-safety
Add a type check on data saved in persistent
2023-11-10 01:40:21 -05:00
Tom Rothamel 252daadee9 doc: Fix gui documentation typo.
Fixes #5106.
2023-11-09 23:33:44 -05:00
Tom Rothamel c9c9a14957 Add renpy.invoke_in_main_thread.
This is a way for a Python thread to run things in the main
Ren'Py thread.

Per #5015
2023-11-09 23:31:03 -05:00
Tom Rothamel e7eb021eab dl: Minor cleanups.
* Do not distribute the alternate base directory.
* Improvements to the downloader screen.
2023-11-08 02:29:04 -05:00
Tom Rothamel 96d9d38890 dl: Add functions and screen for game downloading.
The culmination of the altbase and updater work - the ability to
download and install a game update from the server, and install
it onto a device.
2023-11-08 02:01:56 -05:00
Tom Rothamel 318eb7a7bd update: Make cancelling optional.
Since it doesn't make sense to cancel an altbase update.
2023-11-07 01:18:08 -05:00
Tom Rothamel 94f8dc9c13 updater: Several changes to support altbase.
* Allow an utter restart at the end of an update.
* Allow the update to restart without prompting.
* Allow the screen to be customized.
2023-11-06 01:27:31 -05:00
Tom Rothamel 45990477e5 rpu: Fix issues with multiple variants.
The problem was that segements weren't being handled properly,
which meant that the created update was corrupt.

Also, remove test harness that hasn't been used in a while.
2023-11-06 01:24:11 -05:00
Tom Rothamel 799b05de51 altbase: Allow the altbase to change during renpy.utter_restart. 2023-11-05 19:13:59 -05:00
Tom Rothamel c981c054cb doc: Fix typo. 2023-11-05 18:07:32 -05:00
Tom Rothamel 2458691fe1 doc: Fix errors. 2023-11-05 17:03:01 -05:00
Tom Rothamel 5a982ee902 altbase: Add the game-only update for mobile.
This is the data that needs to be installed by the updater into
the alternate base directory, and now it's being generated by the
build process.
2023-11-04 22:30:16 -04:00
Tom Rothamel b267552a04 rpu: Create a single set of RPUs.
With all the data shared between them. Mostly for disk space
reasons - it doesn't make a ton of sense to have a separate
set for each variant.
2023-11-04 21:37:20 -04:00
Ren'Py Bot 179c513abb Merge branch 'fix' 2023-11-04 04:30:01 -04:00
Tom Rothamel 7e268785d7 launcher: Make the rpu format a preference.
It should be the default where it's available, but we'll have a
preference for a release or two, so that we can test the updater.
2023-11-03 23:58:08 -04:00
Tom Rothamel 925769f0cd update: Document the new updater. 2023-11-03 23:34:24 -04:00
Tom Rothamel 631ac0916e update: Transfer progress to the public Updater object. 2023-11-03 23:33:55 -04:00
Tom Rothamel acf690fdec Document gui.system_font.
Fixes #5097.
2023-11-03 22:06:45 -04:00
Tom Rothamel 827fa05a7a Document gui.system_font.
Fixes #5097.
2023-11-03 22:05:57 -04:00
Mal Graty b850ed8c92 Merge pull request #5096 from brainos233/fix-lint-unclosed-tags
Fix incorrect parameter for unclosed text tags
2023-11-03 06:21:51 +00:00
Tom Rothamel d690b71c6f Add some boilerplate to projects.txt. 2023-11-03 01:15:56 -04:00
Tom Rothamel 033149c173 Merge pull request #3695 from renpy/open-projects-txt
Open/create projects.txt from the launcher preferences
2023-11-03 01:09:41 -04:00
Brainos 913a3c9239 Fix incorrect parameter for unclosed text tags 2023-11-03 12:31:40 +08:00
Tom Rothamel 629f3ffd3c Allow comments in projects.txt. 2023-11-02 23:43:37 -04:00
Tom Rothamel f99fed20e6 Merge pull request #5086 from qTich/fix/fetch-timeout
fix: `fetch_emscripten` timeout loop
2023-11-02 22:52:04 -04:00
Tom Rothamel 0dd65f3258 Merge pull request #5093 from renpy/lint-unclosed-tags
Allow linting unclosed tags
2023-11-02 22:51:49 -04:00
Ren'Py Bot 90ea141628 Merge branch 'fix' 2023-11-02 04:30:07 -04:00
Tom Rothamel c6659c7e54 Use the correct name for the old update format.
Fixes #5095.
2023-11-02 00:35:03 -04:00
Tom Rothamel 6a839b5829 Produce a better error when an inputvalue is None. 2023-11-01 23:02:48 -04:00
Gouvernathor d4914072ae Better writing 2023-11-01 13:56:29 +01:00
Gouvernathor 8bafe2a4a7 Readd checking for unclosed text tags, toggled by lint 2023-11-01 13:54:47 +01:00
Ren'Py Bot 2968a188a8 Merge branch 'fix' 2023-11-01 04:30:07 -04:00
Tom Rothamel a40cc67779 doc: Fix build. 2023-11-01 02:07:00 -04:00
Tom Rothamel ef44609fdd Undocument the long-obsolete config.missing_background. 2023-10-31 23:36:43 -04:00
Tichq 9d6249ca70 fix: fetch_emscripten timeout loop 2023-10-31 14:43:11 +03:00
Ren'Py Bot 305ab54c5d Merge branch 'fix' 2023-10-31 04:30:07 -04:00
Tom Rothamel 8f5f61bd47 Conform webaudio results with desktop audio.
For the get_pos and get_duration functions.

Per #5065.
2023-10-31 00:46:10 -04:00
Asriel Senna adc3af84ad Document that renpy.dynamic supports variables in stores 2023-10-31 01:14:27 +01:00
Asriel Senna 134fe7ffec Remove debug print 2023-10-31 00:57:52 +01:00
Tom Rothamel 8b79a3663c doc: Changelog the last few merges. 2023-10-30 17:56:30 -04:00
Elckarow fdf38adc83 sl2: copy_properties method for custom statements (#4839)
This takes the properties from another screen language statement.
2023-10-30 17:51:42 -04:00
Denys 921feb4ada Update Ukrainian translation. (#4996) 2023-10-30 17:50:14 -04:00
Gouvernathor f367e996aa Rework Inputvalues (#5080)
Add LocalVariableValue, factorize a bunch of code, use the same doc-generating model as with bar values.
2023-10-30 17:48:53 -04:00
Tom Rothamel c0c182d200 Merge pull request #5081 from renpy/language-basics
Rework the language basics page
2023-10-30 17:47:50 -04:00
Tom Rothamel a5fec5a7a5 rpy: Add a path if range queries are failing entirely. 2023-10-30 02:26:35 -04:00
Gouvernathor 0f668f2810 More tweaks 2023-10-30 00:57:00 +01:00
Asriel Senna 5cba186326 Chitespace, docstrings and unused ref anchors 2023-10-30 00:44:57 +01:00
Asriel Senna 74631fe701 Rework the language basics page 2023-10-30 00:44:26 +01:00
Tom Rothamel 13eeb9d0c0 update: Move prompt confirm to later in the update process.
Specifically, until after the update method has been selected, and
for rpu, after the files have been scanned and the size of the
download is known.

This will (shortly) let us give the user information about
download and disk size.
2023-10-29 14:55:39 -04:00
Tom Rothamel 1066157585 update: Call the old update format "zsync". 2023-10-29 12:25:22 -04:00
Tom Rothamel 7742627373 update: Add support for updating an empty directory.
That is, taking an empty alternate base directory and turning it
into a working game.
2023-10-28 22:34:27 -04:00
Tom Rothamel 95102a6b71 rpu: Add support for determining the download and disk size.
And pausing to prompt the user once that's known.
2023-10-28 22:30:14 -04:00
Gouvernathor d7080311f5 Mark editors as deprecated to stop showing them in the list 2023-10-29 00:28:13 +02:00
Gouvernathor 3aa02b7db6 Mark Atom as obsolete and hide it when not installed 2023-10-29 00:11:24 +02:00
Tom Rothamel acac446c8b py2: Fix. 2023-10-28 13:35:41 -04:00
Tom Rothamel 9fc8e43f17 Merge branch 'fix' 2023-10-28 01:10:03 -04:00
Tom Rothamel 6d6003f4e0 sl2: Fix issue with transcludes and custom statements.
Fixes #5074.
2023-10-28 00:53:25 -04:00
Tom Rothamel 7ff1b3b5c5 Merge pull request #5057 from renpy/lint-toggles
Add lint toggles
2023-10-27 00:50:42 -04:00
Tom Rothamel 4fd318880e doc: LocalVariableValue 2023-10-27 00:48:56 -04:00
Gouvernathor 6cd57b192a Factorize and improve some Barvalue subclasses (#5064)
* factorize the most common BarValue subclasses, using the same recipe (but in a much simpler way) as in Action mixins #4473, which considerably shortens the code and avoids code duplication
* fix the kind parameter of FieldValue and VariableValue - it was saved but never passed to _get_field and _set_field
* fix some subclasses doc entries that weren't appropriately worded, some which set variables mentioned "fields"
* implement LocalVariableValue, supersede and fix add the LocalVariableValue action #5055, and allow it to have adequately-worded exceptions


Co-authored-by: Mal Graty <mal.graty@googlemail.com>
2023-10-27 00:47:21 -04:00
Tom Rothamel 8c6aab0bc6 Revert "add the LocalVariableValue action (#5055)"
This reverts commit 2451b3f0da.
2023-10-27 00:46:14 -04:00
Elckarow 2451b3f0da add the LocalVariableValue action (#5055) 2023-10-27 00:42:27 -04:00
Gouvernathor daea1375c3 Various tweaks and updates (#5069)
* Simplify currying in exports

* Unused import

* Docstrings, whitespace and exceptions

The docstrings were obsolete (not only buttons and hotspots take actions now, and they are now the core of screen language so nobody ignores what they are)
and the information that they can be subclassed is much more important in my view
Also these exceptions are better

* utflf
2023-10-27 00:41:32 -04:00
Tom Rothamel ada2b860f6 Merge pull request #5070 from qTich/fix/web-input-prompt
fix: translate `prompt` when used `web_input`
2023-10-27 00:41:09 -04:00
Tom Rothamel 6758447cad Merge pull request #5073 from renpy/pass-layeredimage
Re-add the pass keyword to the layeredimage language
2023-10-27 00:40:53 -04:00
Tom Rothamel 035d6e7b30 doc: Fetch. 2023-10-27 00:06:32 -04:00
Tom Rothamel 0675f6ce44 fetch: Fix fetching on the web platform. 2023-10-26 23:25:56 -04:00
Gouvernathor c7317c076b Re-add the pass keyword to the layeredimage language 2023-10-27 03:50:17 +02:00
Tom Rothamel 6bd420b421 fetch: Add the renpy.fetch function.
This is a single function that can fetch data from a web server,
optionally taking binary data or json as input, and returning its
result as bytes, text, or json-decoded data.
2023-10-26 00:59:19 -04:00
Tichq c1f2db72b5 fix: translate prompt when used web_input 2023-10-26 03:14:12 +03:00
Tom Rothamel f87917e399 Changes to android APK loading.
* Remove support for Expansion APKs. These have been obsolete for
  some time.

* Only use the APK for game files if an alternate base directory is
  not in use.
2023-10-25 19:52:33 -04:00
Gouvernathor 6bc50d6454 Make the doc generation of the mixined actions conditional 2023-10-25 19:44:55 +02:00
Tom Rothamel a2bfa02de1 doc: Fix caps on one line. 2023-10-25 09:38:10 -04:00
Gouvernathor a3ad875263 doc: fax the fox 2023-10-25 14:01:20 +02:00
Tom Rothamel 80d3075bf0 id: Force the director into lines mode after a reload.
Fixes #5028.
2023-10-25 01:08:44 -04:00
Tom Rothamel 0b213cc7db doc: Edits to the data accessor changelog. 2023-10-24 23:34:39 -04:00
Tom Rothamel 23fc2f66c9 Merge pull request #5067 from renpy/changelog-mixins
Changelog mixins
2023-10-24 20:40:20 -04:00
Ren'Py Bot 19498d5bce Merge branch 'fix' 2023-10-24 04:30:07 -04:00
Tom Rothamel 7f37382012 Avoid distributing web-icon.png in other formats. 2023-10-23 22:58:51 -04:00
Kassy 7fcad404b6 Web icon fix (#5018)
* Fix web icon name

The code looks for "web-icon.png" but the comment and function names
referred to "pwa_icon.png".

* Document the web icon customization
2023-10-23 22:58:20 -04:00
Tom Rothamel d8ad7d1672 Create checkpoints when hard skipping.
Fixes #5025.
2023-10-23 22:04:38 -04:00
Tom Rothamel e4b550b8c3 Create checkpoints when hard skipping.
Fixes #5025.
2023-10-23 22:04:01 -04:00
Gouvernathor 67bdb9ab03 Changelog mixins 2023-10-23 10:44:58 +02:00
Gouvernathor 6f44533bbe Mixin-Based Data Actions
This change replaces the implementation of the data actions with mixins, one for accessing the data and one for changing it. Doing so simplifies and regularizes the implementation, and makes it possible to add new types of data actions, like the Cycle and Increment actions added here.
2023-10-22 22:47:11 -04:00
Tom Rothamel d084b624b9 Merge branch 'fix' 2023-10-22 22:34:16 -04:00
Tom Rothamel 06d3a90bd7 Include checkpointing_suspended in the rollback objects.
It's possible (and had been for some time) to rollback into a spot
where checkpointing was suspended - but checkpointing would be re-enabled,
meaning that checkpoint_suspended would be forgotten.
2023-10-22 22:27:18 -04:00
Tom Rothamel 5e64403699 Fix issues with greedy rollback by default.
Fixes #5040, which was caused by the interaction of greedy rollbacl
and suspended rollback.

Fixes #5035, which was just never actually looking at the _greedy_rollback
variable.
2023-10-22 22:12:55 -04:00
Tom Rothamel d8954aa732 doc: Change links to Chinese documentation. 2023-10-21 01:52:15 -04:00
Tom Rothamel 669b07afef Add support for an alternate base directory.
This is a directory that is checked for update/version.json. If that
file exists and has versions that match the current engine, it is
used as the base directory instead of what the engine provides.

The main reason for this is to support Android games larger than
2GB, by letting those games download content.
2023-10-21 01:45:26 -04:00
Tom Rothamel e2bc3fb55c rpu: Write a version.json file into the update directory.
This file only exists if the update has finished successfully,
and contains the version information from updates.json.

It's intended to be used ot ensure that an alternate base
directory works with Ren'Py.
2023-10-20 23:24:07 -04:00
Tom Rothamel 088b1572ef rpy: Search for Ren'Py's update.pem in the base directory. 2023-10-20 00:31:30 -04:00
Gouvernathor a30f562d38 Resolve type issues 2023-10-19 21:23:42 +02:00
Ren'Py Bot 4768a012db Merge branch 'fix' 2023-10-19 04:30:07 -04:00
Tom Rothamel c7d8bd1dc9 rpu: Allow an update to be signed by multiple keys.
This provides a way to migrate old versions to a new key.
2023-10-19 01:27:07 -04:00
Tom Rothamel be226363e8 rpu: Include update information in all mutable formats. 2023-10-19 01:11:07 -04:00
Tom Rothamel 267a807146 rpu: Verify ECDSA signatures. 2023-10-19 00:53:17 -04:00
Tom Rothamel 34468cf57d Ignore update.pem. 2023-10-19 00:13:25 -04:00
Tom Rothamel 172f9f926e rpu: Create the updates.ecdsa file. 2023-10-19 00:06:14 -04:00
Tom Rothamel f6afced012 rpu: Include a verifying key with the built project. 2023-10-18 23:33:04 -04:00
Tom Rothamel 00cd7e4ada rpu: Generate update.pem when updates are enabled. 2023-10-18 23:13:52 -04:00
Tom Rothamel 9f4ab7d761 Always oversample SVGs.
Work to support placeholders lead to problems with SVG scaling
when the window scaled. This is resolved by scaling up the
placeholder, if required.

Fixes #5063.
2023-10-18 21:49:46 -04:00
Mal Graty 3102176697 mouse: Update rel values of combined events
Underlying mouse movement events may be merged or dropped by Ren'Py for
performance reasons. As a result, the relative movement would only be
that of the most recent mouse event, rather than an accurate measure of
movement since the last (published) event.

Instead of dropping mouse motion events outright, this change instead
opts to consume them in a tight loop accumulating their relative values.
Combined with accumulation during merges, this allows published events
to give an accurate picture of the relative movement.
2023-10-18 16:42:06 +01:00
Tom Rothamel 9ac420c259 id: Add lines explaining how to customize the director.
Fixes #5029.
2023-10-17 22:16:38 -04:00
Gouvernathor 8d009d2429 Merge branch 'master' into police-atl-params 2023-10-18 00:43:31 +02:00
Tom Rothamel 6c548d30ad Tweak the wording of the namespace error. 2023-10-17 00:02:26 -04:00
Tom Rothamel 615c6a728d Merge pull request #5059 from renpy/store.store
Prevent creation of a "store" substore
2023-10-17 00:01:12 -04:00
Gouvernathor bb8c508837 Prevent creation of a "store" substore 2023-10-16 18:45:43 +02:00
Tom Rothamel 30833f1f5f Allow renpy.utter_restart(True) to work on mobile. 2023-10-16 00:48:16 -04:00
Tom Rothamel 57bf18c705 rpu: Support for adding DLC. 2023-10-16 00:48:01 -04:00
Tom Rothamel e30855cb93 rpu: In the launcher, allow the website to pick rpu/zsync.
This makes it possible to deploy rpu, but have a fallback if
problems are reported.
2023-10-15 21:01:36 -04:00
Tom Rothamel ed0f536853 Merge branch 'fix' 2023-10-15 20:54:08 -04:00
Tom Rothamel e4f601310b Fix an issue with projects.txt.
Specifically, /path/to/mygame/ would produce a game with an
empty name, rather than mygame.
2023-10-15 20:54:00 -04:00
Tom Rothamel b92107dd02 rpu: Fix multi-part downloading. 2023-10-15 20:38:02 -04:00
Tom Rothamel 19c5e806b1 rpu: Add progress and logging to the updater. 2023-10-15 19:39:33 -04:00
Tom Rothamel f6d9762c5c rpu: Integrate rpu with the existing updater. 2023-10-15 15:58:01 -04:00
Ren'Py Bot 8b679cca71 Merge branch 'fix' 2023-10-15 04:30:07 -04:00
Tom Rothamel 34fe132e55 rpu: Use an environment variable to enable RPU. 2023-10-14 23:40:12 -04:00
Gouvernathor 0036bc3fe9 Optional plural 2023-10-15 03:52:22 +02:00
Gouvernathor d321d1ff51 Implement character char and word counts
fixes #5001
2023-10-15 03:46:44 +02:00
Gouvernathor a98d15eed4 Toggle the builtins-in-parameters check
disabled by default
2023-10-15 03:22:40 +02:00
Gouvernathor 57dba01448 Merge branch 'lint-parameter-names' into lint-toggles 2023-10-15 03:19:14 +02:00
Gouvernathor 3532b589d5 Implement lint options and make orphan tl check optional 2023-10-15 03:15:31 +02:00
Gouvernathor 51cc42a901 Base GUI entries for lint toggles 2023-10-15 02:33:51 +02:00
Gouvernathor e09b87dffe typos 2023-10-15 02:27:13 +02:00
Gouvernathor c5752398b9 doc: extend new im wording to the displayables page 2023-10-15 02:23:44 +02:00
Ren'Py Bot d5fe9c9a11 Merge branch 'fix' 2023-10-14 04:30:07 -04:00
Tom Rothamel b8ca91a62a bubble: Make available outside the overlay.
Fixes #5052.
2023-10-13 23:47:56 -04:00
Tom Rothamel 5aec41f9e1 bubble: Make available outside the overlay.
Fixes #5052.
2023-10-13 23:47:03 -04:00
Tom Rothamel b1d1db1075 doc: Finish documenting shaper. 2023-10-13 08:35:35 -04:00
Tom Rothamel 2708eda3d3 py2: Make generating rpus work with py2. 2023-10-13 08:35:35 -04:00
Ren'Py Bot ad83e0354e Merge branch 'fix' 2023-10-12 04:30:07 -04:00
Tom Rothamel 1c823a4e7c rpu: Support compressed segments. 2023-10-12 00:23:52 -04:00
Tom Rothamel 11186c86ae rpu: Allow rpus to be created in parallel. 2023-10-11 22:44:08 -04:00
Tom Rothamel 6014bfa007 Use the correct variable to configure the package formats. 2023-10-11 22:44:08 -04:00
Gouvernathor ef0d2db11d Fix translation 2023-10-11 18:23:50 +02:00
Ren'Py Bot 7dd1db50d2 Merge branch 'fix' 2023-10-11 04:30:07 -04:00
Tom Rothamel c8413912d2 Add a "Skip splashscreen" preference to the launcher.
This sets RENPY_SKIP_SPLASHSCREEN, which causes Ren'Py to
skip the splashscreen label.
2023-10-10 22:34:30 -04:00
Tom Rothamel 969b2ccecf SyntaxError: Invalid syntax. 2023-10-10 21:22:01 -04:00
Tom Rothamel 228c72f6c1 rpu: Create FileLists from the current.json file. 2023-10-10 20:40:44 -04:00
Tom Rothamel ad9af51510 rpu: Enable building rpus for the SDK. 2023-10-10 20:40:44 -04:00
Tom Rothamel 45faa71da8 Merge pull request #5045 from mal/layer-clip-docs
Clarify clipping behaviour as it relates to layers and Layer
2023-10-10 20:07:45 -04:00
Tom Rothamel e530c78cc0 Merge pull request #5050 from renpy/im-directives
Add warnings and deprecated sections for image manipulators
2023-10-10 20:07:27 -04:00
Gouvernathor c3a26654f7 Update the transform property 2023-10-11 00:52:20 +02:00
Gouvernathor 14710606ef doc: heavy-handed use of the deprecated directive 2023-10-11 00:41:13 +02:00
Gouvernathor 72cb9e3929 doc: Add warnings to the im page 2023-10-11 00:38:55 +02:00
Ren'Py Bot 9c3b082260 Merge branch 'fix' 2023-10-10 04:30:07 -04:00
Mal Graty 46cfe60086 doc: Signature for Layer displayable 2023-10-09 14:06:35 +01:00
Mal Graty 588d1e1137 doc: Warn of layer_clipping precedence in Layer 2023-10-09 14:04:14 +01:00
Mal Graty 15a12efd61 doc: Clarify behaviour there's no layer_clipping 2023-10-09 14:04:14 +01:00
Gouvernathor b0434ea1d9 doc: Update a link that was a teensy bit outdated 2023-10-09 14:58:47 +02:00
Tom Rothamel 96b44cdcb2 Add Show Filename and Line
A new option in the developer menu that shows the filename and line,
and lets you click to edit.
2023-10-08 21:58:44 -04:00
Tom Rothamel 1fde5f985a Add the EditFile action.
This opens the filename and line in a text editor,
if possible.
2023-10-08 21:54:43 -04:00
Tom Rothamel 34dcdc7f0e rpu: Include rpu update information in update.json. 2023-10-07 15:47:49 -04:00
Tom Rothamel 2238b460a7 rpu: Provide progress when making the update.
This was required because previously, only writing the files
made progress.
2023-10-07 10:37:47 -04:00
Tom Rothamel ff8ba2d10c rpu: Start integration with distribute.
This can now create the rpu files for a game.
2023-10-06 23:58:30 -04:00
Tom Rothamel 5e3495c333 rpu: Soft limit to 50MB.
While a big file will let the .rpy get bigger, this makes sure that
two files won't be downloaded when one will do.
2023-10-06 23:23:02 -04:00
Tom Rothamel 79945d9649 rpu: Prepare to generate updates.
* Add FileList.add_file and FileList.add_directory.
* Prepend the rpus with the name of the list that creates them.
* Delete obsolete rpus.
2023-10-06 22:57:23 -04:00
Tom Rothamel 254fa8c4ee Add missing encoding field to StdioRedirector.
Fixes a crash in compileall.
2023-10-06 22:56:32 -04:00
Tom Rothamel 14b596e15a Change the Sphinx search role.
Fixes #5037.
2023-10-05 21:59:56 -04:00
Tom Rothamel f33aef4711 Use premultiplied alpha for underline and strikethrough.
Fixes #5033.
2023-10-04 23:17:56 -04:00
Tom Rothamel 7d86e8509a rpu: Move to the renpy.update module. 2023-10-04 22:20:35 -04:00
Tom Rothamel dd26bbf859 rpu: Combine filetypes and util into a single common file. 2023-10-04 01:08:59 -04:00
Tom Rothamel cde1f301d2 rpu: Manage the executable bit.
Also, remove mtime from the json files.
2023-10-03 22:06:23 -04:00
Tom Rothamel 2d8e7d3a1a rpu: Create empty new files. 2023-10-02 23:24:08 -04:00
Tom Rothamel 1c2b3ed231 rpu: Delete files when not necessary, or at the end. 2023-10-02 23:14:43 -04:00
Tom Rothamel 021aa22a80 rpu: Add logging and deletion infrastructure. 2023-10-01 22:50:44 -04:00
Tom Rothamel e548ed13b2 rpu: Add support for reporting progress. 2023-10-01 01:21:03 -04:00
Tom Rothamel b1cf7eb64e Merge pull request #5020 from qTich/fix/pad_enabled
fix: `pad_enabled` instance type,, since can contains `all`
2023-09-30 19:42:55 -04:00
Tom Rothamel 86e9454b79 Merge pull request #5024 from Kassy2048/ipad-detect
New detection for iPad
2023-09-30 19:42:31 -04:00
Kassy f7d2434dff New detection for iPad
Since iOS 13, Safari uses the desktop mode by default on iPad which removes
the "iPad" string from the User-Agent header. The new detection looks for
an Apple product with touch enabled (there is no MacOS product with touch
screens AFAIK).
2023-10-01 01:36:00 +02:00
Tichq 07c96e8872 fix: pad_enabled instance type,, since can contains all 2023-09-30 11:50:27 +03:00
Tom Rothamel 0f51948f80 Search the interpolate namespace for variables during interpolation. 2023-09-29 22:04:43 -04:00
Ren'Py Bot 8448808c67 Merge branch 'fix' 2023-09-29 04:30:08 -04:00
Tom Rothamel 8da08dd187 Restore a (now simpler) render_movie.
Since this function is used to show cutscenes.

Fixes #5015.
2023-09-28 21:16:07 -04:00
Tom Rothamel eedc86f20e rpu: Use range downloads to get block files. 2023-09-28 01:25:10 -04:00
Tom Rothamel ccb978f454 rpu: Add a progress callback to the downloader. 2023-09-28 00:16:26 -04:00
Tom Rothamel 33830fd6b4 rpu: Start work on range download library. 2023-09-27 23:45:33 -04:00
Tom Rothamel 615c624a70 Revert "Call functions when interpolating."
This reverts commit 4d8d065c89.
2023-09-27 22:00:14 -04:00
Gouvernathor 66f17ae6dd Avoid using non-f-string interpolation syntax 2023-09-27 23:34:01 +02:00
Ren'Py Bot 7bf7303f85 Merge branch 'fix' 2023-09-27 04:30:08 -04:00
Tom Rothamel 4d8d065c89 Call functions when interpolating.
This will make it possible to have accessors when interpolating.

Fixes #5009.
2023-09-27 01:46:24 -04:00
Tom Rothamel fc111cc0ab Merge pull request #5007 from renpy/custom-text-tags
Custom text tags
2023-09-26 21:32:44 -04:00
Gouvernathor b535e2b63c Disown dynamic ctt, add warning markup, remove useless label 2023-09-27 00:28:39 +02:00
Tom Rothamel fb294567fe rpu: Execute the plan.
This involves copying data from the source files, including block
files that are on disk, into the target files, and then renaming
those files when done.
2023-09-26 02:26:00 -04:00
Tom Rothamel b2893b5ea8 rpu: Create plan.
The plan decides where to get data from, and write it to.
2023-09-25 23:58:33 -04:00
Tom Rothamel 5853d63076 Make sure the .rpa padding is taken fron a local file.
This will prevent a block file from being downloaded just to gain
access to the .rpa padding.
2023-09-25 22:39:23 -04:00
Tom Rothamel bd7cd2a0c6 rpu: Consider .new.rpu files as sources for update data.
So as to recover from a failed update.
2023-09-24 09:34:41 -04:00
Tom Rothamel 9d42e5c667 rpu: Log the initial evaluation of files. 2023-09-24 01:51:20 -04:00
Tom Rothamel ab9ee40e1a rpy: Add the ability to unserialize the file types. 2023-09-24 01:51:20 -04:00
Gouvernathor bcab87be37 Remove warper code duplication
we can't remove the name assignments because the compat system uses it - I could change that too but let's not touch compat
also remove unused variable
2023-09-24 04:00:35 +02:00
Ren'Py Bot 0aa28b6804 Merge branch 'fix' 2023-09-23 04:30:07 -04:00
Tom Rothamel 0891fff309 rpu: Generate the block files and index.
The block files contain the deduplicated segments, while the
index stores where segments are in the destination files and
the block files.
2023-09-23 01:37:30 -04:00
Tom Rothamel ca37ebacd1 rpu: Add support for scanning a .rpa file. 2023-09-22 23:29:34 -04:00
Tom Rothamel 51aff5d94d rpu: Initial work, scanning directoriues to create files. 2023-09-22 22:22:36 -04:00
Gouvernathor 7ff6acc36c french translations 2023-09-23 01:44:00 +02:00
Denys cda1c18e03 Update Ukrainian translations (#4993) 2023-09-23 00:46:53 +02:00
Denys 7f615dcddc Update error.rpy (#4992) 2023-09-22 16:43:52 +02:00
Denys 1a182d529c Update error.rpy 2023-09-22 14:58:43 +01:00
Ren'Py Bot 646a7535b0 Merge branch 'fix' 2023-09-22 04:30:08 -04:00
Tom Rothamel 4600339cf7 Update the .gitignore. 2023-09-21 22:58:44 -04:00
Tom Rothamel 03fdf2801e Simplify how Movie's size argument works.
Previously it had been its own code path, but now the movie
is rendered normally and then resized. Fixes #4983.
2023-09-21 22:45:29 -04:00
Ren'Py Bot e427b4e910 Merge branch 'fix' 2023-09-21 04:30:08 -04:00
Gouvernathor 0826778a5e Add a warning when creating new projects in renpy 7
not disabled, because it still makes sense for test purposes or to update default files
2023-09-21 04:30:07 -04:00
Gouvernathor 5050ee20ee doc typo 2023-09-21 04:30:07 -04:00
Tom Rothamel b4cf19cb0c Filter out the _sustain tag when choosing live2d attributes.
Fixes #4984.
2023-09-20 23:06:25 -04:00
Tom Rothamel dee35cfc66 Allow the DPI of SVG images to be selected.
With a new DPI parameter to Image. Fixes #4832.
2023-09-19 22:53:58 -04:00
Gouvernathor 325175f3c3 Better detect when the console should expect a new line before executing the block (#4834)
* Make blocks with comments open a newline in the console

* Support decorators in the console

* Support ending lines with \ in the console
2023-09-19 21:59:28 -04:00
Tom Rothamel 787f09929b Merge pull request #4691 from renpy/warn-new-renpy7
Add a warning when creating new projects in renpy 7
2023-09-19 21:51:14 -04:00
Vladya c5f9ddeae8 "Backslash in filename" fix
Fixes "Backslash in filename" error, when using method from pkgutil.get_data and similar.
2023-09-19 21:49:11 -04:00
Tom Rothamel c43c34c943 Merge pull request #4966 from NyashniyVladya/patch-1
RenpyImporter.get_data fix
2023-09-19 21:47:35 -04:00
Gouvernathor ce07691bbc doc typo 2023-09-19 16:12:41 +02:00
brainos233 9e76a31da1 doc: add missing reference end-string (#4978) 2023-09-19 16:12:16 +02:00
Gouvernathor 90701d03c1 doc typo 2023-09-19 16:10:28 +02:00
Ren'Py Bot 0256f2bba7 Merge branch 'fix' 2023-09-19 04:30:56 -04:00
Tom Rothamel a12d9c544e Bump fix branch versions. 2023-09-19 00:12:40 -04:00
Tom Rothamel 8bb5291324 doc: Update sponsor doc. 2023-09-18 22:27:29 -04:00
Tom Rothamel 186b082e3c Finish changelog. 2023-09-18 22:24:59 -04:00
Tom Rothamel 4dd40736a1 live2d: Install 32-bit windows library.
Fixes #4953.
2023-09-18 22:22:08 -04:00
Tom Rothamel 8c3741e6f9 Fix a truly ancient translation bug. 2023-09-18 18:34:41 -04:00
Gouvernathor 6e7f28f574 Update the ShowMenu doc entry (#4967)
better apparent signature, better documenting how args and kwargs work
2023-09-18 18:22:46 -04:00
Gouvernathor fa24e47d29 Update the ShowMenu doc entry (#4967)
better apparent signature, better documenting how args and kwargs work
2023-09-18 18:22:12 -04:00
Ren'Py Bot 12acbfc963 Merge branch 'fix' 2023-09-18 04:30:45 -04:00
Tom Rothamel 8e1945a628 Mark a context as non interacting when it's copied for rollback.
This is an attempt at fixing a stack trace that ended wit:

  File "C:\renpy\renpy\ui.py", line 299, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "C:\renpy\renpy\display\core.py", line 3556, in interact
    raise Exception("Cannot start an interaction in the middle of an interaction, without creating a new context.")
Exception: Cannot start an interaction in the middle of an interaction, without creating a new context.

After an autoreload.
2023-09-17 22:57:02 -04:00
Ren'Py Bot fdae52f6ad Merge branch 'fix' 2023-09-17 04:30:56 -04:00
Tom Rothamel 4b47d59b3b steam: Make the steam deck keyboard a lot less complicated.
This disables:

* Automatic showing the keyboard if the player dismisses it.
* Shifting the screen to where the keyboard is,.

And it changes the keyboard area to the top of the screen.

The goal of this is to work around recently-introduced issues with
Steam Deck keyboard handling.
2023-09-16 23:45:59 -04:00
Tom Rothamel 9cde14fa6d steam: Make the steam deck keyboard a lot less complicated.
This disables:

* Automatic showing the keyboard if the player dismisses it.
* Shifting the screen to where the keyboard is,.

And it changes the keyboard area to the top of the screen.

The goal of this is to work around recently-introduced issues with
Steam Deck keyboard handling.
2023-09-16 23:41:57 -04:00
Tom Rothamel a98fa5f7fe hb: Changelog. 2023-09-16 20:07:15 -04:00
Tom Rothamel bf0bc1d837 Update to Emoji 15.1. 2023-09-16 18:44:36 -04:00
Tom Rothamel db24c1eb3a hb: Document variable fonts. 2023-09-16 00:59:20 -04:00
Tom Rothamel c8a88bb17e hb: Fix minor issue with variable fonts and text tags. 2023-09-16 00:41:33 -04:00
Tom Rothamel 9c73cff8ce hb: Add renpy.variable_font_info().
A function that returns information about a variable font, so
that the creator knows how Ren'Py understands their font.
2023-09-15 01:11:22 -04:00
Ren'Py Bot 5a4b14009e Merge branch 'fix' 2023-09-14 23:23:49 -04:00
Tom Rothamel a4cb1a123e Avoid calling interface.timeout when the interface isn't ready.
Fixes #4968.
2023-09-14 18:15:42 -04:00
Tom Rothamel 057f69602b Avoid nicing distribute. 2023-09-14 17:57:59 -04:00
Ren'Py Bot 2040da88db Merge branch 'fix' 2023-09-14 04:30:56 -04:00
Tom Rothamel 82de5b7af0 Revert "Enable or disable text input as required."
This reverts commit a65cecfc18.

Bug #4784 is implicated in this, but there's a new fix
in the form of an SDL patch.
2023-09-14 01:10:15 -04:00
Tom Rothamel a688409eb9 hb: Implement the axis: and instance text tags.
These let the user set an axis or an instance of a variable
font.
2023-09-13 09:08:15 -04:00
Tom Rothamel 2ec1cb0cdc hb: Make font variations case insensitive. 2023-09-13 08:20:37 -04:00
Tom Rothamel a73082df6f hb: Add styles to support variable fonts. 2023-09-13 01:21:17 -04:00
Tom Rothamel e33888949a hb: Construct the harfbuzz face after the variable font stuff is set.
This fixes issues where some data appears to remain cached.
2023-09-13 01:15:48 -04:00
Tom Rothamel 6422153ce1 hb: Allow instances and axis values of variable fonts to be specified. 2023-09-12 23:32:46 -04:00
Tom Rothamel 9d1263d7c3 hb: Add the first support for font instances and variations. 2023-09-12 00:38:35 -04:00
Tom Rothamel 608cbab10c Use the correct key. 2023-09-11 21:16:02 -04:00
Tom Rothamel 2b08c40a4a Add config.font_hinting.
This is a single variable that allows all uses of a font to
have the same hinting, which styles can override.
2023-09-10 22:06:56 -04:00
Vladya bd01358481 "Backslash in filename" fix
Fixes "Backslash in filename" error, when using method from pkgutil.get_data and similar.
2023-09-10 23:30:12 +03:00
Tom Rothamel 1e518437dd Revert to using the "auto" hinter.
With renpy/renpy-build@ebe6d6a01a,
the autohinter looks quite good on Latin and non-Latin languages,
so we should continue to prefer it.
2023-09-10 00:54:04 -04:00
Tom Rothamel 2096c691ce Implement the auto-light hinting mode.
This isn't going to be the default, but it is available if creators
want it.
2023-09-10 00:46:17 -04:00
Tom Rothamel 6b4eadf0fd Merge branch 'fix' 2023-09-09 21:52:51 -04:00
Tom Rothamel fc8ac8344d Allow a checkpoint to become a checkpoint.
A checkpoint is created when a failed rollback happens, and probably
also when saving. When that statement finishes, we'd want the
checkpoint to become hard.

Fixes #4963.
2023-09-09 20:47:12 -04:00
Ren'Py Bot f6d8afdad6 Merge branch 'fix' 2023-09-09 04:30:55 -04:00
Tom Rothamel 420564557f Force the gl2 renderer to be used on macOS.
This is because there are major macOS-relevant fixes to the renderer,
such as the fix for #4155, that don't make sense to backport to the
gl renderer.
2023-09-08 22:32:17 -04:00
Ren'Py Bot a8cab927bb Merge branch 'fix' 2023-09-08 04:30:56 -04:00
Tom Rothamel 81ee1d994e Fix "attempted relative import with no known parent package"
By setting __package__ correctly. Fixes #4961.
2023-09-08 01:29:30 -04:00
Tom Rothamel 52c1e64b6f steam: Force the window to be the top of screen.
The previous code could - and would - put the text onto the bottom
half of the screen, which popped the textbox up on the top half,
which looked terrible. By forcing the location, the end result
looks much nicer.

Fixes #4959.
2023-09-07 23:24:33 -04:00
Gouvernathor 3ef755d5d4 Merge branch 'fix' 2023-09-06 21:34:15 +02:00
Gouvernathor e719dd8d47 doc: fixes
fixes #4956 and something that was only fixed on master
2023-09-06 21:33:00 +02:00
Gouvernathor ab3f1242d7 Merge branch 'fix' 2023-09-06 11:21:04 +02:00
Gouvernathor 8df82cbac0 doc: fixes and improvements on the midnight commit 2023-09-06 11:20:34 +02:00
Gouvernathor 13c557b5a2 doc: remove duplication 2023-09-06 10:57:11 +02:00
Ren'Py Bot 44e32ddffb Merge branch 'fix' 2023-09-06 04:30:56 -04:00
Tom Rothamel 852b489529 Bump versions. 2023-09-06 00:46:03 -04:00
Tom Rothamel 3ff08b9c03 Produce a valid-ish version for pygame_sdl2. 2023-09-06 00:46:03 -04:00
Tom Rothamel 67c2469d37 doc: Changelog. 2023-09-06 00:46:03 -04:00
Tom Rothamel 60745892c1 Bump versions. 2023-09-06 00:44:45 -04:00
Tom Rothamel d511804be3 Produce a valid-ish version for pygame_sdl2. 2023-09-05 22:06:47 -04:00
Tom Rothamel 487c60da2d doc: Changelog. 2023-09-05 21:13:50 -04:00
Ren'Py Bot 96c63ea9e2 Merge branch 'fix' 2023-09-05 04:30:56 -04:00
Tom Rothamel 2eca653f47 doc: Credits. 2023-09-05 01:39:02 -04:00
Tom Rothamel 6f8378f5b4 doc: Update sponsors. 2023-09-04 20:35:16 -04:00
Ren'Py Bot 232eda7c98 Merge branch 'fix' 2023-09-03 20:24:29 -04:00
Tom Rothamel b6fc8496f4 doc: Some changes to the context documentation. 2023-09-03 19:40:17 -04:00
Tom Rothamel 8a2634b206 Merge pull request #4896 from renpy/doc-context
Document what a context is
2023-09-03 19:36:04 -04:00
Tom Rothamel 3521d54e0a Call invalidate when adding one displayable to another.
Per #4939.
2023-09-03 19:34:16 -04:00
Ren'Py Bot 6c1f1c8138 Merge branch 'fix' 2023-09-02 18:08:22 -04:00
Tom Rothamel 24c0616158 py2: Fix the type of __package__. 2023-09-02 18:07:56 -04:00
Ren'Py Bot 1102904380 Merge branch 'fix' 2023-09-02 04:30:37 -04:00
Tom Rothamel 2d690bd7cb Implement more of PEP 302.
Fixes #4948. Per #4644.
2023-09-01 23:37:34 -04:00
Tom Rothamel 3ec2ad0a7b Make __file__ and __path__ full paths.
Per #4948.
2023-09-01 22:43:24 -04:00
Ren'Py Bot d3d33f31bb Merge branch 'fix' 2023-08-31 19:10:28 -04:00
Tom Rothamel 78dfdd024b Fix debug output-related crash introduced by 991fbf107a. 2023-08-31 18:30:12 -04:00
Ren'Py Bot 517e12d3e5 Merge branch 'fix' 2023-08-31 04:30:38 -04:00
the66F95 1b26542f0c Update 00inputvalues.rpy
restores the previous behavior to be able to deactivate InputValue objects via "Enter".
for example, the current behavior can be seen in any project using the button that wraps the FilePageNameInputValue object.
2023-08-31 00:43:51 -04:00
Tom Rothamel 29e84de69c Merge pull request #4946 from the66F95/_InputValueAction
Update 00inputvalues.rpy
2023-08-31 00:41:17 -04:00
Tom Rothamel 991fbf107a distribute: Match directories as both files and directories.
The goal is to allow **.app to be ignored on mac.

Fixes #4945.
2023-08-31 00:14:58 -04:00
Tom Rothamel 041a4c4d07 Respect the parameter to GamepadExists. 2023-08-30 21:55:50 -04:00
the66F95 e8de3df9c4 Update 00inputvalues.rpy
restores the previous behavior to be able to deactivate InputValue objects via "Enter".
for example, the current behavior can be seen in any project using the button that wraps the FilePageNameInputValue object.
2023-08-31 02:00:25 +02:00
Ren'Py Bot f0ba1ac5a1 Merge branch 'fix' 2023-08-30 04:30:38 -04:00
Tom Rothamel 6931b5f06d Make GamepadExists respect config.developer.
Fixes #4940.
2023-08-30 00:35:47 -04:00
Tom Rothamel 2850cea6c0 vscode: Add styles. 2023-08-29 22:58:24 -04:00
Tom Rothamel e364ca4173 Find variables before wrapping a comprehension.
If we do it in the other order, variables that are wrapped
show up as set, which means they won't be wrapped in an outer
comprehension, causing problems.

Fixes #4943.
2023-08-29 22:58:24 -04:00
Gouvernathor c6cc1dc5f6 Fix translation typo 2023-08-29 23:02:52 +02:00
Ren'Py Bot 12dbf12f44 Merge branch 'fix' 2023-08-29 04:30:37 -04:00
Tom Rothamel 9c7b8a6398 Fix issues with ATL deep compare.
* The blocks weren't compiled before compare.
* Dicts weren't handled.
* Errors weren't handled.

Fixes #4942.
2023-08-29 01:17:49 -04:00
Ren'Py Bot 18d3f48686 Merge branch 'fix' 2023-08-28 04:30:38 -04:00
Tom Rothamel 78c71f0a0f Do not change the style prefix of a viewport and it's children.
... when the viewport is focused or unfocused. The viewport being
focused occurs during drag operations, which should generally
be invisible to the user, so it's not required.

Re-rendering the children of the viewport is also a performance
problem, and so this prevents that from happening.

Fixes #4838.
2023-08-28 01:03:25 -04:00
Ren'Py Bot 86d0e1e275 Merge branch 'fix' 2023-08-27 04:30:37 -04:00
Tom Rothamel 935173fcf5 Create pax-format tar files.
These files support utf-8, so more files.
2023-08-27 00:34:46 -04:00
Tom Rothamel 05e72cbe27 Perform a greedy rollback after load.
This is the same rollback that is used during a normal rollback,
and re-runs statements before the rollback.

Fixes #4872.
2023-08-26 23:51:05 -04:00
Tom Rothamel 3dd1d32ef4 hbfont: Eliminate type mixing.
And remove a warning on build.
2023-08-26 01:14:29 -04:00
Tom Rothamel 73725e2131 The new CopyToClipboard action copies text to the clipboard.
Fixes #4868.
2023-08-25 21:59:31 -04:00
Ren'Py Bot c29b180647 Merge branch 'fix' 2023-08-25 04:30:38 -04:00
Tom Rothamel 65e2d27efb doc: The most common use of renpy.set_return_stack.
Fixes #4909.
2023-08-24 21:21:17 -04:00
Tichq 7045295eee fix: missed changes in beceb10166 (#4931) 2023-08-24 10:33:22 +02:00
Ren'Py Bot 3d1ab26448 Merge branch 'fix' 2023-08-23 04:30:37 -04:00
the66F95 eeb6958174 respect "renpy.store.__autosave"
respect the renpy.store._autosave value when calling renpy.loadsave.force_autosave() directly.
could be annoying if you have a choice menu in a splashscreen for instance.
2023-08-22 22:24:31 -04:00
Tom Rothamel 80e2d1d3a9 Merge branch 'fix' 2023-08-22 22:18:21 -04:00
Tom Rothamel 2ccdb65cc5 Merge pull request #4927 from the66F95/autosave
respect "renpy.store._autosave"
2023-08-22 21:03:30 -04:00
the66F95 6135979a7c respect "renpy.store.__autosave"
respect the renpy.store._autosave value when calling renpy.loadsave.force_autosave() directly.
could be annoying if you have a choice menu in a splashscreen for instance.
2023-08-22 12:03:03 +02:00
Tom Rothamel 0a01a4af64 Allow an interaction to restart during viewport animation.
Fixes #4926, mostly.
2023-08-21 23:14:41 -04:00
Joseph Boyd 0afd06dd49 Revert removal of loop_only to fix if_changed loop seam issue
Fixes #4872 by restoring the `loop_only` parameter of `enqueue()` in audio.py.

After commit `b0b096b`, calling `play` on a music track with the `if_changed` parameter would *always* add it to the queue, even if the same track was already currently playing on loop. This newly queued 'loop' would always begin at the very start of the track, **ignoring any user-defined `loop` point parameters** that were added by the user to allow the track to seamlessly loop. This caused the looping track to abruptly 'restart' the next time it would normally loop whenever a player visited a label that wanted that track to play if it wasn't already looping (for example, the 'market' example in Ren'Py's audio documentation page for `if_changed`).

This change restores the `loop_only` parameter and functionality to `enqueue()` and `play()` to avoid a track from being added to the queue and potentially abruptly restarting the track if it is currently already playing on loop. To attempt to preserve the fix the change `b0b096b` accomplished for #4695, the position/logic of the `c.dequeue()` calls in `music.play()` has not been reverted to it's previous behaviour.

Documentation wise, the Audio documentation page mentions that `if_changed` queues 'an additional loop' of the currently playing track when this situation is reached, which is only an accurate description if the currently looping track does not have a user defined `loop` point (or if the loop point was 0.0). A more accurate description is that the track is queued to play again from the very beginning after the current loop is complete, discarding any user-defined `loop` points. The issue mentioned above is reproduceable using the code present in the `if_changed` section of the audio page, provided the 'market' track has a non-zero `loop` parameter.
2023-08-20 22:28:21 -04:00
Tom Rothamel 9c5b8f5ba4 Merge pull request #4914 from mithost/4872-fix
Revert removal of `loop_only` to fix `if_changed` loop seam issue
2023-08-20 22:27:14 -04:00
Tom Rothamel ec6a8f8e1a Change the example of a third-party python package.
To one that isn't already part of Ren'Py.

Fixes #4899.
2023-08-20 16:58:06 -04:00
Mal Graty 880b47cadf Implement AlphaMask using shader 2023-08-20 02:49:33 +01:00
Tom Rothamel 99090ed87a Filter PYTHON* variables when launching a project.
While renpy.exe is set up to ignore the variables, renpython isn't.
By filtering them, we can be sure that system python variables
don't break the SDK.

Fixes #4878.
2023-08-19 21:21:14 -04:00
Tom Rothamel 3793a3f9ba Filter PYTHON* variables when launching a project.
While renpy.exe is set up to ignore the variables, renpython isn't.
By filtering them, we can be sure that system python variables
don't break the SDK.

Fixes #4878.
2023-08-19 21:18:53 -04:00
Tom Rothamel 5b88d6fb32 Merge pull request #4893 from renpy/selected-sensitive-list
Sensitiveness and selectedness of action lists
2023-08-18 21:11:14 -04:00
Tom Rothamel b3beae8ab5 Merge pull request #4875 from kyouryuukunn/revert_order_of_xyzrotate_and_zpos
revert the applyment order of poi,orientation,xyzrotate and zpos
2023-08-18 21:10:53 -04:00
Tom Rothamel c8d451838b Store runtime and ctime in the json.
Fixes #4873.
2023-08-18 00:39:38 -04:00
Michael 678ac18b5f OneDrive uses virtualized file system (vault) so
we use __file__ to get the real path of the file.
2023-08-18 00:13:03 -04:00
Tom Rothamel 5cc6b34f56 Merge pull request #4891 from michaelsstuff/reny_base_fix
Edgecase with OneDrive vault
2023-08-18 00:12:27 -04:00
Tom Rothamel 4606bcce76 Merge pull request #4900 from renpy/fix-args-calls
Fix occurrences of *args following a kwarg in calls
2023-08-18 00:11:35 -04:00
Tom Rothamel d3595146b0 Merge pull request #4904 from renpy/doc-atl
Various changes to the ATL page
2023-08-18 00:10:32 -04:00
Tom Rothamel 20ecec1412 Merge pull request #4902 from shawna-p/lint-fix2
Use the say_menu_text_filter when linting
2023-08-18 00:09:18 -04:00
Tom Rothamel ebeed588fa Merge pull request #4876 from renpy/call-word
Parse argument keywords as words instead of names
2023-08-18 00:08:50 -04:00
Tom Rothamel ef08ad74b3 harfbuzz: Use advance as width.
The advance is pretty close to to glyph width, and with the
advance at the end of ruby, means ruby will be centered
properly.

Fixes #4917.
2023-08-17 21:41:35 -04:00
Ren'Py Bot 0b47bc2eea Merge branch 'fix' 2023-08-17 04:30:37 -04:00
Tom Rothamel b2a49cc60e atl: Remove variables_equal and everything required for it. 2023-08-16 23:24:45 -04:00
Tom Rothamel 468733bd75 Use deep comparison of compiled trees to determine if an ATL transform has changed.
This might be more work, but it also should be correct in all cases.

Fixes #4916.
2023-08-16 22:24:25 -04:00
Ren'Py Bot 37d216097d Merge branch 'fix' 2023-08-16 04:30:38 -04:00
Tom Rothamel a1bcd63ba9 Make _side_image_attribute and _side_image_attributes_reset context-dynamic.
This prevents a reset from happening in a menu context, and then
causing the reset to not happen in the main context, thus causing
the image to be shown at the wrong times.

Fixes #4828.
2023-08-15 22:56:32 -04:00
Tom Rothamel 16c2455370 Make _side_image_attribute and _side_image_attributes_reset context-dynamic.
This prevents a reset from happening in a menu context, and then
causing the reset to not happen in the main context, thus causing
the image to be shown at the wrong times.

Fixes #4828.
2023-08-15 22:50:16 -04:00
Joseph Boyd d30d986a51 Revert removal of loop_only to fix if_changed loop seam issue
Fixes #4872 by restoring the `loop_only` parameter of `enqueue()` in audio.py.

After commit `b0b096b`, calling `play` on a music track with the `if_changed` parameter would *always* add it to the queue, even if the same track was already currently playing on loop. This newly queued 'loop' would always begin at the very start of the track, **ignoring any user-defined `loop` point parameters** that were added by the user to allow the track to seamlessly loop. This caused the looping track to abruptly 'restart' the next time it would normally loop whenever a player visited a label that wanted that track to play if it wasn't already looping (for example, the 'market' example in Ren'Py's audio documentation page for `if_changed`).

This change restores the `loop_only` parameter and functionality to `enqueue()` and `play()` to avoid a track from being added to the queue and potentially abruptly restarting the track if it is currently already playing on loop. To attempt to preserve the fix the change `b0b096b` accomplished for #4695, the position/logic of the `c.dequeue()` calls in `music.play()` has not been reverted to it's previous behaviour.

Documentation wise, the Audio documentation page mentions that `if_changed` queues 'an additional loop' of the currently playing track when this situation is reached, which is only an accurate description if the currently looping track does not have a user defined `loop` point (or if the loop point was 0.0). A more accurate description is that the track is queued to play again from the very beginning after the current loop is complete, discarding any user-defined `loop` points. The issue mentioned above is reproduceable using the code present in the `if_changed` section of the audio page, provided the 'market' track has a non-zero `loop` parameter.
2023-08-15 12:40:45 -04:00
Tom Rothamel b5288343fc Merge branch 'fix' 2023-08-15 00:30:45 -04:00
Tom Rothamel 371b3e15fc Fix compat. 2023-08-15 00:30:04 -04:00
Tom Rothamel 589a510c33 Merge branch 'fix' 2023-08-15 00:28:56 -04:00
Tom Rothamel 85648df290 Merge the glyph changes from master to fix.
This should keep binary compatibilty when change branches.
2023-08-15 00:08:13 -04:00
Tom Rothamel 936363d243 tts: Help ensure notifications are spoken to the player.
At least, in the case where the user lets them play out, rather
than switching away.
2023-08-14 22:45:16 -04:00
Tom Rothamel 05075beed5 Tweak the order of tts so layers and screens closer to the player are spoken first. 2023-08-14 22:42:37 -04:00
Tom Rothamel b729eaed7d harfbuzz: Support computing text bounds. 2023-08-13 19:39:12 -04:00
Tom Rothamel d06bcd0dd2 harfbuzz: Supply slant information. 2023-08-12 22:34:18 -04:00
Tom Rothamel 2e34102cf5 doc: The emoji and harfbuzz changes. 2023-08-11 22:32:07 -04:00
Ren'Py Bot 3018c21828 Merge branch 'fix' 2023-08-11 04:30:38 -04:00
Tom Rothamel 457d0c6cce Remove useless line.
Fixes #4905.
2023-08-11 01:51:02 -04:00
Asriel Senna c9573e3737 doc: mention call screen as working differently wrt with 2023-08-10 22:20:05 +02:00
Gouvernathor a11a7bb2ee Various changes to the ATL page 2023-08-10 21:32:44 +02:00
Tom Rothamel e1b37142c2 harfbuzz: Enable by default on py3.
Also, enable bytecode hinting everywhere.
2023-08-10 00:54:11 -04:00
Tom Rothamel 32923dd8f8 harfbuzz: Add support for vertical text. 2023-08-09 23:48:12 -04:00
shawna-p e4bef44f2c Filter text for the lint check 2023-08-09 22:49:58 -04:00
Gouvernathor 8a151ed1b4 Fix occurrences of *args following a kwarg in calls 2023-08-09 23:18:48 +02:00
Gouvernathor 2141c0bbc9 Use the file role 2023-08-09 08:43:33 +02:00
Tom Rothamel 54b4406974 Support building without harfbuzz on Ren'Py 7 web. 2023-08-08 22:45:16 -04:00
Gouvernathor efbefe4388 Use the file role to avoid @ formatting into mail 2023-08-08 18:34:08 +02:00
Gouvernathor 7b160ea3ad Use the file role for file paths 2023-08-08 18:21:29 +02:00
Tom Rothamel 4b3561d821 harfbuzz: Build by default. 2023-08-07 23:32:22 -04:00
Ren'Py Bot fb197d90b9 Merge branch 'fix' 2023-08-07 04:30:37 -04:00
Tom Rothamel d32f5b10f5 Fix alpha premultiplication in text.
Fixes #4880.
2023-08-07 01:12:42 -04:00
Asriel Senna 446e4609a9 doc: changes
document how pop_call behaves wrt dynamic variables
linkify a variable
better explain the name_only character
2023-08-07 01:33:29 +02:00
Asriel Senna 1f9a4df252 Document what a context is 2023-08-07 01:18:21 +02:00
Gouvernathor 08eb08562f Change the documented signatures 2023-08-05 10:58:50 +02:00
Ren'Py Bot 8d3401f2ac Merge branch 'fix' 2023-08-05 04:30:37 -04:00
Gouvernathor 3370a07f18 doc: sensitiveness and selectedness of action lists 2023-08-04 22:22:08 +02:00
Gouvernathor c164c1af40 doc: fix markup and tweak phrasing 2023-08-04 17:45:50 +02: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
Gouvernathor db8a6f9f13 Fixes to the changelog
Duplicate entries and typos
2023-08-04 09:03:31 +02:00
Tom Rothamel 25986373d1 Merge branch 'fix' 2023-08-03 08:11:51 -04:00
Gouvernathor f067652a3b Fix store.say's documentation (#4883)
It was documented as an override of renpy.say, and while that would be useful, it's not at all what the function does
2023-08-03 08:11:20 -04:00
Tom Rothamel 122dbf2619 Remove duplicate say-related functions from 00library.
Inspired by #4883.
2023-08-03 08:08:52 -04:00
Tom Rothamel 547bef2483 Merge branch 'fix' 2023-08-01 22:23:28 -04:00
Tom Rothamel efe6609085 doc: Fix filename extension.
Fixes #4884
2023-08-01 22:22:47 -04:00
Tom Rothamel 1d43fb11dd vscode: Correct arch on Linux.
Microsoft calls it x64, not x86_64, so use that.
2023-08-01 22:01:50 -04:00
Tom Rothamel ff177d0dae harfbuzz: Allow the text shaper to be set by style.
This allows harfbuzz and non-harfbuzz text to coexist in the same
game, which is useful for testing during development. It will also
provide backwards compatibility when we change the default.
2023-08-01 22:01:15 -04:00
Moshibit 1dd5ba512c Spanish translation update for master (#4885)
This is specifically for strings added in master, it should not be copied into fix (it would work but it's pointless)
2023-08-02 03:49:20 +02:00
Tom Rothamel 3906f99ebc harfbuzz: Move to one hb_font_t per FBFont, size.
This generates sized and kerned text.
2023-07-31 22:06:19 -04:00
Tom Rothamel f89c672c13 iap: Call the backend request_review. 2023-07-30 21:07:04 -04:00
Tom Rothamel 80ea555ad6 harfbuzz: Use for glyph creation and rendering.
This is enough to generate shaped emjoi, but the text placement and
spacing is all wonky, so there's still a bunch of work to be done.
2023-07-30 19:53:21 -04:00
Tom Rothamel af7a0baa2e vscode: Correct arch on Linux.
Microsoft calls it x64, not x86_64, so use that.
2023-07-30 19:52:44 -04:00
Gouvernathor 3fa7da1384 Parse argument keywords as words instead of names 2023-07-29 17:44:01 +02:00
kyouryuukunn 014de8a873 revert the applyment order of poi,orientation,xyzrotate and zpos 2023-07-29 18:45:58 +09:00
Moshibit 89cfd03516 Spanish translation update (#4856)
* Update launcher.rpy

* Fix Spansih translation.rpy

* Update common.rpy

* Update gui.rpy

* Update launcher.rpy

* Update launcher.rpy
2023-07-26 22:31:06 -04:00
Tom Rothamel 0b937fdea6 hb: Add ability to create a font and use it to shape text. 2023-07-26 01:37:42 -04:00
Tom Rothamel 802652d579 py2: Add an encoding for the emoji trie. 2023-07-25 11:10:11 -04:00
Tom Rothamel bcd4fd4d2c harfbuzz: New font rendering module.
This will support harfbuzz, eventually. It will not support Python 2.
2023-07-25 02:06:37 -04:00
Tom Rothamel 21016cca6c Merge pull request #4863 from JamiesonC/JamiesonC-musicroom-1
MusicRoom: have queue_if_playing consider whether the currently playing track is in the playlist
2023-07-25 00:07:06 -04:00
Ren'Py Bot 1921e7c985 Merge branch 'fix' 2023-07-24 04:30:37 -04:00
Tom Rothamel 6be8d94372 Make sure each trie entry has a default. 2023-07-24 01:05:00 -04:00
Tom Rothamel 84c22334fe Merge pull request #4861 from mal/restore-lost-event-values
Restore return values from time-adjusted widgets
2023-07-23 20:46:06 -04:00
Tom Rothamel 9f286afbbb Merge pull request #4862 from brainos233/fix-emoji-font-name
Use right name of emoji font
2023-07-23 20:45:30 -04:00
Tom Rothamel e32cd6c124 Merge pull request #4866 from mal/devtools-translate-id-screen
Tool to view and copy translation identifiers
2023-07-23 20:44:32 -04:00
Mal Graty f523069468 dev: Tool to view and copy translation identifiers 2023-07-24 01:07:10 +01:00
Tom Rothamel 674d5d87dd emoji: Automatically enable the emoji font.
This divides characters into emjoi and non-emoji runs based on
the information in the emoji trie, based on the unicode standard.
2023-07-23 02:13:41 -04:00
Tom Rothamel 12b37de529 emoji: Make the emoji trie use full characters. 2023-07-22 23:19:33 -04:00
JamiesonC 562ce9734a MusicRoom: have queue_if_playing consider whether the currently playing track is in the playlist
This change ensures that a MusicRoom queues up from the first track if the currently playing track is not part of the playlist. Enables the interjection of the MusicRoom into more complex scenarios (such as hotswapping MusicRooms to effect dynamic playlist changes).
2023-07-22 13:02:31 -05:00
Brainos 148a14f939 Rename Copyright 2023-07-22 23:38:18 +08:00
Brainos fe2ad45dc0 Use right name of emoji font 2023-07-22 23:25:20 +08:00
Mal Graty 12330dead6 Restore return values from time-adjusted widgets 2023-07-22 11:45:53 +01:00
Tom Rothamel 17fb5397c8 emoji: Check the default font, create style entries. 2023-07-21 23:20:09 -04:00
Tom Rothamel 8398c3081e emoji: Add a trie of emoji characters.
The intent of this is to provide the data required to segment a
string into emoji and non-emoji characters, with varying levels
of strictness.
2023-07-21 01:44:35 -04:00
Tom Rothamel 71e8bae6d2 doc: Changelog last. 2023-07-20 22:06:17 -04:00
Gouvernathor d312de84a4 Add the renpy.confirm function. (#4583)
This is a function that takes the place of layout.yesno_screen, but isn't quite as weird.
2023-07-20 21:51:16 -04:00
Ren'Py Bot c3d1c2cee7 Merge branch 'fix' 2023-07-20 04:30:37 -04:00
Gouvernathor 0dd3895b47 doc: long-due update from set_volume to set_mixer
following the passage to log volume or something
2023-07-20 07:25:22 +02:00
Gouvernathor 8230e4186d doc: tweak the confirm screen entry
add the two new strings - the confirm_token one is long and should be used for tests by creators - but be careful if others are added in the future
layout of the list has been tested
2023-07-20 06:17:16 +02:00
Gouvernathor 8e4e8b0e23 doc: tweaks to the Replay section
rename scene to sequence because scene is something else in renpy
don't imply that the game menu or the main menu are the only places from which you can call a replay
fix indenting in the code block, and remove the padding at the start
mistake in a function's documentation
some other stuff
2023-07-20 05:48:21 +02:00
Tom Rothamel 49eab5ffa9 Fix pickling issue.
Python 2 had a weird type for staticmethods, one that
couldn't be pickled. So we wrap compute_raw on Python 2.
2023-07-19 02:22:14 -04:00
Tom Rothamel 8a7fcd95ce Fix incorrect property. 2023-07-19 02:21:59 -04:00
Tom Rothamel d1ad17256b Prefix Ren'Py Sync styles with "sync".
Fixes #4847.
2023-07-18 23:22:12 -04:00
Tom Rothamel 4035fc9621 launcher: Detect and abort distributing the tutorial.
The tutrorial expects to be part of Ren'Py - the example system
may not work if it's being run outside of Ren'Py. This detects
attempts to distribute the tutorial on its own, and aborts the
process.
2023-07-18 23:17:46 -04:00
Tom Rothamel 3dab93666d Add from to calls for the Ren'Py tutorial. 2023-07-18 23:15:25 -04:00
Tom Rothamel ff64ab49f1 Allow loading premultiplied textures.
This is to support the changes to text that produced premultiplied
surfaces, rather than non-premultiplied surfaces. This was necessary
to display emoji properly, and also speeds up the case of normal
text rendering, at least on gl2.

This also removes some old paths that worked with GL_BGRA, which
we aren't using.
2023-07-18 01:25:52 -04:00
Tom Rothamel 15657da6dc Generate premultiplied alpha when rendering text.
This will allow us to skip the alpha premultiply step.
2023-07-17 23:32:59 -04:00
Tom Rothamel 872d4694db emoji: Add support for displaying BGRA glyphs. 2023-07-17 22:39:47 -04:00
Gouvernathor 25270211c1 Enable _layer for menu and config.nvl_choice_layer 2023-07-17 17:18:34 +02:00
Tom Rothamel 617c7e5367 emoji: Expose the BRGA data to the rest of the font system. 2023-07-16 21:42:20 -04:00
Tom Rothamel e1aff07997 Merge pull request #4844 from renpy/absolute-compute
Absolute compute
2023-07-15 20:46:59 -04:00
Gouvernathor 02e365584e doc: move last to dedicated doc section 2023-07-15 05:45:24 +02:00
Tom Rothamel ec8104ae6b Add renpy.reset_all_contexts().
This replaces all contexts with a single context that continues at
the next statement, to allow a game to clean up after load and
error.

Fixes #4476.
2023-07-14 23:36:41 -04:00
Ren'Py Bot df114f794e Merge branch 'fix' 2023-07-14 04:30:37 -04:00
Abdul 7a801523e4 Fixed Typo in dialogue.rst
Fixed minor typo in dialogue.rst
2023-07-13 23:08:16 -04:00
Tom Rothamel 3a897f0fee Merge pull request #4837 from AbdulGoodLooks/patch-1
Fixed Typo in dialogue.rst
2023-07-13 23:07:06 -04:00
Tom Rothamel a5343eb0fa Merge pull request #4843 from renpy/absolute-slots
Fix absolute.slots to __slots__
2023-07-13 18:26:58 -04:00
Gouvernathor beceb10166 Use conpute_raw uniformly 2023-07-13 22:13:26 +02:00
Gouvernathor c687c175fe Add absolute.compute and absolute.compute_raw 2023-07-13 19:27:24 +02:00
Gouvernathor 1032b4f990 Fix slots to __slots__
Mistake done in 690f249 and not seen by me in #4680.
I tested a save-load cycle on an instance of absolute before and after this very fix, it passed without problem. But if someone added arbitrary attributes on an absolute instance, that will now fail.
2023-07-13 19:15:06 +02:00
Tom Rothamel e4bed1cbc2 Remove the androidhw and ioshw video playback methods, and config.hw_video.
These haven't been the default for many years and the players haven't
gottem any attention in that time. Removing them will simplify
the surface that needs to be maintained.
2023-07-12 23:37:13 -04:00
Gouvernathor bdcd6191bd Support position (absolute) everywhere (#4709)
This makes most places that support positions support absolute.
2023-07-12 21:30:22 -04:00
Tom Rothamel deadc4a466 Document that angle/anchorangle are clamped now. 2023-07-12 09:20:35 -04:00
Abdul 505303f51a Fixed Typo in dialogue.rst
Fixed minor typo in dialogue.rst
2023-07-12 14:08:22 +01:00
Tom Rothamel 0f84d898f2 Merge branch 'fix' 2023-07-11 23:28:33 -04:00
Tom Rothamel 6041da97c5 atl: Actually animate anchorangle.
A temporary fix until the better one in 8.2 comes in.
2023-07-11 23:10:25 -04:00
Tom Rothamel cb80aea906 transform: Clamp polar coordinates to 0 <= angle < 360.
This ensures that the angle computed by Ren'Py from cartesian
coordinates and the angle stored in last_angle are always in
the same range, rather than having potentially odd interactions.

The main use of a polar coordinate outside of the range would be-
to provide a movement through 0 (for example, moving from 350 to 370
degrees), this is now directly supported.

Fixes #4835.
2023-07-11 23:00:49 -04:00
Ren'Py Bot 850ad647cc Merge branch 'fix' 2023-07-11 04:30:37 -04:00
Tom Rothamel c02ccf8dcd Multiple fixes to choosing a directory.
Fix an issue where the default wasn't being set, and also deal
better with the user cancelling.

Fixes #3826.
2023-07-10 21:16:12 -04:00
Gouvernathor 49896ba938 doc: Disable python highlighting for math formula 2023-07-10 22:15:24 +02:00
Tom Rothamel bdec32fa5b Merge branch 'fix' 2023-07-10 01:31:51 -04:00
Tom Rothamel be36f99d4c Fix last fix. 2023-07-10 01:31:26 -04:00
Tom Rothamel c007c85490 Fix tiled frames.
Fixes a major regression in the last commit (broke the launcher).
2023-07-09 18:27:43 -04:00
Ren'Py Bot b349ab06fd Merge branch 'fix' 2023-07-09 04:30:37 -04:00
Tom Rothamel a33009b382 Ensure frames are at least one drawable pixel in size.
The same logic applies to frames as to the last commit.
2023-07-08 14:44:21 -04:00
Tom Rothamel c50c6bb23d Prevent solids from being shrunken to below one pixel.
Fixes #4824.

The justification here is that if the creator shows a solid, they
want something, not nothing shown, so we want to show at least 1px
in each direction.
2023-07-08 14:24:55 -04:00
Tom Rothamel 60ade3ae19 Enable all stores in android.json, to test the build. 2023-07-08 13:58:54 -04:00
Tom Rothamel 09d119b2d4 Add bubble.properties_callback.
This makes it possible to limit the bubble properties based
on the character that is speaking.
2023-07-05 23:20:36 -04:00
Tom Rothamel 4588c15333 Merge pull request #4823 from qTich/feature/path-to-logdir
add: `path_to_logdir`
2023-07-05 21:50:23 -04:00
Tichq b9c5317556 add: path_to_logdir 2023-07-06 01:53:03 +03:00
Ren'Py Bot e051e1a120 Merge branch 'fix' 2023-07-05 04:30:37 -04:00
Tom Rothamel ef84c65ce5 Merge pull request #4821 from renpy/layim-auto-multiple-tweak
doc: readd information that went missing during the rewrite
2023-07-04 23:32:30 -04:00
Gouvernathor d3fe5cd6bb doc: readd information that went missing during the rewrite 2023-07-05 05:12:15 +02:00
Tom Rothamel 5073076bb5 Merge branch 'fix' 2023-07-04 20:58:04 -04:00
Tom Rothamel c0248b5af0 Avoid deleting .rpyc files corresponding to _ren.py files that exist.
Fixes #4815/
2023-07-04 20:55:01 -04:00
Abdul 0e4fca9c2f Update screens.rst
Fixed minor typo
2023-07-04 20:20:52 -04:00
Tom Rothamel f35e340c16 Merge pull request #4809 from renpy/last_say-tweaks
Tweaks to renpy.last_say
2023-07-04 19:13:42 -04:00
Tom Rothamel b4dc241e08 Merge pull request #4820 from renpy/layeredimage.predict_all
Update layeredimage.predict_all to None
2023-07-04 19:11:58 -04:00
Tom Rothamel d1c1c0f1ff Merge pull request #4818 from AbdulGoodLooks/patch-1
Fixed typo in documentation
2023-07-04 19:11:36 -04:00
Gouvernathor f45b13a101 Update layeredimage.predict_all to None 2023-07-04 18:07:58 +02:00
Abdul 3d26079aff Update screens.rst
Fixed minor typo
2023-07-04 14:53:51 +01:00
Tom Rothamel 4f152e93ab Move Displayable into its own module (renpy.display.displayable).
Mostly to make the file easier to manage as work begins on
clone.
2023-07-03 19:35:11 -04:00
Tom Rothamel 5fd0d17e0b Merge pull request #4813 from renpy/update-operators-list
Update the list of operators in the lexer
2023-07-03 17:56:42 -04:00
Gouvernathor 0dd9c81e8c Update the list of operators 2023-07-03 18:39:51 +02:00
Gouvernathor fcaa02f21a doc: Advise using ATL transitions to customize the punches 2023-07-03 17:09:20 +02:00
Tom Rothamel b3a0c8f47c Fix typo. 2023-07-03 10:30:16 -04:00
Tom Rothamel ca8977ae7c Document the Ren'Py updater doesn't support mac apps.
Fixes #4803.
2023-07-03 10:30:16 -04:00
Gouvernathor 045932fed6 Copy the warning to similar functions 2023-07-03 04:16:49 +02:00
Gouvernathor 4c1570fdae Tweak renpy.last_say and its doc
The character is evaluated at each query, so that if the LastSay object is saved, it will point to an up-to-date Character object
2023-07-03 04:16:31 +02:00
Tom Rothamel c7c499c6c8 Merge pull request #4745 from mal/multipart-translations
Detect multipart strings marked for translation
2023-07-02 21:47:04 -04:00
Mal Graty 7459dea76c Detect multipart strings marked for translation 2023-07-03 02:35:45 +01:00
Tom Rothamel 0f30d74045 Merge pull request #4808 from mal/fix-pause-roll-forward
Allow control exceptions as pause roll forward
2023-07-02 21:07:43 -04:00
Mal Graty 1c9cff6be3 Allow control exceptions as pause roll forward 2023-07-02 18:22:35 +01:00
Tom Rothamel 2880e63082 doc: Link and changeloy renpy.last_say. 2023-07-02 00:13:58 -04:00
Tom Rothamel 55d16830c9 iap: Add support for reviewing on the Apple App Store. 2023-07-02 00:06:45 -04:00
Tom Rothamel 5422467e02 iap: Add support for requesting a review on Google Play. 2023-07-01 23:18:37 -04:00
Gouvernathor 9189178a5f doc: fix attributes listing 2023-07-02 04:07:03 +02:00
Lezalith 494bb54620 Add renpy.last_say function. (#4749)
This is a function that returns information about the last dialogue line.
2023-07-01 22:03:56 -04:00
Gouvernathor d0e925156b Enable jump/call expression to local labels (#4797)
* Enable jump/call expression to local labels

* Use a separate slot to store the local global label

* Document passing .local_label, and changelog
2023-07-01 21:59:44 -04:00
Moshibit 7a96e8ad82 Spanish translation update (#4805)
* Update launcher.rpy

* Fix Spansih translation.rpy

* Update common.rpy

* Update gui.rpy

* Update launcher.rpy
2023-07-01 10:17:02 -04:00
Tom Rothamel 4d0d262a76 Report deferred errors in load_script.
Fixes #4798.
2023-07-01 01:21:19 -04:00
Tom Rothamel 3dad9048f0 Document the Ren'Py updater doesn't support mac apps.
Fixes #4803.
2023-06-30 22:33:54 -04:00
Gouvernathor f317cd6a00 Remove debug print 2023-06-30 19:54:37 +02:00
Gouvernathor c19456c4f7 Verbot pos-only and required kw-only parameters in ATL 2023-06-30 19:32:35 +02:00
Tom Rothamel 10ecb3f05b doc: Remove a warning about macOS 10.9.
Which is no longer supported.
2023-06-29 23:30:33 -04:00
Tom Rothamel 648f2835ac doc: Remove a warning about macOS 10.9.
Which is no longer supported.
2023-06-29 23:30:05 -04:00
Tom Rothamel 23adb33f71 Merge pull request #4794 from renpy/doc-screen-properties
Add the screen property directive
2023-06-29 21:27:37 -04:00
Tom Rothamel d62b8b8dfc Merge pull request #4777 from renpy/itch_channels
Convert build.itch_channels to a true dict
2023-06-29 21:09:04 -04:00
Tom Rothamel 5e03d9eb29 Merge pull request #4778 from mal/fix-drag-drop-db0
Prevent rare divide by zero in drag/drop
2023-06-29 21:08:36 -04:00
Gouvernathor eef91dcda8 doc typo
what f976f31 was meant to do
2023-06-30 02:30:21 +02:00
Gouvernathor 29324f6092 Add the screen property directive 2023-06-30 02:08:11 +02:00
Gouvernathor b224df24dc doc: fix bullet point list 2023-06-30 01:50:15 +02:00
Gouvernathor 446a1d74e7 doc: follow-up last 2023-06-30 01:47:56 +02:00
Gouvernathor 5b7bd98219 doc: fix missing ref 2023-06-30 01:45:05 +02:00
Gouvernathor c42b975be3 doc: use the tt reference role and avoid wasting a label 2023-06-30 01:42:18 +02:00
Tom Rothamel 9207334808 Report empty ATL blocks as an error.
Fixes #4792. Deferring to a major release because it's a very
unlikely issue, and may require script changes.
2023-06-28 21:38:44 -04:00
Gouvernathor f976f31e7a doc typo 2023-06-28 23:27:35 +02:00
Gouvernathor 3017331aa9 doc: spacing in an example 2023-06-28 23:14:54 +02:00
Gouvernathor 3601c782f9 Merge branch 'master' into rpy-python 2023-06-28 14:37:08 +02:00
Ren'Py Bot 34d4eb57a4 Merge branch 'fix' 2023-06-28 04:30:37 -04:00
Tom Rothamel c7d7cc23b1 doc: Changelog last. 2023-06-27 23:21:38 -04:00
Tom Rothamel a65cecfc18 Enable or disable text input as required.
This prevents the input method from always being active, to consume
and consuming keyboard bindings.

Fixes #4784.
2023-06-27 22:47:51 -04:00
Ren'Py Bot e8323f4cad Merge branch 'fix' 2023-06-27 01:08:00 -04:00
Tom Rothamel 4284d45069 Better error handling when cancelling directory selecton.
Fixes #4779.
2023-06-27 01:07:55 -04:00
Tom Rothamel 9d9085d379 Reset the compile and warp arguments when reloading.
Fixes #4780.
2023-06-26 23:17:55 -04:00
Tom Rothamel cb0cf2bf5e Add the fact that we're reloading to renpy.session. 2023-06-26 23:07:38 -04:00
Tom Rothamel 2c4194e754 rapt: Remove missing JDK options.
Since we no longer search for the JDK on windows until we install
the SDK.
2023-06-26 23:04:26 -04:00
Ren'Py Bot ac2534a87f Merge branch 'fix' 2023-06-26 04:30:37 -04:00
Tom Rothamel 9c442bb694 Merge pull request #4782 from Kassy2048/fix-web-fullscreen
Fix fullscreen Web
2023-06-25 21:47:10 -04:00
Kassy 20d7ecf868 Alias Window mode to non-Fullscreen mode on Web
There is no good way to resize the browser window size and
it's not really desirable to resize it anyway. These
changes should partially fix the issues reported in #4760.
2023-06-26 02:48:42 +02:00
Ren'Py Bot bb4e4da909 Merge branch 'fix' 2023-06-25 04:30:37 -04:00
Gouvernathor b467514c39 add incompat entry 2023-06-25 03:57:13 +02:00
Mal Graty e51642ff3f Prevent rare divide by zero in drag/drop
Encountered in rare rollback scenarios where self.st would correctly
reflect the drag was complete, but the render st was zero, resulting in
self.st and self.target_st being equal resulting in the divide by zero.
2023-06-24 16:27:10 +01:00
Gouvernathor 8556d563c9 Convert build.itch_channels to a true dict, and light compat 2023-06-24 15:20:27 +02:00
Gouvernathor a370643f40 Fix absolute.__rdivmod__
fixes #4772
2023-06-24 13:43:03 +02:00
Gouvernathor e56fbd90f1 fix Camera AST node 2023-06-23 21:56:03 +02:00
Gouvernathor 15ec88c900 Update exception text 2023-06-23 21:44:44 +02:00
Gouvernathor 7eeadcfde1 Typos in incompatible.rst
per previous commit
2023-06-23 13:13:08 +02:00
Gouvernathor 061a8c9194 Typos in changelog.rst
per https://github.com/renpy/renpy/pull/4564#issuecomment-1520347974
I didn't test the right-to-left/bottom-to-top thing
2023-06-23 13:10:31 +02:00
Ren'Py Bot 584b13ff67 Merge branch 'fix' 2023-06-23 04:30:37 -04:00
Tom Rothamel d309f3fb93 Add gui.history_spacing.
This variable allows the creator to customize the space between
history entries.

Fixes #4766.
2023-06-23 01:00:07 -04:00
Tom Rothamel 5505c01d0a Changes to box_reverse.
Per #4765.
2023-06-23 00:41:56 -04:00
Daniel Brookman b423982a28 Correct var in GUI Customization Guide
"gui.choice_text_hover_color" doesn't point to choice_button, so
changing it won't do anything.
2023-06-22 23:28:29 -04:00
Ren'Py Bot 86afb06388 Merge branch 'fix' 2023-06-22 23:27:45 -04:00
Tom Rothamel 0e74637c87 Merge pull request #4767 from dbrookman/doc_choice_button_text_hover
Correct var in GUI Customization Guide
2023-06-22 23:27:32 -04:00
Tom Rothamel 6ca4fc2ae1 Fix image component sorting in the directory.
Make sure each component is a string, but pad out numbers so the
sorting is better (ie, c2 should sort before c12.).

Fixes #4769.
2023-06-22 23:19:54 -04:00
Daniel Brookman 6710dbbde8 Correct var in GUI Customization Guide
"gui.choice_text_hover_color" doesn't point to choice_button, so
changing it won't do anything.
2023-06-22 14:55:41 -04:00
Gouvernathor fb03b82f4c doc: tweaks for timed nw 2023-06-22 13:12:30 +02:00
Tom Rothamel 360277f0fe Document that loadable doesn't search images.
Fixes #4712.
2023-06-22 01:14:39 -04:00
Tom Rothamel 14a09d2cc6 The {nw} text tag takes a number of seconds before the line is dismissed.
Fixes #4763.
2023-06-21 23:07:15 -04:00
Ren'Py Bot 822f1a4da6 Merge branch 'fix' 2023-06-21 04:30:37 -04:00
Tom Rothamel 607c1ac64d A better error message if config.version has a bad character.
Fixes #4758.
2023-06-20 23:52:36 -04:00
Tom Rothamel eb0d4948d0 End an animation immediately if time resets. 2023-06-19 22:21:18 -04:00
Ren'Py Bot bd3d5f9dde Merge branch 'fix' 2023-06-18 23:29:40 -04:00
Tom Rothamel 2c91ada1a6 Restore/improve the handling of mouse events.
* It's now possible to bind a mousedown event to skip, and other
  functions that care about keyup/keydown pairs.

* Mouseup events that are are bound to keyup are ignored.

Fixes #4755.
2023-06-18 22:46:33 -04:00
Tom Rothamel 46b0a05849 Merge pull request #4753 from renpy/tweak-4750
Tweak 1a62894
2023-06-18 14:13:41 -04:00
Gouvernathor 6a663830f8 linkify, tweak phrasings and code 2023-06-18 17:45:03 +02:00
Ren'Py Bot 9a23172671 Merge branch 'fix' 2023-06-18 02:08:44 -04:00
Tom Rothamel 1a62894650 Document the limits to MoveTransition, check for errors. 2023-06-18 02:08:36 -04:00
Tom Rothamel 22b3106504 Merge pull request #4751 from renpy/move-transitions-doc-tweaks
Tweak docstrings for transitions
2023-06-18 00:55:20 -04:00
Gouvernathor 9a1c783895 doc: clarify MultipleTransition API
avoiding rapid unscheduled disassembly of creators' keyboards
2023-06-18 03:14:05 +02:00
Gouvernathor d793750adb doc: tweak docstrings for move transitions
add links, and clarity
2023-06-18 02:33:42 +02:00
Gouvernathor 74b476f8c1 doc: hide Dissolve's alpha parameter
Documented as ignored and kw-only, might as well not exist at all
The other classes in this file had the same done to them, this one was probably forgotten
2023-06-18 01:56:11 +02:00
Gouvernathor b687ed1315 Do not ignore unknown futures
errors should not be pass silently, unless explicitly silenced
2023-06-17 21:31:07 +02:00
Gouvernathor 06d6d4b1ef doc: typo 2023-06-17 19:52:33 +02:00
Gouvernathor c682e99213 Merge branch 'master' into rpy-python 2023-06-17 16:25:41 +02:00
Tom Rothamel 8fe9b7ad89 Add the keep_last_frame parameter to Movie.
This keeps the last frame after the movie ends.

Fixes #4732.
2023-06-17 01:12:37 -04:00
Ren'Py Bot c6456618e4 Merge branch 'fix' 2023-06-16 23:47:53 -04:00
Tom Rothamel 9dc7aa1603 Merge pull request #4722 from Kassy2048/fix_7.6_web
Fix for 7.6 web
2023-06-16 23:31:41 -04:00
Tom Rothamel 98fd979c82 Fix downloads of dlc into the nightly builds. 2023-06-16 23:29:56 -04:00
Tom Rothamel 9723a2b7f8 Merge pull request #4738 from renpy/movie-doc
Tweak the Movie callable documentation
2023-06-16 20:27:16 -04:00
Tom Rothamel 77b1ad7fb1 Merge pull request #4747 from Lezalith/master
Czech Translation of The Question
2023-06-16 20:10:48 -04:00
Lezalith b9bcff650b Czech Language button in Preferences screen. 2023-06-17 02:07:58 +02:00
Lezalith fcc3d2a1b6 The Question czech translation files. 2023-06-17 02:07:29 +02:00
Ren'Py Bot 728f217eb7 Merge branch 'fix' 2023-06-16 04:30:37 -04:00
Tom Rothamel 917ac66cae movie: Ensure the channels exist in any function that can use them.
Fixes #4723.
2023-06-15 22:09:19 -04:00
Mal Graty 30c2a2a269 Avoid cropping widgets during a dissolve (#4717) 2023-06-15 21:17:38 -04:00
Morgan Willcock 79a1890539 Fix changelog entry for 'rpy python' (#4720) 2023-06-15 21:16:48 -04:00
Morgan Willcock ebb9358d87 Fix changelog entry for 'rpy python' (#4720) 2023-06-15 21:15:54 -04:00
Ren'Py Bot 3f5df973bf Merge branch 'fix' 2023-06-15 04:30:37 -04:00
Tom Rothamel e17ef3d265 Merge Ukrainian translation.
By @GVeydzher on twitter.
2023-06-14 22:26:25 -04:00
Ren'Py Bot fb4264f3ee Merge branch 'fix' 2023-06-14 01:38:06 -04:00
Tom Rothamel d72de4ab68 Preserve time when upgrading a save to have a token.
Fixes #4736.
2023-06-14 01:27:45 -04:00
Tom Rothamel a069545bcd retain: Document retained bubbles. 2023-06-13 23:32:08 -04:00
Asriel Senna 79d3951fad doc: reorder parameters to fit their description 2023-06-13 17:30:48 +02:00
Asriel Senna 97fc57d912 Undocument the fps parameter 2023-06-13 17:29:26 +02:00
Tom Rothamel 6ed04f3d5e Merge branch 'fix' 2023-06-13 00:54:35 -04:00
Tom Rothamel 8de1dccf43 Report an error if init is used with a directive, not a statement.
Fixes #4713.
2023-06-12 23:57:24 -04:00
Tom Rothamel 8ec26b7b66 Report parse errors in editor when run from the launcher.
This prevents parse errors from passing hidden when the game
is recompiled during distribution.
2023-06-12 22:35:50 -04:00
Tom Rothamel 1f05d93ea6 bubble, retain: Implement clearing retained bubbles.
This was implemented with a new button in the bubble editor, that
the user can click to clear out all buttons on the screen apart
from the current bubble.
2023-06-12 01:33:40 -04:00
Tom Rothamel c3a2d4745d retain: When retain is in use, each bubble has its own location. 2023-06-11 00:36:05 -04:00
Kassy 6ce1cda92b Fix crash on Web2 because pydoc is not shipped 2023-06-10 23:40:45 +02:00
Kassy 3070a40fce Fix crash on Web2 because WebInput is not implemented 2023-06-10 23:39:58 +02:00
Kassy 0176e42268 Fix crash on Web2 because subprocess.Popen is not implemented 2023-06-10 23:39:34 +02:00
Tom Rothamel afb9729ecf retain: Initial implementation of retained dialogue.
This is intended for used with speech bubbles, but might be useful
in other place. It's a mode where each say statement shows a new
screen, until the screens are cleared by the (to be added)
clear statement.
2023-06-09 20:36:30 -04:00
Gouvernathor 814fa97059 Allow multiple future flags in the same rpy statement
the get_code method of the ast node will print several lines instead of one, but I think it's fine - the node makes no sense in a translation
2023-06-09 14:04:33 +02:00
Gouvernathor 1f47a40a0e Simplify parser code 2023-06-09 13:54:48 +02:00
Gouvernathor 73a02a0c0c typo 2023-06-09 13:52:49 +02:00
Tom Rothamel d079dda223 Update piglatin translation. 2023-06-09 00:22:11 -04:00
Tom Rothamel 87b2291f99 Improved translation generation.
* Better filtering of braces, especially nested braces.
* Do not piglatin-ify numbers.
2023-06-09 00:22:11 -04:00
Tom Rothamel 6e7d650f51 doc: Match the fix branch. 2023-06-08 22:09:30 -04:00
Gouvernathor 5e9989d0a1 Changelog rpy python and the end of stringified annotations 2023-06-09 03:31:40 +02:00
Gouvernathor 65dce66eef Generalize the rpy python statement to explicit __future__s 2023-06-09 03:00:04 +02:00
Gouvernathor c2c094fbf6 Fix bad automatic comment translation
old ["']##[^\n]+?["']\n\s*(?:# Automatic translation\.\n\s*)?new ["']#?[^#]
updated gift for posterity (see d037830)
2023-06-08 20:56:59 +02:00
Gouvernathor 22cf8d3166 doc: tweaks 2023-06-08 17:28:15 +02:00
Tom Rothamel bb0b7f807f Bump version. 2023-06-08 01:50:27 -04:00
Tom Rothamel 08667dedf1 Re-generate the vc version in add.py.
So the correct version is used for releases.
2023-06-07 22:03:59 -04:00
Tom Rothamel cd5a9b2830 doc: Credits. 2023-06-07 20:57:56 -04:00
Tom Rothamel 4579dbab15 Clean up the fix-branch changelog. 2023-06-07 20:43:11 -04:00
Tom Rothamel 10a9521a19 docgen: Set the search z-index to 1. 2023-06-07 20:38:19 -04:00
Gouvernathor bcc0d211e1 Extend the system cursor preference to config.mouse_displayable (#4706)
* Make the system_cursor preference disable mouse_displayable

* doc: new "system_cursor" behavior

* changelog system_cursor
2023-06-07 20:37:48 -04:00
Tom Rothamel a33f891d65 docgen: Set the search z-index to 1. 2023-06-07 19:55:48 -04:00
Gouvernathor 9b1f23fe4d Extend the system cursor preference to config.mouse_displayable (#4706)
* Make the system_cursor preference disable mouse_displayable

* doc: new "system_cursor" behavior

* changelog system_cursor
2023-06-07 19:55:32 -04:00
Ren'Py Bot bb6ca17bc3 Merge branch 'fix' 2023-06-07 02:17:36 -04:00
Tom Rothamel 7e8ed2dcf7 doc: Update sponsors. 2023-06-07 02:07:15 -04:00
Tom Rothamel 3893bcbc7a doc: Credits. 2023-06-07 01:16:44 -04:00
Ren'Py Bot f33ab6b095 Merge branch 'fix' 2023-06-07 01:06:44 -04:00
Tom Rothamel b0b096bf16 audio: if_changed handles tight looping.
Subject to how if_changed works, as it does queue up a new
loop.

Fixes #4695.
2023-06-07 01:05:22 -04:00
Gouvernathor 7df26f34ed Fix mouse_move documentation (#4700)
* docstring spaces

* doc: fix inconsistencies about the mouse_move preference
2023-06-06 23:58:49 -04:00
Tom Rothamel 454ba1360d Ensure that scrollable bars have the sensitive style.
Fixes #4690.
2023-06-06 23:57:11 -04:00
Tom Rothamel 5116fdaa47 Check atl state for validity where it might have changed.
Fixes #4701.
2023-06-06 21:45:14 -04:00
Ren'Py Bot 26d4b1af50 Merge branch 'fix' 2023-06-06 04:30:56 -04:00
Tom Rothamel 9d1b8c0e29 atl: Run ATL transforms in the animation timebase.
This fixes #4696 while keeping #4634 and #4167 fixed.
2023-06-06 01:15:50 -04:00
Tom Rothamel e740a83764 doc: Changelog. 2023-06-05 23:25:24 -04:00
Ren'Py Bot 25e2dba5b3 Merge branch 'fix' 2023-06-05 04:30:56 -04:00
Gouvernathor b8c4565a38 Dereference utter_restart and move reload-related functions to the reload section (#4657)
doc: deref utter_restart and move reload-related functions
2023-06-05 00:40:03 -04:00
Tom Rothamel 36a2e32401 web: Fix audio end time.
It takes a duration, not the end time itself.

Fixes #4694.
2023-06-05 00:38:12 -04:00
Tom Rothamel b586355a8e Ensure that objects reachable from Context rollback.
Fixes #4687, and a class of potential related problems, by
auditing things that are reachable through Context.
2023-06-04 18:24:02 -04:00
Gouvernathor 1a375c525c Add a warning when creating new projects in renpy 7
not disabled, because it still makes sense for test purposes or to update default files
2023-06-04 11:45:22 +02:00
Ren'Py Bot dd1c162271 Merge branch 'fix' 2023-06-04 04:30:56 -04:00
Tom Rothamel 7171b21fb4 doc: That dropping doesn't respect the alpha channel.
Closes #4686.
2023-06-03 22:11:01 -04:00
Tom Rothamel 30aba15be2 Accept the vscode plugin style changes. 2023-06-03 22:10:25 -04:00
Tom Rothamel 007aa19291 live2d: Determine if _sustain is required after attribute_filter.
As it's possible attribute_filter will introduce a motion that
makes sustain pointless.

Fixes #4660.
2023-06-03 21:36:53 -04:00
Tom Rothamel 7e6560b766 live2d: _choose_attributes should enforce required attributes.
If it can't find all of the required attributes, then it should
not allow the displayable to be shown.

Fixes the first part of #4660.
2023-06-03 20:55:48 -04:00
Tom Rothamel dd2b26807d doc: Changelog e29fdf8cbf. 2023-06-02 23:29:53 -04:00
Ren'Py Bot e6d5b8eef6 Merge branch 'fix' 2023-06-02 23:28:42 -04:00
Tom Rothamel 206431c210 Add links to 8.1.1 and 7.6.1. 2023-06-02 23:22:46 -04:00
Tom Rothamel 61c9ebffa9 Propagate times to ATL transitions, but not other state.
This tries to fix #4634 without breaking #4167, by recognizing
when a transition has started and propagating the adjusted times
into it, but not the state.

This can probably fail, as events and choices won't be propagated,
but those should be rare in transitions, ideally.
2023-06-02 23:01:32 -04:00
Ren'Py Bot f79c052ace Merge branch 'fix' 2023-06-01 22:52:41 -04:00
Tom Rothamel e29fdf8cbf Prevent autoreloading while the git index lock is present.
Fixes #3689.
2023-06-01 22:42:50 -04:00
Moshibit 544cf07739 Fix Spanish tranlation (#4684)
* Update launcher.rpy

* Fix Spansih translation.rpy
2023-06-01 22:26:16 -04:00
Moshibit a88e2a3980 Fix Spanish tranlation (#4684)
* Update launcher.rpy

* Fix Spansih translation.rpy
2023-06-01 22:25:22 -04:00
Ren'Py Bot 1251ce7e36 Merge branch 'fix' 2023-06-01 04:30:56 -04:00
Gouvernathor 360dc4fdbb Make absolute a float again (#4680)
Multiple advantages over the wrapper-class implementation : lighter in memory, don't wrap methods that don't need too, don't spend time converting their parameters, avoid a two-version pickling and unpickling mechanism (with slots), shorter code with less warning silencing.
2023-06-01 00:31:00 -04:00
Tom Rothamel 3396feff33 Rewrite absolute to not inherit from float.
This replaces absolute with a class that contains a float, and
behaves like a float in most circumstances. However, when an
operation is performed on it that would create a float, an
absolute is returned instead.

This is meant to address #4666 and a class of potential issues
that could be similar to it, where absolutes that are operated
on could become a float, and cause layout issues.

I need to think if this is something that should got into the
fix branch, as it's a major change.
2023-06-01 00:31:00 -04:00
Tom Rothamel 7cf287c4f4 docgen: Fix the location of the searchbox.
Fixes #4682.
2023-05-31 23:51:08 -04:00
Tom Rothamel 732b98f7a2 Document that YUV444 is slow.
Per discussion in #4646.
2023-05-31 22:45:17 -04:00
Tom Rothamel 838ce5a82b Fix non-full playback of videos.
Fixes #4646.
2023-05-31 22:41:54 -04:00
Gouvernathor c7083584df Make absolute a float again (#4680)
Multiple advantages over the wrapper-class implementation : lighter in memory, don't wrap methods that don't need too, don't spend time converting their parameters, avoid a two-version pickling and unpickling mechanism (with slots), shorter code with less warning silencing.
2023-05-31 01:31:02 -04:00
Ren'Py Bot b6f1be507b Merge branch 'fix' 2023-05-30 04:30:56 -04:00
Tom Rothamel 690f249481 Rewrite absolute to not inherit from float.
This replaces absolute with a class that contains a float, and
behaves like a float in most circumstances. However, when an
operation is performed on it that would create a float, an
absolute is returned instead.

This is meant to address #4666 and a class of potential issues
that could be similar to it, where absolutes that are operated
on could become a float, and cause layout issues.

I need to think if this is something that should got into the
fix branch, as it's a major change.
2023-05-30 02:01:39 -04:00
midgethetree 13cd7d0ebc fix fonts linting (#4679)
Fixes an issue where fonts located in the fonts/ directory and referenced in .rpy files with just their filename and not the fonts/ prefix would be falsely claimed to be unloadable by the linter despite working just fine in-game. Also fixes the converse issue, where fonts located in images/ directory and referenced without the images/ prefix weren't caught by the linter despite the game crashing when actually attempting to load them.
2023-05-30 00:48:09 -04:00
midgethetree dfc29bb646 fix fonts linting (#4679)
Fixes an issue where fonts located in the fonts/ directory and referenced in .rpy files with just their filename and not the fonts/ prefix would be falsely claimed to be unloadable by the linter despite working just fine in-game. Also fixes the converse issue, where fonts located in images/ directory and referenced without the images/ prefix weren't caught by the linter despite the game crashing when actually attempting to load them.
2023-05-30 00:31:11 -04:00
Tom Rothamel a14b4c3ddc Avoid including the 311 bytecode in the launcher.
As it's not needed there.

Per #4677.
2023-05-29 21:57:16 -04:00
Ren'Py Bot d94c3ef043 Merge branch 'fix' 2023-05-29 12:27:46 -04:00
brainos233 917292b443 fix: launcher\game\tl\schinese\options.rpy (#4676) 2023-05-29 18:16:05 +02:00
Tom Rothamel e02ce6579f docgen: Fix a style issue. 2023-05-29 12:15:15 -04:00
brainos233 d8322a6db7 fix: launcher\game\tl\schinese\options.rpy (#4676) 2023-05-29 18:14:36 +02:00
Tom Rothamel 5201ff3e10 sl2: Better analyze imagemaps.
The issue was that:

    imagemap:
        if cond:
            idle "idle_true"
            hover "hover_true"
        else:
            idle "idle_false"
            hover "hover_false"

        hotspot (0, 0, 100, 100) action Jump("test")

Didn't depend on cond, which meant that the hotspot
would not change when the imagemap was updated.

Test: xagrim-imagemap.
2023-05-29 11:58:23 -04:00
Gouvernathor 64ac9c1a99 BOM and UTF-LF 2023-05-29 12:57:11 +02:00
zedraxlo ff426586b8 SChinese translation update (#4675) 2023-05-29 12:56:53 +02:00
Gouvernathor f3f703b426 BOM and UTF-LF 2023-05-29 12:53:55 +02:00
zedraxlo ac39001a61 SChinese translation update (#4675) 2023-05-29 12:40:58 +02:00
Ren'Py Bot cfd1721d71 Merge branch 'fix' 2023-05-29 04:30:56 -04:00
Tom Rothamel 0cd32aa9a4 (Mostly) revert changes to afm_enable preference handling.
This is a bit special, as it define if afm_enable is used or not.
Since this is baked in to older games, restore the previous values,
but let the default statement override them, which was the goal of
the previous commit.
2023-05-29 02:08:40 -04:00
Ren'Py Bot e33cc4c43c Merge branch 'fix' 2023-05-28 23:07:07 -04:00
Tom Rothamel 9c9c36a723 rapt: Document the key changes. 2023-05-28 23:06:41 -04:00
Morgan Willcock 3762c42604 doc: Fix interpolation example block (#4674)
Corrects the indentation so that the code is valid.

One of the affected lines had a typo ('thje' instead of 'the'), which
is now corrected.
2023-05-28 23:25:59 +02:00
Ren'Py Bot 389e882505 Merge branch 'fix' 2023-05-27 00:38:16 -04:00
Tom Rothamel 75832ccd22 Avoid having preference defaults by default.
The older config.default_.... variables could force a preference
to take on a value, even if the creator used default to set the
preference.

This changres a few of the defaults in preferences.py, and removes
the need for config.default_... variables.

Fixes #4667.
2023-05-26 22:13:45 -04:00
Ren'Py Bot fe2d76bdd3 Merge branch 'fix' 2023-05-25 01:40:53 -04:00
Tom Rothamel 26af404433 Fix typo in nosave list.
Fixes #4664.
2023-05-25 01:40:10 -04:00
Tom Rothamel 8209e61d75 Fix problem with non-resiable windows on macOS.
Apparently, when a window is not resizable on macOS, the MAXIMIZED
flag is always set. Since the window can't actually be maximized,
ignore it.

Fixes #4659.
2023-05-25 00:30:39 -04:00
Tom Rothamel 09ee1cb52f Deal with mac reporting fullscreen windows as maximized.
This can cause a problem when changing modes.

Per #4659.
2023-05-25 00:30:39 -04:00
Ren'Py Bot b152e0b00a Merge branch 'fix' 2023-05-23 13:34:03 -04:00
Gouvernathor 75d0f4dc64 Encode the save directory as bytes on py2 2023-05-23 13:33:57 -04:00
Ren'Py Bot df982c1b4c Merge branch 'fix' 2023-05-23 04:30:46 -04:00
Tom Rothamel bb526f6ae3 doc: Fix doc problem with ui.interact. 2023-05-23 01:51:00 -04:00
Gouvernathor 110e6340e4 doc: remove double variable entry
the second one, which was fixed a week ago (1436e3e), is slightly better phrased
2023-05-22 17:19:43 +02:00
Gouvernathor 166e81b2e5 Revert "doc: move reload-related functions to the dedicated section"
This reverts commit 078ffb9e5a.
2023-05-22 17:02:11 +02:00
Ren'Py Bot a851c97c85 Merge branch 'fix' 2023-05-22 10:51:36 -04:00
Moshibit 217d0e85f8 Update launcher.rpy 2023-05-22 10:51:23 -04:00
Moshibit 09a29a941c Update launcher.rpy 2023-05-22 10:43:06 -04:00
Gouvernathor 078ffb9e5a doc: move reload-related functions to the dedicated section 2023-05-22 16:34:23 +02:00
Ren'Py Bot f9233742a2 Merge branch 'fix' 2023-05-22 01:51:15 -04:00
Tom Rothamel a2adf917aa The window icon is an image.
Fixes #4651.
2023-05-22 01:51:15 -04:00
Gouvernathor 41d0b41518 actual translation 2023-05-22 01:51:15 -04:00
Gouvernathor aded4dd05e french translations 2023-05-22 01:51:15 -04:00
Tom Rothamel 412c56e76b The window icon is an image.
Fixes #4651.
2023-05-22 01:48:41 -04:00
Gouvernathor 15024f32a8 quicken PY3 case 2023-05-21 16:30:29 +02:00
Gouvernathor cdee6e388c actual translation 2023-05-21 16:27:29 +02:00
Gouvernathor 1a820b67a7 french translations 2023-05-21 15:50:29 +02:00
Tom Rothamel 8c21f14bf7 autotl: Better handling of lines beginning with ##. 2023-05-21 01:48:34 -04:00
Tom Rothamel 1660375bde autotl: The description of the nightly fix build. 2023-05-21 01:47:22 -04:00
Tom Rothamel c9ec07f566 Add infrastructure for single-string translations.
This is intended to allow important strings to be automatically
translated while we work on improving the quality of automatic
translations.
2023-05-21 01:47:02 -04:00
Tom Rothamel 19316303b7 Add strings describing the nightly branch. 2023-05-21 00:18:50 -04:00
Tom Rothamel e46d664aed Diagnose issues with a class no longer inheriting from object. 2023-05-20 23:31:49 -04:00
Tom Rothamel ccaf664e3c Allow error handling to deal with exceptions in rollback.
Previously, the exception would occur with the context stack
already altered. As the exception was handled, contexts could
be removed from the stack, leading to a case where there was
no context - which causes crashes.
2023-05-20 22:53:21 -04:00
Tom Rothamel 572ebcc3a8 Make sure Execution.__repr__ always produces a result. 2023-05-20 22:51:35 -04:00
Tom Rothamel 8f5c2526f0 Properly quote replacement text.
Fixes #4631.
2023-05-20 02:32:05 -04:00
Tom Rothamel d93745e2e1 Delete .pyo and .pyc files when reloading a module.
This can fix a problem on Python 2, where a .pyo file would be
loaded in preference to an updated .py file, even if the .py file
was created the first time around.
2023-05-19 23:27:50 -04:00
Tom Rothamel 4f8f3155ef Take the version out of the newly-generation dict. 2023-05-19 00:51:39 -04:00
Tom Rothamel deb4a2c9eb Merge pull request #4645 from brainos233/docs-build-packages
Docs: Fix missing "renpy" list in Packages example
2023-05-18 11:15:51 -04:00
Tom Rothamel 4d26440cbb Remove pyo and pyc files to make sure a reload occurrs. 2023-05-18 04:17:43 -04:00
Brainos cf98746660 Docs: Fix missing "renpy" list in Packages example 2023-05-18 15:47:29 +08:00
Ren'Py Bot 824828f5c8 Merge branch 'fix' 2023-05-17 02:25:34 -04:00
Tom Rothamel 59e427512c fix: Fix text tag issues with the Korean (and maybe Vietnamese) translations.
Fixes #4643.
2023-05-17 01:44:08 -04:00
Tom Rothamel 09c1a84169 Scry fixes.
- Return None of there is no current statement.
- Deal with a scry of None in character.
- Improve documentation.

Fixes #4640.
2023-05-17 01:29:18 -04:00
Tom Rothamel b254c23882 Include libydrogen in the source distribution.
Fixes #4638.
2023-05-17 01:23:01 -04:00
Tom Rothamel da7655642f Include libydrogen in the source distribution.
Fixes #4638.
2023-05-17 01:19:50 -04:00
Tom Rothamel 5c7efe99e6 Merge branch 'fix' 2023-05-17 00:58:53 -04:00
Tom Rothamel 17e743d346 Determine the version if vc_version.py does not exist.
This is likely to only happen if a git checkout exists. In that
case, we determine what branch we're on, and use that to
initialize the version information.
2023-05-17 00:54:34 -04:00
Tom Rothamel 2c898e4581 Merge branch 'fix' 2023-05-17 00:07:05 -04:00
Gouvernathor 1638a89023 Fix incorrect variable name
That was preventing renpy boot when vc_version is not present
Also, differenciate versions not yet named, "tbd", and versions not identified
2023-05-17 04:49:54 +02:00
Gouvernathor 1436e3e4f1 doc: role issues and involuntary comments 2023-05-17 04:10:16 +02:00
Gouvernathor d037830d38 Fix bad automatic comment translations
old ["']##[^\n]+?["']\n\s*(?:# Automatic translation\.\n\s*)?new ["'][^#]
(a gift to posterity)
The machine translate script should remove any prepending "## ", translate the rest, and then prepend it again to the result. Otherwise deepl thinks it's a word.
fixes #4633
2023-05-16 10:36:23 -04:00
Tom Rothamel d8cfb32514 distribute: Changes to support nightly builds.
* The --nightly flag to mark a version as nightly.
* The --print-version flag, to print the computed version.

This will allow distribute to supply version information to the
nightly build process.
2023-05-16 10:36:03 -04:00
Tom Rothamel adddcd6a11 distribute: Changes to support nightly builds.
* The --nightly flag to mark a version as nightly.
* The --print-version flag, to print the computed version.

This will allow distribute to supply version information to the
nightly build process.
2023-05-16 10:15:51 -04:00
Gouvernathor 8c511bcd72 Fix bad automatic comment translations
old ["']##[^\n]+?["']\n\s*(?:# Automatic translation\.\n\s*)?new ["'][^#]
(a gift to posterity)
The machine translate script should remove any prepending "## ", translate the rest, and then prepend it again to the result. Otherwise deepl thinks it's a word.
fixes #4633
2023-05-15 15:46:11 +02:00
Tom Rothamel 06acc1984a Use the runtime python to generate the version information. 2023-05-15 08:52:20 -04:00
Tom Rothamel 14c06dd2e4 Add py2 before py3.
Useful in the github case, to ensure Ren'Py 8 is uploaded last,
and hence is at the top of the list of downloads at github.
2023-05-15 02:40:13 -04:00
Tom Rothamel 516fceb2ab Store the version in vc_version, generate it from the branch. 2023-05-15 02:39:23 -04:00
Tom Rothamel 17b2be083a doc: Update sponsors. 2023-05-13 17:13:31 -04:00
Tom Rothamel 21caff9610 Update keywords. 2023-05-13 17:13:21 -04:00
Tom Rothamel 84db013177 doc: Credits. 2023-05-13 15:20:35 -04:00
Tom Rothamel 479c688851 doc: Polar coordinate changes. 2023-05-13 15:11:59 -04:00
Tom Rothamel 20593ac279 viewport: Allow draggable to become False during drag.
Fixes #4629.
2023-05-13 13:30:59 -04:00
Tom Rothamel 6639c4c162 Merge pull request #4576 from shawna-p/master
Allow None transition for ShowMenu
2023-05-13 13:30:04 -04:00
Tom Rothamel 61f9e2d1f7 Treat an empty at_list like no transform.
Fixes #4628.
2023-05-13 02:02:04 -04:00
Tom Rothamel d346e7a325 Remove more automatic translations of proper nouns. 2023-05-12 01:29:02 -04:00
Tom Rothamel b471addb84 Merge pull request #4617 from nattyan-tv/master
Translation of Japanese
2023-05-12 01:24:04 -04:00
Tom Rothamel a47121d6aa controller: Blocklist a non-working controller.
Fixes #4622.
2023-05-12 01:20:15 -04:00
Tom Rothamel 44eef26342 transform: Alignaround sets anchor.
This makes it behave more like it did in 8.0.3.
2023-05-12 01:13:24 -04:00
Tom Rothamel 5757e2eb72 transform: If a position is a float, it should remain a float.
This ensures that circling to a float position will continue to
cause xpos to be a float, which will help further positioning.
2023-05-12 01:13:24 -04:00
Tom Rothamel bce69d0fb6 atl: Add the anchorradius and anchorangle properties.
Having these makes revolution work much better, as it's no longer
necessary to try to derive them from angle and radius.
2023-05-12 01:13:24 -04:00
Erufailon4 80db4c307a Finnish translation fixes (#4623) 2023-05-11 18:43:39 +02:00
Tom Rothamel 238607d5a1 Allow radius to be a position again.
Looking at some examples in the field, it looks like people are
using radius as a position - so make it work, but improve the
semantics slightly so that the polar coordinates are actually circular.
2023-05-11 01:16:32 -04:00
Tom Rothamel 24a3346670 Remove the changes to polar coordinates, start over.
This removes the ability of radius to be given as a float, which
doesn't make a ton of sense. Is the radius measured compared to
width, height, or something else? Now it's back to being pixels,
which is was in 8.0.

This does make around work better when it is a float, using the
available area.

Polar coordinates now always produce absolutes for xpos and ypos,
allowing radius and around to be in different types.
2023-05-10 23:38:08 -04:00
NattyanTV cf40d10bc0 fix: Translate untranslated parts 2023-05-11 00:23:18 +09:00
NattyanTV 51bc9ed0ee change: changed to better wording 2023-05-11 00:06:27 +09:00
NattyanTV a3cade9a5a add: Japanese translation added 2023-05-10 23:56:26 +09:00
Tom Rothamel 5275ae114c Remove unnecessary calculation. 2023-05-10 00:07:21 -04:00
Tom Rothamel f537b09337 Document the translation changes. 2023-05-09 22:05:00 -04:00
Tom Rothamel 27d28db994 Fixes to alignaround and polar coordinates.
* Fix alignaround to only take floats, and rotate the floats
  properly.

* Make it clear that alignaround really only makes sense with
  (0.5, 0.5) as the argument, and that other values don't make
  sense.

* Make radius occur after the other linear interpolations in ATL,
  to be sure alignaround and around happen before it, which allows
  for correctness without a warning.

Fixes #4613.
2023-05-09 09:08:50 -04:00
Tom Rothamel daab75fb32 Remove debug prints. 2023-05-08 23:52:44 -04:00
Tom Rothamel ae243f44b3 tl: More translation updates. 2023-05-08 00:13:42 -04:00
Tom Rothamel fa7023c8ec tl: Revert more translations. 2023-05-07 23:51:01 -04:00
Gouvernathor cde6882601 Updating translations following minor edit
I won't do it every time.
Some translations were already good and only the english version was updated.
Some were skipped (see you in hell, finnish)
2023-05-08 05:01:47 +02:00
Gouvernathor f429fcb76d Update and fix some french translations 2023-05-08 04:38:21 +02:00
Tom Rothamel 814f93b620 Fix proofreading error. 2023-05-07 22:29:41 -04:00
Tom Rothamel 59508028dc Remove things that shouldn't be auto-translated. 2023-05-07 22:10:59 -04:00
Tom Rothamel 796030c8e5 tl: Un-mark directory names as translations. 2023-05-07 21:52:12 -04:00
Tom Rothamel 74477e0de6 tl: Fix incorrect translations of directory names.
Which shouldn't really be translated in the first place.
2023-05-07 19:39:33 -04:00
Tom Rothamel ccd2abc22b tl: Check in the automatic translation scripts. 2023-05-07 17:38:49 -04:00
Tom Rothamel 37ea587f61 tl: Automatically update the launcher's Ukrainian translation. 2023-05-07 17:32:42 -04:00
Tom Rothamel 29234e0945 tl: Automatically update the launcher's Turkish translation. 2023-05-07 17:25:16 -04:00
Tom Rothamel ba15b08bce tl: Automatically update the launcher's Simplifed Chinese translation. 2023-05-07 17:20:39 -04:00
Tom Rothamel ff1ba8a9f5 tl: Automatically update the launcher's Russian translation. 2023-05-07 17:18:23 -04:00
Tom Rothamel ece67a6ee4 tl: Automatically update the launcher's Portuguese translation. 2023-05-07 17:15:30 -04:00
Tom Rothamel 76dc673898 tl: Automatically update the launcher's Polish translation. 2023-05-07 17:09:45 -04:00
Tom Rothamel e9a12bdc32 tl: Automatically update the launcher's Korean translation. 2023-05-07 17:06:24 -04:00
Tom Rothamel 46d96dea71 tl: Automatically update the launcher's Japanese translation. 2023-05-07 17:01:59 -04:00
Tom Rothamel ff6bdefb7b tl: Automatically update the launcher's Italian translation. 2023-05-07 16:52:40 -04:00
Tom Rothamel b7fce0f30c tl: Automatically update the launcher's Indonesian translation. 2023-05-07 16:43:00 -04:00
Tom Rothamel 70cd64c067 tl: Automatically update the launcher's Greek translation. 2023-05-07 16:38:04 -04:00
Tom Rothamel 48d3e89bd9 tl: Automatically update the launcher's French translation. 2023-05-07 16:30:31 -04:00
Tom Rothamel 5b3dad9476 tl: Automatically update the launcher's German translation. 2023-05-07 16:28:10 -04:00
Tom Rothamel 9abf62cf65 tl: Automatically update the launcher's Finnish translation. 2023-05-07 16:23:09 -04:00
Tom Rothamel 4221cd1e85 live2d: Sort new attributes before older ones. 2023-05-06 19:18:01 -04:00
Tom Rothamel 8048386b4b Extend should have the same statement_name as what's being extended.
This prevents unexpected transitions.

Per #4605.
2023-05-06 18:20:02 -04:00
Tom Rothamel 1341285769 Turn extend from a function into an object.
This will let us declare properties and methods on it.
2023-05-06 17:46:02 -04:00
Tom Rothamel d8262b21c1 character: Set interact=False for the first of multiple displays. 2023-05-06 17:19:58 -04:00
Tom Rothamel 8b14b86702 Merge pull request #4611 from renpy/layeredimage-add
Document LayeredImage.add
2023-05-06 16:42:55 -04:00
Gouvernathor 6cc5ea6e5d doc: typo and preferred syntax 2023-05-06 19:21:48 +02:00
Gouvernathor 7572681097 Save some execution time
Summing those up for every kwarg is absurdly wasteful.
2023-05-06 19:21:03 +02:00
Gouvernathor 7c076fd49f Document LayeredImage.add 2023-05-06 19:16:44 +02:00
Gouvernathor ed471a56cb Comments and exception message format 2023-05-06 14:33:01 +02:00
Gouvernathor 0fa9b581ef Tweak in list.clear implem
20% tested performance boost, even higher for linger lists
2023-05-06 13:53:46 +02:00
Tom Rothamel 39f53e200a Merge pull request #4607 from renpy/doc-additive-warning
Remove warning about software rendererers
2023-05-05 23:33:38 -04:00
Tom Rothamel 19d387d3b0 gl2: Fullscreen cancels maximize. 2023-05-05 23:10:27 -04:00
Tom Rothamel bd3c36b3a7 audio: Only fadeout on game quit. 2023-05-05 23:10:27 -04:00
Gouvernathor 57830f35e0 Remove warning about software rendererers 2023-05-06 04:06:49 +02:00
Tom Rothamel 5f1c0590a4 Merge pull request #4604 from renpy/revertable-operators
Update revertable types according to Python's datamodel
2023-05-05 21:58:22 -04:00
Tom Rothamel ead6611e1d Fadeout, rather than quitting audio as the game starts to end. 2023-05-05 21:57:06 -04:00
Gouvernathor 483ec6dc0d Quicken list dunders
Exact typechecks are quicker than instance checks.

Since it's direct list methods we're wrapping (and not super calls for example), the return value is either NotImplemented or a list.
No need to complicate things further than that.
2023-05-06 03:36:50 +02:00
Tom Rothamel 2d5ba5e840 Revert "audio: Fadeout for the default fadeout on game end."
This reverts commit 7917173b05.
2023-05-05 21:20:29 -04:00
Gouvernathor 0db8ef2b30 Revert changes to list methods
pun intended
2023-05-06 03:09:32 +02:00
Tom Rothamel 13bf13728a audio: More volume changes.
* Make the volume range 40 dB, rather than 60 dB, so more of the
  range is useful.

* When config.quadratic_volumes is enabled, used it everywhere.
2023-05-05 20:55:13 -04:00
Gouvernathor 1831bdaea0 Quicken list dunders
Exact typechecks are quicker than instance checks.

If it's a pure list, it needs to be converted.
If somehow it's a RevertableList, no need to trigger a O(n) copy.
If even more weirdly it's another subclass of list, there's magic in place and no need to account for that case (it's the creator's problem).
Finally, if it's NotImplemented, return it as-is.
2023-05-05 15:36:59 +02:00
Gouvernathor 48662e0be6 Update revertable types according to Python's datamodel 2023-05-05 15:33:05 +02:00
Tom Rothamel 7917173b05 audio: Fadeout for the default fadeout on game end.
This tries to make sure that a pop isn't the last thing the player
hears when Ren'Py ends.
2023-05-05 00:29:02 -04:00
Tom Rothamel f38b407bb7 audio: Reduce the fadeout range further.
With the last commit stopping the popping, fadeout can focus on
the effect itself, which according to Wikipedia tends to be done
in a 30-40dB range.
2023-05-05 00:09:19 -04:00
Tom Rothamel a48624f15e audio: Lowpass-filter volume changes.
This prevents "popping" when dragging the volume slider, and other
volume change events.
2023-05-04 23:57:12 -04:00
Tom Rothamel e08a5691f8 video: Do not fade out sprite movies. 2023-05-04 22:58:11 -04:00
Tom Rothamel e26d42fdee Merge pull request #4601 from Kassy2048/web_movie_fadeout
Implement fadeout for movies on Web.
2023-05-04 18:46:05 -04:00
Kassy e7ff113605 Implement fadeout for movies on Web. 2023-05-04 22:26:02 +02:00
Tom Rothamel ca3b98672f audio: Compute the secondary volume propery when linear_fades is true.
Fixes #4597.
2023-05-04 02:32:14 -04:00
Tom Rothamel ccce4ad081 Reduce the fadeout range to 42 dB.
It's a tradeoff between spending too much time in the low ends of the
range, when all but the loudest sounds will be inaudible, and having
so much sound at the end that there's a pop when the fadeout finishes.

~40dB seems to be a good compromise for all but the loudest headphone
volumes.

Per discussion in #4597.
2023-05-03 22:33:36 -04:00
Tom Rothamel 533299c9bf Merge pull request #4598 from renpy/PEP584
Make `|` methods return RevertableDict's.
2023-05-03 20:53:24 -04:00
Andy_kl 94cab603d8 Make | methods return RevertableDict's. 2023-05-04 04:46:47 +04:00
MigProPlayer 993e90277b Update Portuguese Translations (#4595)
ios - Fixed a broken string which was in Spanish and changed a duplicate string.
preferences - Fixed a typo which said "Open launcher" instead of "Open launcher project".
2023-05-03 19:40:19 +02:00
Tom Rothamel 67050eecc8 Merge pull request #4592 from mal/update-lint-layers
Use computed layer list in lint
2023-05-02 17:25:30 -04:00
Mal Graty fadba7ae56 Use computed layer list in lint 2023-05-02 19:03:22 +01:00
Tom Rothamel 512ae898dc Include thoughtbubble.png in builds. 2023-05-02 01:31:17 -04:00
Tom Rothamel 82fad4f4ff Merge pull request #4589 from qTich/fix/web-preload-cache-preference
typo on `web cache preload` toggle `Preference`
2023-05-01 12:27:40 -04:00
Tichq c3c90b9d43 typo on web cache preload toggle Preference 2023-05-01 19:09:45 +03:00
Tom Rothamel bdcba5cd6f doc: Try to improve keywords.py stability. 2023-05-01 00:28:57 -04:00
Tom Rothamel 8522ff0f7f rapt: Fix documentation for android.json update_keystores. 2023-04-30 22:23:20 -04:00
Tom Rothamel 4117176a0a Check in updated keywords. 2023-04-30 21:32:10 -04:00
Mal Graty 62136111e8 Update preference name in docs 2023-04-30 23:26:25 +01:00
Tom Rothamel 48cfb76607 Update translations. 2023-04-30 14:33:39 -04:00
Tom Rothamel f20ba5e633 bubble: Document the required changes. 2023-04-30 14:32:37 -04:00
Tom Rothamel a2719b9995 bubble: Add a thought bubble to the default game. 2023-04-30 14:19:12 -04:00
Tom Rothamel 9e4417729d Add omitted character. 2023-04-30 09:46:01 -04:00
Tom Rothamel 0f253c15c4 live2d: Add Live2D.blend_opacity.
This can be used in an update_function.
2023-04-29 23:15:26 -04:00
Tom Rothamel 224965c0cc live2d: Add support for x86_64 Android. 2023-04-29 22:44:02 -04:00
Tom Rothamel be2be8c557 live2d: Support multiply and screen.
Fixes #3729.
2023-04-29 22:41:29 -04:00
Tom Rothamel 594bb9d8e0 live2d: Load the csmGetDrawableMultiplyColors and csmGetDrawableScreenColors functions. 2023-04-29 20:28:01 -04:00
Tom Rothamel 31aa071f4a Add deprecations to incompatible changes. 2023-04-29 00:25:40 -04:00
shawna-p 9c5eb15024 Shorten & clean up code 2023-04-28 14:40:11 -04:00
Tom Rothamel 4d40a29350 Merge pull request #4586 from renpy/doc-jsondb
JSONDB doc
2023-04-28 13:07:13 -04:00
Gouvernathor 82c05454be Rephrase and add link 2023-04-28 18:56:44 +02:00
Tom Rothamel 6eefafd5a9 Allow radius to be a position.
As documented, but not implemented. Fixes #4574.
2023-04-28 00:45:00 -04:00
Tom Rothamel d07fe424eb Prevent radius and angle from conflicting.
This is necessary, as it's basically impossible to use these two
properties without them conflicting.
2023-04-28 00:45:00 -04:00
shawna-p 9e7109af81 Rename to prevent name conflict 2023-04-27 12:14:15 -04:00
shawna-p 3162455e14 Check for transition in call method 2023-04-27 12:11:19 -04:00
Tom Rothamel 2f19fe65bd Merge pull request #4582 from renpy/confirm-action
Allow layout.yesno_screen and Confirm to take lists of actions
2023-04-26 23:40:14 -04:00
Gouvernathor d795f03b13 doc interlinks 2023-04-27 05:29:17 +02:00
Gouvernathor 1e5355e727 whitespace 2023-04-27 04:55:49 +02:00
Tom Rothamel c5571e6637 Add config.linear_fades.
This is is a vairable that returns the pre-8.1 fade behavior,
which was linear in amplitude, and so would perceptually barely
fader and then fade out all at once.

Fixes #4580.
2023-04-26 22:55:47 -04:00
Gouvernathor 64aab8a62e use renpy.run instead of calling 2023-04-27 04:55:35 +02:00
Tom Rothamel 774991431e Avoid generating translations for empty extends.
Per #4581.
2023-04-26 19:22:58 -04:00
Andy_kl a687f5ec13 Use collections.deque in walk_memory.
This makes the function way, way faster. Seconds instead of hour to walk 1GB of RAM.
2023-04-27 01:23:37 +04:00
Tom Rothamel 59c9ce1901 Add GetMixer().
This is an action that can display a mixer, either as a value
or in DB.
2023-04-26 00:51:16 -04:00
Tom Rothamel 1edb2c8cde Better document what SVG is supported. 2023-04-25 21:49:36 -04:00
shawna-p bb568d4b5f Merge branch 'renpy:master' into master 2023-04-25 15:09:33 -04:00
shawna-p 24d991ae77 Allow the None transition for ShowMenu 2023-04-25 15:08:55 -04:00
Tom Rothamel 78ba95403f Prevent audio from starting during a global pause.
* Prevent non-looping audio entirely.
* Avoid starting music until unpaused

Fixes #4568.
2023-04-25 01:31:02 -04:00
Tom Rothamel bb798c2db9 Make all hyperlinks active immediately when text is not slow.
Fixes #4569.
2023-04-25 00:17:21 -04:00
Tom Rothamel 9cfbd3a75d Merge pull request #4573 from Kassy2048/web_sync_fix
Fix sync download for web
2023-04-24 18:53:32 -04:00
Kassy 302d4fe1c1 Fix sync download for web 2023-04-24 19:41:17 +02:00
Tom Rothamel 6b0332a566 Merge pull request #4564 from renpy/bubbledoc
Tweak and fix bubble doc
2023-04-24 11:02:11 -04:00
Tom Rothamel e3e78a7524 Always apply the default parameters to a transition.
Fixes #4551.
2023-04-24 09:28:54 -04:00
Gouvernathor c547bf3623 Fix wrong config name, quadratic_volumeS 2023-04-24 15:00:36 +02:00
Tom Rothamel 42bc1ccb79 Fix zzoom.
* Fix the implementation.
* Fix the documentation.

Fixes #4556.
2023-04-24 00:59:41 -04:00
Tom Rothamel 4613ee1fa4 doc: Fix the name of config.quadradic_volumes.
Fixes #4554.
2023-04-23 23:08:29 -04:00
Tom Rothamel 8279f4aad0 Do not create a new scope when going from predicting -> updating.
The scope itself will be shared with constant displayables, so
clear it rather than replacing it with a new object.

Fixes #4563.
2023-04-23 22:55:41 -04:00
Gouvernathor dd00c19708 Update bubble doc 2023-04-23 23:46:57 +02:00
Ayowel dd33c939ab Ensure ios_create uses the target project's information 2023-04-23 22:40:25 +02:00
Gouvernathor 510b19018d Update and fix french translations 2023-04-23 22:23:05 +02:00
Moshibit 1784db4663 Update Spanish translation (#4560)
* Update developer.rpy

* Update screens.rpy
2023-04-23 22:00:26 +02:00
Morgan Willcock bfcbb95156 Fix _ren.py format changelog example (#4557) 2023-04-23 16:40:56 +02:00
Tom Rothamel 37f7a397e3 Merge pull request #4553 from Kassy2048/prefix_movie
Apply path prefixes when loading movies for web
2023-04-23 00:40:23 -04:00
Kassy 830b122a1f Apply path prefixes when loading movies for web 2023-04-23 02:31:18 +02:00
Tom Rothamel f43208cce6 doc: Changelog fixes. 2023-04-22 17:31:51 -04:00
Tom Rothamel 8cb2379b25 Merge pull request #4550 from renpy/split-prop-pure
Mark renpy.split_properties as pure
2023-04-22 15:17:48 -04:00
Gouvernathor 811b135690 Mark renpy.split_properties as pure 2023-04-22 21:10:10 +02:00
Tom Rothamel f6460ed448 doc: More credits. 2023-04-22 14:42:46 -04:00
Tom Rothamel 617bd43afb doc: Update sponsor list. 2023-04-22 14:38:38 -04:00
Tom Rothamel 2c9c8205ee doc: Credits. 2023-04-22 14:38:38 -04:00
Gouvernathor 9c2c8c9535 doc: bad include 2023-04-22 20:04:19 +02:00
Tom Rothamel ece477836c doc: Fixes and edits. 2023-04-22 13:04:26 -04:00
Tom Rothamel eb47fc4500 Limit how far we try to scry extend.
Fixes #4548.
2023-04-21 22:52:21 -04:00
Tom Rothamel f322828baf Fix translations. 2023-04-21 21:50:27 -04:00
Tom Rothamel 20f1a76637 doc: Licenses. 2023-04-21 21:43:55 -04:00
Tom Rothamel 9cdd8a2654 doc: Changelog. 2023-04-21 21:24:56 -04:00
Gouvernathor 160fdd8489 Update tutorial translations from the launcher translations 2023-04-22 01:26:51 +02:00
Gouvernathor 48b1aeb5f3 Remove wrongly translatable string 2023-04-22 01:23:11 +02:00
Gouvernathor 54ec403f5b Cleanup french translation files
Using the brand new orphan translation flagging
2023-04-22 01:22:19 +02:00
Gouvernathor b7213f4b78 Forgotten in last 2023-04-22 01:20:29 +02:00
Gouvernathor 211da69d08 Update text_align -> textalign in translations
follow-up to a1f6312
2023-04-22 00:56:24 +02:00
Tom Rothamel c15f4c3487 doc: JSONDB. 2023-04-21 00:51:59 -04:00
Tom Rothamel 417aee0bff doc: Sync actions. 2023-04-21 00:38:56 -04:00
Tom Rothamel 9c130cf149 Doc and changelog areapicker.
And improve the screen language documentation for drag and
draggroup.
2023-04-21 00:29:14 -04:00
Tom Rothamel 49e7e9182e Merge pull request #4543 from renpy/reachme
Reachability tweaks
2023-04-20 20:30:45 -04:00
Asriel Senna 6ad43c2b8b Add a type check on data saved in persistent 2023-04-21 00:08:28 +02:00
Tom Rothamel 27fd71815e live2d: Create a second copy of each mesh to use as a mask.
This is because the first copy was getting its shaders changed,
which would cause a problem when that copy was being used as a
mask.

This would cause a problem when a live2d layer both used a mask
and was used as a mask.

Per https://lemmasoft.renai.us/forums/viewtopic.php?f=8&t=66455
2023-04-20 01:00:23 -04:00
Gouvernathor 9db0ec1683 Simplify CDS linting
Use elif instead of if
Merge two loops
Make builtin statements use the weakly_reachable set instead of a separate mechanism
Avoid a set update if the original is not read afterwards
2023-04-19 16:17:01 +02:00
Gouvernathor 1b62055d69 Better document how the reachable method works 2023-04-19 16:10:13 +02:00
Tom Rothamel 3deca06054 Allow statements to mark themselves as weakly reachable.
These are statements that are not reported as unreachable, but
will only pass reachability to the next statement if the statement
is actually reachable.
2023-04-19 01:09:30 -04:00
Tom Rothamel 9a250ccdc5 Add reachable as a method on user statements.
If given, this lets a statement register a function that
determines if it is reachable, and what is reachable
from the statement.
2023-04-18 23:23:39 -04:00
Tom Rothamel fb803ea05c Force a new checkpoint to begin when checkpointing is suspended.
Per #4534.
2023-04-17 23:29:15 -04:00
Tom Rothamel 04d9ea3016 itch: Make the channels configurable.
Fixes #4481.
2023-04-17 01:33:38 -04:00
Tom Rothamel 1f26d829d1 doc: Reload is disabled when autoreload is active. 2023-04-16 21:39:47 -04:00
Tom Rothamel d9b30cf8a1 Merge pull request #4537 from renpy/replay-action
Replay action's lockedness
2023-04-15 23:00:20 -04:00
Tom Rothamel ebcc0ce7dc Believe _choose_attributes when it chooses attributes.
Even if it does odd things, like removing a required attribute
from the list of attributes.

Fixes #4505.
2023-04-15 15:10:04 -04:00
Gouvernathor 8a2c6d4dc4 Better behavior for the locked parameter 2023-04-15 19:21:49 +02:00
Gouvernathor 5c400fdbc9 Accurate doc entry 2023-04-15 19:14:22 +02:00
Tom Rothamel 34a011e79f Python string prefixes must immediately precede delimiters.
Fixes #4535
2023-04-15 12:33:12 -04:00
Gouvernathor 7545b87364 Fix rst comment block
yes, sphinx is *that* annoying
2023-04-15 17:26:16 +02:00
Tom Rothamel 72f0535fb3 Prevent greedy rollbacks from passing through suspend_checkpointing.
Fixes #4534.
2023-04-15 01:28:30 -04:00
Tom Rothamel e776a4c3f5 doc: SVG. 2023-04-14 01:50:22 -04:00
Tom Rothamel e439957896 Document last change. 2023-04-14 01:04:10 -04:00
Tom Rothamel dffbe3521c Allow triple quoted strings to be used in simple expressions.
For example:

text """\
line 1
line 2
line 3"""

is now allowed.
2023-04-13 23:34:55 -04:00
Tom Rothamel 1fad559548 doc: Speech bubble dialogue. 2023-04-13 00:28:46 -04:00
Tom Rothamel e6fec6ea50 doc: Credit. 2023-04-12 01:10:24 -04:00
Tom Rothamel a427a6611b gl2: Restore the window position after a reload. 2023-04-12 00:36:39 -04:00
Tom Rothamel 9932e4e892 Allow Character's kind argument to be a namspace.
The main reason for this is to allow Character(kind=bubble), which
looks way nicer that Character(kind=bubble.character) to me.
2023-04-11 23:42:56 -04:00
Tom Rothamel e702a15785 bubble: Add shift+B as a way of toggling the bubble editor. 2023-04-11 23:40:30 -04:00
Tom Rothamel cf7910687f bubble: Add four speech bubbles by default. 2023-04-11 23:25:39 -04:00
Tom Rothamel 2a6c719678 Clean language dependent data when jumping back after a load.
Fixes #4525.
2023-04-10 22:28:52 -04:00
Tom Rothamel 9f08129084 Fix steam.activate_overlay_to_web_page.
Fixes #4526.
2023-04-10 01:12:38 -04:00
Tom Rothamel 40e81d44a4 bubble: Support expanding beyond what's given.
This will provide room for tails.
2023-04-09 00:39:19 -04:00
Tom Rothamel 40ac61bf23 Merge pull request #4523 from awaken1ng/fix-compat
Fix compat using unknown config option.
2023-04-08 23:24:11 -04:00
Tom Rothamel 16372810e5 Reset the video to the beginning when it is shown again.
As opposed to when it's hidden.

Per the discussion at #4508.
2023-04-08 21:33:43 -04:00
awakening f2a76c5872 Fix compat using unknown config option.
Fixes `Exception: config.timer_blocks_pause is not a known configuration variable.`

7d4610d13d introduces `modal_blocks_timer`
which is probably what was meant to be used here.
2023-04-08 19:44:49 +07:00
Tom Rothamel 3350ffa713 gl2: Add functions to allow a user to create a mesh from Python.
Per request via discord.
2023-04-07 23:27:18 -04:00
Tom Rothamel bf0634f738 Disable skip mode in the launcher. 2023-04-07 14:28:44 -04:00
Tom Rothamel 13f9b3d04c Remove pointless maintenance of ctx.updating. 2023-04-07 14:27:05 -04:00
Tom Rothamel 1d96e7a16f Fix Scroll action.
Fixes #4520.
2023-04-07 00:18:08 -04:00
Tom Rothamel df524315a8 sl2: Do not reuse the scope when showing a 'used' screen.
This fixes the default statement when in a used screen that's
passed different parameters than it was predicted with.

Fixes #4519.
2023-04-06 22:51:13 -04:00
Tom Rothamel 7c082f0fb5 Fixes to applying 3d state properties.
Recent changes made many of the properties incorrectly conditional
on each other, which prevented the properties from working
correctly.

Fixes #4518.
2023-04-06 21:33:29 -04:00
Tom Rothamel 6d637237ff doc: Extend the gl1 timeline slightly further. 2023-04-06 20:26:13 -04:00
Tom Rothamel 2f6556052a doc: Correct version. 2023-04-06 20:09:24 -04:00
Tom Rothamel 9a6448dd94 doc: Pending deprecations.
* Mention the planned removal of gl1 and Python 2/Ren'Py 7.
2023-04-06 19:05:24 -04:00
Tom Rothamel 54f62730a2 Fit the error that occurs if a style statement has two is clauses.
Per #4510

Co-authored-by: <Ayowel@users.noreply.github.com>
2023-04-06 00:31:33 -04:00
Tom Rothamel ca7c78dbcd Only reset a channel if a hide happens.
Fixes #4508.
2023-04-05 22:29:01 -04:00
Moshibit 16fb5ffb85 Update Spanish translation (#4511)
* Update gui.rpy

* Update launcher.rpy

* Update screens.rpy
2023-04-05 18:38:42 +02:00
Gouvernathor aea1129812 Update translations 2023-04-05 06:59:54 +02:00
Tom Rothamel 46320ddcd4 Fix the type of paths on mac.
Fixes #4509.
2023-04-05 00:48:56 -04:00
Tom Rothamel a65cdd6f0e Fix the Android JDK link.
Add a bit of abstraction so it'll only need to be restranslated
once, and route it through renpy.org so the links can't break.
2023-04-05 00:48:56 -04:00
Gouvernathor 9d275e9349 doc: forgotten markup 2023-04-04 20:01:15 +02:00
Gouvernathor 534fb0f9f6 Fix typo in docstring 2023-04-04 19:58:17 +02:00
Gouvernathor 005be375fc french translations 2023-04-04 17:50:28 +02:00
Tom Rothamel b2d5dd87fa Ignore ATL transition arguments when comparing contexts.
The new_widget argument will be different each time the
interaction restarts - but it generally represents the same
thing, and so it makes sense to consider it equal for the
purposes of this test.

Fixes #4167.
2023-04-03 00:08:28 -04:00
Tom Rothamel a6b99364aa Propagate ATL state between transitions when an interaction restarts.
This partially addresses #4167.
2023-04-02 23:38:59 -04:00
Tom Rothamel e5c2e7f88c doc: Last change. 2023-04-02 23:35:45 -04:00
Tom Rothamel 907ba19bea tts: Make it respect the voice volume mixer.
At least more or less, as it generally doesn't go through Ren'Py.
But on all platforms where voice is supported, the amplitude of
voice is controlled by the voice mixer

This also makes the voice volume mixer available on the
accessiiblity screen, so the volume can be adjusted even
if the game doesn't otherwise use voice.

Fixes #4161.
2023-04-02 20:56:15 -04:00
Tom Rothamel 74d8c5c398 gl2: Handle the interaction of maximized, fullscreen, and window size/location.
The maximized flag is persisted, so that if the game is shut down
when maximized, it will start up again maximized.

The size of the game is only stored when non maximized or fullscreen,
so only sensible game sizes are persisten.

Switching from fullscreen to maximized or vice versa goes through
the windowed state.

The first time the window is in the windowed state, it's moved to the
center of the screen - rather than being undefined when the game
starts fullscreen.

Fixes #4155.
2023-04-02 19:06:07 -04:00
Tom Rothamel f65c1a1af3 Merge pull request #4497 from mal/fix-style-optimisation
Let Transforms benefit from style optimisation
2023-04-02 00:14:01 -04:00
Mal Graty b740e723a3 Let Transforms benefit from style optimisation
In ef6173de4f we added the facility for
alt text to be passed through Transforms to allow its use in SL2. A side
effect of this was to always pass alt text, meaning that the underlying
Displayable's properties could never be empty (they'd contain alt=None).
This has been preventing Transforms benefiting from the optimised code
path in Displayable that avoids creating a new anonymous style.

In order to address this, we now filter out arguments passed to
Transform that ought to be propagated up to the parent class, sending
them only when defined, thus re-enabling the optimisation for the vast
majority of Transform instances.
2023-04-02 04:47:41 +01:00
jsfehler 62232d6cfa docs: Add note for StylePreference about update event getting called 2023-04-01 15:01:24 -04:00
Tom Rothamel 5bdb9b5459 Name Ren'Py 8.1 and Ren'Py 7.6. 2023-04-01 02:03:57 -04:00
Tom Rothamel d70d6b8f26 Merge pull request #4494 from renpy/comments-in-shader-variables
Allow comments in shader variables lists
2023-03-31 22:45:35 -04:00
Gouvernathor 44cdc09745 Allow comments in shader variables lists 2023-03-30 22:56:44 +02:00
Tom Rothamel 1291c3cb26 Slightly adjust controller deadbands (based on my experience). 2023-03-30 02:11:08 -04:00
Tom Rothamel 493edfbb82 Add renpy.load_rgba, loading a rgba string into a surface.
This is intended to support image data being created elsewhere,
loaded in via ctypes, and then passed into Ren'Py.
2023-03-29 23:27:25 -04:00
Tom Rothamel ec6277588d Allow the Ren'Py audio system to be extended. 2023-03-29 23:27:25 -04:00
Tom Rothamel 3f057f159a Make the audio buffer size configurable. 2023-03-29 23:27:25 -04:00
Tom Rothamel 420e167d41 Merge pull request #4491 from renpy/fix-__-munging
Fix name-munging
2023-03-29 12:27:16 -04:00
Gouvernathor 2828f3b517 Fix name-munging 2023-03-29 18:03:53 +02:00
Tom Rothamel c378247a39 Add config.display_start_callbacks.
This is intended to be used to let DLLS gain access to GL functios
before a frame is renderer.
2023-03-29 01:57:15 -04:00
Tom Rothamel 9ab745db85 Increase the contrast of the light GUI.
Fixes #4470.
2023-03-29 01:43:44 -04:00
Tom Rothamel f92022308d Disable ui-less IME.
Which shows the candidate list for languages that require one -
not sure why this isn't the default.

Fixes #4474.
2023-03-28 02:44:59 -04:00
Tom Rothamel 4f0e882d97 Set empty properties on a texture.
Fixes #4488.
2023-03-28 02:04:34 -04:00
Tom Rothamel 46f62133d1 Add movie groups.
When a movie in a group is starting, and doesn't have the first
frame, it checks to see if another movie in the group is playing.
If so, it takes the frame from the other movie - preventing flashes
of transparency when switching movies.

Fixes #4475.
2023-03-28 01:46:15 -04:00
Tom Rothamel 77889607f3 gl2: Use a 1px framebuffer for is_pixel_opaque.
So there's less to clear.
2023-03-27 01:39:24 -04:00
Tom Rothamel f92dcd8068 doc: Anonymous transforms on the first sl line. 2023-03-26 10:20:57 -04:00
Tom Rothamel 815a3999b4 Compat for c492f2f8e6. 2023-03-26 10:16:52 -04:00
Tom Rothamel 11c9b8f34b Revert "Consider all variables in the #4095 fix, not just locals."
This reverts commit d2b5f2fdc9.

This doesn't seem like the right fix, as it has the potential to
cause memory leaks. I'm going to compat the old behavior, and
require it to be explicit.
2023-03-26 09:59:41 -04:00
Tom Rothamel cfe892405e sl2: Allow at transform outside of a block.
This makes for a more compact syntax.
2023-03-26 09:58:52 -04:00
Tom Rothamel d2b5f2fdc9 Consider all variables in the #4095 fix, not just locals. 2023-03-26 03:42:41 -04:00
Tom Rothamel 8c4387bae4 Merge pull request #4486 from KiloOscarSix/master
Fixed incorrect behaviour for ToggleDict.get_sensitive()
2023-03-26 03:05:22 -04:00
Tom Rothamel bfb3955e9e Merge pull request #4483 from Kassy2048/touch_alternate_fix
Cancel long press wait when user stops touching the screen
2023-03-26 03:01:24 -04:00
Oscar Six 1498f625df Fixed incorrect behaviour for ToggleDict.get_sensitive() when using lists 2023-03-26 05:25:39 +01:00
Kassy 9523222b37 Only check for mouseup when long press is being detected 2023-03-26 01:39:27 +01:00
Kassy 9c197abca3 Cancel long press wait when user stops touching the screen 2023-03-26 00:26:00 +01:00
Tom Rothamel d3dbc40749 accelerator: Cythionify, add typing information, and document. 2023-03-25 12:25:12 -04:00
Tom Rothamel 6362ad8550 quaternion: Add cython types. 2023-03-25 10:56:07 -04:00
Tom Rothamel 04a73d2ad4 Remove old theme. 2023-03-25 10:30:54 -04:00
Tom Rothamel ddfcf67486 Make the total texture size a Python object.
(Preventing a crash if we get the calculation wrong.)
2023-03-25 10:29:49 -04:00
Tom Rothamel 8f5a32deeb Merge pull request #4477 from kyouryuukunn/fix_README
add README sphinx_rtd_theme sphinx_rtd_dark_mode
2023-03-25 10:24:55 -04:00
kyouryuukunn 5155c08f54 add README sphinx_rtd_theme sphinx_rtd_dark_mode 2023-03-25 19:09:57 +09:00
Tom Rothamel 7511c3ff42 Move quaternion code into its own pyx file.
This is a combination of it seeming like something meaty enough
that it might grow into more operations, and this taking 5s
for clang to compile.
2023-03-25 02:50:54 -04:00
Tom Rothamel e4ff027499 accelerator: Break up transform_render fully.
Break the ridiculously long transform_render function into a
number of smaller methods in a class, and use fields on that
class to store data used by multiple methods.

This is mostly to speed up compilation time by reducing how much
work clang has to do to compile things.

This is a work in progress - it's not well tested, and typing
information is missing or commented out. But it's enough to
render basic displayables.
2023-03-25 02:32:27 -04:00
Tom Rothamel 1cccdbdaaf Create a class to render transforms.
Basically, to store the variables that had been updated by
the crazy-big transform_render function.
2023-03-24 23:15:15 -04:00
Tom Rothamel 1a100a0006 accelerator: Begin to break up transform_render. 2023-03-24 03:04:19 -04:00
Tom Rothamel 2863bb2d88 live2d: Sort the properties to ensure a stable order. 2023-03-24 01:00:58 -04:00
Tom Rothamel 14f653f0a5 Attributes can't be required and optional.
Fixes #4466.
2023-03-24 01:00:58 -04:00
Gouvernathor 93fe44fa94 Fix wrong SetField use
It does take a fourth parameter, kind, which is private and only used for error messages when the target is not found/writable. It takes a string, so this code doesn't make sense.
My mistake, btw.
2023-03-23 19:40:15 +01:00
Tom Rothamel e73c750ef1 launcher: Make selected text more obvious.
Fixes #4471.
2023-03-22 23:00:05 -04:00
Tom Rothamel b929fa838c Apply pixel_perfect to renders rather than models.
This means that all the models that are underneath the render will be
adjusted together, so that relative blits all wind up in the same
place.

This is mostly the case for text, where things like centering, slow
text, and outlines could cause text to appear in different locations, and then be
drawn separately - only to jump into place when slow text finished and
the Text was drawn as a whole.

Fixes #4103.
2023-03-22 22:53:38 -04:00
Mal Graty d25bd3c01f Fix orientation interpolation
Ended up with an erroneous indent after the recent point_to changes.
2023-03-22 14:46:35 +00:00
Gouvernathor 1a9870ad5a doc: fix wrong role 2023-03-22 14:26:49 +01:00
Tom Rothamel fbbc8e0e34 Replace point_to True with point_to Camera()
The latter seems like a more readable syntax to me, as True doesn't
really feel associated with the camera. (And this provides a place
to store the layer.)
2023-03-22 02:45:01 -04:00
Tom Rothamel cc77af4d9f Move the point_to logic from ATL to Transform.
This is for two reasons:

* It allows point_to True to work in Transforms, at least if we figure
  out a way to refresh Transforms when the camera changes.

* It gets things right if the camera changes position while not
  interpolating point_to.
2023-03-22 02:11:01 -04:00
Tom Rothamel 65ff148898 Merge pull request #4449 from kyouryuukunn/allow_poi_tag_and_camera3
allow point_to to take camera
2023-03-21 22:01:01 -04:00
Tom Rothamel 24ad7c9a01 Merge pull request #4464 from renpy/fix-im-always-doc
Python equivalent of layeredimage's Always layer
2023-03-21 21:58:41 -04:00
Gouvernathor 6ce6a877a5 doc: Python equivalent of layeredimage's Always layer 2023-03-21 20:30:19 +01:00
Tom Rothamel 65bceeddba End ongoing transitions after rollback.
Fixes #4105.
2023-03-21 02:19:05 -04:00
Tom Rothamel 77cb945b9f On Android and iOS, log the Ren'Py version to stdout. 2023-03-20 22:26:50 -04:00
Tom Rothamel eab3d2dab4 Fix how None interacts with the pressed mouse state. 2023-03-20 20:17:59 -04:00
kyouryuukunn 4e3d66b975 remove tag from point_to 2023-03-20 17:36:24 +09:00
Tom Rothamel a192a352e1 sl2: Allow both 'at' and 'at transform' to be given to the same statement.
Fixes #4455.
2023-03-19 23:55:17 -04:00
kyouryuukunn c4e9a64b1e simplify codes around poi 2023-03-20 12:31:09 +09:00
Tom Rothamel 533cbe10e3 gamepad: Process more than one analog axis motion per frame.
Fixes #4178, more or less. This certainly makes the controller more
responsive, though perhaps not as good as desktop.

This also gains a bit of performance by reducing how far the
controller needs to deflect, and introdces hysteresis to
prevent spurious controller events.
2023-03-19 15:44:59 -04:00
Tom Rothamel c492f2f8e6 atl: Only compare contexts based on used variables.
This is useful in screens, where a transform might have a context
contains many variables that are not used by the transform. The
transform shouldn't restart when an irrelevant variable is
changed.

Fixes #4095.
2023-03-19 14:20:38 -04:00
Tom Rothamel 9249c6ffd4 sl2, atl: Compile ATL transforms in screens.
These transforms weren't being compiled before the game started.
2023-03-19 14:20:38 -04:00
kyouryuukunn 98609fe72f remove 2-tuple format from point_to 2023-03-19 13:14:50 +09:00
kyouryuukunn 03bf276e15 fix 2023-03-19 12:44:50 +09:00
Tom Rothamel d52fa74ffd Merge pull request #4454 from valery-iwanofu/input_multiline
Multiline support for input
2023-03-18 12:00:13 -04:00
valery.iwanofu 15d2e037fe Multiline support for input 2023-03-18 21:09:57 +07:00
Tom Rothamel 2da6f8cab0 Avoid cache.get keeping the surface in memory when returning a texture. 2023-03-18 01:08:18 -04:00
Tom Rothamel 8c331b336e gl2: More accurate accounting of texture memory.
This adds a 1.34x multiplier to textures that have mipmaps associated
with them, and only indicates that a texture is consuming memory when
it's been transferred to the GPU.
2023-03-18 00:54:37 -04:00
Tom Rothamel 8e90d2f6ab Add a 1.34x multiplier to account for mipmapping.
Increase the default image cache size to match. This won't actually
increase the amount of memory used by the image cache, just
makes the setting match the memory being used.
2023-03-17 22:27:32 -04:00
kyouryuukunn 01c9e137e0 consider camera anchor when calculating point_to camera 2023-03-17 23:01:30 +09:00
kyouryuukunn 47418aa92d allow point_to to take "tag" or camera 2023-03-17 14:35:16 +09:00
Tom Rothamel c998b456a1 Merge pull request #4447 from renpy/point-to
Rename poi to point_to
2023-03-16 18:46:07 -04:00
Gouvernathor bb34b38432 Update renpy/display/accelerator.pyx
Co-authored-by: Mal Graty <mal.graty@googlemail.com>
2023-03-16 12:50:55 +01:00
Tom Rothamel ca1871863b Only close fds if stdout/stderr/stdin are not being used.
Fixes #4445.
2023-03-16 01:17:42 -04:00
Gouvernathor 9475a0f4b8 Better phrased error message 2023-03-16 05:26:07 +01:00
Gouvernathor 606a196e52 Rename poi to point_to (and simplify code) 2023-03-16 05:18:27 +01:00
Gouvernathor bcfdb73715 Simplify and optimize some code 2023-03-16 05:07:10 +01:00
Tom Rothamel f8673861aa Go back to the default colorspace, but with the full JPEG range.
Per #4263.
2023-03-15 22:56:07 -04:00
Tom Rothamel 1947db8acd Merge pull request #4444 from mal/improve-savedump
Improve savedump
2023-03-15 22:10:55 -04:00
Tom Rothamel 260b8f5f8d Merge pull request #4443 from mal/fix-tint-matrix
Fix TintMatrix to respect alpha
2023-03-15 21:25:17 -04:00
Mal Graty e5f58fe935 savedump: Add function support 2023-03-15 18:38:32 +00:00
Mal Graty cfee63b880 savedump: Keep pickle protocol in-sync 2023-03-15 18:21:58 +00:00
Mal Graty ee817a32f4 savedump: Write warning into cache
Previously it would never have been used.
2023-03-15 17:45:49 +00:00
Mal Graty 8039704b0d savedump: Improve representation of singletons 2023-03-15 17:45:11 +00:00
Mal Graty c0ff662d60 matrixcolor: Fix TintMatrix to respect alpha
Per the documentation, the alpha shouldn't ever have been impacted.

This change instead treats the alpha in the supplied RGBA value as the
tint opacity rather than applying the tint formula to the alpha channel.
The result is the ability to use a colour value of #FF000080 to apply
a 50%-red tint to the target.
2023-03-15 17:23:05 +00:00
Tom Rothamel bfd6f2c9a8 Clear a deferred side image if a say statement runs.
Fixes #4438.
2023-03-15 02:27:27 -04:00
Tom Rothamel faa9155c88 More work on #4263.
Fundamentally, the problem is that ffmpeg's yuv->rgb conversion is
inaccurate, unless it's given flags that cause a ~12x slowdown -
SWS_ACCURATE_RND or SWS_ERROR_DIFFUSION.

That's not tolerable, so we do enable SWS_FULL_CHR_H_INT and
SWS_FULL_CHR_H_INP, which seem to improve things somewhat, without
slowing down conversion by much.

We now also default to the ITU 709 colorspace, which is the default
for HD video.
2023-03-14 23:18:15 -04:00
Tom Rothamel 444d002304 Revert "ffmedia: Convert to YUV444, then RGB."
This reverts commit a516bda700.

This conversion was too slow for practical use.
2023-03-14 23:13:32 -04:00
Tom Rothamel 2f56256a82 doc: Renpy.redraw is documented in cdd.rst. 2023-03-14 18:48:04 -04:00
Tom Rothamel 16cba5ef11 Remove debug print. 2023-03-14 01:29:46 -04:00
Tom Rothamel 53b9879a7a Limit the size of the icon to 1024x1024.
A 2048x2048 icon causes an X11 crash.
2023-03-14 00:37:11 -04:00
Tom Rothamel a628b2dba3 Document that being redrawn cancels redraw. 2023-03-13 23:51:21 -04:00
Tom Rothamel e45a3b18ae Separate angle and radius in ATL.
This allows angle and radius to be computed in parallel.

Fixes #4118.
2023-03-13 22:05:02 -04:00
Tom Rothamel a3b8f75a8d Avoid reverting the slast serial number.
This prevents slast nodes from getting the same serial number
after a shift+R reload.
2023-03-13 00:10:57 -04:00
Tom Rothamel a516bda700 ffmedia: Convert to YUV444, then RGB.
This works around some issues, reported in #4263, where going
from YUV420 to RGB directly produces artifacts. The two-step
conversion process eliminates these artifacts.
2023-03-12 18:29:34 -04:00
Tom Rothamel 44e23a9665 Use bilinear interpolation when resampling video.
This should only kick in when resampling movies that are
chroma subsampled, as the luma should always be full size.

Fixes #4263
2023-03-12 00:02:19 -05:00
Tom Rothamel 45e5535e89 Allow greedy rollback to the statement after renpy.block_rollback.
Previously, it woudn't proceed past the next checkpoint after
renpy.block_rollback, which could be several statements away.

Fixes #4138.
2023-03-11 23:08:11 -05:00
Gouvernathor 652a06c1a8 doc: remove obsolete name-munging in f-strings warning 2023-03-12 02:31:12 +01:00
Tom Rothamel e48cd58b2c Add config.file_slotname_callback and config.autosave_prefix_callback.
The former allows a game to customize the mapping from page and name
(used by the File actions) to slot (used by the save functions).

The latter lets the names of the autosaves Ren'Py generates be
customized to match.

Fixes #4067.
2023-03-11 20:27:03 -05:00
Tom Rothamel 8f2c27979a doc: Changelog f-string variable munging. 2023-03-11 19:21:21 -05:00
Tom Rothamel 0d7e5ec9e5 Munge variables in f-strings beginning with __.
As per the rest of Ren'Py. Rather than parsing f-strings ourselves,
this is done as part of the Python compiler.

Fixes #4084.
2023-03-11 18:14:11 -05:00
Tom Rothamel d89c89f368 Munge a _ren.py file the same as the .rpy file it replaces. 2023-03-11 17:44:01 -05:00
Tom Rothamel ec48202e27 Use equality when comparing InputValues.
This is to match the way equality is used in sl2ast to avoid
updating the displayables.

This could be wrong if two displayables use the same (or equal)
InputValues, but that's likely a rare situation.

Fixes #4042.
2023-03-11 16:45:50 -05:00
Tom Rothamel 245576331b Duplicate the control argument of AlphaDissolve.
So that the transform that's being used doesn't run.

Fixes #4435.
2023-03-10 22:31:18 -05:00
Tom Rothamel d426c80761 doc: Fix typo. 2023-03-10 09:14:10 -05:00
Tom Rothamel 303dadf377 Drag improvements.
* Apply displayable before calling per_interact, fixing set_child.
* In the examples, show the use of add rather than child, as the
  style property is for specialized use.

Fixes #4432
2023-03-09 23:55:58 -05:00
Tom Rothamel f50be5712d Merge pull request #4434 from via-my/master
Logical mistake
2023-03-09 20:56:59 -05:00
LaUwUrence ea76473e81 Logical mistake 2023-03-10 00:32:46 +04:00
Tom Rothamel 6662238338 Merge pull request #4428 from Kassy2048/webloader_voice
Remove useless double iteration
2023-03-09 00:14:32 -05:00
Tom Rothamel c33f5c4d3d Force the browser out of fullscreen on input.
Fixes #4429.
2023-03-08 19:14:29 -05:00
Kassy 54fb3d9be8 Remove useless double iteration 2023-03-08 13:50:26 +01:00
Tom Rothamel 5c0f86c19e Update Android strings. 2023-03-08 02:28:58 -05:00
Gouvernathor 1e5c227909 Say statement equivalents tweaks and refactor (#4294)
* doc: tweak and warn about say statement equivalents

* doc: move things around about say statement equivalents

Drain the part about it from the dialogue page
Add a link from there to the statement equivalents page
Add the warning about skipping seen dialogue
Incorporate other explanations, examples and the dialogue window management equivalents

* doc: add more advice about use of the character store

* Remove out-of-place explanation

* Clarify, reorganize, readd interact info with more

* Move the interact override hierarchy around

but leave the interact being passed automatically in the call in the statement equivalents page

* More information about say_arguments_callback

* Add example for say_arguments_callback

fixes #4319
2023-03-08 02:16:48 -05:00
Tom Rothamel 6c8996207b Remove an isinstance check in per_interact().
By moving it into the Layer displayable, we can save the call.
2023-03-08 00:50:02 -05:00
Tom Rothamel cd8b496876 Visit the image child of a Frame.
Fixes #4005.
2023-03-07 23:05:17 -05:00
Tom Rothamel 2379d75173 py2: Default subprocess.Popen's close_fds to True.
This matches the behavior change in Python 3.

Fixes #4425.
2023-03-07 20:31:13 -05:00
Tom Rothamel 2147242d91 doc: Copyedit documentation for poi, orientation, and {x,y,z}rotate. 2023-03-07 01:26:46 -05:00
kyouryuukunn 3a06f5e7c6 add poi, orientation and x,y,z rotate (#3609) 2023-03-06 22:07:22 -05:00
Gouvernathor 7d000076ed Layeredimage documentation (#4415)
* Add an example of the last advice

* Add an example for auto groups

following feedback

* Integrate info about "poses"

* Fix markup mistake

* Better document Condition and document ConditionGroup
2023-03-06 21:19:58 -05:00
Gouvernathor e0df6d9b0b docgen: Don't get inherited docstrings for subclasses 2023-03-06 02:24:17 -05:00
Tom Rothamel 2a860ca1c4 per-sample: Documentation. 2023-03-06 02:08:35 -05:00
Tom Rothamel d8326fdb36 per-sample: Rename config.fade_music to config.fadeout_audio, and set it.
It's a more accurate name, as the variable isn't limited to music,
but works with all audio.

It's set to 0.016, the duration of one frame, which seems about right
and also minimizes popping sounds when an audio file ends.
2023-03-06 02:08:35 -05:00
Tom Rothamel 8ebeebe7ea per-sample: Enqueue audio immediately, if possible.
This helps ensure that when a short fadeout ends, the next audio
file is available to be played.
2023-03-06 02:08:35 -05:00
Tom Rothamel 328b056410 per-sample: Prevent clicking noises.
There were two causes for these. The first was that if a sound
was queued tight, the fadeout would finish, and both playing and
queued sounds would be removed - meaning nothing would play
until the next time periodic ran. Fadeout now dequeues the
queued sound if the fadeout would finish.

The second was a mistake that looked at the wrong portion of the
stream buffer, with the resulting errors often sounding like
clicks.
2023-03-06 02:08:35 -05:00
Tom Rothamel eb89a9bafb Use a default fadeout of 1ms when stopping or fading music.
This mitigates a high-frequency click that happens when stopping
a sound too fast.

Fixes #3934.
2023-03-06 02:08:35 -05:00
Tom Rothamel a8351b86c2 per-sample: Implement constant power panning.
This uses sine and cosine to keep the power of the sample constant
as it's moved from ear to ear.
2023-03-06 02:08:35 -05:00
Tom Rothamel c78484dfb3 per-sample: Use a slightly different power unit.
This avoids multiplying and dividing.
2023-03-06 02:08:35 -05:00
Tom Rothamel 255fd01f1b per-sample: Implement volumes.
This implements all four volumes that can be applied to a stream -
mixer, relative_volume, secondary_volume, and fade.

The interpolated volumes (secondary and fade) are now interpolated
using power, rather than magnitude, which leads to perceptually
linear interpolation.

There is a bit of a performance enhancement here - instead of
using decibels as our power units, we use a base-2 power unit
that can be calculated faster.
2023-03-06 02:08:35 -05:00
Tom Rothamel ea706a8071 per-sample: Start work on per-sample mixing.
This is a change to audio mixing that will cause all mixing
calculations to be done on a per-sample basis, rather than
trying to perform mixing on blocks of samples at once.

This will fix issues caused by very short fadeouts, and
enable the move to power-based fading.
2023-03-06 02:08:35 -05:00
Gouvernathor ee4d982bd0 doc: fix wrong bullet-list markup
you were right to warn me, Tom
2023-03-05 15:08:20 +01:00
Tom Rothamel 0e3630e602 Make children of a screen reachable.
This ensures that the displayables in a screen are reachable
via rollback.

Fixes #3907.
2023-03-04 19:14:31 -05:00
Tom Rothamel a4a8fa95ee Allow an object to define what's save and what's reachable differently.
This is mostly intended for screens, where displayables might have
to participate in rollback, but aren't saved.
2023-03-04 18:14:52 -05:00
Tom Rothamel 759b17f195 Remove debug print. 2023-03-04 15:03:12 -05:00
Tom Rothamel db123458a3 doc: Make it clearer that define is for constants.
Fixes #4389.
2023-03-04 14:31:53 -05:00
Tom Rothamel 063092875b doc: The translate None changes in previous commit. 2023-03-04 14:28:43 -05:00
Tom Rothamel 7591092518 Deal with translate None statements.
These statements used to be recommended, by they're error prone
and now deprecated, and the replacement (say-with-id) has been
available for a long time.

Now, there are deferred warnings for translate None and for
duplicate ids, as well as some infrastructure for enabling
developer mode in python early blocks.

Fixes #4407. Fixes #4406. Relevant to #4243.
2023-03-04 14:12:58 -05:00
Tom Rothamel 87d598604e pylance: Ignore ecdsa-based type issues. 2023-03-04 12:34:00 -05:00
Tom Rothamel 4f4516f3fc pylance: Ignore a few more type errors. 2023-03-04 10:53:24 -05:00
Tom Rothamel 1f91895624 Filter a spurious message when building for Android.
Per #4413.
2023-03-03 23:41:52 -05:00
Tom Rothamel f019785797 rapt: Remove spurious warning and delay. 2023-03-03 22:50:27 -05:00
Tom Rothamel d2b25deec4 pylance: Type fixes for pressed mouse cursors. 2023-03-02 23:38:36 -05:00
Gouvernathor 0a04eadc55 Doc tweaks - variables in screens, and CDS (#4385)
* doc: explain the different kinds of variables in screens

* doc: tweaks and better explanations in cds

* doc: Add a warning about overriding the default statement

* Clarify that passing None to Return does not work

"must not" could be understood as "doesn't need to", now hopefully it's more clear.
2023-03-02 20:16:24 -05:00
Gouvernathor 91300cdc0e Rewrite the layeredimage page (#4404) 2023-03-02 20:15:24 -05:00
Gouvernathor 151acc6959 Fix docstring for renpy.music.set_pan (#4411)
doc: fic docstring for renpy.music.set_pan
2023-03-02 20:14:12 -05:00
Gouvernathor d598d39520 Remove mentions of ScreenDisplayable from the documentation (#4412)
Remove ScreenDisplayable from the documentation

the returned object should not be implied to be a Displayable nor usable as one
2023-03-02 20:13:58 -05:00
Tom Rothamel bb2b1bc23a Prepend extend-predicted text with {done}.
This hides it from tts, fixes #4410.
2023-03-02 20:12:25 -05:00
Tom Rothamel 6f76c83421 Defer when extend test is applied.
Fixes #4408.
2023-03-01 23:07:37 -05:00
Tom Rothamel bbdff96b49 Predict the extend statment.
This scrys for extend text, and appends it to the text being
shown before layout happens. This then lets the text layout
code take that text into account when determining line breaking
and word placement.

Fixes #3963.
2023-03-01 00:49:24 -05:00
Tom Rothamel c621ec4865 Use the scry system to add extend text that will always be shown.
This is intended to support the solution to #3963.
2023-02-28 22:13:45 -05:00
Tom Rothamel d75a4950cb Avoid stopping a movie channel that doesn't exist.
This is likely due to a movie that was defined in an old version
of the game not existing anymore.

Fixes #4402.
2023-02-27 21:03:22 -05:00
Tom Rothamel 49bdc8819f text: Position text using ints, rather than shorts.
Saving a few bytes isn't worth dealing with overflow issues
that seem to be actually happening.

Fixes #4031.
2023-02-27 01:26:35 -05:00
Tom Rothamel 68e9e02bf8 text: Ensure conversions are in range.
Per #4031.
2023-02-27 00:46:14 -05:00
Tom Rothamel d702a4f62e Add namespace/field support to VariableValue and VariableInputValue.
Fixes #3611.
2023-02-26 19:07:55 -05:00
Tom Rothamel 236d836274 Prevent overflow error.
This can't be absolutely correct, as the underlying problem is
too much text, but should work around the crash caused in #4031.
2023-02-26 18:35:53 -05:00
Tom Rothamel ecf89db683 Avoid resetting the caps and numlock keyboardm modifiers. 2023-02-26 17:28:32 -05:00
Mal Graty 18e54353fe Fix same typo in documented keymap
Pairs with 2ec1e32681.
2023-02-26 16:39:31 +00:00
Tom Rothamel bd8ffe068d Merge pull request #4401 from renpy/doc-monologue-none
Doc and changelog monologue none
2023-02-26 11:35:44 -05:00
Mal Graty 2ec1e32681 Fix typo in new keymap 2023-02-26 16:21:19 +00:00
Gouvernathor 77c342b6ab Changelog rpy-monologue-none 2023-02-26 14:30:52 +01:00
Gouvernathor 69a7b58756 Document rpy-monologue-none 2023-02-26 14:22:45 +01:00
Tom Rothamel 1c9b12c69e Merge pull request #4277 from altskop/new_cursor_types
Support for new cursor types
2023-02-25 19:31:00 -05:00
Tom Rothamel 60bac24065 Merge branch 'master' into new_cursor_types 2023-02-25 19:09:03 -05:00
Tom Rothamel 73a5efcb7c Merge pull request #4398 from lanodan/pep440-version
renpy: Make version PEP440-compatible
2023-02-25 19:05:04 -05:00
Haelwenn (lanodan) Monnier 19cf6b57f6 renpy: Make version PEP440-compatible
Starting with 67.2.0 setuptools enforces PEP440 compliance.
2023-02-25 21:47:14 +01:00
Tom Rothamel 65ee166afb pylance: More type annotations. 2023-02-25 00:24:04 -05:00
Tom Rothamel 3fe4f6ac8f text: Only trigger slow_done when events are available.
Fixes #4392.

This was caused by Text's slow_done callback being triggered when
text was being rendered in the old-side of a transitions. Because
the slow_done callback was running in th new context, the context
was aborting.

This moves running of slow_done into the event handler. Event handling
isn't done on the old-side of transitions, and so the problem does not
trigger.
2023-02-25 00:21:52 -05:00
Tom Rothamel 9be196163c Merge pull request #4313 from renpy/rpy-mononlogue-none
Implement `rpy monologue none`
2023-02-24 22:26:05 -05:00
Tom Rothamel 4574a50590 nw: Delay for both voice and self-voice in self-voice mode.
So that self-voice doesn't cancel voice.
2023-02-23 23:57:16 -05:00
Tom Rothamel a57ac97e10 Rename a Layer's raw_child to untransformed_layer.
That prevents it from interfering with other things being named
raw_child, while still not requiring hasattr and getting rid of
type warnings.

Fixes #4391.
2023-02-23 22:35:44 -05:00
Tom Rothamel 4fb8316903 Revert "pylance: Address more type warnings."
This reverts commit 9f96f132e7.
2023-02-23 22:09:24 -05:00
Tom Rothamel 0b424a8221 Revert "Hotfix 9f96f13"
This reverts commit 4326981a4d.
2023-02-23 22:08:20 -05:00
Gouvernathor 367f32bd06 Other fix for 9f96f13 and #4391 2023-02-23 23:09:41 +01:00
Tom Rothamel 214833b1ec Merge pull request #4393 from renpy/fix-4391
Hotfix 9f96f13
2023-02-23 16:50:16 -05:00
Gouvernathor 4326981a4d Hotfix 9f96f13 2023-02-23 22:01:36 +01:00
Tom Rothamel 9f96f132e7 pylance: Address more type warnings. 2023-02-23 01:25:21 -05:00
Tom Rothamel 51e89cb7bd pylance: Fix more typing problems.
Especially in webaudio.
2023-02-23 01:05:20 -05: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 0165b94e0e Merge pull request #4386 from shawna-p/master
Fix inertial viewport dragging
2023-02-22 22:41:13 -05:00
Tom Rothamel f1190f7187 persistent: Fix issue that became obvious in the last review. 2023-02-22 22:22:35 -05:00
Tom Rothamel 7cc434691a Merge pull request #4388 from renpy/simplen-persistent
Simplify and quicken code in persistent.py
2023-02-22 22:17:51 -05:00
Tom Rothamel d54c29e2b7 Ensure that both the screen name and tag are available to renpy.showing.
And that the information is properly maintained.

Per #4384.
2023-02-22 22:09:00 -05:00
Tom Rothamel 17c9c6f62c Make {nw} wait for self-voicing to complete.
Per #4387, and trying to make sure that the self-voicing text
completes before advance happens.
2023-02-22 20:59:55 -05:00
Gouvernathor 2e8c59b94a Simplify and quicken code in persistent.py 2023-02-23 01:52:03 +01:00
shawna-p f968c5016b Fix inertial viewport dragging 2023-02-22 14:06:28 -05:00
Tom Rothamel b3406bc9ae oversample: Try to ensure divisions are exact.
Which means we can always do a blit rather than a subpixel blit,
even if bounds are computed.
2023-02-21 23:46:45 -05:00
Tom Rothamel 5a0ca315bf Merge pull request #4083 from renpy/fix-oversample-offset
Fix subsurface offset when oversampling
2023-02-21 23:00:52 -05:00
Tom Rothamel 57a1a9ece6 Merge pull request #4357 from renpy/mipmap-transitions
Document mipmap specifically in transition parameters
2023-02-21 22:55:05 -05:00
Tom Rothamel 85a21e93e3 Merge pull request #4382 from renpy/clear-all-focuses
Enable ClearFocus and renpy.clear_capture_focus to clear all focuses at once
2023-02-21 18:09:21 -05:00
Gouvernathor a559f10792 Enable ClearFocus and renpy.clear_capture_focus to clear all 2023-02-21 18:40:46 +01:00
Tom Rothamel 4e4dc33843 Merge pull request #4359 from Tey/video-warning-fix
Only show warning message when playing a video
2023-02-21 01:34:31 -05:00
Tom Rothamel 51985b8633 doc: Fix the types of xsize and ysize.
Fixes #4373.
2023-02-21 01:32:24 -05:00
Tom Rothamel a0f4ed2ca6 Enable the selected_insensitive state.
And pass insensitive events to transforms.

Fixes #4338.
2023-02-21 01:28:44 -05:00
Tom Rothamel fd3f9102dc Minor changes to #4363.
Use a sentinel value rather than False.
2023-02-20 21:46:33 -05:00
Tom Rothamel 0c03ca25b5 Add a better example of a CTC screen. 2023-02-20 21:34:41 -05:00
Tom Rothamel 1c49408810 Merge pull request #4363 from Kassy2048/audio_wait_web
Wait for audio files to be downloaded before queuing them (web)
2023-02-20 21:14:04 -05:00
Gouvernathor b1cace6a24 doc: fix last 2023-02-21 02:07:18 +01:00
Tom Rothamel f4fd9156c0 Merge pull request #4376 from renpy/config-example
Upgrade example of config variable definition
2023-02-20 20:05:32 -05:00
Tom Rothamel 85f9d77c9d Merge pull request #4379 from renpy/dynamic-kwargs
simplify renpy.dynamic calls
2023-02-20 20:05:05 -05:00
Gouvernathor 6d92653229 simplify renpy.dynamic calls 2023-02-21 00:57:56 +01:00
Gouvernathor e69967fc94 doc: Upgrade example of config variable definition 2023-02-20 19:12:03 +01:00
Tom Rothamel 4fc96ee3ba Resolve bad merge. 2023-02-19 15:13:57 -05:00
Tom Rothamel 646bc8b398 Merge pull request #4369 from renpy/object-init
Fix classes signatures in the documentation (again)
2023-02-19 14:59:06 -05:00
Tom Rothamel a1302ecb3b Merge branch 'master' into object-init 2023-02-19 14:59:00 -05:00
Tom Rothamel ff2302f542 Merge pull request #4368 from renpy/lf
LF everywhere
2023-02-19 14:58:09 -05:00
Tom Rothamel 2bd1c71fd8 Merge pull request #4370 from renpy/doc-4316
Document #4316
2023-02-19 14:57:24 -05:00
Gouvernathor 9c3957a567 doc: changelog slcontinue and slbreak 2023-02-19 17:49:17 +01:00
Gouvernathor 9df7c047e4 doc: slcontinue and slbreak 2023-02-19 17:46:41 +01:00
Gouvernathor 4a53152c96 doc: fix 3746367 2023-02-19 16:00:45 +01:00
Gouvernathor e9be0244ca back to LF 2023-02-19 15:15:48 +01:00
Gouvernathor ff5bb28fe6 docgen: pop the prepending "self" better
args.replace(tuple(args.parameters.values())[1:]) would have been shorter, but would require two memory copies
this should be equivalent
2023-02-19 15:05:26 +01:00
Gouvernathor 89618e957f docgen: ban object.__init__'s signature 2023-02-19 15:03:34 +01:00
Gouvernathor aa9432948f docgen: simplify the issue with revobj's init 2023-02-19 15:02:58 +01:00
Gouvernathor 34c12fd310 doc: typo 2023-02-19 14:17:22 +01:00
Tom Rothamel b4ce3ccf9b Add directory to renpy.open_file and renpy.loadable. 2023-02-19 01:06:18 -05:00
Tom Rothamel a433009de8 Merge pull request #4360 from qTich/typo-images-prefix
fix: typo in common
2023-02-18 23:33:27 -05:00
Tom Rothamel b87b673e0f doc: Better documentation as to how ctc="fixed" works. 2023-02-18 20:32:59 -05:00
Tom Rothamel eff081741a Fix the default modal value for renpy.pause. 2023-02-18 20:22:48 -05:00
Tom Rothamel 6667c50ce4 doc: Deprioritize FLAC in the movie audio codec list. 2023-02-18 20:22:25 -05:00
Tom Rothamel 3ff388c5ed Doc: The addition of AV1. 2023-02-18 19:19:00 -05:00
Tom Rothamel b0ded80c22 doc: Fix improperly documented args. 2023-02-18 18:49:27 -05:00
Tom Rothamel c97c4871a6 Some compatibility for the keymap changes.
Fixes #4362 by preventing problems in released games, and documenting
this in the log.
2023-02-18 01:09:08 -05:00
Tom Rothamel 8c179a88a4 Check for changed language when rolling back.
Fixes #4351.

This also cleares the roll-forward log if the language has changed,
to stop roll-forwards into lines that haven't been shown.
2023-02-17 16:58:01 -05:00
Kassy 384b70a301 Wait for voice file to be downloaded before queuing it
If prediction failed, it is still worth it to play the voice file
late than not at all.
2023-02-17 20:23:02 +01:00
Kassy ba903152a0 Wait for audio file to be downloaded before queuing it
Fix #4113
2023-02-17 20:20:58 +01:00
Tom Rothamel 8668e3c986 Fix NVL-mode paged roll-forward.
By keeping all the roll-forward info, even past the first
checkpoint.

Per #4352.
2023-02-17 00:41:12 -05:00
Tom Rothamel 7039ec5d34 rt: When selecting the project, select int the launcher. 2023-02-16 23:35:14 -05:00
Tom Rothamel 02c1e46cbb launcher: Add a command to select the project. 2023-02-16 23:02:09 -05:00
Tichq d1a91a85e4 fix: 3a9db89382 2023-02-17 01:40:49 +03:00
Gouvernathor 5781e3b4f4 doc: document mipmap as its own thing in transition parameters 2023-02-15 23:36:58 +01:00
Tom Rothamel d6a72cfef3 Use the controller instance_id (not index) to remove controllers.
Fixes #4354.
2023-02-15 02:54:10 -05:00
Tom Rothamel bb791f4a9e Prefer explicity given images to ones found by name.
The thinking is that renpy.show's with argument should always
be the image that is show - it doesn't make sense for a named
image to override it.

Per #4353.
2023-02-15 02:30:22 -05:00
Teyut 2c2d08e5f1 Only show warning message when playing a video 2023-02-15 04:37:34 +01:00
Tom Rothamel 8a55b45cc9 _ren.py: Integrate with navigation.
This is mostly just making sure _ren.py files are considered
to be script files, and not filtered out.

Fixes #3920.
2023-02-14 02:13:20 -05:00
Tom Rothamel 26689f992b Strip BOM from the start of example lines. 2023-02-13 23:59:49 -05:00
Tom Rothamel 80b3e8236e Standardize on LF line endings. 2023-02-13 23:50:51 -05:00
Tom Rothamel a1f631285f Rename text_align to textalign (#4305)
Textalign renaming
2023-02-13 23:48:08 -05:00
Tom Rothamel 3a9db89382 Fix compat. 2023-02-13 23:38:46 -05:00
Teyut deae896fec Cutscene and loop for web (#4324)
* Draw video frames on canvas directly for cutscenes

This replaces the features of "00webvideo.rpy" and adds a way to detect
if autoplay is blocked for Movie() as well (with workarounds).

* Let video loop be handled by the browser

* Check for audio or video playback support

A warning message is shown when audio or video playback is not supported.
Video playback requires OpenGL 2 which should be guaranteed by WebGL v1,
but Ren'Py falls back to OpenGL 1 in some exotic configurations (like a
remote X11 server).

* Remove test condition

* Use wasm to decode audio files when needed without disabling video support

Video channels are marked asap in the webaudio module so it is possible to
know which audio function to call for that channel when audio decoding is not
possible by the browser (i.e., for Safari).

* Add details about video support on Web platform

* Remove useless check
2023-02-13 23:34:38 -05:00
Gouvernathor 70892cdf1d Modernize the inspect module and fix subclasses of RevObject not overriding __init__ (#4348)
* docgen: Modernize signature-reading

Our object's __init__ has a bogus (*args, **kwargs) signature which is actually (), subclasses not overriding it should get a () documented sig
The inspect.getargspec and inspect.formatargspec functions are deprecated in favor of inspect.signature

* Better fix for classes not redefining __init__

Probably faster at execution (although who cares) and does not rely on undocumented identity check
2023-02-13 23:32:06 -05:00
Tom Rothamel b6d51b7b0b Search for audio in audio, fonts in fonts/
And images in images/

Fixes #2077.
2023-02-13 22:31:22 -05:00
Galo223344 b3611b04cd Include an example of a proper usage of time_warp in the docs of ImageDissolve (#4326)
Include an example of a proper usage of time_warp in ImageDissolve

Even though time_warp is mentioned three times in the transition classes document, it's never shown how to actually use it. Since the idea of using the _warper module is not intuitive, and it's mentioned only once at the beginning of the section, I thought it would be best to at least include it in one of the examples.
2023-02-13 19:11:43 -05:00
Gouvernathor beebbf86af Doc misc (tweaks and fixes) (#4349)
* document Function's arguments the usual way

* document that Style's fields are write-only

* rephrase beginning of styles

* Warn about not using default

* typo: misdefined var
2023-02-13 19:11:28 -05:00
Tom Rothamel 9ac23face8 The current screen shouldn't be a HIDE or OLD screen.
There are various actions and values that access displayables
in the current screen. Some of these might be run (for example,
BarValue.get_adjustment()) in a hiding or old(-state-of-transition)
screen.

Almost certainly, those values and actions want the displayables
that are present in the original screen, not the copy, and so
the value is redirected.

Fixes #3998.
2023-02-12 15:59:08 -05:00
Gouvernathor 4e416ffebb Lint orphan translations (#4314) 2023-02-12 01:29:51 -05:00
Tom Rothamel 3e6afe04bb rapt: Update Android documentation to match the latest changes. 2023-02-12 01:27:50 -05:00
Tom Rothamel c96aac25c4 rapt: Update the launcher to match recent changes.
* Key generation is now per-process, and is a different step
  from installing the SDK.
* .android.json is now android.json.
2023-02-12 01:12:39 -05:00
Tom Rothamel 4d6bd0e14e steam: Do not initialize if the dlls do not exist.
Fixes #4344.
2023-02-11 13:29:40 -05:00
Tom Rothamel f7b6001771 py3: Fix old-style backtick repr.
Turns `expr` into repr(expr).
2023-02-11 03:05:14 -05:00
Tom Rothamel 06aff37241 py3: Fix old-style raises.
Transforms a raise of Type, expression into Type(expression).
2023-02-11 02:51:56 -05:00
Tom Rothamel d14bb49be1 When predicting an image for immediate use, push it to the GPU.
This mostly affects the case where Ren'Py is skipping, and hence
the images aren't likely to be loaded onto the GPU, and the idle
frame handler is unlikely to be triggered.

When this happens, prediction doesn't - but images will still be
predicted for immediate use. However, the surfaces were not being
loaded onto the GPU until use.

By immediately loading onto the GPU, the surfaces can be immediately
evicted from CPU memory, reducing the maximum amount of CPU memory
in use.
2023-02-11 00:30:22 -05:00
Tom Rothamel 738e4b30ec Limit how often the presplash is drawn.
Limiting the presplash to being drawn at 24fps speeds up loading
by 4 seconds (halving it) in a game with ~3000 .rpyc files.

Fixes #3962.
2023-02-10 21:21:56 -05:00
Tom Rothamel 7fd8f66145 Ensure there is always a context during rollback.
Fixes #4337.
2023-02-10 00:38:34 -05:00
Tom Rothamel 3ef37f8adf Use a dedicated keymap entry for exiting the console. 2023-02-09 22:10:54 -05:00
Moshibit a168f4be32 doc: Fix typo (#4340) 2023-02-09 15:48:00 -05:00
Tom Rothamel 242431b0b0 Fix the analysis of imagemaps. 2023-02-09 00:08:38 -05:00
Tom Rothamel 9a06311d97 sl2: Analyze for loops with break/continue for constness.
When a for loop has a break or continue in it, it may not
complete all of its executions. The result of that is that
variables that are updated in the loop are no longer constant
in the screen.

This has break and continue mark the loop as non-constant, and
then the loop re-analyzed to mark the variables in it as
non-constant.
2023-02-08 22:09:21 -05:00
Tom Rothamel d89abb44f1 Remove unneeded case that was causing a problem.
Fixes #4334.
2023-02-07 22:27:56 -05:00
Mal Graty f5dd816d1f Allow slow text to be used in screens while TTS is active (#4333)
text: Allow slow mode use while TTS is active

This relaxes the restriction on using slow text in screens while
self-voicing is enabled. As typical say dialogue is handled by Character
it is unaffected by this change.
2023-02-06 22:26:27 -05:00
Tichq 89f17d3aeb fix: missed iteration arg in SLIf.keywords (#4332) 2023-02-06 20:40:03 -05:00
Tom Rothamel 5cb1b0de72 doc: Fix generation. 2023-02-06 09:37:48 -05:00
Tom Rothamel 9a1d7f57d3 Better comments for what LOCAL_CONST means. 2023-02-06 01:24:08 -05:00
Tom Rothamel 1e98a7046b Merge commit 'f2d55f96576710b798a1df4046eec123f55c745b' 2023-02-06 01:22:33 -05:00
Gouvernathor f2d55f9657 doc: typo 2023-02-06 06:02:39 +01:00
Tom Rothamel e0b051cf56 sl2: Add prefer_screen_to_id.
This controls whether properties supplied through the screen
override those supplied through the displayable identifier.

Per #4319.
2023-02-05 23:32:41 -05:00
Gouvernathor 0419548455 doc: add attribute_function parameter to layim language 2023-02-06 05:31:33 +01:00
Tom Rothamel 03d37d24dc sl2: Do not predict branches of for loops that can never be taken.
The previous approach of predicting all branches was incorrect when
a constant branch was taken, as it could lead a locally const variable
to be given a different value, which prevented further optimizations
from working.

Fixes #4163.
2023-02-05 23:06:40 -05:00
altskop a2fdb61f70 Move pressed_ logic to get_mouse_name 2023-02-05 19:32:22 -06:00
altskop 8d6345e04a Resolve merge conflict 2023-02-05 15:43:29 -06:00
altskop 93f8cb30b7 Resolve merge conflict 2023-02-05 15:41:34 -06:00
altskop 94522d104b Remove mousebuttondown in cursor styles and switch to "pressed_" prefix instead. 2023-02-05 15:34:58 -06:00
Gouvernathor 9f1dbf208c Add renpy.is_pixel_opaque (#4315)
* Add renpy.is_pixel_opaque

* Change the signature
2023-02-05 12:31:59 -05:00
Gouvernathor fd86992a0e Make the alt character accept kwargs (#4321)
Make the alt character pass kwargs through
2023-02-05 12:31:37 -05:00
Tom Rothamel d2cb7c82b8 sl2: Improve error handling.
This is mostly intended to provide a better error message if
continue or break is out of place.
2023-02-05 12:08:48 -05:00
Gouvernathor 6052b3ec2c Add break and continue to the screen language for loop (#4316) 2023-02-05 10:55:54 -05:00
Tom Rothamel 2a6fa817de sync: Add buttons to the gui.
This should make it possible to generate a new game that
supports Ren'Py Sync.
2023-02-04 22:14:42 -05:00
Tom Rothamel 28e8203527 Fix an issue that was preventing the gui project from being run. 2023-02-04 22:14:42 -05:00
Gouvernathor 6ec246eaee doc: Changelog (#4322) 2023-02-04 14:22:49 -05:00
Asriel Senna 0e39a75e10 doc: fix typos 2023-02-04 19:42:55 +01:00
Asriel Senna 1a69e9af1b doc: update following #4318 2023-02-04 07:59:47 +01:00
Tom Rothamel 513099ef0f emscripten: Disable audio_when_unfocused and audio_when_minimized.
Fixes #4289.
2023-02-04 01:51:28 -05:00
Gouvernathor d8d5c2889a Oversampling for image manipulators (#4318)
* im.Data, and im.ZipFileImage aren't subject to oversampling, as they aren't "im transforms" - taking an im and returning another
* Composite takes several im parameters, so computing the oversampling of the whole is not trivial. I chose only to support all the images having the same oversampling factor - which is better than nothing, for obsolete functions
* Alphamask already had the constrant of the two images having the same size, they now also must have the same oversampling - seems fair enough to me. If you try it, it will most likely glitch, but that's only if and because Fix subsurface offset when oversampling #4083 is not merged
* All others have been converted.
2023-02-04 01:44:31 -05:00
Asriel Senna 0c076bf365 doc typos and fixes 2023-02-04 05:25:37 +01:00
Gouvernathor a12f7e96f7 Fix french translations 2023-02-03 17:25:18 +01:00
Tom Rothamel 8eff33f250 pyright: Fix some typing issues. 2023-02-03 01:05:57 -05:00
Tom Rothamel 12d337252e gl2: Fix off-by-one errors. 2023-02-03 00:58:55 -05:00
Tom Rothamel 5951976050 Remove unneeded line. 2023-02-03 00:30:00 -05:00
Tom Rothamel cda2f03dc1 Add the delay parameter to the Scroll action.
This lets a scroll button delay/animate scrolling.

Fixes #3747.
2023-02-03 00:26:21 -05:00
Tom Rothamel 5f05df1721 Fixes/improvements to animated adjustments.
* Round the animation target, not the final position.
* Fix math when computing position.
2023-02-03 00:24:47 -05:00
Tom Rothamel 62eadebbee Generate stylesets.pxi stably.
This prevents it from being recompiled each time Ren'Py is run.
2023-02-02 23:59:52 -05:00
Tom Rothamel 6dd9afb0ab Adapt to setuptools. 2023-02-02 23:59:52 -05:00
Asriel Senna 9e0e85bc86 implement rpy monologue none 2023-02-03 05:49:35 +01:00
Gouvernathor 36f41e3d22 doc: fix typo in example 2023-02-03 05:13:33 +01:00
Tom Rothamel 6d9b593555 Replace adjustment intertia with a more generic animation system.
This is to make it easier to animate scroll actions.
2023-02-02 22:31:49 -05:00
Tom Rothamel 28cea14a7f Enable draggable for the tutorial list of choices.
Mostly to test touch scrolling and inertia.
2023-02-02 22:31:49 -05:00
Gouvernathor a45f7c71e3 Add config.font_name_map
This is a variable that maps a short font name to a longer font name, allowing font tags (and other places fonts are used) to be shorter when required.
2023-02-02 20:53:07 -05:00
Gouvernathor eff49c8e43 Check conflicting properties in SL and ATL (#3821) 2023-02-02 20:49:18 -05:00
Gouvernathor 053428b945 Make spacing relative in grids (and vpgrids) (#3850)
Fixes #3840.

---------

Co-authored-by: Tom Rothamel <pytom@bishoujo.us>
2023-02-02 20:47:06 -05:00
Mal Graty 22a1e0525b move: Transformed-layer specific Move transition (#4268)
This alters how the Move transition deals with layers that have been
wrapped in a transform by the "show layer" statement.

Previously raw layers were hung on the layers_root widget, so that the
Move transition could unwrap them when needed. Unfortunately this meant
that it was only possible to do this unwrapping if it was the
layers_root widget being transitioned, rather than individual layers.

The change is to instead hang the raw layer on its transformation
directly, allowing it to be accessed both in the case of transitioning
the layers_root widget and also transitioning a layer in isolation. It
also makes the concept of raw_layers on the root widget redundant, and
so they have been cleaned up.
2023-02-02 20:42:32 -05:00
Gouvernathor 79aedc830c Upgrade the fixed rollback documentation to strip obsolete functions (#4288) 2023-02-02 20:41:34 -05:00
Gouvernathor 1c84857191 Fix recent director regression (#4311)
* Patch check_image_attributes

The last change to now-line 147 require `negative` and the elements of `l` to be the same type,
which they are not because the elements of `l` are not of constant type:
when added by line 134 they're lists, but when added by line 139 they're tuples.
This converts them always to lists - the memory-heavier but safer option.

* Convert all to tuples

* Simplify the code
2023-02-02 20:28:10 -05:00
Tom Rothamel ebc1ed7ab6 Merge pull request #4310 from renpy/better-director-enable
Better director toggle variable
2023-02-02 20:26:27 -05:00
Gouvernathor 8a3b69347a better director opt-out
Replaced a variable meant to change but placed in a constant store, with a query on a variable in the general store.
2023-02-02 16:55:01 +01:00
Tom Rothamel 9b82eaf228 Fix the documentation of config.gamedir and renpy.open_file. 2023-02-02 09:57:43 -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 3d7b15c521 Only collapse runs of whitespace consisting of space and \n.
\r doesn't exist in Ren'Py, and if the user picks another kind of
whitespace, it's best to preserve it.

Fixes #4275, closes #4299.
2023-02-02 00:50:26 -05:00
Tom Rothamel 3918cd3e93 Merge pull request #4279 from Tey/webvideo
Add Movie() support for web
2023-02-02 00:42:34 -05:00
Tom Rothamel f42b11ce6b Merge pull request #4301 from renpy/doc-style
Update the Style page
2023-02-01 23:48:07 -05:00
Tom Rothamel e8c11080a5 Merge pull request #4304 from renpy/doc-currying-callbacks
Add an example of currying a character callback
2023-02-01 23:47:32 -05:00
Asriel Senna 194cacf7f2 Update internal use of text_align 2023-02-02 05:37:47 +01:00
Asriel Senna a0dba5ca1d Update good practices in the doc and the tutorial 2023-02-02 05:34:07 +01:00
Asriel Senna 6c89fcb29d Update and compat gui.text_properties 2023-02-02 05:25:23 +01:00
Asriel Senna ad2e80f900 change the documentation from text_align to textalign 2023-02-02 05:24:19 +01:00
Asriel Senna be95fa7412 Enable textalign in screen language 2023-02-02 05:02:38 +01:00
Gouvernathor 7094d87843 doc: add an example of currying a character callback 2023-02-02 04:07:29 +01:00
Moshibit 9e02cf20f4 Update Spanish translation (#4302)
* Update common.rpy

* Update developer.rpy
2023-02-01 18:43:33 +01:00
Gouvernathor d284791ffb doc: minor tweaks and typos on the lifecycle page 2023-02-01 12:24:29 +01:00
Gouvernathor 8637d74c3a doc: some further edits 2023-02-01 12:22:29 +01:00
Gouvernathor 69701070b6 doc: Update styles documentation
Various rephrasings, added links, comparisons with modern renpy statements, remove duplicate entry for the style inspector, and so on.
2023-02-01 11:43:33 +01:00
Gouvernathor 76b8962bc5 Fix last
Weirdly enough defaultdict.pop raises an error if the key doesn't exist
2023-02-01 08:44:09 +01:00
Gouvernathor 2f19f4d3e9 Check that the deferred errors are correct when releasing them 2023-02-01 08:29:12 +01:00
Tom Rothamel 17e1cf0a67 Merge pull request #4296 from renpy/disable-empty-slkeywords
Disable empty keywords in screen parsing
2023-02-01 01:43:50 -05:00
Tom Rothamel 49e531fabb Merge pull request #4295 from renpy/tts-sub
Use presumably faster builtin methods
2023-02-01 01:43:28 -05:00
Tom Rothamel 1bd7bc6d53 Add Lexer.deferred_error, and support for deferred errors.
A deferred error is a parse error that might or might not manifest,
based on configuration variables that need to be set early, but can
be in any file.

These errors are stored in .rpyc files, and might become real parse
errors, or might be discarded.

This is intended to address #4284.
2023-02-01 01:37:45 -05:00
Gouvernathor ed19b3c333 Update french translations 2023-01-31 19:32:17 +01:00
Gouvernathor fb251c362d Error-out on emply screen language keyword 2023-01-31 17:59:04 +01:00
Gouvernathor 3e0a84ee8c doc: fix typos and escape 2023-01-31 15:20:54 +01:00
Gouvernathor db419875b0 Use presumably faster builtin methods 2023-01-31 15:14:58 +01:00
Tom Rothamel a474006d40 Add config.tts_substitutions.
This allows words to be replaced with their pronuncations, for
the purpose of self-voicing.
2023-01-31 00:27:16 -05:00
Gouvernathor d764a100a6 doc: reference typo 2023-01-31 04:44:46 +01:00
Gouvernathor bc2f9c866b doc: forgotten code block 2023-01-31 04:42:07 +01:00
Tom Rothamel a49bd0133c Fix crash on Android 12.
It looks like there were two things happening at once. One might have
been caused by aggressive power saving after onPause returns, and
seems to have been fixed by renpy-build@e73258924e907fe613ea6f243ab4a6bcae561632 .

The second was a crash in renpy.audio.audio.pause_all, that is probably
caused by the Audio Focus system on Android 12 starving the audio
thread, leading to things locking up.

This change pauses the audio without acquiring any locks, and was
stable after tens of pause-resume cycles on my Pixel 7.

Addresses #4286.
2023-01-29 22:55:10 -05:00
Tey 97f67f3cb8 Do not warn if playback is stopped before movie is ready 2023-01-30 03:41:09 +01:00
Tey bec8d214d3 Disable debug output by default 2023-01-30 03:17:15 +01:00
Teyut 7cd3ed824f Merge branch 'renpy:master' into webvideo 2023-01-30 02:35:48 +01:00
Tom Rothamel 7fd6fda193 Fix regression. 2023-01-29 14:58:37 -05:00
Tom Rothamel 0c0b824be6 sync: Finish changing to taking the url. 2023-01-29 14:22:08 -05:00
Tom Rothamel 261e4f9926 py3: Build using setuptools. 2023-01-29 14:15:46 -05:00
Tom Rothamel 221815a3ad Remove the embedded libfribidi.
It's now fine to use the system fribidi, so we use that. This
also upgrades the interface to use Python unicode functions that
are no longer deprecated.
2023-01-29 13:24:07 -05:00
Tom Rothamel 33e740e4ad Fix various warnings produced by GCC or clang. 2023-01-29 13:10:40 -05:00
Tom Rothamel b64c4c0904 Fix warnings emitted during compilation. 2023-01-29 10:43:08 -05:00
Tom Rothamel e00dd6a491 Fix use of undefined behavior with matrixes.
* Use of a zero-length array in the middle of the structure is non-portable,
  so replace it with a pointer.

* Apparently, M_PI is non-portable, so replace it with the constant.
2023-01-29 10:24:40 -05:00
Tey 2a6bfb8878 Add support for movies with mask on web 2023-01-29 04:23:04 +01:00
Tey 90b29854a9 Add "renpy.alpha_mask" shader that sets transparency of a texture using another texture 2023-01-29 04:20:29 +01:00
Tey 9358dbc613 Make cached_texture public so GL2Draw.render_to_texture() can actually use it 2023-01-29 04:18:53 +01:00
Tom Rothamel ea4e9bc144 sync: Fix wording. 2023-01-28 21:38:42 -05:00
Tom Rothamel 280ea1e0e4 Document the sync server protocol. 2023-01-28 21:34:34 -05:00
Tom Rothamel d5a7b257dc Include a hash of save_directory with the upload.
It may be necessary to cut off an API client, so this will allow that.
2023-01-28 21:28:23 -05:00
Tom Rothamel 84238fcca5 sync: Include the save_directory with the sync ids.
This should add a little to the entropy involved.
2023-01-28 21:01:18 -05:00
Tom Rothamel f4990b9f98 Add CurrentScreenName().
This is a screen function that returns the name of the current
screen (ignoring use-es).
2023-01-28 10:28:38 -05:00
Tom Rothamel e0d6230f2f sync: Preserve mtime when unpacking files.
This helps make sure that the right persisten is used, and gets
the save times correct.
2023-01-28 01:50:43 -05:00
Tom Rothamel c0385ce188 sync: Check that as sync belongs to the game being played. 2023-01-28 00:57:19 -05:00
Tom Rothamel e624691fc3 Merge branch 'sync' 2023-01-28 00:21:44 -05:00
Tom Rothamel a173928fe6 token: Allow loading slots where the save token wasn't accepted. 2023-01-28 00:21:05 -05:00
Tom Rothamel 4e06513d07 Update the look of the default sync screens. 2023-01-28 00:19:50 -05:00
Tey a66a521660 Only copy a video frame when a new one is available
This relies on requestVideoFrameCallback() which is available on Chrome and Safari,
but not Firefox.
2023-01-27 23:38:43 +01:00
Tey 7c08938fb9 Copy video frame to WebGL texture to improve performances
Video with alpha masks are not supported yet.
2023-01-27 23:36:59 +01:00
Tey c51c5e0e7d Add a way to generate an empty GLTexture and retrieve its name
This is required for the web platform so the browser copy video frames to it from JS.
2023-01-27 23:32:06 +01:00
Tom Rothamel ca649f95ec sync: Various improvements.
* Allow the sync id to be typed in lower-case.
* Set the correct init.
* Do not depend on the system-wide confirm screen.
* Use gui._scale rather than gui.scale.
2023-01-27 02:48:47 -05:00
Tom Rothamel 247b5d33cd Merge branch 'master' into sync 2023-01-27 01:22:10 -05:00
Tom Rothamel c9bdd74a5c Allow save files without signatures to be loaded. 2023-01-27 01:08:30 -05:00
Tom Rothamel 86be00ff75 Fix issues with maxing focus.
The new max focus was not stored, causing problems. If maxing a focus
happens when a displayable is grabbed, the grab is broken.

Fixes #4092, resolves #4108.
2023-01-26 21:03:01 -05:00
Tey eadff6ee94 Add more debug outputs and a switch to disable them 2023-01-25 21:31:13 +01:00
Gouvernathor 687e1f190d doc: typo 2023-01-25 21:09:15 +01:00
Tom Rothamel d0f293d799 Include libhydrogen in renpy.encryption.
This fixes a linking problem with the python 2 renpyweb, and doesn't
hurt anything else.
2023-01-25 11:20:25 -05:00
Tom Rothamel 32ee3ed517 Include libhydrogen in renpy.encryption.
This fixes a linking problem with the python 2 renpyweb, and doesn't
hurt anything else.
2023-01-25 11:03:28 -05:00
Tom Rothamel 84d12e2a93 sync: Add sync system.
This allows the user to upload their game data to a Ren'Py-run
server, and download it onto a new device.
2023-01-25 00:16:32 -05:00
Tom Rothamel e52ba082bb Fix typo in Setup. 2023-01-25 00:14:15 -05:00
Tom Rothamel b3dd01d50a sync: Add libhydrogen and renpy.encryption.
This is a much lighter set of libraries that will allow
authenticated encryption.
2023-01-24 22:44:52 -05:00
altskop 23122310ae Support for new cursor types
Added support for "mousebuttondown" and "button" states for mouse cursors. Additionally, updated the documentation.
2023-01-24 12:42:49 -06:00
Tom Rothamel 74027bef5d doc: Changelog and more.
This is the result of auditing the history to find items that
didn't get changelogged. There are still a number of big items
that need to be added.
2023-01-24 02:11:18 -05:00
Tom Rothamel aa6cedcc87 Adjust how history_current_dialogue works, enable by default.
Having do_done happen before do_display seemed like it could
cause problems, so put the dialogue onto the history_list, pop
it, and put it back on again in do_done.
2023-01-23 23:59:38 -05:00
Tom Rothamel 2a1ecfd497 sync: Save location improvements.
* It's now possible to specify a list of additional save locations
  that files can be saved to.
* A new method that gets a path to a save or persisten file.
2023-01-23 23:28:54 -05:00
Tom Rothamel fc561141d4 Reinitialize save locations. (And clean up log_clock.) 2023-01-23 23:28:54 -05:00
Tom Rothamel e4c7faf8de Merge pull request #4028 from Noriverwater/4018
Allow adding the current dialogue to history screen
2023-01-23 23:28:46 -05:00
Tey c06da680ed Fix scrolling bars appearing when prompt/error message shows up 2023-01-23 18:13:53 +01:00
Tey 70ef636572 Handle cutscene video load error and show message for web 2023-01-23 18:13:21 +01:00
Tey 3029937cf6 Implement video file rendering for web
Video files are rendered by the browser using a HTML video element. The video
output is drawn to a canvas periodically and the canvas content is copied to
a MEMFS file for Renpy to process it. The file format is TGA to reduce the
CPU load as much as possible (HTML canvas only support exporting data as JPG
or PNG natively).
2023-01-23 05:37:18 +01:00
Tey bba9e06d31 Forward video specific call to JS 2023-01-23 05:29:28 +01:00
Tey 417dd54e49 Handle URL scheme for video files on web 2023-01-23 05:27:21 +01:00
Tey 87fd6ea4f3 Use URL scheme for video files on web 2023-01-23 05:24:47 +01:00
Tey 35cdc01c27 Add video files to remote files list to process them differently 2023-01-23 05:23:52 +01:00
Tom Rothamel a4b1172883 Rename to voice_after_game_menu.
Per comment in #4019.
2023-01-20 23:10:13 -05:00
Tom Rothamel 3c8a31cff2 Add the voice after menu preference.
This allows the voice to continue being played after the user
enters the menu.

Fixes #4019.
2023-01-20 22:04:21 -05:00
Tom Rothamel 780fe50050 Include all commits in version calculations. 2023-01-19 22:27:23 -05:00
Tom Rothamel 094bf6edb5 py: Remove a del that didn't do much.
But did cause problems running under Python 2.
2023-01-19 21:20:39 -05:00
Tom Rothamel ae9d6d2ea3 Merge Layer displayable and detached layers (#4239)
This allows one to create layers that are not part of the normal layer stack, but instead are accessed through a Layer displayable.
2023-01-19 01:26:02 -05:00
Gouvernathor 78d423b9e9 typos
yay for reachability analysis
2023-01-18 19:16:18 +01:00
Tom Rothamel 926f9190be Merge pull request #3929 from renpy/lint-reachability-1
Add lint reachability analysis
2023-01-18 02:18:48 -05:00
Tom Rothamel cecc13498a Release the grab when losing focus while changing context.
Fixes #4172
2023-01-17 22:36:42 -05:00
Tom Rothamel 1051e3f2dc Merge pull request #4252 from renpy/fix-4194
Apply transforms to displayables the proper way
2023-01-17 22:05:44 -05:00
Mal Graty b5bb26fa52 layerdisp: First pass at documentation 2023-01-17 23:41:32 +00:00
Mal Graty 58efd993dd layerdisp: Add config.detached_layers 2023-01-17 23:41:23 +00:00
Mal Graty ddff0df466 layerdisp: Call visit_all callback on self first
The Layer displayable has its child injected using visit_all. That makes
the default behaviour of calling the callback on children first
unhelpful, as it descends the tree before the child is replaced. This
change flips that order for the Layer displayable, calling the callback
first on self (allowing the child be updated) before descending into the
new child.
2023-01-17 23:41:23 +00:00
Mal Graty fbbe9b138b layerdisp: Make Layer displayble public 2023-01-17 23:41:23 +00:00
Mal Graty 2ade8e0449 layerdisp: Capture detached layer transitions
Only care about layers being displayed, either directly or via a Layer
displayable.
2023-01-17 23:41:23 +00:00
Mal Graty 929aedd082 layerdisp: Inject layers into displayables
Reuse the tree traversal done to support per_interact to find Layer
displayables in the tree and replace their contents before calling
per_interact as normal.
2023-01-17 23:41:23 +00:00
Mal Graty f06cac8537 layerdisp: New layer displayable
Uses the clipping keyword argument via properties to avoid making it
usable as a positional argument, and to prevent the creation of a new
style. Additionally the AdjustTimes init is skipped as there's no
benefit to initialising either the times or the child before add is
called by interact_core.
2023-01-17 23:41:23 +00:00
Mal Graty 3b08646baa layerdisp: Compute the layers to process just once 2023-01-17 23:41:23 +00:00
Tom Rothamel b3558d0725 Clear the focus when entering a new context.
It will clear anyway, but doing so explicitly like this makes
sure to run all the unfocused handlers before the context is
entered.

Fixes #4255.
2023-01-16 21:55:05 -05:00
Mal Graty 6387e44694 Fix more suspected typos in MoveTranslation 2023-01-16 08:26:12 +01:00
Gouvernathor 498b0966be Fix probable typo in MoveTransition 2023-01-16 08:25:49 +01:00
Tom Rothamel 6fb620c12a Use a different log message for a second video rejection. 2023-01-16 02:14:46 -05:00
Tom Rothamel da7d90ea41 Merge pull request #4145 from GlacierLab/webvideo
web: auto mute video for autoplay
2023-01-16 02:12:36 -05:00
Tom Rothamel 5893414f21 Only notify for a QuickSave that succeeds.
Fixes #4236. Closes #4238.
2023-01-16 02:04:27 -05:00
Tom Rothamel 3e571d04d2 Allow side to expand to fit its child on render.
This deals with the case where the the insets caused by the
side displayable might cause the center displayab;e to grow in
one dimension. (For example, Text that has an inset on the right
may be bigger vertically than if there was no inset.)

When this happens, the space allocated to the center displayable
will be allowed to expand until everything fits.

Fixes #4253.
2023-01-16 01:28:10 -05:00
Tom Rothamel d2c385a713 Merge pull request #4225 from mal/fix-self-voicing-screen
Restore self-voicing notification callback
2023-01-15 22:18:14 -05:00
Tom Rothamel 9a821eca85 Merge pull request #4250 from renpy/doc-variables
Variables documentation
2023-01-15 22:17:52 -05:00
Tom Rothamel 40472632a9 Merge pull request #4229 from renpy/fix-init-doc
Ban object's __init__ docstring from our documentation
2023-01-15 22:17:15 -05:00
Tom Rothamel 89c07909ef Merge pull request #4251 from renpy/doc-translation-id
Remove wrong example and move things around
2023-01-15 22:16:47 -05:00
Tom Rothamel a55ca53310 Merge pull request #3423 from uyjulian/use_rwops
loader: use RWops object from pygame_sdl2
2023-01-15 20:12:48 -05:00
Gouvernathor fb44010b7f Apply transforms to displayables the proper way 2023-01-15 19:31:47 +01:00
Asriel Senna 6ea0a43e47 doc: remove wrong example and move things around 2023-01-15 18:54:53 +01:00
Asriel Senna 5161728f5e doc: clarify arguments taken by callbacks 2023-01-15 18:27:30 +01:00
Asriel Senna e7bb3967f2 doc: various fixes, tweaks and cross-references 2023-01-15 18:26:45 +01:00
Asriel Senna 637af5a21e doc: secure the signature of renpy.display_menu 2023-01-15 18:22:51 +01:00
ねゆんせ 82dd8ffe95 ren_py: Removed extra quotation mark from example (#4247) 2023-01-15 17:19:13 +01:00
Tom Rothamel 9f24f22206 Replace heapq_merge with sort. 2023-01-14 22:15:09 -05:00
Tom Rothamel 5d069f1589 Merge pull request #3961 from Booplicate/include_module
Add `renpy.include_module`
2023-01-14 21:35:43 -05:00
Tom Rothamel 77692f7a7f Merge pull request #4201 from Moshibit/revert-1-Moshibit-patch-1
Update Spanish translation
2023-01-14 21:20:51 -05:00
Tom Rothamel 0bfa9a022b Merge pull request #4246 from altskop/3dstage.rst.layers
[docs] Elaborate on layer specification in camera statement description
2023-01-14 21:20:13 -05:00
altskop f98221a54f Elaborate on layers in camera statement description 2023-01-14 19:14:58 -06:00
Tom Rothamel b830143788 web: Add AVIF and SVG to formats that are thumbnailed. 2023-01-14 12:37:57 -05:00
Tom Rothamel c404490bd2 Merge pull request #4144 from renpy/actions-as-functions
Classify actions as functions
2023-01-14 01:14:42 -05:00
Tom Rothamel 591c440647 Merge pull request #4226 from renpy/doc-mung
Document name-munging more visually and add warning for f-strings incompatibility
2023-01-14 01:14:08 -05:00
Tom Rothamel a95e59bd7c Merge pull request #4227 from renpy/fix-documented-signatures
Document more function signatures as keyword-only.
2023-01-14 01:13:07 -05:00
Tom Rothamel 458bbe3ba4 Merge pull request #4224 from renpy/show-sig
Document some renpy.show arguments as keyword-only.
2023-01-14 01:12:19 -05:00
Tom Rothamel a40856fdad Merge pull request #4217 from renpy/config-examples
Avoid undocumented config variables in examples
2023-01-14 01:11:30 -05:00
Tom Rothamel adfe4fc712 Merge pull request #4231 from renpy/fix-config.help
Fix and document config.help
2023-01-14 01:09:47 -05:00
Tom Rothamel 1ba031b1c5 Merge branch 'master' into fix-config.help 2023-01-14 01:09:40 -05:00
Tom Rothamel 77236946d0 Document how None and Button sensitive/selected interact.
Which is to say, that None means "take the default", like it does
in other places.

Fixed #4235.
2023-01-13 23:48:37 -05:00
Tom Rothamel f49a7d293a Allow an on "show" to end an interaction.
Fixes #4234.
2023-01-13 23:34:27 -05:00
Tom Rothamel 268de01790 Delete steam_appid.txt when the game does not set it.
This prevents steam_appid.txt from activating steam for legacy
games.

Fixes #4244.
2023-01-13 22:40:25 -05:00
Tom Rothamel beeed03b54 web: Hide exec-ed commands from the store. 2023-01-13 22:30:47 -05:00
Tom Rothamel 8784250be9 Automatically oversample SVGs.
SVGs will be automatically rendered at the drawable resolution,
and then oversampled to reduce them to the appropriate virtual
size. The result is something very similar to the way text is
rendered always sharp.

Fixed #1641.
2023-01-13 01:40:49 -05:00
Tom Rothamel 4f972a5c39 Allow SVG images to be loaded at alternate sizes.
And document the requirement for SDL_image 2.6.
2023-01-11 23:45:46 -05:00
Tom Rothamel 561dcdbe74 Diagnose unsupported formats when loading images.
Based on #3906.

Co-Authored-By: Taeyeon Mori <taeyeon@oro.sodimm.me>
2023-01-11 21:48:36 -05:00
Tom Rothamel 8906015895 Reload .avif and .svg files when they change.
Co-Authored-By: Taeyeon Mori <taeyeon@oro.sodimm.me>
2023-01-11 20:18:38 -05:00
Tom Rothamel 5d6d660e0b Update the image extensions list to include avif and svg. 2023-01-11 01:01:38 -05:00
Gouvernathor 758b5e2f38 whitespace 2023-01-10 21:48:25 +01:00
Gouvernathor 198fc93532 doc: minor corrections
3 configs missing a link, one misordered in the general page, and one inexistent used in an example
2023-01-08 17:19:57 +01:00
Gouvernathor f82f7d82d5 docgen: classify Actions and Values by inheritance check 2023-01-08 17:01:14 +01:00
Gouvernathor 0558efe5d9 Merge branch 'master' of https://github.com/renpy/renpy 2023-01-08 05:40:04 +01:00
Gouvernathor 7b1ea17a91 typos and whitespace 2023-01-08 05:39:57 +01:00
Gouvernathor 99514a9341 doc: document config.help's use as Help's default value
Also fixes Help's doc which was inaccurate - config.help_screen is a fallback, not an override.
2023-01-08 03:30:33 +01:00
Gouvernathor 457ba21aba Remove config.help's first "help on config" implementation 2023-01-08 03:27:35 +01:00
Tom Rothamel 570cbb8b5b Error out early when trying to run live2d on the web platform. 2023-01-07 21:05:32 -05:00
Gouvernathor 665e5760d8 docgen: ban object's __init__ docstring
In py3, an object's method inherits the object's method's docstring.
We don't want that one to pass as one written by us and which should be included in our documentation.
2023-01-08 02:33:30 +01:00
Tom Rothamel 1cb7d09b97 Update the copyright to 2023. 2023-01-07 19:21:14 -05:00
Tom Rothamel 8cb0fd0670 py3: Update copyright script to work with Python 3. 2023-01-07 19:20:59 -05:00
Gouvernathor 922798185c fix typos, remove obsolete information 2023-01-07 23:40:20 +01:00
Gouvernathor 2bd84d93b8 doc: use stars and a slash to secure signatures
Also, the `alpha` parameter, which was documented as "ignored", was removed from transition classes' signatures.
2023-01-07 23:38:26 +01:00
Gouvernathor b2ce4fa349 doc: Warn about name-munging and f-strings
until and unless #4084 gets resolved
2023-01-07 23:00:55 +01:00
Mal Graty 978126612f tts: Restore self-voicing notification callback 2023-01-07 10:34:10 +00:00
Tom Rothamel 1e4298ed61 Remover circuitpython from vscode settings. 2023-01-06 22:26:59 -05:00
Tom Rothamel 6b227619e9 pyright: Fix warning. 2023-01-06 22:26:59 -05:00
Gouvernathor 2a6bda3a3d doc: Improve and secure renpy.show's signature 2023-01-06 18:46:31 +01:00
Tom Rothamel 0628b3c1ae Merge pull request #4222 from renpy/py2-test
Use the regular way of testing py's version
2023-01-06 00:05:18 -05:00
Tom Rothamel 801cee5db1 Fix the encoding when loading bmfonts. 2023-01-05 23:34:05 -05:00
Tom Rothamel ca1c0f94f5 Fix a crash caused by Preferences changing without changing its length. 2023-01-05 21:43:35 -05:00
Gouvernathor c356f177d4 Use the regular way of testing py's version 2023-01-06 03:23:56 +01:00
Gouvernathor 0a434367b3 doc: opt to documenting config.gamedir 2023-01-06 02:55:58 +01:00
Tom Rothamel 250bb26b16 Merge pull request #4212 from renpy/wrong-include
Include functions intended to be documented
2023-01-05 20:49:02 -05:00
Tom Rothamel 3a1b3e75d3 Merge pull request #4213 from renpy/config.language
Unmixup config.language and config.default_language
2023-01-05 20:48:42 -05:00
Tom Rothamel 6f6e40e066 Merge pull request #4215 from renpy/config.console
Add a formal doc entry for config.console
2023-01-05 20:48:28 -05:00
Tom Rothamel eb7ca2d684 Merge pull request #4214 from renpy/config.editor
Undocument config.editor and document Shift+E
2023-01-05 20:42:42 -05:00
Tom Rothamel d376f8cc30 Merge pull request #4216 from renpy/config.perspective
Add an entry for config.perspective
2023-01-05 20:39:45 -05:00
Tom Rothamel 9b051a0918 Merge pull request #4218 from renpy/config.pad_bindings
Add a entry for config.pad_bindings
2023-01-05 20:37:45 -05:00
Tom Rothamel fadff3ae4c Merge pull request #4221 from mal/sticky-layers-redux
Sticky layer tweaks
2023-01-05 20:37:19 -05:00
Tom Rothamel 4f6951e911 Merge pull request #4220 from mal/filmstip-gl2
Update anim.Filmstrip to take advantage of gl2
2023-01-05 19:22:25 -05:00
Mal Graty 8cd3d4553d sticky: Document feature 2023-01-05 23:48:39 +00:00
Mal Graty 0d558d2670 sticky: Parity in clean up between hide and clear
This change ensures that tags are only unstuck when being removed from
the layer to which they were stuck. As they could only have been stuck
to a sticky layer in the first place, there is no need to check if the
layer is sticky.
2023-01-05 23:08:48 +00:00
Mal Graty 7350cd81fd anim: Update Filmstrip to take advantage of gl2
This change results in much better prediction of the source image,
considerably speeding up prediction and loading while reducing I/O.
Previously it would attempt to load the source image for each frame.
2023-01-05 10:10:14 +00:00
Gouvernathor c540df7fd1 doc: add a entry for config.pad_bindings 2023-01-05 07:30:03 +01:00
Gouvernathor 7d17c94251 doc: use the better function (given context) 2023-01-05 07:29:08 +01:00
Gouvernathor 2a18f54179 doc: avoid undocumented configs in examples 2023-01-05 07:22:12 +01:00
Gouvernathor 3b910c8227 doc: Add an entry for config.perspective 2023-01-05 07:02:17 +01:00
Gouvernathor 7b2a55e0a4 doc: Add an entry for config.console 2023-01-05 06:53:33 +01:00
Tom Rothamel 51fcf958e8 doc: New preferences. 2023-01-05 00:49:09 -05:00
Gouvernathor 053d0bc158 doc: Undocument config.editor and document Shift+E 2023-01-05 06:39:06 +01:00
Tom Rothamel 73300ccc27 Rename preferences.pwa_preload to .web_cache_preload.
This matches the name used in Preferences, which will make the
documentation easier to write.
2023-01-05 00:24:09 -05:00
Tom Rothamel 37b000f36c Add a preference that controls if the game plays audio when unfocused.
Defaulting to off, because I personally like keeping the game running
when doing something else. (And because this would ruin the usefulness
of music rooms.)

Fixes #3777.
2023-01-05 00:20:03 -05:00
Gouvernathor 93d3163b01 doc: unmixup config.language and config.default_language 2023-01-05 06:11:23 +01:00
Tom Rothamel 260913703b audio: Reference count pause_all. 2023-01-05 00:09:33 -05:00
Gouvernathor 879c32e538 doc: Fix typo preventing functions from being included 2023-01-05 04:42:23 +01:00
Tom Rothamel c4ff37826a Preserve volumes when muted.
Fixes #3975.
2023-01-04 22:39:38 -05:00
Tom Rothamel 3e14e1f25e Merge pull request #3991 from renpy/fix-3966
Remove bogus onlayer parsing on scene statements
2023-01-04 22:10:47 -05:00
Tom Rothamel 68e2cfb420 Explicity document that it is not required to close text tags.
This has been the behavior of Ren'Py, outside of lint, for quite some
time, and the usability improvements likely make up for the chance
that some errors will pass unnoticed.

Fixes #3926.
2023-01-04 00:45:53 -05:00
Tom Rothamel e531f7561a Add config.after_default_callbacks. 2023-01-04 00:04:09 -05:00
Tom Rothamel 96ff02dff8 Allow creator-defined statements to execute at default-statement time.
Fixes #4041.
2023-01-03 23:12:53 -05:00
Gouvernathor aa7a197771 doc: tweaks to last
Move a warning section that seemed out of place
Fix references to functions (the mistake predates my PR)
2023-01-04 03:26:29 +01:00
Gouvernathor c8e22d8c7f Document new clauses for show screen and other statements (#3601)
* doc: typos and references to new clauses

* doc: new parameters to show screen and hide screen

* revert accidental revert

* doc: document new clauses for call screen

and bring nopredict in line with the others

* doc: fix wrong example

Co-authored-by : Booplicate
2023-01-03 20:51:59 -05:00
Tom Rothamel 5de6385165 Merge pull request #3595 from Booplicate/new_screen_clauses
New screen clauses
2023-01-03 20:50:59 -05:00
ねゆんせ 9b6df453bc doc: fixed double h (#4209) 2023-01-03 18:16:27 +01:00
Asriel Senna b23ecf3603 Fix previous, allow all previously unglitched statements 2023-01-03 15:21:40 +01:00
Gouvernathor d7d53a06b9 Fix wrong config variable name (#4205)
doc: fix wrong config variable name
2023-01-02 21:30:58 -05:00
Gouvernathor bae6672f36 Remove remaining gl2 references (#4206)
doc: Remove remaining gl2 references
2023-01-02 21:30:29 -05:00
Mal Graty 0e0e91495f Sticky layer implementation (#4202)
* Group layer definitions in config.py

* sticky: Initial sticky layer implementation

* sticky: Add sticky argument to renpy.add_layer

* sticky: Compat with older versions without sticky

* sticky: Document config.sticky_layers

* sticky: Use list for config var instead of set

Usability trade off at Tom's request.
2023-01-02 21:30:10 -05:00
Tom Rothamel 329e0f49de Consider pauses in text tags when computing auto-forward time.
Fixes #3958.
2023-01-02 21:29:08 -05:00
Gouvernathor 97d1fd059d doc: remove deleted page from the index
following #4170
2023-01-02 18:07:09 +01:00
Gouvernathor 55858f9f6d doc: fix method syntax and linebreaks 2023-01-02 18:06:08 +01:00
Gouvernathor 1b8269d746 doc: protect unsafe character
it was creating a link for some reason
2023-01-02 18:05:37 +01:00
Moshibit f02ca4c042 Revert "Fix typo" 2023-01-02 07:45:34 -06:00
Moshibit f3e19bd772 Merge pull request #1 from Moshibit/Moshibit-patch-1
Fix typo
2023-01-02 07:37:48 -06:00
Moshibit 76be237d8b Fix typo
config.history_list_length does not exist but config.history_length does.
2023-01-02 07:33:23 -06:00
Moshibit 64dd878b6b Merge branch 'renpy:master' into master 2023-01-02 07:24:45 -06:00
Gouvernathor b1b8b03f12 Persistent improvements and fixes (#4197)
* Update persistent.py

Add the __contains__ syntax
Add the _keys method
Include __ keys in _clear's behavior, and use the new _keys method to avoid code duplication

* Document the new behaviors and explain the __ fields

* Add link anchor

* Undo _keys, turn `in` into _hasattr, document this

* better document __-starting fields' limitations

* doc: Move _hasattr and word things better

* typo
2023-01-02 00:02:41 -05:00
Tom Rothamel d5a816c4fe Allow negating attributes in the interactive director.
This makes the interactive director more useful in cases where
layeredimages are involved.

Fixes #2605.

Co-Authored-By: JackkelDragon <37125112+JackkelDragon@users.noreply.github.com>
2023-01-01 13:46:10 -05:00
Moshibit bef4a6f99e Update common.rpy 2023-01-01 09:04:14 -06:00
Moshibit 72f3513022 Update launcher.rpy 2023-01-01 09:01:12 -06:00
Tom Rothamel 47b82bb2d4 Persistent devtoool.
This makes it possible to visualize the persistent data.
2023-01-01 09:56:05 -05:00
Tom Rothamel 362b22bd4d Merge pull request #4192 from renpy/overlay_functions
Undocument config.overlay_functions
2023-01-01 09:36:27 -05:00
Tom Rothamel 6226a8a78b Viewport inertia.
This is based on the implementation in iOS, as described at
https://ariya.io/2011/10/flick-list-with-its-momentum-scrolling-and-deceleration .

When the user releases their finger from the viewport while it's moving,
inertia will keep the viewport scrolling until either the user begins to
scroll again, or it comes to a natural stop.
2023-01-01 02:09:41 -05:00
Mal Graty e3d443acc3 Reduce duplication in new persistent viewer
By having it reuse the existing variable viewer screen with minor
alterations. Also alters an internal name to better reflect its use.
2022-12-31 22:58:10 +00:00
Gouvernathor 034ebf7d54 Comment-out unused lines 2022-12-31 22:57:31 +00:00
Gouvernathor c54034c7e0 Add persistent menu in developer tools 2022-12-31 22:57:31 +00:00
Gouvernathor 09eb77b56e doc: fix typos and add link 2022-12-31 15:17:44 +01:00
Tom Rothamel be5ad751cf launcher: Choose a language by clicking on it.
I had some feedback that clicking and then clicking on the text-button
was confusing, and it confused me late last night - so move to a single
click model.
2022-12-31 09:03:20 -05:00
Tom Rothamel 2b85a7f1eb token: Ecdsa is now a dependency for Ren'Py. 2022-12-31 08:40:15 -05:00
Tom Rothamel 708c7a52a1 Add config.save_token_keys.
This lets a game developer pre-seed the list of verification keys,
and ship 'blessed' save-games or persistent files that the user's
game will load without asking for verification.
2022-12-31 01:08:48 -05:00
Tom Rothamel b42b24be75 token: Make the tokens keys and signatures.
By making the tokens ECDSA keys, it's possible to include a signature
of the log or persistent data in each file. By doing this, it becomes
impossible to simply transfer a token from one save file to another,
allowing it to prove that the data was generated by someone who knew
the public key.
2022-12-30 23:32:43 -05:00
Tom Rothamel 5a124d6d45 token: Be more explicit about why this is important. 2022-12-30 09:35:46 -05:00
Gouvernathor 98328bd6b9 doc: remove config.overlay_functions 2022-12-30 14:38:55 +01:00
Tom Rothamel a494d160c4 Merge pull request #4191 from renpy/update-config
Futureproof list and dict config variables, and better nomenclature for callable configs
2022-12-30 08:32:42 -05:00
Gouvernathor 91e3fc15c7 doc : futureproof list and dict config variables 2022-12-30 12:40:26 +01:00
Tom Rothamel 2b719a5b86 doc: Save token security. 2022-12-30 01:07:18 -05:00
Tom Rothamel 9ce786d578 token: Confirm loading a save with a different token.
And offer to add the token to the player's current
computer.
2022-12-29 23:24:09 -05:00
Tom Rothamel 994f358ca8 token: Include the save token in a save. 2022-12-29 21:42:16 -05:00
Tom Rothamel cfd17c616c token: Include the save token in persistent data, and check it for validity. 2022-12-29 21:23:24 -05:00
Tom Rothamel 4826741846 token: Use path_to_saves to find the token.
And change the order a bit, so the token is available the first
time persistent is loaded.
2022-12-29 20:30:37 -05:00
Tom Rothamel 258beb1b38 savetoken: Generate save tokens and upgrade games to include them.
Save tokens will be used to warn the user if they're loading a
game that wasn't created on the current computer.
2022-12-29 19:38:58 -05:00
Tom Rothamel c0de244fd9 Do not generate relative imports for renpy.common. 2022-12-29 19:38:38 -05:00
Tom Rothamel a39cb7c8f6 Do not delete os from the store.
It was added, deleted, then added again. This fixes a regression
caused by 9366678fef, which removed
the re-import.
2022-12-29 10:39:55 -05:00
Tom Rothamel f1462bd1e1 Update keywords. 2022-12-29 10:14:31 -05:00
Tom Rothamel c7c713c6de Merge pull request #3946 from renpy/xycenter-style
Add the xycenter proxy style property
2022-12-28 18:19:04 -05:00
Tom Rothamel b9d1660377 text: Do not allow invisible hyperlinks to gain focus.
Fixes #3941.
2022-12-28 18:15:32 -05:00
Tom Rothamel 9366678fef afm, self-voicing: Allow self-voicing and afm to be active simultaneously.
The compromise is that when self-voicing is active, afm will only occur
when the dialogue is focused - it will not occur when another button is
focused.
2022-12-28 17:16:48 -05:00
Tom Rothamel c105989111 web: Remove unneeded disclaimer. 2022-12-28 17:16:48 -05:00
Gouvernathor a4d0b79de4 Complete Text docstring 2022-12-28 21:12:09 +01:00
Tom Rothamel 6e910343e1 Merge pull request #4185 from renpy/clarify-speaking_attribute
doc: fix and clarify confix.speaking_attribute
2022-12-28 08:56:48 -05:00
Tom Rothamel d33317fdb8 Allow Text to take a list of tokens instead of a string.
This helps the implementation of custom text tags that would be
implemented as a displayable containing a Text. Fixes #4102.
2022-12-28 02:05:54 -05:00
Tom Rothamel e020f225f8 Fix regression in how Text("") was rendered.
7d31bed4f6 introduced an issue that
changed how the empty string renders. This restores the longstanding
behavior.
2022-12-28 01:32:53 -05:00
Tom Rothamel a727c0edec Limit the maximum size of a console log result by characters.
Fixes #4031.
2022-12-28 01:16:38 -05:00
Tom Rothamel 546b903660 Fix bad keybinding. 2022-12-28 00:51:06 -05:00
Tom Rothamel 39193405ed Do not include node in LineLog.
This should prevent crashes in the case where a LineLog gets
serialized. Fixes #3871.
2022-12-28 00:17:39 -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 b903fc7fb1 Update the keymap.
This takes advantage of any, removes unicode keys that duplicate
key-stroke keys, and makes the keypad useful.

Fixed #4030
2022-12-27 00:28:42 -05:00
Tom Rothamel 067a8b4831 Add the any prefix to covere repeat and no-repeat. 2022-12-26 22:13:19 -05:00
Gouvernathor f766375dd6 doc: fix and clarify speaking_attribute 2022-12-26 16:45:31 +01:00
Gouvernathor 4b56f275f4 typo for parser error messages 2022-12-26 12:43:23 +01:00
Tom Rothamel 6067437ea2 Improve numeric keypad keysyms.
Two changes in this one. The first is to add a quartet of new
modifiers (caps/nocaps, num/nonum) to reflect if capslock or
numlock are turned on.

The second is to create a new type of keysym, beggining with KP,
that expands out to the key with our without the numlock modifier.

Starts work on #4030.
2022-12-26 00:03:05 -05:00
Tom Rothamel 6517d35727 Add the top and bottom layers.
Thes are meant for interface and key handlers, respectivelyy, that
should not be affected by transitions.

Fixes #4818.
2022-12-25 14:25:16 -05:00
Tom Rothamel 7a6f0d6082 Merge pull request #4107 from valery-iwanofu/place_method_patch
Update place method of render
2022-12-25 00:21:15 -05:00
Tom Rothamel d38c505ec8 Merge pull request #4170 from MintiClinti/obsolete-docs
removed obsolete documentation
2022-12-25 00:19:07 -05:00
Tom Rothamel b74c14d93a Merge pull request #4141 from renpy/noblock-better-error
Add colon warning in the noblock lexer error
2022-12-24 22:29:41 -05:00
Tom Rothamel 3cb327ff8d Revert part of the last change.
The part that would prevent reporting an overfull vpgrid.
2022-12-24 22:12:07 -05:00
Tom Rothamel a8f4d149da Allow grids to be underfull.
There are some good reasons for allowing undefull grids (like a
gallery with variable number of images), and not a ton of reasons
not to allow these grids. So this changes the default.
2022-12-24 16:23:32 -05:00
Tom Rothamel 3753cfa417 Merge pull request #4154 from mal/refactor-underfull
Optimize allow_underfull for non-developer mode
2022-12-24 15:45:37 -05:00
Tom Rothamel 1b6ef60a37 doc: config.web_input. 2022-12-24 01:22:45 -05:00
Tom Rothamel 58ed0461f9 web input: Filter tags, implement allow, exclude, mask.
This is fairly simple, with the real meat of this renpy/renpy-build@6f1bdd1 .
2022-12-24 01:01:09 -05:00
Tom Rothamel 93ffeb8c32 Remove debugging. 2022-12-23 02:13:38 -05:00
Tom Rothamel 1feed24f14 webinput: Initial implementation.
This uses a browser's input element to handle renpy.input, on
Python 3.
2022-12-23 01:50:06 -05:00
Tom Rothamel 72a2b88af9 Add a displayable that waits for a Javascript value. 2022-12-22 01:45:09 -05:00
Tom Rothamel ed21a6b21c doc: Wrap the sidebar captions.
Fixes #4175.
2022-12-21 00:53:05 -05:00
Clinton Nguyen 27dbdab522 removed obsolete documentation 2022-12-19 23:57:21 -08:00
Tom Rothamel ecd1fc2803 web3: Deal with webgl context loss.
Specifically by not trying to draw when the context is gone, and
then resetting the display when it comes back.
2022-12-20 01:53:17 -05:00
Gouvernathor a59b0442f9 doc: add precision and fix typo 2022-12-20 00:20:20 +01:00
Tom Rothamel 3c2b35576e web: Process the JS command queue regularly.
This moves the JS command queue processing into the 20hz periodic
event handler. Moving it out of the idle frame handing makes sure
that the command queue runs even if the the idle frame code is
being starved by frequent events or animations.

The js command overhead was measured, and seems to be less than
the browser's cock precision.
2022-12-18 18:47:57 -05:00
Tom Rothamel 40f24c0196 web: Add caching to the webservr. 2022-12-18 09:12:50 -05:00
Tom Rothamel 6bd9819f7f web3: Include all files in the preload files list.
This makes updating the preload cache a bit easier.
2022-12-18 02:50:49 -05:00
Tom Rothamel 477ec726b2 pwa preload: Only preload if the preference is set. 2022-12-18 02:17:38 -05:00
Tom Rothamel 5c56d9c374 web3 pwa: Use smooth scaling to generate the PWA icon set. 2022-12-18 02:11:10 -05:00
Tom Rothamel 717fdd96c8 web3 pwa: Preload files into the the web browser cache.
This adds a new preference that controls if the game is loaded into
the browser cache or not, and implements that preference.
2022-12-18 01:47:23 -05:00
Tom Rothamel d004dfe2bf web: Add the ExecJS action.
This is an action that allows Ren'Py to run Javascript. It'll be
used with the PWA Cache preferences, but might as well make it a
public API.
2022-12-18 00:59:10 -05:00
Tom Rothamel 0e4ff5622e web3 pwa: Various improvements.
* Generate pwa_catalog.json in a way that matches how renpy-pre.js
  uses it.
* Directly update manifest.jso, rather than using search and replace
  to do it.
2022-12-18 00:50:19 -05:00
Tom Rothamel 2249c10d37 web3 pwa: Avoid versioning the cache.
Now that the service worker handles refreshing the cache,
we don't need to version it like this.
2022-12-17 23:51:54 -05:00
Tom Rothamel ac08209e36 Merge pull request #4152 from Vadim-Karpenko/master
web: Generate catalog of all media content for caching in PWA
2022-12-17 19:46:38 -05:00
Tom Rothamel c8b4cf9433 py2: Fix encoding issue that kept Ren'Py from running. 2022-12-16 23:21:14 -05:00
Tom Rothamel 3da93f7abd doc: Fix example of accessing mActivity. 2022-12-16 23:21:14 -05:00
Vadim Karpenko 4a8d9b6b54 Merge branch 'master' into master 2022-12-16 14:24:34 +02:00
Vadim Karpenko d0382be839 Generate MD5 hashes for core files 2022-12-16 09:13:08 +02:00
Tom Rothamel e2c1758667 Merge pull request #4160 from renpy/better-4133
Emscripten module availability
2022-12-16 00:47:40 -05:00
Tom Rothamel e2f3a6bb2b ruby: Doc and compat lenticular bracket ruby. 2022-12-16 00:43:15 -05:00
Tom Rothamel 30a3174c88 web3: Restore compatibility with Ren'Py 7 saves. 2022-12-16 00:17:55 -05:00
琴梨梨 43a08784f7 make prompt as fallback 2022-12-16 14:34:42 +10:00
Tom Rothamel 7d31bed4f6 text: Optimize tokenizing text without tags or newlines. 2022-12-15 23:06:14 -05:00
Tom Rothamel e510cb1ccc lenticular ruby: Implement.
This is a feature where one can write 【東京|とうきょう】 and have
it mean the same thing as {rb}東京{/rb}{rt}とうきょう{/rt}.

Per #4146.
2022-12-15 23:00:00 -05:00
Gouvernathor c7503f13ac doc: emscripten module availability 2022-12-16 03:47:16 +01:00
Andy_kl aec68a96a4 Fix emscripten Import and Export saves functionality 2022-12-16 05:25:29 +04:00
Tom Rothamel 53d293fe12 Merge pull request #4157 from mal/web-video-fix
webvideo: Fix small JS issues with sources
2022-12-15 19:45:56 -05:00
Mal Graty e5558f0527 webvideo: Fix small JS issues with sources 2022-12-15 16:34:33 +00:00
Vadim Karpenko 047937a57d Flip key and value for md5 hash 2022-12-15 17:10:18 +02:00
Vadim Karpenko 452e9ead75 Remove types 2022-12-15 17:06:20 +02:00
Gouvernathor ae74819174 Avoid duplicate extension calculations
A possibly safer way would be to use os.path.splitext, but it would only change anything if the file has no extension - the current implementation could yield an incorrect result, and splitext would return an empty string.
2022-12-15 13:59:41 +01:00
Vadim Karpenko cf0d2c28ec Generate MD5 hashes 2022-12-15 13:40:51 +02:00
Tom Rothamel abeebfa81c web3: Limit pwa to Ren'Py 8, rename the pwa icon. 2022-12-14 20:27:25 -05:00
Tom Rothamel 62e9a7c50c webvideo: Include the mime types with the video and alternative.
This helps the browser choose what to play.
2022-12-14 20:24:42 -05:00
Mal Graty a7c029cd1e Optimize allow_underfull for non-developer mode 2022-12-13 23:36:44 +00:00
Tom Rothamel 7d11c06cbe doc: Allow underfull. 2022-12-13 10:38:08 -05:00
Vadim Karpenko 115f249b75 Update docs of the function 2022-12-13 14:18:33 +02:00
Tom Rothamel c40bae3a5e Avoid appending build-in to package paths with built-in modules. 2022-12-13 00:23:56 -05:00
Vadim Karpenko 197af9d3e4 Remove sort keys 2022-12-13 07:20:44 +02:00
Vadim Karpenko 5e758a3b09 web: Generate catalog of all files for PWA caching 2022-12-13 07:18:50 +02:00
Tom Rothamel 1edeae716a doc: Add credit. 2022-12-12 22:10:46 -05:00
Tom Rothamel 461c5e823c Merge pull request #4151 from xareyli/launcher-ukrainian-typo
Update Ukrainian translation
2022-12-12 20:11:27 -05:00
xareyli 79ef560c06 Update Ukrainian translation 2022-12-12 22:43:20 +03:00
Tom Rothamel 2de0ec9bee Add Thai C90 font support to Ren'Py.
This is an encoding used with Thai fonts that contain precomposed
glyphs in the private use area.

Taken from https://gitlab.com/sahabandha/renpy-thai-font-adjuster ,
per #3864.
2022-12-11 23:44:07 -05:00
Tom Rothamel bd5f682196 Merge pull request #4150 from mal/console-dedupe
console: Only save command if not the same as last
2022-12-11 09:42:48 -05:00
Tom Rothamel 8ec6bb15fe pylance: Remove vars() related warnings.
The warnings seem to come from using vars() to mean object.__dict__,
so replace it with the latter.
2022-12-11 01:26:12 -05:00
Tom Rothamel acdd4ff468 Allow mouse keysyms to take modifiers.
Fixes #4122.
2022-12-10 22:01:06 -05:00
Tom Rothamel 305dd3636b launcher: When a launch fails, log it to the console. 2022-12-09 21:39:54 -05:00
Mal Graty fdd46102f4 console: Only save command if not the same as last 2022-12-10 01:46:27 +00:00
NattyanTV 80b0b2a792 Fix japanese translation case (#4148)
`Ren'PY` -> `Ren'Py`
2022-12-09 18:38:01 +01:00
Tom Rothamel 73f824ab1c py2: Remove use of f-string. 2022-12-09 09:21:58 -05:00
Gouvernathor 556e014e3a fix spaces in docstrings 2022-12-09 12:40:07 +01:00
琴梨梨 91e27ff475 web: auto mute video for autoplay 2022-12-09 16:38:51 +10:00
Gouvernathor 7cafef382b Add colon warning in the noblock lexer error 2022-12-09 01:22:02 +01:00
Tom Rothamel 4b16eebe57 Merge pull request #4126 from Vadim-Karpenko/master
web: Generate PWA icons and prepare files
2022-12-08 18:29:11 -05:00
Vadim Karpenko 3158cc8fba Set the preferred orientation from screen size 2022-12-07 19:04:01 +02:00
Vadim Karpenko 39dfe02350 Replace default project names with actual ones 2022-12-07 18:56:37 +02:00
Vadim Karpenko 385060334e Generate maskable icons, change compression 2022-12-07 09:30:03 +02:00
Tom Rothamel 59a4e6cb0b py311: Ensure python_strict exists.
This fixes an error where it's used in lexer.py, but doesn't exist
on Python 3.
2022-12-06 20:57:29 -05:00
Tom Rothamel d3bc7650fe steam: Rate-limit calls to BOverlayNeedsPresent
Fixes #3978, which is likely caused by a bug in this function on the
Steam Deck.
2022-12-05 01:22:00 -05:00
Tom Rothamel 7a7c4ec7e4 Merge pull request #4131 from renpy/duplicate-thumbnail-vars
Avoid re-defining two config variables
2022-12-04 21:59:26 -05:00
Tom Rothamel 9a68ea37f1 Merge pull request #4132 from renpy/autosphinx-knows-methods
Tag the callables properly when generating sphinx from docstrings
2022-12-04 21:59:09 -05:00
Tom Rothamel 58052bdb46 doc: More work on the dark theme. 2022-12-04 21:44:48 -05:00
Gouvernathor f4da18de2d doc-generation: tag the callables properly 2022-12-04 23:40:17 +01:00
Tom Rothamel 89fcde4dc3 doc: Fix color of pre in dark mode. 2022-12-04 17:34:58 -05:00
Gouvernathor f3d43f110c doc: avoid re-defining two config variables 2022-12-04 22:59:32 +01:00
Gouvernathor 8cdf2b45ee fix typo too 2022-12-04 22:43:35 +01:00
Gouvernathor 25ab46acd3 fix typo 2022-12-04 21:31:50 +01:00
Tom Rothamel 53df5499ea Link the various preplashes together. 2022-12-04 15:25:06 -05:00
Tom Rothamel df48f4d525 Merge pull request #4127 from renpy/web-doc
Web and presplash doc tweaks
2022-12-04 15:16:24 -05:00
Tom Rothamel 495d3bd66c Merge pull request #4128 from renpy/renpy.show-examples
Add doc examples for renpy.show
2022-12-04 15:15:17 -05:00
Tom Rothamel 2ce437871a Stop packaging atom and jedit.
Atom is an extension. Jedit is only available if it's already
present on the system.
2022-12-04 00:35:38 -05:00
Tom Rothamel 216ed01bee doc: Dark mode.
For the emo among you.
2022-12-04 00:35:38 -05:00
Gouvernathor 6f12af24d9 doc: Fix markup issue with code block in function's docstring
The block code inside the arg's block was causing an issue in the rendering of the HTML (for some reason).
The `::` was turned into a `.. code-block:: none` because as it's not proper ren'py syntax, it was issuing a warning about it when building - now it knows there's no proper syntax to expect there.
2022-12-04 01:15:46 +01:00
Tom Rothamel bcac0ed1a8 Merge pull request #4129 from renpy/new-doc-index
Upgrade toctrees for the new doc theme
2022-12-03 18:51:46 -05:00
Gouvernathor 9dc576fd30 orphan-out thequestion_nvl 2022-12-04 00:50:33 +01:00
Gouvernathor 0534264d1b orphan-out thequestion 2022-12-04 00:49:59 +01:00
Gouvernathor 9fc04f1fa4 Upgrade toctrees for the new doc theme 2022-12-04 00:31:53 +01:00
Tom Rothamel 41bba0cb14 doc: Remove over-copying from Patreon. 2022-12-03 09:42:08 -05:00
Gouvernathor 3746367531 doc: add examples for renpy.show 2022-12-03 14:58:28 +01:00
Gouvernathor e1a844a8af Update splashscreen_presplash.rst 2022-12-03 14:38:47 +01:00
Gouvernathor adf22f984e doc: Remove thanks and tweak presplash 2022-12-03 13:48:35 +01:00
Vadim Karpenko 0527380c7b web: Generate PWA icons 2022-12-03 13:11:42 +02:00
Tom Rothamel f793cec5d8 doc: Undocument config.gl2.
It's the primary renderer at this point, and games should not
disable it.
2022-12-03 02:36:36 -05:00
Tom Rothamel ab818456b0 Merge pull request #2934 from Gouvernathor/patch-2
[7.5+] Remove obsolete gl2 references
2022-12-03 02:32:46 -05:00
Tom Rothamel ca2e59e0a9 doc: Build with renpy3 from now on. 2022-12-03 02:28:30 -05:00
Tom Rothamel 923ff6442f doc: Fix rendering of variables. 2022-12-03 02:16:01 -05:00
Tom Rothamel 57e3331d81 doc: More work to make the documentation look good with the RTD theme. 2022-12-03 02:07:00 -05:00
Tom Rothamel cc69d17254 doc: Switch to using sphinx_rtd_theme. 2022-12-03 01:15:11 -05:00
Tom Rothamel 7326afc126 web, doc: Actually check in the web docs. 2022-12-02 18:14:09 -05:00
Tom Rothamel a4876166e4 Make DLC translatable. 2022-12-02 18:13:45 -05:00
Tom Rothamel 6df0957a4a Merge pull request #4121 from Neyunse/master
Differentiate DLC from other types of packages (Build)
2022-12-02 18:10:39 -05:00
Tom Rothamel 74da96c073 doc, android: Add a line about the version of android that is supported.
Fixes #4124.
2022-12-01 22:54:08 -05:00
Tom Rothamel b670f13108 web, docs: Merge web documentation.
Thanks to the Patreon sponsors.
2022-12-01 00:40:43 -05:00
Tom Rothamel c1999ebace web: Zip the game up. 2022-12-01 00:40:43 -05:00
Tom Rothamel 061b57c9ce Merge pull request #4123 from Vadim-Karpenko/master
web: fix to_unlink changes size during iteration error
2022-11-30 20:41:04 -05:00
Vadim Karpenko 5dfcada8ac Move current time out of the to_unlink loop
Improve the performance of the loop by avoiding calling for the current time on every step of the iteration. A few milliseconds won't make any difference and could be neglectable.
2022-11-30 16:15:36 +02:00
Vadim Karpenko 64b0b0bb84 Remove redundant accesses to the to_unlink 2022-11-30 16:05:17 +02:00
Vadim Karpenko b5928b26ed fix to_unlink changes size during iteration error 2022-11-30 08:26:24 +02:00
Tom Rothamel 9b1a20e049 web: Actually check in 00webvideo.rpy. 2022-11-29 22:38:16 -05:00
Tom Rothamel 099f0ffa6f web3: Merge webvideo playback in.
From the June 2022 Patreon article. Thanks, sponsors!
2022-11-29 22:05:59 -05:00
ねゆんせ 8b59103258 added: Differentiating DLC from other types of packages 2022-11-29 22:35:18 -03:00
Andy_kl 95f048272f live2d: Update lib install destination.
Fix mac destination. Remove Windows x32.
2022-11-29 18:25:20 +04:00
Tom Rothamel 24ed86da48 web3: Send wasm files with the wasm type.
This allows for a streaming compile and faster start, and also
prevents an error from being reported.
2022-11-28 00:32:19 -05:00
Tom Rothamel fafb45bbce bubble: Remove test code that snuck in. 2022-11-27 14:49:53 -05:00
Tom Rothamel ad90228ce1 web3: Handle the game title and presplash image. 2022-11-27 01:32:39 -05:00
Tom Rothamel f90a9b56cc web3: Unlock web3 in the launcher.
This makes it possible to use the launcher to make a web3 game.
2022-11-27 00:11:47 -05:00
Tom Rothamel a9a6bc8cf4 Merge pull request #4111 from Moshibit/master
Update Spanish translation
2022-11-25 23:08:42 -05:00
Tom Rothamel d87e8a3b9b web3: Select between web2 and web3 on distribute. 2022-11-25 00:20:19 -05:00
Tom Rothamel f1a6fec980 Only incluede bytecode-<ver>.rpyb for the current Python. 2022-11-24 21:34:43 -05:00
Tom Rothamel 2319e889c6 Include bubble.png in the Ren'PY build.
Fixes #4112.
2022-11-24 10:36:58 -05:00
Tom Rothamel 63caa1d436 Merge pull request #4101 from renpy/lint-blurb
Add a lint blurb to the launcher's splash
2022-11-24 09:39:35 -05:00
Gouvernathor 09b562836a Update blurb 2022-11-24 13:45:54 +01:00
Moshibit 1979fd0b61 Update options.rpy 2022-11-24 06:42:06 -06:00
valery-iwanofu 4b1e1fba88 Update cdd.rst
Added doc for Displayable.place() and updated doc for Render.place()
2022-11-24 13:16:31 +07:00
Tom Rothamel bf125a8795 Merge pull request #4090 from renpy/fix-4077
Fix star-import of substores
2022-11-23 22:33:23 -05:00
Tom Rothamel 444c885785 Merge pull request #4104 from Ayowel/fix/extension_sys_path
Add path cleanup when reloading extensions and extension __file__ context
2022-11-23 22:31:00 -05:00
Tom Rothamel 8af6ec55f1 Merge pull request #4110 from renpy/exports-questions
Fix some mistakes in exports.py
2022-11-23 22:28:56 -05:00
Gouvernathor 9f5df79973 Fix :other: 2022-11-24 00:09:32 +01:00
Gouvernathor b870c5b0dd Update exports.py 2022-11-23 21:33:58 +01:00
Tom Rothamel 21b507dc71 web3: Report progress loading the game script. 2022-11-22 23:22:42 -05:00
valery-iwanofu 4afce1d144 Update place method of render
Method Render.place() now returns d.place() result
2022-11-22 23:26:32 +07:00
Ayowel 185171c5f5 Add path cleanup when reloading extensions and extension __file__ context 2022-11-22 12:37:09 +01:00
Tom Rothamel 94218416d2 Include the python version in the bytecode cache.
This is mostly to support the web version, but it also means
that there won't be fights when Ren'Py 7 and Ren'Py 8 run the
same game.
2022-11-21 23:24:29 -05:00
Tom Rothamel 5ab5ae6e68 web3: Add functions that can be called to zip and unzip savefiles. 2022-11-21 01:23:34 -05:00
Gouvernathor ac663e2f1c Add a lint blurb 2022-11-18 22:27:02 +01:00
Gouvernathor f7ee13724e Use round to have accurate integral offset 2022-11-17 04:25:45 +01:00
Tom Rothamel d7e6438f8f Merge pull request #4081 from renpy/fix-4080
Fix #4080
2022-11-16 20:21:38 -05:00
Tom Rothamel 0a6e9fb1f0 Merge pull request #4097 from renpy/translate-voice-doc
Add examples of multi-language voicing
2022-11-16 20:21:15 -05:00
Tom Rothamel bb53cdb68a Merge pull request #4093 from Ayowel/fix/extension-load-order
Make extension load order reliable
2022-11-16 20:20:47 -05:00
Gouvernathor 8fc417b5e9 doc: clarify that break and continue don't exist in SLFor 2022-11-16 22:19:47 +01:00
Gouvernathor 679184ce79 Update voice.rst 2022-11-14 22:26:45 +01:00
Gouvernathor 4403a0c63c Add ref anchor 2022-11-14 22:22:48 +01:00
Gouvernathor e902707960 Update voice.rst 2022-11-14 22:21:52 +01:00
Ayowel 681cad1a44 Make extension load order reliable 2022-11-12 15:55:06 +01:00
Gouvernathor cf6d2559ec fix translation 2022-11-11 22:24:35 +01:00
Gouvernathor d0067052a8 Fix wrong encoding leading to star-import malfunctions 2022-11-11 14:59:55 +01:00
Tom Rothamel c7ce911edc Merge pull request #4087 from llyama/queue-sound-fadein
Queue sound can now use fadein
2022-11-10 18:19:09 -05:00
llyama ef7c7f1b35 Fixed missing quotes 2022-11-10 17:56:16 +00:00
llyama b839a1e080 Queue sound can now use fadein
Fixes renpy/renpy#4086
2022-11-10 17:26:25 +00:00
Moshibit 3280d36230 Spanish translation update (#4085)
* Update common.rpy

* Update developer.rpy

* Update screens.rpy
2022-11-09 21:12:21 +01:00
Gouvernathor 68a36dae39 Add french translations 2022-11-08 18:57:22 +01:00
Gouvernathor bbb6587495 fix typos in the standard screens.rpy 2022-11-08 18:56:28 +01:00
Gouvernathor 511288f86d Fix typo 2022-11-08 18:44:09 +01:00
Gouvernathor 89342fc956 Fix subsurface offset when oversampling 2022-11-08 16:17:22 +01:00
Gouvernathor f98476e8cf Fix quoting and update sentence translation 2022-11-08 11:46:18 +01:00
Gouvernathor b0cee97f26 Remove the "expansion files" reference 2022-11-08 11:44:05 +01:00
Tom Rothamel 78d839b94a Merge pull request #4075 from renpy/regchandoc
Reserve spaces in register_channel's names
2022-11-08 00:25:21 -05:00
Gouvernathor 75aea66d16 Translate the changed string
Translation source is here https://support.google.com/googleplay/android-developer/answer/186113?hl=fr
2022-11-08 02:16:46 +01:00
Gouvernathor fa63ace6a7 Change the location of the android license key in the Play console 2022-11-08 02:13:18 +01:00
Tom Rothamel 5520142001 web3: Fix webaudio to run under Python 3. 2022-11-07 01:07:41 -05:00
Tom Rothamel ccb075ea53 py311: Fix end_lineno and end_col_offset locations.
These were being set, but being set incorrectly, which violates
the invariant (enforced by Python 3.11) that the end location
must be after the starting location.

This enforces that the end of each node is after it's start,
and after the end of each of the node's children.
2022-11-07 00:18:59 -05:00
Tom Rothamel 6a2d2632ce web3: Do not create threads on renpy.emscripten.
Unlike web2, where we stubbed out the threading module that wasn't
being compiled, on web3 we use the Python threading module and simply
don't create threads. This is because the locking exists, and so
doesn't need to be stubbed - just the thread starts.
2022-11-06 11:47:00 -05:00
Gouvernathor 57d67b78c8 doc: advise the use of valid identifiers
uses a link to the official python doc
2022-11-05 23:29:28 +01:00
Gouvernathor 2aa3e9b6e1 doc: reserve spaces in register_channel 2022-11-05 23:18:37 +01:00
Gouvernathor ce206baa88 doc: fix nested markup
You can't have a ref/link within bold or italics, aka nested markups, see 55b00d4 and https://stackoverflow.com/questions/72773716/
2022-11-05 22:34:18 +01:00
Tom Rothamel fb63d447f0 Add a link from the changelog to the incompatible changes page. 2022-11-05 00:09:54 -04:00
Tom Rothamel 19d4a18315 Merge pull request #4061 from renpy/3994-format-typo
Pylint - Fix wrong formatting in exception raising
2022-11-04 23:58:28 -04:00
Tom Rothamel 31ab083352 Merge pull request #4072 from Elckarow/patch-2
use `zorder 0` for the gl test
2022-11-04 23:58:14 -04:00
Elckarow 8bee5d2a77 use zorder 0 2022-11-04 21:41:50 +01:00
Tom Rothamel 4385af9f75 Merge pull request #4063 from DinakiS/translate_fix
Fix: alternate translation
2022-11-02 23:02:48 -04:00
Tom Rothamel c01dfa32c3 doc: Make it clear that dynamic and context_dynamic take variables. 2022-11-01 21:13:41 -04:00
Tom Rothamel cf7df895a1 Move to notarytool to sign on mac. 2022-11-01 20:02:53 -04:00
Tom Rothamel fb00ffadc4 Merge pull request #4066 from renpy/new-sphinx
Various issues in the doc
2022-11-01 20:01:16 -04:00
Gouvernathor a61f28b0de doc: yet another forgotten label (for the lifecycle page) 2022-11-01 18:53:10 +01:00
Gouvernathor f5ae0db8bd doc: add other missing internal label targets 2022-11-01 18:41:31 +01:00
Gouvernathor 12ba529632 doc: fix dubious internal reference 2022-11-01 18:40:58 +01:00
Gouvernathor bcee7753e6 doc: do not declare the same variable twice
The other is in store_variables.rst .
2022-11-01 18:32:05 +01:00
Gouvernathor 2b913ae540 doc: typos 2022-11-01 18:31:17 +01:00
Gouvernathor a1e4a44069 doc: add missing internal label target 2022-11-01 18:31:08 +01:00
Gouvernathor b36a574f3c doc: use the anonymous inline syntax for hyperlinks 2022-11-01 18:30:49 +01:00
Gouvernathor 15910d0954 Merge remote-tracking branch 'origin/maint-8.0' into new-sphinx 2022-11-01 18:24:26 +01:00
Gouvernathor 5894a59d5c doc: typo 2022-11-01 16:46:21 +01:00
Tom Rothamel 1d9b6414aa bubble: Allow the speech bubble editor to persist through rollback.
Previously, rollbacks (like ones caused by the SBE) would hide the
screen.
2022-10-31 21:02:59 -04:00
Tom Rothamel f476b87a5d mac: Set CFBundleIdentifier when distributing Ren'Py. 2022-10-31 20:14:12 -04:00
Tom Rothamel 8f18cde853 py2: Fix more issues generating json files. 2022-10-31 03:21:17 -04:00
Tom Rothamel 6cf589429d Remove the (long empty) autobuild script. 2022-10-31 02:28:21 -04:00
Tom Rothamel 743bae43c3 py2: Fix creating the rapt/renios hash files. 2022-10-31 02:27:41 -04:00
Tom Rothamel 509f16865a Fix copilot-injected error.
An incorrect import was added.
2022-10-31 02:01:41 -04:00
Tom Rothamel 72815a4915 py3: Avoid compiling renpy.compat.dictviews.
This module won't work on 3.11, but won't be imported there
anyway, so there is no reason to import it.
2022-10-30 20:40:40 -04:00
Tom Rothamel b4a76f1e61 bubble: Check in the default bubble image. 2022-10-30 01:39:22 -04:00
Tom Rothamel d02b5c5fdb Allow the console's help command to be called during doc generation. 2022-10-30 01:34:14 -04:00
DinakiS 9bffa67c7f Fix: alternate translation 2022-10-29 17:24:53 +03:00
Tom Rothamel ec8093f8dc pyright: Fix all current issues. 2022-10-28 18:25:04 -04:00
Gouvernathor a71df01691 Fix wrong formatting in exception raising (7edb69b) 2022-10-28 13:43:48 +02:00
Tom Rothamel 77460ec62f Fix or removed unused variables.
Fixes #4044.
2022-10-27 22:49:54 -04:00
Gouvernathor 7467eb8934 Repeal part of #4050 (hotfix)
The function is actually called inside renpy.compat, so importing sys after importing renpy.compat is already too late.
It could be considered to use `global sys;import sys` in the function, or to import sys just before or after defining the function, but I'd rather keep things the way they were.
2022-10-27 15:22:57 +02:00
Tom Rothamel e5cb5868a7 Merge pull request #4047 from renpy/3994-slots
Pylint - Remove overriden slot name
2022-10-26 21:35:33 -04:00
Tom Rothamel e908bed1e2 Merge pull request #4052 from renpy/3994-bare-except
Fix bare except statements
2022-10-26 21:03:51 -04:00
Tom Rothamel 8da53babbf Merge pull request #4045 from renpy/3994-listcomp
Pylint - Remove useless list comprehensions
2022-10-26 21:03:17 -04:00
Tom Rothamel a0208228bd Merge pull request #4046 from renpy/3994-builtin-literals
Pylint - Use literals instead of builtin types constructors
2022-10-26 21:02:55 -04:00
Tom Rothamel 9516d35b0c Merge pull request #4048 from renpy/3994-with
Pylint - Use the with statements
2022-10-26 21:02:09 -04:00
Tom Rothamel e06925e208 Merge pull request #4049 from renpy/3994-shadow
Pylint - Avoid shadowing the function parameter
2022-10-26 21:01:41 -04:00
Tom Rothamel 0e2dce0976 Merge pull request #4050 from renpy/3994-reimports
Pylint - Avoid unnecessary reimports
2022-10-26 21:01:20 -04:00
Tom Rothamel 2729df6eca Merge pull request #4051 from renpy/3994-unused
Pylint - Flag or remove unused variables
2022-10-26 21:01:01 -04:00
Tom Rothamel 630f673d28 Merge pull request #4053 from renpy/3994-global
Pylint - Remove useless global statements
2022-10-26 21:00:34 -04:00
Tom Rothamel 03bf21141d Merge pull request #4054 from renpy/3994-dict-iter
Pylint - Optimize dict iteration
2022-10-26 20:59:50 -04:00
Tom Rothamel 59898271d0 Merge pull request #4055 from renpy/3944-useless-statements
Pylint - Remove useless statements
2022-10-26 20:59:23 -04:00
Gouvernathor 788ebab40c Fix some french translations 2022-10-26 23:30:12 +02:00
Gouvernathor ed5ea70d5f Rephrase and optimize multiline statement 2022-10-26 20:19:51 +02:00
Gouvernathor cd196c0de6 Avoid reimport 2022-10-26 20:19:32 +02:00
Gouvernathor 5f2fc62b0e Clarify return value 2022-10-26 20:18:57 +02:00
Gouvernathor c12854026f Indent fix 2022-10-26 20:18:23 +02:00
Asriel Senna 5dbc2c1da3 Remove useless statements (8e188cc) 2022-10-26 19:44:36 +02:00
Asriel Senna 257c95e2b2 Optimize dict iteration (9b884d3) 2022-10-26 19:41:20 +02:00
Gouvernathor 402d04d054 Remove useless global statements 2022-10-26 19:38:17 +02:00
Gouvernathor ab6023371c fix bare except statements 2022-10-26 19:33:21 +02:00
Asriel Senna e64242c9a2 Remove unused as e clauses from raise statements 2022-10-26 16:52:48 +02:00
Asriel Senna a8bf2e0246 Mark unused variables from tuple unpackings 2022-10-26 16:52:12 +02:00
Asriel Senna 82fb38560e Avoid unnecessary reimports (2904149) 2022-10-26 16:40:51 +02:00
Asriel Senna 25edfa0542 Avoid shadowing the function parameter (73c8575)
`layer` is passed as parameter, and this loop generates a `layer` 
variable
2022-10-26 16:36:58 +02:00
Asriel Senna f8864d8b90 Use the with statements (58a2950) 2022-10-26 16:31:56 +02:00
Asriel Senna 001ce8acd0 Remove overriden slot name
wastes memory and may break in a future version of python, see point 6 
of this : 
https://docs.python.org/3/reference/datamodel.html#notes-on-using-slots
2022-10-26 16:27:09 +02:00
Asriel Senna 13cf71b2ea Use literals instead of builtin types constructors 2022-10-26 16:23:04 +02:00
Asriel Senna ea95338e69 Remove useless list comprehensions (1d08817) 2022-10-26 16:15:24 +02:00
Tom Rothamel 57721bacb2 Merge pull request #4039 from pazkero/patch-1
Fix bugs on steam.get_session_ticket
2022-10-24 17:17:20 -04:00
Jesusaves 4269d45411 Fix bugs on steam.get_session_ticket
Without these changes imposed by Python3.9, calling get_session_ticket() raises two exceptions.
2022-10-24 14:51:19 -03:00
Tom Rothamel 65e03993dc Only set compresslevel on Python 2. 2022-10-21 21:25:42 -04:00
Noriverwater cb35c75d9c Merge branch 'master' into 4018 2022-10-21 19:20:14 +08:00
Tom Rothamel 01cef5d7df cds: Document that init and execute_init don't play well together.
Fixes #4032.
2022-10-20 23:36:33 -04:00
Tom Rothamel 0f8576f18b Custom statement execute_init now respect init priority.
When looking into #4032, I noticed it didn't.
2022-10-20 23:22:23 -04:00
Noriverwater fbb80afbeb Merge branch 'master' into 4018 2022-10-20 19:31:16 +08:00
Tom Rothamel 92c7691789 Add config.physical_width and config.physical_height.
These are variables that let the creator set the default size
of the game window separately from config.screen_width and
config.screen_height.
2022-10-19 01:50:58 -04:00
Noriverwater 6116646094 Doc:config.history_current_dialogue 2022-10-18 21:50:28 +08:00
Noriverwater 8edaa7cf50 Add config.history_current_dialogue 2022-10-18 21:47:08 +08:00
Noriverwater eccf8a560d Add configuration variables to implement it 2022-10-18 21:42:31 +08:00
Tom Rothamel 8157c5d8c5 Standardize variable naming. 2022-10-18 01:34:44 -04:00
Tom Rothamel 7675251049 Merge pull request #4027 from qTich/fix/persistent-MP
fix & changes: bypassing exception on `MP.save`, some functions, docs for `MP`
2022-10-18 01:33:02 -04:00
Tichq 7a3322740d changes for _MultiPersistent
-- review for naming of variables;
-- add field for `MP`: `_name`, `_save_on_quit`;
-- functions:
-- -- `save_MP` as `save_on_quit_MP` with check on  `_save_on_quit`
-- -- `save_MP` called for every `MP` instances;
-- -- `get_MP` returns `MP` instance` if has already been created before;
-- add some docs.
2022-10-17 22:29:47 +03:00
Tichq 61393dbb0e fix: bypassing exception on try save MP 2022-10-17 22:27:55 +03:00
Tom Rothamel a8896e3d1b oversample: Doc. 2022-10-17 01:06:44 -04:00
Tom Rothamel 7ae59e8ad2 oversample: Make image auto-defining aware of @oversample. 2022-10-16 22:43:20 -04:00
Tom Rothamel 7d20837ee6 oversample: Automatically oversample based on the image filename. 2022-10-16 22:12:10 -04:00
Tom Rothamel d4326ee4a7 Add image oversampling.
This allows an image to be interpreted as a smaller image for the
purpose of layout. For example, a 2048x2048 image with 2x oversampling
will be considered as a 1024x1024 image for layout purposes.

But if the window is scaled up, then the additional detail will be
there.
2022-10-16 00:43:55 -04:00
Tom Rothamel 4e69fcb3ec Merge pull request #3983 from methanoliver/master
Documenting the pitfall of animated shaders.
2022-10-15 10:06:18 -04:00
Tom Rothamel 10b057285c Merge pull request #4022 from qTich/fix/shutil-copyfile
fix: bypassing an exception when trying to copy a save file.
2022-10-14 23:42:15 -04:00
Tom Rothamel b7c2f240a1 bubble: Add the speech bubble editor to the developer menu. 2022-10-14 21:54:50 -04:00
Tichq 0832600b45 fix: bypassing an exception when trying to copy a save file. 2022-10-14 14:25:44 +03:00
Tom Rothamel 2ed24851ad Merge pull request #4017 from renpy/platform-presplash
Document platform-specific presplash images
2022-10-14 00:03:32 -04:00
Tom Rothamel 48a54c7c2a bubble: Copy the bubble image over as part of game generation. 2022-10-13 01:04:32 -04:00
Tom Rothamel 21072e5722 bubble: Add bubble styles and screens to the default project. 2022-10-13 00:23:51 -04:00
Tom Rothamel dfeb401352 bubble: Substantial rewrite.
Previously, properties were configured one at a time. This didn't
allow realistic customizations, which often require groups of properties
to be customized together, so bubble has been rewritten to allow this.
2022-10-12 01:49:27 -04:00
Gouvernathor c4626cbde6 Add android-presplash anchor 2022-10-11 11:03:49 +02:00
Gouvernathor e53f40ab07 Add the web presplash and a ref to the android presplash 2022-10-11 11:02:49 +02:00
Tom Rothamel bfc28665c1 rapt: Include the native symbols in the build directory.
Fixes #3806.
2022-10-11 00:54:44 -04:00
Tom Rothamel 2a8a9fc3a2 Merge pull request #4013 from JeremyRand/gcc
Fix RENPY_DEPS_INSTALL docs for armhf, ppc64, and ppc64le
2022-10-10 19:31:18 -04:00
Tom Rothamel ee18060e25 Add the show_cancels_hide transform property.
This controls if showing a displayable or screen with the same
tag or name cancels a hide transition.
2022-10-09 23:39:29 -04:00
Tom Rothamel 11e72ba9f4 bubble: Avoid showing the narrator window when a bubble is up.
When window auto is true, this will hide the narrator window when
bubbles appear.

This also changes the priority of say-condition-false and say-centered
so the former takes priority, which is more likely correct.
2022-10-08 23:22:40 -04:00
Jeremy Rand 5c3f39b1ff Fix RENPY_DEPS_INSTALL docs for armhf, ppc64, and ppc64le
The correct triplets for various arches are:

x86_64-linux-gnu
arm-linux-gnueabihf
powerpc64-linux-gnu
powerpc64le-linux-gnu

The uname-based instructions produced the following:

x86_64-linux-gnu (correct)
armv7l-linux-gnu (wrong)
ppc64-linux-gnu (wrong)
ppc64le-linux-gnu (wrong)

gcc produces the correct results for all four.  I suspect this will also
fix non-GNU triplets such as musl, but didn't test those.
2022-10-08 14:06:37 +00:00
Tom Rothamel 778ae30bcd bubble: Allow any property to be given an area.
This might make things more flexible, as the area can be supplied to
the screen through a show_ property instead of window_area, if
the creator wants.
2022-10-08 01:06:11 -04:00
Tom Rothamel 7cc7de4199 bubble: More implementation.
* Cycling through the non-area properties.
* Right-click to remove a property.
* Check that ptoperty contents can be saved.
2022-10-08 00:31:23 -04:00
Tom Rothamel 99ea82e20c bubble: Implement window area editing. 2022-10-07 22:55:23 -04:00
Tom Rothamel 1f7c5184af bubble: WIP
* Use the on_show method to set character properties for a speech
  bubble.
* Work on the _bubble_editor screen, which allows a property to be
  selected for editing.
2022-10-07 22:16:17 -04:00
Tom Rothamel 784d978a0d doc: Document that Ren'Py might use all_character_callbacks. 2022-10-07 00:15:21 -04:00
Tom Rothamel 174f784c28 bubble: Allow Character.on_show and Character.on_predict to take extra properties.
These add to the properties that would normally be
suppled by the Character itself, allowing BubbleCharacter
to customize how the screen is displayed.
2022-10-06 23:24:30 -04:00
Tom Rothamel 2df014314a Add RENPY_MAX_TEXTURE_SIZE environment variable.
To make it easier to test issues that only manifest with particular
texture sizes.
2022-10-05 23:48:34 -04:00
Tom Rothamel 4e5739abe1 Merge pull request #4011 from Elckarow/patch-1
fix drag drop screen example
2022-10-05 22:50:37 -04:00
Elckarow 59c2e84aac fix example 2022-10-05 14:10:05 +02:00
Tom Rothamel cb2d32ec4e bubble: Check in WIP speech bubble project.
This currently can generate default values, and propagate them
all the way to dialogue.
2022-10-05 00:30:15 -04:00
Tom Rothamel c73bbff581 Merge pull request #4003 from Andykl/modules-in-tl
Fix wrong .rpymc loading.
2022-10-04 21:08:15 -04:00
Tom Rothamel 3a764acea5 Merge pull request #4008 from Andykl/fix-4007
Fix change_language during menu-with-say.
2022-10-04 00:02:48 -04:00
Andy_kl d2fbf45f71 Fix change_language during menu-with-say. 2022-10-04 05:50:30 +04:00
Tom Rothamel 02531cb4da Merge pull request #4006 from Chrisclone/master
Added help <expr> for existing commands
2022-10-03 19:44:07 -04:00
Chrisclone 0d403f6f9a Added help <expr> for existing commands 2022-10-02 21:01:57 -04:00
Tom Rothamel 791cfdcd5f Remove code left in by mistake. 2022-10-02 16:14:24 -04:00
Tom Rothamel 6ef863793e Rename config.label_callback to config.label_callbacks. 2022-10-01 16:32:47 -04:00
Tom Rothamel 7f9ac2494e Make config.label_callback a list. 2022-10-01 16:27:05 -04:00
Tom Rothamel 8f241763c1 Fix text of syntax errors in a python block.
By offsetting the line number, and retreiving the text from the source.
2022-10-01 15:45:50 -04:00
Tom Rothamel d1aef49c5d Remove obsolete portions of developer.rpym. 2022-10-01 02:00:15 -04:00
Tom Rothamel ac9821b439 Use a single list of image extensions.
For the images directory and the image location picker.
2022-10-01 01:55:31 -04:00
Tom Rothamel d6c7f73dba Rewrite the image location picker in terms of areapicker.
Areapicker is very similar to the custom ilp displayable, so it
makes sense to focus on areapicker and remove the old displayable.
2022-10-01 01:52:45 -04:00
Tom Rothamel f3bfc91311 doc: Update the list of extensions that are automatically defined in the images direcotry.
The .jxl extension is here so I won't forget to change this again
when JXL support lands.

Fixes #4004.
2022-10-01 01:52:45 -04:00
Mal Graty 097da86793 Restore missing at_list assignment
It went walkabout in 6338a144f7.
2022-09-30 21:37:23 +01:00
Tom Rothamel ce8f33d671 areapicker: Include the position callback.
This will allow the image location picker to be rewritten in
terms of areapicker.
2022-09-29 23:06:48 -04:00
Andy_kl d38bc47030 Fix wrong .rpymc loading.
This fixes behavior of renpy.load_module if it exists both
in game and tl directory.
2022-09-30 02:44:20 +04:00
Tom Rothamel 0d876b0367 Add the AreaPicker displayable.
This is a displayable that allows the user (generally the creator)
to pick a rectangular area on the screen. The intended use of this
is to support placing balloon dialogue onto the screen, though
other uses might be possible.
2022-09-28 21:04:29 -04:00
Tom Rothamel 1883815cc5 Various edits to the lifecycle documentation. 2022-09-27 21:55:14 -04:00
Tom Rothamel 2518998099 Document and add a warning to the new console help function. 2022-09-27 21:30:14 -04:00
Tom Rothamel ebe79d1c92 Merge pull request #3995 from renpy/lifecycle
Lifecycle doc page
2022-09-27 21:29:03 -04:00
Tom Rothamel 78a122a24b Merge pull request #3996 from renpy/substore-doc
More documentation for named stores
2022-09-27 21:23:39 -04:00
Gouvernathor ec6f83731e Add renpy.clear_attributes (#3938) 2022-09-27 21:22:36 -04:00
Gouvernathor 6338a144f7 Use easy.to_list and easy.to_tuple (#3948)
This adds two new functions, renpy.easy.to_list and renpy.easy.to_tuple, that convert objects to lists or tuples as required.

Co-authored-by: Mal Graty <mal.graty@googlemail.com>
2022-09-27 21:18:46 -04:00
Tom Rothamel 0b056f1615 Merge pull request #3890 from Andykl/console-help
Add help <expr> into console commands.
2022-09-26 22:13:15 -04:00
Tom Rothamel 1e908ee265 Merge pull request #3998 from renpy/revertable-random-rv
Make random choices and sample methods return revertable lists instead of _list
2022-09-26 22:11:51 -04:00
Gouvernathor e78f5655ef Account for py2 2022-09-26 23:00:53 +02:00
Gouvernathor aa6c2acdff Make random methods return revertable lists instead of _list
works better with the wrapper included
2022-09-26 19:40:18 +02:00
Gouvernathor 4750d5cb15 typo 2022-09-26 14:09:56 +02:00
Tom Rothamel f1fa93e068 jsondb: Prevent JSONDBs from participating in rollback. 2022-09-25 20:52:07 -04:00
Gouvernathor ea474c9705 Add python early and more example 2022-09-25 19:15:12 +02:00
Gouvernathor 021fd6ca32 Add more documentation for named stores 2022-09-25 18:44:50 +02:00
Tom Rothamel 131491e8ac jsondb: Rewrite to have the API reflect the two-level structure.
There are use cases (like multiple dialogue) where it makes sense
to have two levels of information in play.
2022-09-25 01:23:08 -04:00
Tom Rothamel 91ecbb8719 pyright: Triage and fix or ignore type issues in new vscode. 2022-09-24 00:03:35 -04:00
Asriel Senna 1dd0af0aca Tweak explanations 2022-09-24 04:46:06 +02:00
Tom Rothamel c72865e791 Fix type issue using matrixtransform
Fixes #3980 by converting callable TransformMatrix objects into
real Matrix objects.
2022-09-23 22:25:08 -04:00
Asriel Senna 4570ab6023 Add a lifecycle doc page 2022-09-24 04:03:35 +02:00
Tom Rothamel 31e2d8b49b Merge pull request #3984 from renpy/drain-other
Move some functions from the "Others" page to more specific places in the doc
2022-09-23 20:19:33 -04:00
Gouvernathor fccda46404 Remove bogus onlayer parsing on scene statements
The layer variable was never used, c77a11382d contained that mistake all along
2022-09-23 22:53:10 +02:00
Gouvernathor 677d3493d4 typos 2022-09-23 10:45:00 +02:00
Tom Rothamel 9572d20bcb JSONDB improvements.
* Document.
* Allow `key` to be "dialogue"
* Add the `default` argument.
* Run at low init level.
2022-09-22 23:07:39 -04:00
Tom Rothamel 53a28e0cba Add the renpy.get_translation_identifier function.
Which does what it says on the tin.
2022-09-22 23:07:39 -04:00
Gouvernathor 5400aa5db3 doc: remove obsolete reference to jEdit 2022-09-22 00:44:10 +02:00
Adam Trzypolski f55c9f792d Correct syntax. 2022-09-22 01:12:46 +03:00
Tom Rothamel 24dadde724 Add the JSONDB.
This is the intial creation of a new construct for in-game, non-script
programming. For example, a system for displaying dialogue in popup
bubbles could use a JSONDB with the correct key to choose popup
bubble location.
2022-09-21 13:15:55 -04:00
Tom Rothamel 9ee5d24d4b Merge pull request #3985 from renpy/layers-doc
Advise renpy.add_layer instead of config.layers
2022-09-20 21:41:28 -04:00
Gouvernathor d8a56af3da doc: fix CDS example
The error message needs to be reported as an error, otherwise it's pointless.
2022-09-21 02:43:54 +02:00
Gouvernathor f5c7f79db7 doc: remove reference to obsolete framework
per #3987
until/unless the framework is upgraded to more recent standards of renpy code
2022-09-20 12:26:21 +02:00
Tom Rothamel ed831f5e6c Add config.scene_callbacks.
This is a list of functions that are called when the scene statement is
run or renpy.scene is called.
2022-09-19 09:16:08 -04:00
Gouvernathor b7d2220198 doc: tweak layers documentation 2022-09-19 13:06:11 +02:00
Gouvernathor 3b1a612502 Move add_layer from other to displaying_images 2022-09-19 12:56:12 +02:00
Gouvernathor 1c2865b1f5 Move call/invoke_in_new_context in the Contexts group 2022-09-19 12:44:21 +02:00
Gouvernathor da1d3c47b6 Move jump_in_new_context to the Contexts group 2022-09-19 12:41:53 +02:00
Adam Trzypolski c1b6d2de4d Incorporate suggestions. 2022-09-19 13:39:55 +03:00
Gouvernathor b9b34c9bae Move the Contexts group to label
More explanation about what a context is could be a good addition to this part.
2022-09-19 12:30:52 +02:00
Gouvernathor 5bd61be8a6 Move the Contexts group to label (1/2) 2022-09-19 12:30:50 +02:00
Gouvernathor e24ac8c25f Move context_dynamix to the context group 2022-09-19 12:18:34 +02:00
Gouvernathor cbb204cf37 Move substitute from other to text 2022-09-19 12:10:25 +02:00
Gouvernathor 5c3998f7ac Move flush_cache_file from other to displaying_images 2022-09-19 12:00:16 +02:00
Gouvernathor e8e20936e0 Move dynamic from other to label, clarify it, and avoid shadowing 2022-09-19 11:55:32 +02:00
Gouvernathor 8a369831dc Move clear_keympa_cache from other to keymap 2022-09-19 11:31:13 +02:00
Gouvernathor bdc3f51807 Include keymap-related function(s) in the keymap page 2022-09-19 11:29:08 +02:00
Gouvernathor 00cf228d4e Move call_stack_depth from other to label 2022-09-19 11:24:44 +02:00
Gouvernathor 588dac2776 Move get_adjustment from other to screen_python 2022-09-19 11:21:51 +02:00
Asriel Senna e732cf1db3 Update some launcher translations
Some languages wer untouched, as I don't know what part of the sentence 
to remove.
2022-09-19 11:17:01 +02:00
Gouvernathor 27475ae7f8 doc: clarify that language_tailor has nothing to do with Character 2022-09-19 10:52:27 +02:00
Gouvernathor 5775310ea8 Move pop_call from other to label 2022-09-19 10:31:06 +02:00
Gouvernathor b27deb794f doc: update obsolete description 2022-09-19 10:27:42 +02:00
Gouvernathor c57f3ae4cd doc: improve local labels documentation 2022-09-18 21:46:58 +02:00
Adam Trzypolski ca98796799 Documenting the pitfall of animated shaders. 2022-09-18 20:34:53 +03:00
Tom Rothamel 8c6903b552 mac: Use mac-universal programs and libraries.
This allows us to run natively on M1 and M2 Macs.
2022-09-18 00:59:02 -04:00
Tom Rothamel 12f0318b5c doc: Update keywords.py. 2022-09-18 00:57:54 -04:00
Gouvernathor 86b8b208ef doc: reminder for the values of tooltip 2022-09-15 19:02:35 +02:00
Tom Rothamel f3535a6456 Merge branch 'maint-8.0' 2022-09-15 01:37:34 -04:00
Tom Rothamel 49e42c56b3 Merge pull request #3974 from renpy/more-li-doc
More layeredimage documentation
2022-09-15 01:36:45 -04:00
Gouvernathor 6994aa94d0 doc: anchor the ref 2022-09-13 11:56:09 +02:00
Gouvernathor 3036fbd107 Attempt to explain the if_ clauses and tweak explanations 2022-09-13 11:54:22 +02:00
Tom Rothamel 711979985e doc: Document the changes to Viewport. 2022-09-12 21:23:52 -04:00
Tom Rothamel 9b2e6eee39 Merge pull request #3949 from via-my/master
Fix sticky draggable viewport
2022-09-12 21:13:28 -04:00
Gouvernathor f4d184eb41 doc: case(s) when the menu is skipped 2022-09-12 00:39:58 +02:00
Tom Rothamel 889394c7f3 web: Use the correct mime type for mp3 audio.
Fixes #3969.
2022-09-11 14:43:09 -04:00
Tom Rothamel 8d3cd5bb85 doc: Improve config.always_shown_screens. 2022-09-11 14:38:58 -04:00
Totally a booplicate 3b0b01f5f0 add sanity check
in case somebody loads an empty module
2022-09-09 18:39:40 +03:00
Gouvernathor f0aba80b81 doc: reference minimum_presplash_time in presplash 2022-09-09 12:44:17 +02:00
Totally a booplicate 3b7bd5c4b8 remove decorated sort
As of Python 2.3 the sorting algo is guaranteed to be stable and decorate-sort-undecorate approach is not needed anymore
2022-09-09 10:01:08 +03:00
Totally a booplicate 54934084cb remove debug print 2022-09-09 09:57:51 +03:00
Totally a booplicate 4174161a66 also sort load_string nodes 2022-09-09 09:49:13 +03:00
Totally a booplicate bb9bd717c4 implement include_module 2022-09-09 09:48:02 +03:00
Tom Rothamel 814b4abddd Merge branch 'maint-8.0' 2022-09-09 02:11:44 -04:00
Tom Rothamel 23e313d5e0 doc: Changelog. 2022-09-08 22:18:18 -04:00
Gouvernathor 9335935c05 Allows the launcher to performrepair updates 2022-09-08 22:05:48 -04:00
Tom Rothamel 9b1f65b824 Merge pull request #3954 from renpy/allow-repair-updates
Allows the launcher to perform repair updates
2022-09-08 22:05:17 -04:00
Totally a booplicate c7666a4ee0 sort AST before running them 2022-09-08 22:04:19 -04:00
Tom Rothamel b1c5e51b86 Merge pull request #3956 from renpy/more-li-doc
More Layeredimage documentation
2022-09-08 22:03:54 -04:00
Tom Rothamel 15f7626ed2 Merge pull request #3959 from Booplicate/fix_load_module
Fix `renpy.load_module` not respecting init order
2022-09-08 22:01:31 -04:00
Tom Rothamel d8fd60c76f Fix translations. 2022-09-08 22:00:36 -04:00
Tom Rothamel 0944f09a1f Integrate the new Ukrainian translations. 2022-09-08 22:00:05 -04:00
Tom Rothamel 6d1075f03d Add Ukrainian translation of the launcher.
Authored by @smq_denya on Twitter.
2022-09-08 21:46:34 -04:00
Tom Rothamel d912b27723 Add Ukrainian translation of The Question.
Authored by @smq_denya on Twitter.
2022-09-08 21:33:26 -04:00
Tom Rothamel aae939286a Update the Ukrainian translation.
Authored by @smq_denya on Twitter.
2022-09-08 21:02:49 -04:00
Totally a booplicate 8ff3aa697c sort AST before running them 2022-09-09 03:22:00 +03:00
Gouvernathor 2c04b71cc2 More Layeredimage documentation 2022-09-08 12:14:06 +02:00
Tom Rothamel f9d1070da7 Merge branch 'maint-8.0' 2022-09-07 23:49:02 -04:00
Tom Rothamel 5046d3bbf4 doc: Update changelog and sponsors. 2022-09-07 23:27:57 -04:00
Tom Rothamel b9afd575f6 Check in .vscode/settings.json.
Set to hide compiled files.
2022-09-07 09:17:34 -04:00
Tom Rothamel ea963c581c Merge branch 'maint-8.0' 2022-09-07 09:14:23 -04:00
midgethetree 81597000a4 Improve lint for say attributes
Applies config.adjust_attributes to say attributes when linting, so lint won't report errors for say statements which work in-game.
2022-09-07 09:14:12 -04:00
Tom Rothamel 2867d4b347 Merge pull request #3901 from midgethetree/fix-lint-say-attributes
Improve lint for say attributes
2022-09-07 09:11:07 -04:00
Gouvernathor 8c95ed33a5 Allows the launcher to performrepair updates 2022-09-07 13:56:19 +02:00
Tom Rothamel 03bd609d52 doc: Changelog. 2022-09-06 22:11:17 -04:00
LaUwUrence f1ed9d0b18 Additional zero check for renpy_blur (#3951)
* Fix sticky draggable viewport

Forget the initial drag position if the visible dragging was not started and the player unpressed LMB.

* Make it possible to use either bool or variant

* Remove the gap

Removes the gap that was noticeable if `config.viewport_drag_radius` was set to a large value.

* Additional zero check

Do not let the image disappear if the final image weight is zero.

* Removed wrong changes
2022-09-06 22:02:40 -04:00
LaUwUrence 1daceab8ee Additional zero check for renpy_blur (#3951)
* Fix sticky draggable viewport

Forget the initial drag position if the visible dragging was not started and the player unpressed LMB.

* Make it possible to use either bool or variant

* Remove the gap

Removes the gap that was noticeable if `config.viewport_drag_radius` was set to a large value.

* Additional zero check

Do not let the image disappear if the final image weight is zero.

* Removed wrong changes
2022-09-06 21:48:17 -04:00
LaUwUrence 89a569da5a Remove the gap
Removes the gap that was noticeable if `config.viewport_drag_radius` was set to a large value.
2022-09-06 02:31:44 +04:00
LaUwUrence ae823ccb10 Make it possible to use either bool or variant 2022-09-06 02:16:46 +04:00
LaUwUrence c8a25fb409 Fix sticky draggable viewport
Forget the initial drag position if the visible dragging was not started and the player unpressed LMB.
2022-09-06 02:01:56 +04:00
Tom Rothamel 44f50623e7 doc: Changelog {size=*2.0}, etc. 2022-09-05 14:25:42 -04:00
Tom Rothamel 01dba2a574 doc: Reorder the changelog after merging. 2022-09-05 14:21:43 -04:00
Tom Rothamel 5524796509 Merge pull request #3922 from methanoliver/methanoliver-size-patch
Allow multipliers in {size=<value>}
2022-09-05 14:06:11 -04:00
Tom Rothamel 280555ea44 Merge pull request #3923 from renpy/lint-dev-auto
Advise setting config.developer to "auto" in lint
2022-09-05 14:05:21 -04:00
Tom Rothamel 063a9406e9 Merge pull request #3930 from renpy/function-doc
Expand get_ordered_image_attributes doc
2022-09-05 14:04:58 -04:00
Tom Rothamel b64ba23863 Merge branch 'maint-8.0' 2022-09-05 13:32:49 -04:00
Tom Rothamel 9eecf4fec3 distribute: Use version_only.
This runs after things are fully generated, and will include
the nightly 'n' if appropriate.
2022-09-05 13:31:59 -04:00
Tom Rothamel a465b313bc Merge branch 'maint-8.0' 2022-09-05 11:40:28 -04:00
Tom Rothamel c11051f6a8 distribute: Fix the option name. 2022-09-05 11:35:20 -04:00
Tom Rothamel e9448ccf87 distribute: Add an option for appending the version number.
This is intended to support versioned nightly builds.
2022-09-05 11:26:57 -04:00
Tom Rothamel 8eeb921ef3 Merge branch 'maint-8.0' 2022-09-05 10:37:51 -04:00
Gouvernathor 466ba3741c Document xycenter as a style property 2022-09-05 14:34:45 +02:00
Gouvernathor fa6f3d523e Add xycenter to the list of position style properties 2022-09-05 14:27:45 +02:00
Gouvernathor 9069749c44 Add the xycenter synthetic style prop 2022-09-05 14:26:16 +02:00
Tom Rothamel 698b50fd7d doc: Update changelog. 2022-09-04 22:45:42 -04:00
Tom Rothamel 92ae3fe576 Jump to the deferred translate identifier if the translate changes.
This will re-run, and hence re-translate, say statements that have
interact=False, most notably the Say statement that precedes a
menu statement.

This could cause problems if there is a non-idempotent statement
between the say statement and the interaction, like:

    e "This will show dialogue when the screen is shown." interact False

    $ variable += 1

    call screen myscreen

That should be rare enough that a warning will suffice.
2022-09-04 21:47:46 -04:00
Tom Rothamel 78391bf68f Clear the deferred_translate_identifier when the interaction end.
This makes it available for the full interaction, including any
restart due to change_language.
2022-09-04 21:38:19 -04:00
Tom Rothamel 04a69c0d64 Remove debug print. 2022-09-04 17:27:04 -04:00
Tom Rothamel e9d0574f88 Merge branch 'maint-8.0' 2022-09-04 00:55:53 -04:00
Tom Rothamel 7d4610d13d New behavior regarding modal, pause, and timers.
By default, timers trigger even if uderneath a modal screen
- a screen timer is intended primarily to display data, and not
by default, as a means of control. (For example, the default
notify screen uses a timer to hide itself without game effect.)

Pauses, by default, respect modal screens, as pause is part of
the main game's control flow.

Both timers and pauses take a modal property, which overrides
if a modal screen is respected or not.

Fixes #3935.
2022-09-04 00:42:48 -04:00
Tom Rothamel 1fa440feaa Allow files descriptors backing logs to be unflushable.
Fixes #3963.
2022-09-03 20:27:23 -04:00
Gouvernathor c29da607f6 doc: improve and fix say-with-attributes examples 2022-09-03 14:51:15 +02:00
Gouvernathor a36a6cccf0 doc: multipersistent init -> define 2022-09-03 12:19:36 +02:00
Andy_kl 7f45cf4ee8 Fix typo in UserStatement.replace_next 2022-09-03 02:02:00 +04:00
Gouvernathor 1d330d222c truncate when there are too many unreachable lines 2022-09-02 23:46:56 +02:00
Tom Rothamel 75669c545a ffmedia: Do not stop decoding when sending packets hits EOF.
Only stop decoding when there are no more frames to be decoded, or a
real error.

Fixes #3927.
2022-09-02 00:48:00 -04:00
Gouvernathor b3f08bdfeb Expand get_ordered_image_attributes doc 2022-09-02 01:17:30 +02:00
Tom Rothamel c29e7a0e85 Merge branch 'maint-8.0' 2022-09-01 02:20:13 -04:00
Tom Rothamel 8c5f6f22dc Fix credits. 2022-09-01 02:19:45 -04:00
Tom Rothamel 22e58c9a4e Merge branch 'maint-8.0' 2022-09-01 02:19:33 -04:00
Gouvernathor 4640b135a1 Add reachability analysis 2022-09-01 01:32:32 +02:00
Tom Rothamel 0d04423ca9 Fix credits. 2022-08-31 19:18:47 -04:00
Gouvernathor ad5d6d503a doc: end (ish) unfinished sentence 2022-08-31 23:02:05 +02:00
Tom Rothamel af0d90d23c Merge branch 'maint-8.0' 2022-08-30 23:55:41 -04:00
Gouvernathor 6d820a5e74 Update lint.py 2022-08-30 13:55:13 +02:00
Adam Trzypolski 1df764065e Document {size=*<float>} 2022-08-30 11:39:03 +03:00
Adam Trzypolski 8836b924d7 Allow multipliers in {size=<value>}
Sometimes, your tag doesn't know what size it will be, but `+`/`-` is not enough. Allowing a multiplier is a two line change.

```
"{size=*2}This is double size{/size} and this is {size=*0.5}half size{/size}"
```
2022-08-30 11:19:25 +03:00
Andykl f2fd54744b Merge pull request #3915 from qTich/fix/issue-3912
Strip parsed arugment default expression.
So it does not appear with \n when the last argument in the multiline parameters does not have a trailing comma.
2022-08-29 00:58:16 +04:00
Tichq e2909848ec fix: issue-3912 2022-08-28 23:14:01 +03:00
Tom Rothamel a2e2f8ba55 Allow quotes inside of triple strings.
Per #3913.

Co-authored-by: Dan Hess <phxntxm1@gmail.com>
2022-08-27 22:26:31 -04:00
Tom Rothamel 841e736cf9 Improvements to viewport dragging.
The biggest change here is that there is a new _draggable field on
Displayable. If True, the displable itself might be draggable, and
so a Viewport won't steal the focus of it.

There are also several changes that make sure the viewport gets and
releases drags as appropriate.

Finally, draggability only enables when the displayable is actually
scrollable in at least on axis.

Fixes #3910.
2022-08-27 22:00:42 -04:00
Tom Rothamel 832560d8dc Merge branch 'maint-8.0' 2022-08-27 00:35:40 -04:00
Tom Rothamel c23466d98d Merge branch 'maint-8.0' 2022-08-27 00:32:38 -04:00
Tom Rothamel 511cdc1227 Document the fields of version_tuple. 2022-08-26 00:03:51 -04:00
Tom Rothamel fbcb9a102e Allow viewport drag to override child focus.
Now, when a a touch moves by a certain number of pixels when a
button inside a viewport is focused, focus and grab are shifted
onto the viewport, which then can be scrolled.

This also changes several things about how viewports process
events - now, if an event can be handled by the viewport, the
viewport takes precendence.
2022-08-25 23:48:28 -04:00
Tom Rothamel 2214c67706 Allow a displayable to force itself to be focused.
This disables the grab, and then changes the focus. This is mainly
intended for used by Viewport and VPGrid to override child focus
when being scrolled.
2022-08-25 23:48:28 -04:00
Tom Rothamel 207e0b791d Merge pull request #3883 from GiovanH/namedtuple
Use a NamedTuple for version_tuple (for #3755)
2022-08-25 21:11:41 -04:00
Gio 090c3d246c VersionTuple naming 2022-08-25 20:02:43 -05:00
Tom Rothamel d111e24a7b Add a keysym property to dismiss.
Fixes #3903.
2022-08-25 01:52:06 -04:00
Tom Rothamel 2ffe5007c1 Abort if too many interaction restarts occur without progress.
In this case, progress consists of either terminating the current
interaction, processing input, or waiting without processing input.

Fixes #3627.
2022-08-24 22:44:49 -04:00
midgethetree 3fb99d39b3 Improve lint for say attributes
Applies config.adjust_attributes to say attributes when linting, so lint won't report errors for say statements which work in-game.
2022-08-24 00:05:20 -04:00
Tom Rothamel a09c879f8d Update README.rst for Python 3 and Ubuntu 22.04.
Also, help sphinx run in more places.
2022-08-23 23:38:40 -04:00
Tom Rothamel 3028fe28a3 Fix typing problems in Matrix.__eq__.
Fixes #3895.
2022-08-23 01:13:22 -04:00
Tom Rothamel 6b81f958fd translation: Avoid automatically generating an identifier that already exists.
Fixes #3894.
2022-08-22 21:11:52 -04:00
Tom Rothamel 14f535cea8 Ensure the interface starts before displaying an error message. 2022-08-22 01:15:57 -04:00
Tom Rothamel e7f186e12a Merge pull request #3892 from renpy/fix-lambda-in-comp
Fix the ast magic applied on comprehensions when containing lambdas
2022-08-21 22:09:24 -04:00
Gouvernathor 2a90f82f3a Add py2 support 2022-08-22 03:08:16 +02:00
Gouvernathor c54780e088 Mark (lambda) arguments as not loaded from context 2022-08-22 02:41:26 +02:00
Andy_kl 97eb86d6d9 Add help <expr> into console commands. 2022-08-22 04:16:46 +04:00
Gouvernathor 60ad4487ac doc: fix typo 2022-08-22 02:06:54 +02:00
Tom Rothamel 9f6e618ee4 sl2: Do not copy a non-const created slfor list or iterator. 2022-08-21 17:02:31 -04:00
valery-iwanofu fb5db21898 Fix jnius example code 2022-08-21 12:04:49 +02:00
Tom Rothamel c91b8f1031 py3, sl2: Copy the value for is iterating over into a list.
This allows it to be iterated multiple times, even if the value
is an iterator. This in turn, allows range, enumerate, and zip to
be marked as pure, and hence potentially treated as constant in
a screen.
2022-08-21 00:28:00 -04:00
Tom Rothamel 6b390c0191 py3: Audit pure builtin functons on Python 3.
Previously, Python 3 builtins weren't included, so this replaces
the functions with a curated list.
2022-08-20 22:17:05 -04:00
Tom Rothamel 087fb97c0b ren_py: Remove debug raise. 2022-08-20 21:51:11 -04:00
Tom Rothamel 5322748f51 ren_py: Rewrite get_line_text to return the transformed text. 2022-08-20 21:48:29 -04:00
Tom Rothamel 156166b3dc Merge pull request #3885 from renpy/_ren.py-crlf
Make _ren.py accept windows-ending (CRLF) files
2022-08-20 21:48:16 -04:00
Gouvernathor ae9c90a25e Use splitlines to avoid errors with CRLF
also, used a better enumerated linenumber
2022-08-21 03:44:02 +02:00
Gio 649c4bc725 WIP namedtuple for version info 2022-08-20 17:25:20 -05:00
Tom Rothamel 402d6779e8 ren_py: Remove potentially over-sensitive test, fix linenumber. 2022-08-19 23:45:15 -04:00
Tom Rothamel 29b191ff05 Merge pull request #3881 from renpy/_ren.py
Add a syntax error to _ren.py parsing, and tweak its doc
2022-08-19 23:43:28 -04:00
Gouvernathor 932bf79fbe Revert allowing triple simple quotes 2022-08-20 05:40:11 +02:00
Gouvernathor 703d775e99 Update ren_py.rst 2022-08-20 05:35:06 +02:00
Gouvernathor 588b447ab2 Merge branch 'master' into _ren.py 2022-08-20 05:26:45 +02:00
Tom Rothamel 4f8cca62fe doc: _ren.py files. 2022-08-19 23:23:32 -04:00
Gouvernathor d5546516fd Expand _ren.py syntax 2022-08-19 11:40:45 +02:00
Tom Rothamel 98b44c7a76 _ren.py: Report files with obvious errors. 2022-08-19 01:10:44 -04:00
Tom Rothamel 22d1af00ef _renpy.py: Error out if foo_ren.py and foo.rpy exist in the same game. 2022-08-18 22:47:05 -04:00
Tom Rothamel 81e21925b2 _ren.py: Change the order that _ren.py files are compiled.
With this change, foo_ren.py is compiled at the same time foo.rpy
would be, and both files produce foo.rpyc, with foo_ren.py taking
precendece over foo.rpy if both exist.

The purpose of this is to make it possible to replace a .rpy file
that contains an init python block with a _ren.py file, and have
the .rpyc file be replaced with the file fron the new source.
2022-08-18 22:32:29 -04:00
Gouvernathor 553ada3b04 Lint parameters shadowing builtin names 2022-08-18 22:38:43 +02:00
Gouvernathor 0efbf3484b Add comments and internal documentation 2022-08-18 21:52:24 +02:00
Gouvernathor 1fdd09aa4f Replace inline if/else with or, and fix comments
It's a bit quicker in the general case, and avoids repetitions.
2022-08-18 16:19:49 +02:00
Tom Rothamel b29df78420 ren_py: Initial implementation of ren_py to rpy converter. 2022-08-17 21:52:39 -04:00
Tom Rothamel 53f5d4aa89 Break the lexer off into its own file.
At 3,000+ lines, parser.py was getting a bit unwieldy. This change
breaks off the file processing and lexing portions of the parser
into lexer.py, and leaves parser.py more for the parser trie and
statement definitions.

This will let me add more functionality (the ren.py transfome)
to lexer.py.
2022-08-17 00:40:10 -04:00
Tom Rothamel 72df151885 Merge branch 'maint-8.0' 2022-08-16 21:09:21 -04:00
Tom Rothamel e48c9045e7 Merge pull request #3750 from Tey/web_progressive
Optimizations for building Web packages
2022-08-15 18:37:30 -04:00
Tom Rothamel 077a368386 Merge pull request #3866 from renpy/lint-init-priority
Lint out-of-range init priorities
2022-08-15 01:34:18 -04:00
Tom Rothamel 96be374566 Merge pull request #3869 from renpy/new-matrix-equality
Use eq and ne for Matrix comparisons
2022-08-14 21:18:52 -04:00
Gouvernathor eac73269de Use eq and ne for Matrix comparisons 2022-08-14 16:04:32 +02:00
Tom Rothamel 12e6c4b7e1 ffmedia: Modernize how ffmpeg is used.
The goal of this was to make sure that ffmedia.c compiles without
any warnings under ffmpeg 4.2. This required a series of
related changes.

The first was more changes of how the Packet queue works. The packet
queue is now in charge of allocated and deallocating AVPacket objects
as required, and is the only place where AVPacket objects are created.
This allowed us to get rid of several AVPackets that were allocated
as part of MediaState, and a lot of copying of data to and from these
objects.

This enables and is enabled by a change to fully embrace the new
avcodec_send_packet/avcodec_receive_frame API, and most notably
that avcodec_send_packet is defined to either fully read a packet,
or not read it at all.There was a lot of complexity inherited
from prior APIs that would only partially read packets, which
these changes do away with.
2022-08-14 01:55:10 -04:00
Tom Rothamel 90dee6d775 ffmedia: Replace AVPacketList in PacketQueue functions.
AVPacketList is deprecated, so this replaces it with the amazingly
similar PacketQueueEntry object.
2022-08-13 22:36:18 -04:00
Tom Rothamel 425feb7909 Merge branch 'maint-8.0' 2022-08-13 00:21:42 -04:00
Gouvernathor 45cdda60c3 Check for out-of-range init priorities 2022-08-13 04:26:47 +02:00
Tom Rothamel 464b5d8c53 Merge branch 'maint-8.0' 2022-08-12 00:55:53 -04:00
Tom Rothamel 4629de77f9 Merge pull request #3860 from renpy/image-shorten-repr
Don't shorten Image's repr
2022-08-12 00:55:12 -04:00
Tom Rothamel 48b6f77901 Merge branch 'maint-8.0' 2022-08-11 17:50:31 -04:00
Gouvernathor 54f1cae1aa Don't shorten Image's repr 2022-08-11 03:39:02 +02:00
Tom Rothamel d07d61d050 Merge branch 'maint-8.0' 2022-08-10 21:26:37 -04:00
Tom Rothamel 30db52f617 Merge pull request #3855 from renpy/operator-mul
Use c-boosted mul function instead of python-defined one
2022-08-09 23:04:50 -04:00
Gouvernathor 6891ad6174 Update _shaders.rpym 2022-08-09 11:40:13 +02:00
Tom Rothamel 609e502a4d Add config.autosave_callback.
A callback or list of callbacks that are called after a background
autosave finishes.

Fixes #3851.
2022-08-09 01:00:24 -04:00
Tom Rothamel bb576eec63 Merge branch 'maint-8.0' 2022-08-08 01:06:00 -04:00
Tom Rothamel 037880acf0 Merge branch 'maint-8.0' 2022-08-07 18:44:05 -04:00
Tom Rothamel b1fdb7be39 Merge pull request #3848 from Elckarow/patch-4
fixed typo
2022-08-06 23:55:09 -04:00
Elckarow c25e5d31f0 fixed typo 2022-08-07 04:09:13 +02:00
Tom Rothamel 257b49ff3a Merge branch 'maint-8.0' 2022-08-06 00:39:24 -04:00
Tom Rothamel f285009182 Make built-in stores constant, document constant stores.
The goal of this is to improve Ren'Py performance by not checking
stores that will not be changed outside of the init phase for
changes before statements.

The icon store is left alone, as it may be going away soon.
2022-08-05 01:38:40 -04:00
Tom Rothamel 5cc4fd64a1 Allow a namespace to declare the _constant variable.
If true, this variable declares the namespace constant. Constant
namespaces are not saved or loaded, and do not participate in
rollback.

In exchange for this, the namespace does not need to be scanned
for changed variables, saving a lot of time if the namespace has
no variables that will change after init.
2022-08-04 02:11:07 -04:00
Tom Rothamel ef1ae9a562 Merge branch 'maint-8.0' 2022-08-04 01:15:44 -04:00
Tom Rothamel 20dc7e5eb3 Merge branch 'maint-8.0' 2022-08-04 00:13:46 -04:00
Tom Rothamel 2a97b50917 Use the middle element when quicksorting store dicts.
This is a big improvement on Python 3, where store dictionaries can
be created in mostly-sorted order, and hence become the worst-case
for quicksort.

Fixes #3812, which is caused by the store.audio namespace becoming
truly huge, and this bad behavior running Ren'Py out of memory.
2022-08-03 19:32:01 -04:00
Gouvernathor bc696a05c4 doc: rephrase renpy.scry a bit 2022-08-03 08:41:53 +02:00
Tom Rothamel e302c2ad62 Merge pull request #3827 from renpy/fix-list-filenames-py3
Fix and simplify the "List filenames" dev action
2022-08-03 00:31:12 -04:00
Tom Rothamel c98f1d2b83 Merge pull request #3823 from shawna-p/master
Expand functionality of drag_offscreen
2022-08-03 00:30:44 -04:00
Tom Rothamel 77cb7334bc Merge pull request #3820 from renpy/doc-doc
Replace :ref: with :doc:
2022-08-03 00:20:19 -04:00
Tom Rothamel 60d25f62aa Merge pull request #3834 from kyouryuukunn/add_doc_about_scry
add doc about scry
2022-08-02 20:10:55 -04:00
Tom Rothamel 24215c9383 Merge pull request #3835 from renpy/better-doc-help-commands
Improve the generation and inclusion of the console commands list
2022-08-02 20:03:18 -04:00
Tom Rothamel 7a3c77d119 Merge pull request #3836 from qTich/fix/undefined-pygame
fix: Unavailable `pygame` in `renpy.display.layout`
2022-08-02 20:02:41 -04:00
Tom Rothamel 1c86b51175 Merge branch 'maint-8.0' 2022-08-01 22:52:47 -04:00
Tichq 3a1fbb2859 fix: At the time of import renpy.import_all the pygame module may not be present. 2022-08-01 15:43:34 +03:00
Gouvernathor 50fe062e72 doc: improve console commands list generation
Using replace is probably simpler than using split then join.
Also, the markup using a leading whitespace is the quote markup in sphinx, which is a bit ugly. A bullet list renders better, I think.
2022-08-01 06:12:07 +02:00
kyouryuukunn e6e98c6f41 add doc about scry 2022-08-01 12:52:24 +09:00
kyouryuukunn 69dc800a89 [fix doc]lexer.catch_errors() -> catch_error() 2022-08-01 05:43:15 +02:00
Tom Rothamel 766820a881 Merge branch 'maint-8.0' 2022-07-31 02:02:46 -04:00
Tom Rothamel 08f3fce3d2 Merge branch 'maint-8.0' 2022-07-31 01:33:47 -04:00
shawna-p ad04219074 Improve documentation and reduce calls to len 2022-07-30 19:13:32 -04:00
Gouvernathor 3fdb9236ae Fix and simplify "List filenames"
- Avoid sorting dirs because it's pointless
- strip config.gamedir once instead of many times
- only strip it when safe (this one is a little bonus)
- do not turn into a bytes in py3 (I don't even know why it was the case in py2, but I left it just in case) (and even in that case, now it does it only once)
2022-07-30 17:04:35 +02:00
Tom Rothamel 1f1573c0db Merge pull request #3826 from renpy/fix-3825
Fix duplicate label errors
2022-07-30 10:42:07 -04:00
Gouvernathor 3498c5e24c extra space 2022-07-30 16:35:49 +02:00
Gouvernathor a05f3050d4 Fix duplicate label errors 2022-07-30 16:11:57 +02:00
shawna-p 8f297ce5f1 Add option to keep (width, height) drag on screen 2022-07-29 19:59:09 -04:00
shawna-p 728e5e0b88 Expand functionality of drag_offscreen 2022-07-29 19:19:05 -04:00
Tom Rothamel 16b6fe8a62 Merge branch 'maint-8.0' 2022-07-29 01:12:26 -04:00
Asriel Senna 79706e3489 doc: replace :ref: with :doc: wherever possible
This simplifies many cases where a page has a ref identifier distinct 
from its filename, which makes linking harder to understand when writing 
the doc.
Also, it solves a small scrolling problem in such cases.
Some links in changelog and changelog6 were left alone, and some .. _ 
identifiers too, to ensure compatibility.
2022-07-29 05:28:51 +02:00
Gouvernathor 05516c5eff doc: tweak the sentence 2022-07-28 08:34:38 +02:00
Tom Rothamel f55091310d gl2: Create an appropriately-sized texture when drawable_resolution is used. 2022-07-27 23:27:24 -04:00
Tom Rothamel bfad014ce4 Merge branch 'maint-8.0' 2022-07-27 01:28:06 -04:00
Tom Rothamel 1ca3201ddd Avoid using stylized quotes. 2022-07-26 00:34:54 -04:00
Tom Rothamel 5429223c34 Undocument config.main_game_transition and config.game_main_transition.
In favor of config.intra_transition, which Ren'Py has been using since
the switch to screens.

Fixes #3038.
2022-07-26 00:34:54 -04:00
Tom Rothamel ad140a9ae8 doc: Fix various issue with preferences documentation.
Fixes #3809. Fixes #3810.
2022-07-26 00:34:54 -04:00
Gouvernathor 7c8e4475c5 doc: fix typo (#3805)
no need to propagate to maint-8.0 as its doc will probably never be regenerated
2022-07-25 15:04:28 +02:00
Tom Rothamel c5fb0cddb4 Merge branch 'maint-8.0' 2022-07-25 00:44:02 -04:00
Tom Rothamel 3c741ac051 Add renpy.music.pump.
When called, this causes audio to be processed, as it is at the
start of an interaction. This is intended for cases where audio
is played and then stopped with a fadeout, which default to not
playing anything.

Fixes #3805.
2022-07-24 23:12:27 -04:00
Tom Rothamel 7e75d7f61c Merge pull request #3804 from midgethetree/fix-mousearea
Fixed mouse area hovering
2022-07-24 22:19:18 -04:00
midgethetree d605c8f1af Fixed mouse area hovering
Mouseareas are supposed to not hover if the keyboard is being used for focusing, but this was broken by an if/else statement that changed the is_hovered value again without regard to if it had already been set to false because of keyboard focusing. Changing it to elif/else ensures the value of is_hovered is only changed if it hasn't already been set to false because of keyboard focusing.
2022-07-24 16:26:53 -06:00
Elckarow c1d41e3a78 fixed typo in 'renpy/sl2/slparser.py' 2022-07-24 19:46:38 +02:00
Tom Rothamel b8ab9a002e Merge branch 'maint-8.0' 2022-07-24 00:32:43 -04:00
Tom Rothamel 87dee63bf6 Allow Ren'Py to continue even if audio init fails.
This happens even when config.debug_sound is True, as the current
SDL can fail sound init if no audio devices exist.

Fixes #3768.
2022-07-24 00:14:15 -04:00
Tom Rothamel a16b4a54d5 iap: Use a unicode string with autoclass. 2022-07-24 00:14:15 -04:00
Tom Rothamel e5497b423e Back out half of #3790.
Events (other than modal TIMEEVENTS) should not be delivered to
the pausebehavior when it's behind a screen, and since TIMEEVENTS
can be combined with other events, it needs to be possible to
end the pause on any event.
2022-07-24 00:14:15 -04:00
Gouvernathor 71385f87d9 Allow transforms to be created in stores (#3678)
This commit adds the ability to include a store name when defining a transform, allowing transforms to be define in stores other than the default.
2022-07-23 21:00:25 -04:00
Tom Rothamel bb90368eef Merge branch 'maint-8.0' 2022-07-22 23:19:44 -04:00
Andykl d4c784bd1a Merge pull request #3798 from qTich/fix/missed-matrix-parent
fix: missed `DictEquality` parent for `SaturationMatrix`
2022-07-22 19:56:37 +04:00
Tichq d88cefbdef fix: missed DictEquality parent for SaturationMatrix 2022-07-22 18:17:14 +03:00
Gouvernathor 775d291fec doc: tweaks to last
Add a label to avoid confusion between the statements (the first happens at init, the second at runtime), and fix wording.
2022-07-22 15:19:29 +02:00
Gouvernathor b9313ff1d9 Merge pull request #3795 from kyouryuukunn/add_ParameterizedText_sample_code
[Doc] add ParameterizedText sample code
2022-07-22 15:15:50 +02:00
kyouryuukunn a3ae45e3f2 add ParameterizedText sample code 2022-07-22 21:10:20 +09:00
Tom Rothamel 9d5951b9ae Merge branch 'maint-8.0' 2022-07-22 00:41:50 -04:00
Tom Rothamel 8d435710df Merge pull request #3792 from kyouryuukunn/contribute_{{_in_extract_dialogue
consider {{ in exatract_dialogue
2022-07-21 22:48:13 -04:00
kyouryuukunn 84a3aa0b49 consider {{ in exatract_dialogue 2022-07-22 08:41:05 +09:00
Tom Rothamel 1191c64e0e Merge pull request #3766 from kyouryuukunn/add_combine_option_to_extract
add combine option to extract dialogue
2022-07-21 11:09:53 -04:00
kyouryuukunn 35b6014ea4 remove the combine option 2022-07-20 20:21:38 +09:00
Tom Rothamel 8435f57a83 Merge pull request #3753 from qTich/fix/tts-filter_text_tags-displayable
Fix: `filter_text_tags` for `tts`.
2022-07-20 01:59:41 -04:00
Tom Rothamel 79fcc13a3a Merge pull request #3790 from midgethetree/fix-modal-behavior
Fix modal behavior
2022-07-20 01:52:06 -04:00
Tom Rothamel edad2f4de7 Merge branch 'maint-8.0' 2022-07-20 01:48:17 -04:00
Tom Rothamel a27d9183d0 Merge branch 'maint-8.0' 2022-07-20 01:46:28 -04:00
midgethetree c1a7591040 Make modal pause interactions not time out
Timed pause interactions (interactions triggered by renpy.pause with a specified delay) will now not time out when a modal screen is being shown.
2022-07-19 18:32:06 -06:00
kyouryuukunn 6e08fd91e9 Merge pull request #3779 from kyouryuukunn/Japanese_translate_220717
Japanese translate 220717
2022-07-19 17:27:17 +09:00
kyouryuukunn 8a32c2fb24 update tutorial japanese 2022-07-19 17:16:38 +09:00
Tom Rothamel 4d19b114f8 Merge branch 'maint-8.0' 2022-07-19 01:12:22 -04:00
Tom Rothamel 075c48324f Merge branch 'maint-8.0' 2022-07-18 02:09:24 -04:00
Tom Rothamel fbf39a76ee Fix vscode. 2022-07-18 02:07:40 -04:00
Tom Rothamel 11ef81ef89 Do not render zero-width displayables in text.
Fixes #3772.
2022-07-18 01:52:10 -04:00
Tom Rothamel 10600fd307 Remove the obsolete udd.rst, now that there's a server redirect. 2022-07-17 13:23:19 -04:00
Gouvernathor d26bc4f048 doc: use the exception role 2022-07-17 13:38:33 +02:00
kyouryuukunn df7be71e9a update Japanese 2022-07-17 17:54:25 +09:00
kyouryuukunn 90a827bcd5 update Japanese 2022-07-17 17:37:49 +09:00
midgethetree 953375d0aa Make modal saybehavior not autoforward
If a modal screen like the confirm screen is up, autoforwarding will now be paused.
2022-07-16 19:49:05 -06:00
Tom Rothamel 53e8d5c28a Merge pull request #3769 from kyouryuukunn/add_warp
add renpy.warp_to_line func
2022-07-16 16:47:01 -04:00
kyouryuukunn 5ffbbc5531 add renpy.warp_to_line func 2022-07-16 19:34:39 +09:00
kyouryuukunn 1b363a7793 doesn't combine [[. 2022-07-16 09:17:01 +09:00
Tom Rothamel 5dd655eb4a Merge pull request #3758 from renpy/document-warp
doc: better document user-defined warpers
2022-07-15 17:51:59 -04:00
kyouryuukunn a618d3db32 add combine option to extract dialogue 2022-07-16 01:26:39 +09:00
Tom Rothamel c97a29aa02 Add the IF ... ELIF ... ELSE statement.
Per #3760, allows conditional compilation. There are a lot of game
stability caveats to this.
2022-07-15 00:42:08 -04:00
Tom Rothamel 331932ecc1 Revert "ren.py: Add the pass: syntax."
This reverts commit e532e9f9c3.

The solution to #3760 will take care of this by providing a
better syntax.
2022-07-14 19:28:22 -04:00
Gouvernathor c6f59b8144 doc: better example 2022-07-14 16:50:15 +02:00
Gouvernathor 52ee233378 doc: better document user-defined warpers 2022-07-14 16:13:27 +02:00
Tom Rothamel fab154eace ren.py: Load _ren.py files as Ren'Py script files.
This allows files ending with _ren.py to contain Ren'Py script,
be loaded, and operate as part of a normal game. The transformation
from Python to Ren'Py script has yet to be implemented.
2022-07-14 10:00:33 -04:00
Tom Rothamel e532e9f9c3 ren.py: Add the pass: syntax.
When followed by as :, pass takes an optional block that it
then ignores.

This is mostly intended for _ren.py files, where it will be used
as a way of ignoring lines of Python that only exist to make
Python type-checkers happy.

The buried lede - a _ren.py file will be a Python file (that can be
analyzed with Python tooling) that is convered internally to a
.rpy file, and then compiled as Ren'Py. At least, that's the plan.
2022-07-14 00:52:23 -04:00
Andy_kl 0b6112fadb Normalize elided filename in scanstrings before searching in properties.
Before that, on Windows the rules for _compat, _layout and most importantly _developer was failed, so some strings was leaked in common.rpy.
2022-07-14 06:23:46 +04:00
Tom Rothamel ce07604bd6 Merge pull request #3675 from kyouryuukunn/modify_default_transition
mofify alpha, zoom type in default and reset transform
2022-07-13 09:58:42 -04:00
Tichq f9f24b6a36 Fix: filter_text_tags for tts can accept a displayable text tag that cannot be converted to a string. 2022-07-13 02:10:56 +03:00
Tom Rothamel fc73078f54 Merge branch 'maint-8.0' 2022-07-12 16:00:15 -04:00
Tom Rothamel e17f4f3598 linvol: Documentation. 2022-07-12 15:47:07 -04:00
Tom Rothamel c6e360caf6 linvol: Add preferences.set_mixer and preferences.get_mixer.
These get and set the mixer in the new interpolated db format.
2022-07-12 15:46:14 -04:00
Tom Rothamel 5abb96d8fc Merge branch 'maint-8.0' 2022-07-12 09:17:40 -04:00
Tom Rothamel a7ec32c81d linvol: Use db power when calculating db.
This probably doesn't matter as much in practice, but it's the right
calculation for audio.

A more important change is that the default values for mixers are
now specified as a percentage of a mixer bar.
2022-07-12 09:14:53 -04:00
Tom Rothamel 26d7a4ab9b linvol: Mixer bars use decibels.
Using decibels makes the mixers feel right - the 50% point is
perceptually half volume, even if power-wise it's a lot less
than that.
2022-07-12 09:14:53 -04:00
Tom Rothamel f4dda8db33 linvol: Compatibility for linear volume.
Internally, the volumes are stored as linear volumes, being upgraded
the first time a version of Ren'Py that supports linear volumes is
run.

All other places a volume can come into Ren'Py are updated to consider
the new config.quadratic_volume variable, which will square the volume
to get linear volume.
2022-07-12 09:14:53 -04:00
Tom Rothamel 2dfa05fbcb linvol: Move to linear volume.
As opposed to the previous approach, where volume was squared,
which we're now calling quadratic volume.
2022-07-12 09:14:53 -04:00
Tom Rothamel 9063ad413a Add a multiple-version compatibility check.
This is intended for the Ren'Py 8/7 mixed period, and allows a
compat test to be True in Ren'Py 8 and False in some Ren'Py 7
versions.
2022-07-12 09:14:53 -04:00
Teyut 966cce804e Stop copying the files to be downloaded progressively into the initial ZIP archive 2022-07-12 02:25:42 +02:00
Teyut 6ff68089bd Add a generic files filter from Distributor users 2022-07-12 02:18:31 +02:00
Gouvernathor a1004924ce doc: tweak is_selected and is_sensitive
False -> false, and true -> a true value, because no guarantee is given on the type of the returned value
Also, a list of actions is accepted
2022-07-12 00:31:31 +02:00
Tom Rothamel 0a923be2de Merge branch 'maint-8.0' 2022-07-11 00:15:56 -04:00
Andy_kl 8f4d70a836 Fix TypeError when comparing float and None. 2022-07-10 22:45:20 +04:00
Tom Rothamel 0b78b48d8d sl1: Remove the ability to parse SL1 screens.
This had been left in to support potential issues in the change
from SL1 to SL2. That wasn't used, and almost certainly isn't
being used anymore, so the parser can be removed.

SL1 screens can still be loaded if they exist in SL1 files,
as this only affects the parser, not the runtime.

Fixes #3430.
2022-07-10 00:01:23 -04:00
Tom Rothamel 83268109c6 Merge branch 'maint-8.0' 2022-07-09 21:42:38 -04:00
Tom Rothamel 055dd39982 Start 8.1.0 and 7.6.0.
These will live on the main branch.
2022-07-09 16:55:25 -04:00
Gouvernathor 0b1edb13de Update preferences.rpy 2022-06-23 16:46:51 +02:00
kyouryuukunn 850fa94c3d mofify alpha, zoom type in default and reset transform 2022-06-18 09:13:06 +09:00
Totally a booplicate 133a5a8c76 Improve lint 2022-05-28 22:35:50 +03:00
Totally a booplicate aa08660ca6 Fix regression from 3dd71cc
Prevent `_zorder` from leaking to screens scope
2022-05-28 22:23:42 +03:00
Totally a booplicate 93cce0fcf8 New screen statement clauses
Adds `onlayer`, `zorder`, and `as`
2022-05-28 22:18:32 +03:00
uyjulian 2fa378ca42 loader: use RWops object from pygame_sdl2 2022-04-17 19:15:05 -05:00
Gouvernathor 0092484cdd Merge branch 'master' into patch-2 2022-04-09 04:56:47 +02:00
Gouvernathor 07c9e23c23 Merge branch 'master' into patch-2 2021-12-29 05:37:33 +01:00
Gouvernathor f9fe673c42 Remove obsolete gl2 references 2021-07-10 04:16:29 +02:00
911 changed files with 130875 additions and 58777 deletions
+56 -2
View File
@@ -13,11 +13,12 @@ ehthumbs_vista.db
# Python related files.
*.pyc
*.pyo
*.pyi
*.egg-info
# Editor files.
# Editor/tool files.
*~
*.bak
.gdb_history
# Compiled Ren'Py files.
*.rpyc
@@ -64,6 +65,8 @@ cache/
/renios3
/web
/web2
/web3
# Docs.
/sphinx/source/inc
@@ -99,10 +102,16 @@ cache/
# Pygame_sdl2.
/pygame_sdl2
# Updater.
update.pem
# Steam.
steam_appid.txt
/steamapi.py
# Android.
*.keystore
# Type analysis.
/typings
@@ -120,3 +129,48 @@ CubismSdkForNative-4-*.zip
# Works in progress, throwaway scripts, etc.
/scratch
/*-dists
/c
/cg
/.vscode/launch.json
/.vscode/tasks.json
# Pyi Files (generated by scripts/generate_pyi.py)
renpy/audio/filter.pyi
renpy/audio/renpysound.pyi
renpy/display/accelerator.pyi
renpy/display/matrix.pyi
renpy/display/quaternion.pyi
renpy/display/render.pyi
renpy/encryption.pyi
renpy/gl2/gl2draw.pyi
renpy/gl2/gl2mesh.pyi
renpy/gl2/gl2mesh2.pyi
renpy/gl2/gl2mesh3.pyi
renpy/gl2/gl2model.pyi
renpy/gl2/gl2polygon.pyi
renpy/gl2/gl2shader.pyi
renpy/gl2/gl2texture.pyi
renpy/gl2/live2dmodel.pyi
renpy/lexersupport.pyi
renpy/pydict.pyi
renpy/style.pyi
renpy/style.pyi
renpy/styledata/style_activate_functions.pyi
renpy/styledata/style_functions.pyi
renpy/styledata/style_hover_functions.pyi
renpy/styledata/style_idle_functions.pyi
renpy/styledata/style_insensitive_functions.pyi
renpy/styledata/style_selected_activate_functions.pyi
renpy/styledata/style_selected_functions.pyi
renpy/styledata/style_selected_hover_functions.pyi
renpy/styledata/style_selected_idle_functions.pyi
renpy/styledata/style_selected_insensitive_functions.pyi
renpy/styledata/styleclass.pyi
renpy/styledata/stylesets.pyi
renpy/text/ftfont.pyi
renpy/text/hbfont.pyi
renpy/text/textsupport.pyi
renpy/text/texwrap.pyi
renpy/uguu/gl.pyi
renpy/uguu/uguu.pyi
+244 -24
View File
@@ -1,23 +1,22 @@
{
"files.watcherExclude": {
"**/renpy/0old/**" : true,
"**/renpy/atom/**" : true,
"**/renpy/cubism/**" : true,
"**/renpy/dists/**" : true,
"**/renpy/dl/**" : true,
"**/renpy/doc/**" : true,
"**/renpy/doc-web/**" : true,
"**/renpy/jedit/**" : true,
"**/renpy/renpy*.app/**" : true,
"**/renpy/tmp/**" : true,
"**/renpy/web/**" : true,
"**/renpy/0old/**": true,
"**/renpy/atom/**": true,
"**/renpy/cubism/**": true,
"**/renpy/dists/**": true,
"**/renpy/dl/**": true,
"**/renpy/doc/**": true,
"**/renpy/doc-web/**": true,
"**/renpy/jedit/**": true,
"**/renpy/renpy*.app/**": true,
"**/renpy/tmp/**": true,
"**/renpy/web/**": true
},
"files.exclude": {
"0old" : true,
"0old": true,
"**-dists": true,
"**/*.pyc": true,
"**/*.pyo": true,
"renpy/**/*.pyi": true,
"**/*.rpmc": true,
"**/*.rpyc": true,
"**/__pycache__": true,
@@ -36,16 +35,53 @@
"renpy*.app": true,
"renpy*.exe": true,
"tmp": true,
"vscode": true,
"web": true,
"web2": true,
"web3": true,
"**/*.rpa": true,
"**/*.rpymc": true,
"**/cache/": true,
"renpy/audio/filter.pyi": true,
"renpy/audio/renpysound.pyi": true,
"renpy/display/accelerator.pyi": true,
"renpy/display/matrix.pyi": true,
"renpy/display/quaternion.pyi": true,
"renpy/display/render.pyi": true,
"renpy/encryption.pyi": true,
"renpy/gl2/gl2draw.pyi": true,
"renpy/gl2/gl2mesh.pyi": true,
"renpy/gl2/gl2mesh2.pyi": true,
"renpy/gl2/gl2mesh3.pyi": true,
"renpy/gl2/gl2model.pyi": true,
"renpy/gl2/gl2polygon.pyi": true,
"renpy/gl2/gl2shader.pyi": true,
"renpy/gl2/gl2texture.pyi": true,
"renpy/gl2/live2dmodel.pyi": true,
"renpy/lexersupport.pyi": true,
"renpy/pydict.pyi": true,
"renpy/style.pyi": true,
"renpy/styledata/style_activate_functions.pyi": true,
"renpy/styledata/style_functions.pyi": true,
"renpy/styledata/style_hover_functions.pyi": true,
"renpy/styledata/style_idle_functions.pyi": true,
"renpy/styledata/style_insensitive_functions.pyi": true,
"renpy/styledata/style_selected_activate_functions.pyi": true,
"renpy/styledata/style_selected_functions.pyi": true,
"renpy/styledata/style_selected_hover_functions.pyi": true,
"renpy/styledata/style_selected_idle_functions.pyi": true,
"renpy/styledata/style_selected_insensitive_functions.pyi": true,
"renpy/styledata/styleclass.pyi": true,
"renpy/styledata/stylesets.pyi": true,
"renpy/text/ftfont.pyi": true,
"renpy/text/hbfont.pyi": true,
"renpy/text/textsupport.pyi": true,
"renpy/text/texwrap.pyi": true,
"renpy/uguu/gl.pyi": true,
"renpy/uguu/uguu.pyi": true
},
"python.languageServer": "Pylance",
"python.analysis.typeCheckingMode": "basic",
"python.analysis.extraPaths": [
"",
"/home/tom/.vscode/extensions/joedevivo.vscode-circuitpython-0.1.17-linux-x64/stubs",
"/home/tom/.config/Code/User/globalStorage/joedevivo.vscode-circuitpython/bundle/20220710/adafruit-circuitpython-bundle-py-20220710/lib"
],
"python.analysis.diagnosticMode": "workspace",
"python.linting.pylintEnabled": false,
"python.analysis.diagnosticSeverityOverrides": {
@@ -53,12 +89,196 @@
},
"esbonio.server.enabled": true,
"esbonio.sphinx.confDir": "",
"circuitpython.board.version": null,
"renpy.excludeCompiledFilesFromWorkspace": false,
"renpy.excludeCompiledFilesFromWorkspace": true,
"renpy.watchFoldersForChanges": false,
"renpy.warnOnInvalidVariableNames": "Disabled",
"renpy.warnOnInvalidFilenameIssues": "Disabled",
"renpy.warnOnIndentationAndSpacingIssues": "Disabled",
}
"editor.tokenColorCustomizations": {
"[*Light*]": {
"textMateRules": [
{
"scope": "ref.matchtext",
"settings": {
"foreground": "#000"
}
}
]
},
"[*Dark*]": {
"textMateRules": [
{
"scope": "ref.matchtext",
"settings": {
"foreground": "#fff"
}
}
]
},
"textMateRules": [
{
"scope": "renpy.meta.plain",
"settings": {
"fontStyle": ""
}
},
{
"scope": "renpy.meta.i",
"settings": {
"fontStyle": "italic"
}
},
{
"scope": "renpy.meta.b",
"settings": {
"fontStyle": "bold"
}
},
{
"scope": [
"renpy.meta.u",
"renpy.meta.a"
],
"settings": {
"fontStyle": "underline"
}
},
{
"scope": "renpy.meta.s",
"settings": {
"fontStyle": "strikethrough"
}
},
{
"scope": "renpy.meta.i renpy.meta.b",
"settings": {
"fontStyle": "italic bold"
}
},
{
"scope": "renpy.meta.i renpy.meta.u",
"settings": {
"fontStyle": "italic underline"
}
},
{
"scope": "renpy.meta.i renpy.meta.s",
"settings": {
"fontStyle": "italic strikethrough"
}
},
{
"scope": "renpy.meta.b renpy.meta.u",
"settings": {
"fontStyle": "bold underline"
}
},
{
"scope": "renpy.meta.b renpy.meta.s",
"settings": {
"fontStyle": "bold strikethrough"
}
},
{
"scope": "renpy.meta.u renpy.meta.s",
"settings": {
"fontStyle": "underline strikethrough"
}
},
{
"scope": "renpy.meta.i renpy.meta.b renpy.meta.u",
"settings": {
"fontStyle": "italic bold underline"
}
},
{
"scope": "renpy.meta.i renpy.meta.b renpy.meta.s",
"settings": {
"fontStyle": "italic bold strikethrough"
}
},
{
"scope": "renpy.meta.i renpy.meta.u renpy.meta.s",
"settings": {
"fontStyle": "italic underline strikethrough"
}
},
{
"scope": "renpy.meta.b renpy.meta.u renpy.meta.s",
"settings": {
"fontStyle": "bold underline strikethrough"
}
},
{
"scope": "renpy.meta.i renpy.meta.b renpy.meta.u renpy.meta.s",
"settings": {
"fontStyle": "italic bold underline strikethrough"
}
},
{
"scope": "renpy.meta.color.text",
"settings": {
"foreground": "#ffffff"
}
},
{
"scope": "renpy.meta.color.#f00",
"settings": {
"foreground": "#f00"
}
},
{
"scope": "text.notes.info",
"settings": {
"foreground": "#17a2b8",
"fontStyle": "bold"
}
},
{
"scope": "text.notes.success",
"settings": {
"foreground": "#28a745",
"fontStyle": "bold"
}
},
{
"scope": "text.notes.warning",
"settings": {
"foreground": "#ffc107",
"fontStyle": "bold"
}
},
{
"scope": "text.notes.danger",
"settings": {
"foreground": "#dc3545",
"fontStyle": "bold"
}
},
{
"scope": "renpy.meta.color.#fff",
"settings": {
"foreground": "#fff"
}
},
{
"scope": "renpy.meta.color.#fcc",
"settings": {
"foreground": "#fcc"
}
},
{
"scope": "renpy.meta.color.#cfc",
"settings": {
"foreground": "#cfc"
}
},
{
"scope": "renpy.meta.color.#c00",
"settings": {
"foreground": "#c00"
}
}
]
}
}
+12
View File
@@ -0,0 +1,12 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "run.sh --build",
"type": "shell",
"command": "/home/tom/ab/renpy/run.sh --build",
}
]
}
+56 -26
View File
@@ -4,8 +4,29 @@ The Ren'Py Visual Novel Engine
https://www.renpy.org
Ren'Py development takes place on the ``master`` branch, and occasionally
on feature branches.
Branches
========
The following branches are the most interesting.
``fix``
The fix branch is used for fixes to the current version of Ren'Py that do
not require dangerous changes. The fix branch is also the source of the
documentation on https://www.renpy.org/. This branch is automatically
merged into master on a regular basis.
Pull requests that contain fixes or documentation improvements should be
made to the fix branch. When a release is made, the master branch is
copied to the fix branch.
``master``
The master branch is where the main focus of development is. This branch
will eventually become the next release of Ren'Py.
Pull requests that contain new features, that require incompatible changes,
or major changes to Ren'Py's internals should be targeted at the master
branch.
Getting Started
@@ -37,7 +58,7 @@ renpy.app, or renpy.exe, as appropriate for your platform.
If the current nightly build doesn't work, please wait 24 hours for a new
build to occur. If that build still doesn't work, contact Tom (`pytom at bishoujo.us`,
or @renpytom on twitter) to find out what's wrong.
or @renpytom on Twitter/X) to find out what's wrong.
The ``doc`` symlink will dangle until documentation is built, as described
below.
@@ -49,51 +70,60 @@ Building the modules requires you have the many dependencies installed on
your system. On Ubuntu and Debian, these dependencies can be installed with
the command::
apt-get install virtualenvwrapper python-dev libavcodec-dev libavformat-dev \
libavresample-dev libswresample-dev libswscale-dev libfreetype6-dev libglew1.6-dev \
libfribidi-dev libsdl2-dev libsdl2-image-dev libsdl2-gfx-dev \
libsdl2-mixer-dev libsdl2-ttf-dev libjpeg-dev
sudo apt install virtualenvwrapper python3-dev libassimp-dev libavcodec-dev libavformat-dev \
libswresample-dev libswscale-dev libharfbuzz-dev libfreetype6-dev libfribidi-dev libsdl2-dev \
libsdl2-image-dev libsdl2-gfx-dev libsdl2-mixer-dev libsdl2-ttf-dev libjpeg-dev pkg-config
Ren'Py requires SDL_image 2.6 or greater. If your distribution doesn't include
that version, you'll need to download it from:
https://github.com/libsdl-org/SDL_image/tree/SDL2
We strongly suggest installing the Ren'Py modules into a Python
virtualenv. To create a new virtualenv, open a new terminal and run::
. /usr/share/virtualenvwrapper/virtualenvwrapper.sh
mkvirtualenv renpy
To return to this virtualenv later, run::
. /usr/share/virtualenvwrapper/virtualenvwrapper.sh
workon renpy
After activating the virtualenv, install additional dependencies::
pip install -U cython future six typing pefile requests
pip install -U setuptools cython future six typing pefile requests ecdsa
Then, install pygame_sdl2 by running the following commands::
git clone https://www.github.com/renpy/pygame_sdl2
pushd pygame_sdl2
python fix_virtualenv.py $VIRTUAL_ENV
python setup.py install
python setup.py install_headers
popd
Next, set RENPY_DEPS_INSTALL To a \:-separated (\;-separated on Windows)
list of paths containing the dependencies, and RENPY_CYTHON to the name
of the cython command::
export RENPY_DEPS_INSTALL="/usr:/usr/lib/$(uname -m)-linux-gnu/"
export RENPY_CYTHON=cython
Finally, use setup.py in the Ren'Py ``module`` directory to compile and
install the modules that support Ren'Py::
pushd module
python setup.py install
popd
Finally, use setup.py to compile extension modules that support Ren'Py::
python setup.py install
Ren'Py will be installed into the activated virtualenv. It can then be run
using the command::
python -O renpy.py
python renpy.py
Other Platforms
---------------
Where supported, Ren'Py will attempt to find include directories and library paths
using pkg-config. If pkg-config is not present, include and library paths can be
specified using CFLAGS and LDFLAGS.
If RENPY_CFLAGS is present in the environment and CFLAGS is not, setup.py
will set CFLAGS to RENPY_CFLAGS. The same is true for RENPY_LDFLAGS,
RENPY_CC, RENPY_CXX, and RENPY_LD.
Setup.py does not support cross-compiling. See https://github.com/renpy/renpy-build
for software that cross-compiles Ren'Py for many platforms.
Documentation
@@ -107,7 +137,7 @@ link in a nightly build, or compile the modules as described above. You'll
also need the `Sphinx <https://www.sphinx-doc.org>`_ documentation generator.
If you have pip working, install Sphinx using::
pip install -U sphinx sphinx-bootstrap-theme
pip install -U sphinx sphinx_rtd_theme sphinx_rtd_dark_mode
Once Sphinx is installed, change into the ``sphinx`` directory inside the
Ren'Py checkout and run::
+9 -1
View File
@@ -53,4 +53,12 @@ The quality is not perfect, but it should make sense to any developer
fluent in Finnish but not English. Adjustments will be made if better
translations are suggested.
* Lari Liuhamo (Diapolo10) <lari.liuhamo+github116504@gmail.com>
* Lari Liuhamo (Diapolo10) <lari.liuhamo+github116504@gmail.com>
Ukrainian
---------
Translation to Ukrainian language. Most of translations provided by Veydzher.
Feel free to report me any mistakes, fixes or improvements.
* Veydzher <veydzherdgswift008@gmail.com>
+12 -5
View File
@@ -8,18 +8,25 @@ import sys
from renpy import version_tuple # @UnresolvedImport
branch = os.popen("git branch --show-current").read().strip()
SOURCE = [
"/home/tom/ab/renpy",
"/home/tom/ab/renpy-build",
"/home/tom/ab/renpy-build-" + branch,
"/home/tom/ab/pygame_sdl2",
"/home/tom/ab/renpy-build/renpyweb",
]
version = ".".join(str(i) for i in version_tuple)
short_version = ".".join(str(i) for i in version_tuple[:-1])
major = short_version.split(".")[0]
from renpy.versions import generate_vc_version
version = generate_vc_version()["version"]
short_version = version.rpartition(".")[0]
major = version.partition(".")[0]
print("Version", version)
if major == '7':
SOURCE.append("/home/tom/ab/renpy-build-fix/renpyweb")
ap = argparse.ArgumentParser()
ap.add_argument("--release", action="store_true")
+57 -51
View File
@@ -17,13 +17,34 @@ import time
import collections
try:
# reload is built-in in Python 2, in importlib in Python 3
reload # type: ignore
except NameError:
from importlib import reload
except ImportError:
pass
ROOT = os.path.dirname(os.path.abspath(__file__))
def zip_rapt_symbols(destination):
"""
Zips up the rapt symbols.
"""
import zipfile
if PY2:
zf = zipfile.ZipFile(destination + "/android-native-symbols.zip", "w", zipfile.ZIP_DEFLATED)
else:
zf = zipfile.ZipFile(destination + "/android-native-symbols.zip", "w", zipfile.ZIP_DEFLATED, compresslevel=3)
for dn, dirs, files in os.walk("rapt/symbols"):
for fn in dirs + files:
fn = os.path.join(dn, fn)
arcname = os.path.relpath(fn, "rapt/symbols")
zf.write(fn, arcname)
zf.close()
def copy_tutorial_file(src, dest):
"""
Copies a file from src to dst. Lines between "# tutorial-only" and
@@ -72,74 +93,63 @@ def main():
ap.add_argument("--notarized", action="store_true", dest="notarized")
ap.add_argument("--vc-version-only", action="store_true")
ap.add_argument("--link-directories", action="store_true")
ap.add_argument("--append-version", action="store_true")
ap.add_argument("--nightly", action="store_true")
ap.add_argument("--print-version", action="store_true")
args = ap.parse_args()
link_directory("rapt")
link_directory("renios")
link_directory("web")
if args.link_directories:
import renpy.versions
renpy.versions.generate_vc_version(nightly=args.nightly)
if args.link_directories or args.vc_version_only:
return
if not os.path.abspath(sys.executable).startswith(ROOT + "/lib"):
raise Exception("Distribute must be run with the python in lib/.")
if args.sign:
os.environ["RENPY_MAC_IDENTITY"] = "Developer ID Application: Tom Rothamel (XHTE5H7Z79)"
if PY2 and not sys.flags.optimize:
raise Exception("Not running with python optimization.")
if not os.path.abspath(sys.executable).startswith(ROOT + "/lib"):
raise Exception("Distribute must be run with the python in lib/.")
# Revision updating is done early, so we can do it even if the rest
# of the program fails.
# Determine the version. We grab the current revision, and if any
# file has changed, bump it by 1.
import renpy
if args.version is None:
args.version = ".".join(str(i) for i in renpy.version_tuple[:-1]) # @UndefinedVariable
try:
s = subprocess.check_output([ "git", "describe", "--tags", "--dirty", ]).decode("utf-8").strip()
parts = s.strip().split("-")
dirty = "dirty" in parts
vc_version_base = os.path.splitext(renpy.vc_version.__file__)[0]
commits_per_day = collections.defaultdict(int)
# Delete the .pyc and .pyo files, as reload can choose one of them instead
# of the new .py file.
for fn in [ vc_version_base + ".pyc", vc_version_base + ".pyo" ]:
if os.path.exists(fn):
os.unlink(fn)
for i in subprocess.check_output([ "git", "log", "-99", "--pretty=%cd", "--date=format:%Y%m%d", "--follow", "HEAD", "--", "." ]).decode("utf-8").split():
commits_per_day[i[2:]] += 1
if dirty:
key = time.strftime("%Y%m%d")[2:]
vc_version = "{}{:02d}".format(key, commits_per_day[key] + 1)
else:
key = max(commits_per_day.keys())
vc_version = "{}{:02d}".format(key, commits_per_day[key])
reload(renpy.vc_version)
except Exception:
vc_version = 0
import renpy.vc_version
with open("renpy/vc_version.py", "w") as f:
import socket
official = socket.gethostname() == "eileen"
nightly = args.version and "nightly" in args.version
# A normal reload is fine, as renpy/__init__.py won't change.
reload(renpy)
f.write("vc_version = {}\n".format(vc_version))
f.write("official = {}\n".format(official))
f.write("nightly = {}\n".format(nightly))
if args.vc_version_only:
if args.print_version:
print(renpy.version_only)
return
try:
reload(sys.modules['renpy.vc_version']) # @UndefinedVariable
except Exception:
import renpy.vc_version # @UnusedImport
if args.version is None:
if args.nightly:
args.version = renpy.version_only
else:
args.version = ".".join(str(i) for i in renpy.version_tuple[:-1])
reload(sys.modules['renpy'])
if args.append_version:
args.version += "-" + renpy.version_only
# Check that the versions match.
full_version = renpy.version_only # @UndefinedVariable
if "-" not in args.version \
and not full_version.startswith(args.version):
raise Exception("The command-line and Ren'Py versions do not match.")
@@ -162,11 +172,6 @@ def main():
else:
renpy_sh = "./renpy2.sh"
# Perhaps autobuild.
if "RENPY_BUILD_ALL" in os.environ:
print("Autobuild...")
subprocess.check_call(["scripts/autobuild.sh"])
# Compile all the python files.
compileall.compile_dir("renpy/", ddir="renpy/", force=True, quiet=1)
@@ -197,6 +202,7 @@ def main():
if not os.path.exists(destination):
os.makedirs(destination)
zip_rapt_symbols(destination)
if args.fast:
@@ -246,7 +252,7 @@ def main():
"-q",
"egg_info",
"--tag-build",
"-for-renpy-" + args.version,
"+renpy" + args.version.replace("+", "-"),
"sdist",
"-d",
os.path.abspath(destination)
+5
View File
@@ -0,0 +1,5 @@
*.c
*.so
*.egg-info
*.html
build
+1
View File
@@ -0,0 +1 @@
../../renpy/cslots.pyx
+8
View File
@@ -0,0 +1,8 @@
from setuptools import setup, Extension
setup(
name="cslots",
version="1.0.0",
ext_modules=[
Extension("cslots", [ "cslots.pyx" ]),
])
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
set -e
cython -a cslots.pyx
pip install -e .
python3 -m pytest
+262
View File
@@ -0,0 +1,262 @@
import sys
import pickle
from cslots import Object, Slot, IntegerSlot
class C1(Object):
str1 : str|None = None
int1 : int = 0
def __init__(self, str1=None, int1=1):
self.str1 = str1
self.int1 = int1
class C2(C1):
str2 : str|None = None
int2 : int = 0
def __init__(self, str1=None, int1=0, str2=None, int2=0):
self.str1 = str1
self.int1 = int1
self.str2 = str2
self.int2 = int2
def test_slot_count():
assert C1._cslot_count == 2
assert C2._cslot_count == 4
def test_slots():
o = C2()
assert o.str1 is None
assert o.int1 == 0
assert o.str2 is None
assert o.int2 == 0
o.str1 = "hello"
o.int1 = 42
o.str2 = "world"
o.int2 = 43
assert o.str1 == "hello"
assert o.int1 == 42
assert o.str2 == "world"
assert o.int2 == 43
o.str1 = None
o.int1 = 0
o.str2 = None
o.int2 = 0
assert o.str1 is None
assert o.int1 == 0
assert o.str2 is None
assert o.int2 == 0
def test_compress():
def expect_size(o, values, indexes):
assert sys.getsizeof(o) == 32 + 8 * values + indexes
o = C2()
o.str1 = "hello"
o.int1 = 42
o.str2 = "world"
o.int2 = 43
expect_size(o, 4, 4)
o._compress()
assert o.str1 == "hello"
assert o.int1 == 42
assert o.str2 == "world"
assert o.int2 == 43
expect_size(o, 4, 4)
o = C2()
o.str2 = "world"
o.int2 = 43
o._compress()
assert o.str1 is None
assert o.int1 == 0
assert o.str2 == "world"
assert o.int2 == 43
expect_size(o, 2, 4)
o = C2()
o.str1 = "hello"
o._compress()
assert o.str1 == "hello"
assert o.int1 == 0
assert o.str2 is None
assert o.int2 == 0
expect_size(o, 1, 1)
def test_decompress():
def expect_size(o, values, indexes):
assert sys.getsizeof(o) == 32 + 8 * values + indexes
o = C2()
o.str1 = "hello"
o.int1 = 42
o.str2 = "world"
o.int2 = 43
expect_size(o, 4, 4)
o._compress()
o._decompress()
assert o.str1 == "hello"
assert o.int1 == 42
assert o.str2 == "world"
assert o.int2 == 43
expect_size(o, 4, 4)
o = C2()
o.str2 = "world"
o.int2 = 43
o._compress()
o._decompress()
assert o.str1 is None
assert o.int1 == 0
assert o.str2 == "world"
assert o.int2 == 43
expect_size(o, 4, 4)
o = C2()
o.str1 = "hello"
o._compress()
o._decompress()
assert o.str1 == "hello"
assert o.int1 == 0
assert o.str2 is None
assert o.int2 == 0
expect_size(o, 4, 4)
def test_kill():
o = C2()
o.str1 = "hello"
o.int1 = 42
o.str2 = "world"
o.int2 = 43
o._kill()
assert o.str1 is None
assert o.int1 == 0
assert o.str2 is None
assert o.int2 == 0
o = C2()
o.str2 = "world"
o.int2 = 43
o._compress()
o._kill()
assert o.str1 is None
assert o.int1 == 0
assert o.str2 is None
assert o.int2 == 0
def test_pickle():
o = C2()
o.str1 = "hello"
o.int1 = 42
o.str2 = "world"
o.int2 = 43
o = pickle.loads(pickle.dumps(o))
assert o.str1 == "hello"
assert o.int1 == 42
assert o.str2 == "world"
assert o.int2 == 43
o = C2()
o.str2 = "world"
o.int2 = 43
o = pickle.loads(pickle.dumps(o))
assert o.str1 is None
assert o.int1 == 0
assert o.str2 == "world"
assert o.int2 == 43
o = C2()
o.str1 = "hello"
o = pickle.loads(pickle.dumps(o))
assert o.str1 == "hello"
assert o.int1 == 0
assert o.str2 is None
assert o.int2 == 0
def test_pickle_compressed():
o = C2()
o.str1 = "hello"
o.int1 = 42
o.str2 = "world"
o.int2 = 43
o._compress()
o = pickle.loads(pickle.dumps(o))
assert o.str1 == "hello"
assert o.int1 == 42
assert o.str2 == "world"
assert o.int2 == 43
o = C2()
o.str2 = "world"
o.int2 = 43
o._compress()
o = pickle.loads(pickle.dumps(o))
assert o.str1 is None
assert o.int1 == 0
assert o.str2 == "world"
assert o.int2 == 43
o = C2()
o.str1 = "hello"
o._compress()
o = pickle.loads(pickle.dumps(o))
assert o.str1 == "hello"
assert o.int1 == 0
assert o.str2 is None
assert o.int2 == 0
+7 -1
View File
@@ -11,6 +11,8 @@ init offset = -2
init python:
gui.init(1280, 720)
## Enable checks for invalid or unstable properties in screens or transforms
define config.check_conflicting_properties = True
################################################################################
@@ -326,7 +328,7 @@ define gui.vbar_borders = Borders(gui.scale(4), gui.scale(4), gui.scale(4), gui.
define gui.vscrollbar_borders = Borders(gui.scale(4), gui.scale(4), gui.scale(4), gui.scale(4))
define gui.vslider_borders = Borders(gui.scale(4), gui.scale(4), gui.scale(4), gui.scale(4))
## What to do with unscrollable scrollbars in the gui. "hide" hides them, while
## What to do with unscrollable scrollbars in the game menu. "hide" hides them, while
## None shows them.
define gui.unscrollable = "hide"
@@ -342,6 +344,9 @@ define config.history_length = 250
## at the cost of performance.
define gui.history_height = gui.scale(140)
## Additional space to add between history screen entries.
define gui.history_spacing = 0
## The position, width, and alignment of the label giving the name of the
## speaking character.
define gui.history_name_xpos = gui.scale(155)
@@ -399,6 +404,7 @@ define gui.nvl_thought_xalign = 0.0
define gui.nvl_button_xpos = gui.scale(450)
define gui.nvl_button_xalign = 0.0
## Localization ################################################################
## This controls where a line break is permitted. The default is suitable for
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

+1
View File
@@ -0,0 +1 @@
## When this file exists, Ren'Py will load files in game/libs before other files in game.
+3 -3
View File
@@ -200,9 +200,9 @@ init python:
build.documentation('*.txt')
## A Google Play license key is required to download expansion files and
## perform in-app purchases. It can be found on the "Services & APIs" page
## of the Google Play developer console.
## A Google Play license key is required to perform in-app purchases.
## It can be found in the Google Play developer console,
## under "Monetize" > "Monetization Setup" > "Licensing".
# define build.google_play_key = "..."
+152 -44
View File
@@ -96,7 +96,6 @@ style frame:
## https://www.renpy.org/doc/html/screen_special.html#say
screen say(who, what):
style_prefix "say"
window:
id "window"
@@ -228,7 +227,7 @@ style choice_button is default:
properties gui.button_properties("choice_button")
style choice_button_text is default:
properties gui.button_text_properties("choice_button")
properties gui.text_properties("choice_button")
## Quick Menu screen ###########################################################
@@ -245,9 +244,7 @@ screen quick_menu():
hbox:
style_prefix "quick"
xalign 0.5
yalign 1.0
style "quick_menu"
textbutton _("Back") action Rollback()
textbutton _("History") action ShowMenu('history')
@@ -266,14 +263,19 @@ init python:
default quick_menu = True
style quick_menu is hbox
style quick_button is default
style quick_button_text is button_text
style quick_menu:
xalign 0.5
yalign 1.0
style quick_button:
properties gui.button_properties("quick_button")
style quick_button_text:
properties gui.button_text_properties("quick_button")
properties gui.text_properties("quick_button")
################################################################################
@@ -338,7 +340,7 @@ style navigation_button:
properties gui.button_properties("navigation_button")
style navigation_button_text:
properties gui.button_text_properties("navigation_button")
properties gui.text_properties("navigation_button")
## Main Menu screen ############################################################
@@ -408,11 +410,11 @@ style main_menu_version:
## This lays out the basic common structure of a game menu screen. It's called
## with the screen title, and displays the background, title, and navigation.
##
## The scroll parameter can be None, or one of "viewport" or "vpgrid". When
## this screen is intended to be used with one or more children, which are
## The scroll parameter can be None, or one of "viewport" or "vpgrid".
## This screen is intended to be used with one or more children, which are
## transcluded (placed) inside it.
screen game_menu(title, scroll=None, yinitial=0.0):
screen game_menu(title, scroll=None, yinitial=0.0, spacing=0):
style_prefix "game_menu"
@@ -445,6 +447,8 @@ screen game_menu(title, scroll=None, yinitial=0.0):
side_yfill True
vbox:
spacing spacing
transclude
elif scroll == "vpgrid":
@@ -460,6 +464,8 @@ screen game_menu(title, scroll=None, yinitial=0.0):
side_yfill True
spacing spacing
transclude
else:
@@ -646,27 +652,42 @@ screen file_slots(title):
key "save_delete" action FileDelete(slot)
## Buttons to access other pages.
hbox:
vbox:
style_prefix "page"
xalign 0.5
yalign 1.0
spacing gui.page_spacing
hbox:
xalign 0.5
textbutton _("<") action FilePagePrevious()
spacing gui.page_spacing
if config.has_autosave:
textbutton _("{#auto_page}A") action FilePage("auto")
textbutton _("<") action FilePagePrevious()
key "save_page_prev" action FilePagePrevious()
if config.has_quicksave:
textbutton _("{#quick_page}Q") action FilePage("quick")
if config.has_autosave:
textbutton _("{#auto_page}A") action FilePage("auto")
## range(1, 10) gives the numbers from 1 to 9.
for page in range(1, 10):
textbutton "[page]" action FilePage(page)
if config.has_quicksave:
textbutton _("{#quick_page}Q") action FilePage("quick")
textbutton _(">") action FilePageNext()
## range(1, 10) gives the numbers from 1 to 9.
for page in range(1, 10):
textbutton "[page]" action FilePage(page)
textbutton _(">") action FilePageNext()
key "save_page_next" action FilePageNext()
if config.has_sync:
if CurrentScreenName() == "save":
textbutton _("Upload Sync"):
action UploadSync()
xalign 0.5
else:
textbutton _("Download Sync"):
action DownloadSync()
xalign 0.5
style page_label is gui_label
@@ -682,9 +703,10 @@ style slot_name_text is slot_button_text
style page_label:
xpadding gui.scale(50)
ypadding gui.scale(3)
xalign 0.5
style page_label_text:
text_align 0.5
textalign 0.5
layout "subtitle"
hover_color gui.hover_color
@@ -692,13 +714,13 @@ style page_button:
properties gui.button_properties("page_button")
style page_button_text:
properties gui.button_text_properties("page_button")
properties gui.text_properties("page_button")
style slot_button:
properties gui.button_properties("slot_button")
style slot_button_text:
properties gui.button_text_properties("slot_button")
properties gui.text_properties("slot_button")
## Preferences screen ##########################################################
@@ -833,7 +855,7 @@ style radio_button:
foreground "gui/button/radio_[prefix_]foreground.png"
style radio_button_text:
properties gui.button_text_properties("radio_button")
properties gui.text_properties("radio_button")
style check_vbox:
spacing gui.pref_button_spacing
@@ -843,7 +865,7 @@ style check_button:
foreground "gui/button/check_[prefix_]foreground.png"
style check_button_text:
properties gui.button_text_properties("check_button")
properties gui.text_properties("check_button")
style slider_slider:
xsize gui.scale(350)
@@ -854,7 +876,7 @@ style slider_button:
left_margin gui.scale(10)
style slider_button_text:
properties gui.button_text_properties("slider_button")
properties gui.text_properties("slider_button")
style slider_vbox:
xsize gui.scale(450)
@@ -875,7 +897,7 @@ screen history():
## Avoid predicting this screen, as it can be very large.
predict False
use game_menu(_("History"), scroll=("vpgrid" if gui.history_height else "viewport"), yinitial=1.0):
use game_menu(_("History"), scroll=("vpgrid" if gui.history_height else "viewport"), yinitial=1.0, spacing=gui.history_spacing):
style_prefix "history"
@@ -932,7 +954,7 @@ style history_name:
style history_name_text:
min_width gui.history_name_width
text_align gui.history_name_xalign
textalign gui.history_name_xalign
style history_text:
xpos gui.history_text_xpos
@@ -940,7 +962,7 @@ style history_text:
xanchor gui.history_text_xalign
xsize gui.history_text_width
min_width gui.history_text_width
text_align gui.history_text_xalign
textalign gui.history_text_xalign
layout ("subtitle" if gui.history_text_xalign else "tex")
style history_label:
@@ -1051,7 +1073,7 @@ screen mouse_help():
text _("Accesses the game menu.")
hbox:
label _("Mouse Wheel Up\nClick Rollback Side")
label _("Mouse Wheel Up")
text _("Rolls back to earlier dialogue.")
hbox:
@@ -1073,13 +1095,12 @@ screen gamepad_help():
label _("Right Shoulder")
text _("Rolls forward to later dialogue.")
hbox:
label _("D-Pad, Sticks")
text _("Navigate the interface.")
hbox:
label _("Start, Guide")
label _("Start, Guide, B/Right Button")
text _("Accesses the game menu.")
hbox:
@@ -1100,7 +1121,7 @@ style help_button:
xmargin gui.scale(8)
style help_button_text:
properties gui.button_text_properties("help_button")
properties gui.text_properties("help_button")
style help_label:
xsize gui.scale(250)
@@ -1109,7 +1130,7 @@ style help_label:
style help_label_text:
size gui.text_size
xalign 1.0
text_align 1.0
textalign 1.0
@@ -1171,14 +1192,14 @@ style confirm_frame:
yalign .5
style confirm_prompt_text:
text_align 0.5
textalign 0.5
layout "subtitle"
style confirm_button:
properties gui.button_properties("confirm_button")
style confirm_button_text:
properties gui.button_text_properties("confirm_button")
properties gui.text_properties("confirm_button")
## Skip indicator screen #######################################################
@@ -1365,7 +1386,7 @@ style nvl_label:
yanchor 0.0
xsize gui.nvl_name_width
min_width gui.nvl_name_width
text_align gui.nvl_name_xalign
textalign gui.nvl_name_xalign
style nvl_dialogue:
xpos gui.nvl_text_xpos
@@ -1373,7 +1394,7 @@ style nvl_dialogue:
ypos gui.nvl_text_ypos
xsize gui.nvl_text_width
min_width gui.nvl_text_width
text_align gui.nvl_text_xalign
textalign gui.nvl_text_xalign
layout ("subtitle" if gui.nvl_text_xalign else "tex")
style nvl_thought:
@@ -1382,7 +1403,7 @@ style nvl_thought:
ypos gui.nvl_thought_ypos
xsize gui.nvl_thought_width
min_width gui.nvl_thought_width
text_align gui.nvl_thought_xalign
textalign gui.nvl_thought_xalign
layout ("subtitle" if gui.nvl_text_xalign else "tex")
style nvl_button:
@@ -1391,7 +1412,96 @@ style nvl_button:
xanchor gui.nvl_button_xalign
style nvl_button_text:
properties gui.button_text_properties("nvl_button")
properties gui.text_properties("nvl_button")
## Bubble screen ###############################################################
##
## The bubble screen is used to display dialogue to the player when using
## speech bubbles. The bubble screen takes the same parameters as the say
## screen, must create a displayable with the id of "what", and can create
## displayables with the "namebox", "who", and "window" ids.
##
## https://www.renpy.org/doc/html/bubble.html#bubble-screen
screen bubble(who, what):
style_prefix "bubble"
window:
id "window"
if who is not None:
window:
id "namebox"
style "bubble_namebox"
text who:
id "who"
text what:
id "what"
style bubble_window is empty
style bubble_namebox is empty
style bubble_who is default
style bubble_what is default
style bubble_window:
xpadding 30
top_padding 5
bottom_padding 5
style bubble_namebox:
xalign 0.5
style bubble_who:
xalign 0.5
textalign 0.5
color "#000"
style bubble_what:
align (0.5, 0.5)
text_align 0.5
layout "subtitle"
color "#000"
define bubble.frame = Frame("gui/bubble.png", 55, 55, 55, 95)
define bubble.thoughtframe = Frame("gui/thoughtbubble.png", 55, 55, 55, 55)
define bubble.properties = {
"bottom_left" : {
"window_background" : Transform(bubble.frame, xzoom=1, yzoom=1),
"window_bottom_padding" : 27,
},
"bottom_right" : {
"window_background" : Transform(bubble.frame, xzoom=-1, yzoom=1),
"window_bottom_padding" : 27,
},
"top_left" : {
"window_background" : Transform(bubble.frame, xzoom=1, yzoom=-1),
"window_top_padding" : 27,
},
"top_right" : {
"window_background" : Transform(bubble.frame, xzoom=-1, yzoom=-1),
"window_top_padding" : 27,
},
"thought" : {
"window_background" : bubble.thoughtframe,
}
}
define bubble.expand_area = {
"bottom_left" : (0, 0, 0, 22),
"bottom_right" : (0, 0, 0, 22),
"top_left" : (0, 22, 0, 0),
"top_right" : (0, 22, 0, 0),
"thought" : (0, 0, 0, 0),
}
@@ -1413,11 +1523,9 @@ screen quick_menu():
if quick_menu:
hbox:
style "quick_menu"
style_prefix "quick"
xalign 0.5
yalign 1.0
textbutton _("Back") action Rollback()
textbutton _("Skip") action Skip() alternate Skip(fast=True, confirm=True)
textbutton _("Auto") action Preference("auto-forward", "toggle")
+9 -5
View File
@@ -8,14 +8,14 @@ class Editor(renpy.editor.Editor):
has_projects = True
system = __file__.endswith(" (System).edit.py")
def get_code(self):
"""
Returns the path to the code executable.
"""
system = __file__.endswith(" (System).edit.py")
if system:
if self.system:
if "RENPY_VSCODE" in os.environ:
return os.environ["RENPY_VSCODE"]
@@ -42,7 +42,7 @@ class Editor(renpy.editor.Editor):
elif renpy.arch == "armv7l":
arch = "arm"
else:
arch = "x86_64"
arch = "x64"
code = os.path.join(RENPY_VSCODE, "VSCode-linux-" + arch, "bin", "code")
else:
@@ -65,7 +65,11 @@ class Editor(renpy.editor.Editor):
self.args.reverse()
code = self.get_code()
args = [ code, "-g" ] + self.args
if self.system or not renpy.linux:
args = [ code, "-g" ] + self.args
else:
args = [ code, "--no-sandbox", "-g" ] + self.args
args = [ renpy.exports.fsencode(i) for i in args ]
if renpy.windows:
+9 -5
View File
@@ -8,14 +8,14 @@ class Editor(renpy.editor.Editor):
has_projects = True
system = __file__.endswith(" (System).edit.py")
def get_code(self):
"""
Returns the path to the code executable.
"""
system = __file__.endswith(" (System).edit.py")
if system:
if self.system:
if "RENPY_VSCODE" in os.environ:
return os.environ["RENPY_VSCODE"]
@@ -42,7 +42,7 @@ class Editor(renpy.editor.Editor):
elif renpy.arch == "armv7l":
arch = "arm"
else:
arch = "x86_64"
arch = "x64"
code = os.path.join(RENPY_VSCODE, "VSCode-linux-" + arch, "bin", "code")
else:
@@ -65,7 +65,11 @@ class Editor(renpy.editor.Editor):
self.args.reverse()
code = self.get_code()
args = [ code, "-g" ] + self.args
if self.system or not renpy.linux:
args = [ code, "-g" ] + self.args
else:
args = [ code, "--no-sandbox", "-g" ] + self.args
args = [ renpy.exports.fsencode(i) for i in args ]
if renpy.windows:
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
+58 -38
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -31,22 +31,22 @@ init python:
ANDROID_NO_BUNDLE = 6
ANDROID_OK = 7
JDK_REQUIREMENT = 42
NO_RAPT_TEXT = _("To build Android packages, please download RAPT, unzip it, and place it into the Ren'Py directory. Then restart the Ren'Py launcher.")
NO_JDK_TEXT = _("A 64-bit/x64 Java 8 Development Kit is required to build Android packages on Windows. The JDK is different from the JRE, so it's possible you have Java without having the JDK.\n\nPlease {a=https://adoptopenjdk.net/?variant=openjdk8&jvmVariant=hotspot}download and install the JDK{/a}, then restart the Ren'Py launcher.")
NO_SDK_TEXT = _("RAPT has been installed, but you'll need to install the Android SDK before you can build Android packages. Choose Install SDK to do this.")
NO_KEY_TEXT = _("RAPT has been installed, but a key hasn't been configured. Please create a new key, or restore android.keystore.")
NO_BUNDLE_KEY_TEXT = _("RAPT has been installed, but a bundle key hasn't been configured. Please create a new key, or restore bundle.keystore.")
NO_KEY_TEXT = _("RAPT has been installed, but a key hasn't been configured. Please generate new keys, or copy android.keystore and bundle.keystore to the base directory.")
NO_CONFIG_TEXT = _("The current project has not been configured. Use \"Configure\" to configure it before building.")
NO_BUNDLE_TEXT = _("Please select if you want a Play Bundle (for Google Play), or a Universal APK (for sideloading and other app stores).")
OK_TEXT = _("Choose \"Build\" to build the current project, or attach an Android device and choose \"Build & Install\" to build and install it on the device.")
PHONE_TEXT = _("Attempts to emulate an Android phone.\n\nTouch input is emulated through the mouse, but only when the button is held down. Escape is mapped to the menu button, and PageUp is mapped to the back button.")
TABLET_TEXT = _("Attempts to emulate an Android tablet.\n\nTouch input is emulated through the mouse, but only when the button is held down. Escape is mapped to the menu button, and PageUp is mapped to the back button.")
OUYA_TEXT = _("Attempts to emulate a televison-based Android console, like the OUYA or Fire TV.\n\nController input is mapped to the arrow keys, Enter is mapped to the select button, Escape is mapped to the menu button, and PageUp is mapped to the back button.")
OUYA_TEXT = _("Attempts to emulate a televison-based Android console.\n\nController input is mapped to the arrow keys, Enter is mapped to the select button, Escape is mapped to the menu button, and PageUp is mapped to the back button.")
INSTALL_SDK_TEXT = _("Downloads and installs the Android SDK and supporting packages. Optionally, generates the keys required to sign the package.")
INSTALL_SDK_TEXT = _("Downloads and installs the Android SDK and supporting packages.")
GENERATE_KEYS_TEXT = _("Generates the keys required to sign the package.")
CONFIGURE_TEXT = _("Configures the package name, version, and other information about this project.")
PLAY_KEYS_TEXT = _("Opens the file containing the Google Play keys in the editor.\n\nThis is only needed if the application is using an expansion APK. Read the documentation for more details.")
BUILD_TEXT = _("Builds the Android package.")
BUILD_AND_INSTALL_TEXT = _("Builds the Android package, and installs it on an Android device connected to your computer.")
BUILD_INSTALL_AND_LAUNCH_TEXT = _("Builds the Android package, installs it on an Android device connected to your computer, then launches the app on your device.")
@@ -62,7 +62,6 @@ init python:
PLAY_BUNDLE_TEXT = _("Builds an Android App Bundle (ABB), intended to be uploaded to Google Play. This can include up to 2GB of data.")
UNIVERSAL_APK_TEXT = _("Builds a Universal APK package, intended for sideloading and stores other than Google Play. This can include up to 2GB of data.")
import subprocess
import re
import os
@@ -94,13 +93,17 @@ init python:
import rapt.install_sdk
import rapt.plat
import rapt.interface
import rapt.keys
rapt.plat.renpy = True
rapt.plat.translate = __
JDK_REQUIREMENT = rapt.plat.jdk_requirement
else:
rapt = None
def AndroidState():
"""
Determines the state of the android install, and returns it.
@@ -108,15 +111,14 @@ init python:
if RAPT_PATH is None:
return ANDROID_NO_RAPT
if renpy.windows and not "JAVA_HOME" in os.environ:
return ANDROID_NO_JDK
if not os.path.exists(rapt.plat.adb):
return ANDROID_NO_SDK
if not os.path.exists(rapt.plat.path("project/local.properties")):
if not rapt.keys.keys_exist(project.current.path):
return ANDROID_NO_KEY
if not os.path.exists(rapt.plat.path("project/bundle.properties")):
return ANDROID_NO_BUNDLE_KEY
if not os.path.exists(os.path.join(project.current.path, ".android.json")):
if not any([
os.path.exists(os.path.join(project.current.path, "android.json")),
os.path.exists(os.path.join(project.current.path, ".android.json"))
]):
return ANDROID_NO_CONFIG
if persistent.android_bundle is None:
return ANDROID_NO_BUNDLE
@@ -131,14 +133,10 @@ init python:
if state == ANDROID_NO_RAPT:
return NO_RAPT_TEXT
if state == ANDROID_NO_JDK:
return NO_JDK_TEXT
if state == ANDROID_NO_SDK:
return NO_SDK_TEXT
if state == ANDROID_NO_KEY:
return NO_KEY_TEXT
if state == ANDROID_NO_BUNDLE_KEY:
return NO_BUNDLE_KEY_TEXT
if state == ANDROID_NO_CONFIG:
return NO_CONFIG_TEXT
if state == ANDROID_NO_BUNDLE:
@@ -181,34 +179,26 @@ init python:
build = p.dump["build"]
filename = os.path.join(p.path, ".android.json")
with open(filename, "r") as f:
android_json = json.load(f)
old_android_json = dict(android_json)
c = rapt.configure.Configuration(p.path)
if "google_play_key" in build:
android_json["google_play_key"] = build["google_play_key"]
c.google_play_key = build["google_play_key"]
else:
android_json.pop("google_play_key", None)
c.google_play_key = None
if "google_play_salt" in build:
if len(build["google_play_salt"]) != 20:
raise Exception("build.google_play_salt must be exactly 20 bytes long.")
android_json["google_play_salt"] = ", ".join(str(i) for i in build["google_play_salt"])
c.google_play_salt = ", ".join(str(i) for i in build["google_play_salt"])
else:
android_json.pop("google_play_salt", None)
c.google_play_salt = None
if android_json != old_android_json:
with open(filename, "w") as f:
json.dump(android_json, f)
c.save(p.path)
def android_build(p=None, gui=True, bundle=False, install=False, launch=False, destination=None, opendir=False):
def android_build(p=None, gui=True, bundle=False, install=False, launch=False, destination=None, opendir=False, packages=None):
"""
This actually builds the package.
"""
@@ -230,9 +220,12 @@ init python:
reporter = distribute.TextReporter()
rapt_interface = rapt.interface.Interface()
if not packages:
packages = ['android']
distribute.Distributor(p,
reporter=reporter,
packages=[ 'android' ],
packages=packages,
build_update=False,
noarchive=True,
packagedest=dist,
@@ -288,7 +281,16 @@ init python:
with interface.nolinks():
rapt.build.build(rapt_interface, dist, bundle=bundle, install=install, launch=launch, finished=finished, permissions=p.dump['build']['android_permissions'])
rapt.build.build(
rapt_interface,
dist,
p.path,
bundle=bundle,
install=install,
launch=launch,
finished=finished,
permissions=p.dump['build']['android_permissions'],
version=p.dump['build']['version'])
def android_build_argument(cmd):
@@ -388,12 +390,16 @@ screen android:
frame style "l_indent":
has vbox
textbutton _("Install SDK & Create Keys"):
textbutton _("Install SDK"):
action AndroidIfState(state, ANDROID_NO_SDK, Jump("android_installsdk"))
hovered tt.Action(INSTALL_SDK_TEXT)
textbutton _("Generate Keys"):
action AndroidIfState(state, ANDROID_NO_KEY, Jump("android_keys"))
hovered tt.Action(GENERATE_KEYS_TEXT)
textbutton _("Configure"):
action AndroidIfState(state, ANDROID_NO_CONFIG, Jump("android_configure"))
action AndroidIfState(state, ANDROID_NO_KEY, Jump("android_configure"))
hovered tt.Action(CONFIGURE_TEXT)
add SPACER
@@ -509,6 +515,14 @@ label android_installsdk:
jump android
label android_keys:
python:
rapt.keys.generate_keys(MobileInterface("android"), project.current.path)
jump android
label android_configure:
python:
@@ -700,6 +714,7 @@ init python:
ap.add_argument("--install", action="store_true", help="Installs the app on a device.")
ap.add_argument("--launch", action="store_true", help="Launches the app after build and install complete. Implies --install.")
ap.add_argument("--destination", "--dest", default=None, action="store", help="The directory where the packaged files should be placed.")
ap.add_argument("--package", action="append", help="If given, a package to build. Defaults to building the 'android' package.")
args = ap.parse_args()
@@ -708,7 +723,12 @@ init python:
p = project.Project(args.android_project)
android_build(p=p, gui=False, bundle=args.bundle, install=args.install, launch=args.launch, destination=args.destination)
if args.package:
packages = args.package
else:
packages = None
android_build(p=p, gui=False, bundle=args.bundle, install=args.install, launch=args.launch, destination=args.destination, packages=packages)
return False
+14 -12
View File
@@ -1,4 +1,4 @@
# This file contains strings used by RAPT, so the Ren'Py translation framework
# can find them. It's automatically generated by rapt/update_translations.py, and
# hence should not be changed by hand.
@@ -27,21 +27,24 @@ init python hide:
__("The package name may not contain two dots in a row, or begin or end with a dot.")
__("Each part of the package name must start with a letter, and contain only letters, numbers, and underscores.")
__("{} is a Java keyword, and can't be used as part of a package name.")
__("What is the application's version?\n\nThis should be the human-readable version that you would present to a person. It must contain only numbers and dots.")
__("The version number must contain only numbers and dots.")
__("How much RAM do you want to allocate to Gradle?\n\nThis must be a positive integer number.")
__("The RAM size must contain only numbers.")
__("How much RAM (in GB) do you want to allocate to Gradle?\nThis must be a positive integer number.")
__("The RAM size must contain only numbers and be positive.")
__("How would you like your application to be displayed?")
__("In landscape orientation.")
__("In portrait orientation.")
__("In the user's preferred orientation.")
__("Which app store would you like to support in-app purchasing through?")
__("Google Play.")
__("Amazon App Store.")
__("Both, in one app.")
__("Neither.")
__("Do you want to automatically update the Java source code?")
__("Yes. This is the best choice for most projects.")
__("No. This may require manual updates when Ren'Py or the project configuration changes.")
__("Unknown configuration variable: {}")
__("I'm compiling a short test program, to see if you have a working JDK on your system.")
__("I was unable to use javac to compile a test file. If you haven't installed the Java Development Kit yet, please download it from:\n\n{a=https://adoptium.net/?variant=openjdk8}https://adoptium.net/?variant=openjdk8{/a}\n\nThe JDK is different from the JRE, so it's possible you have Java without having the JDK. Please make sure you installed the 'JavaSoft (Oracle) registry keys'.\n\nWithout a working JDK, I can't continue.")
__("The version of Java on your computer does not appear to be JDK 8, which is the only version supported by the Android SDK. If you need to install JDK 8, you can download it from:\n\n{a=https://adoptium.net/?variant=openjdk8}https://adoptium.net/?variant=openjdk8{/a}\n\nYou can also set the JAVA_HOME environment variable to use a different version of Java.")
__("I was unable to use javac to compile a test file. If you haven't installed the Java Development Kit yet, please download it from:\n\n{a=https://adoptium.net}https://adoptium.net/{/a}\n\nThe JDK is different from the JRE, so it's possible you have Java without having the JDK. Please install JDK [JDK_REQUIREMENT], and add it to your PATH.\n\nWithout a working JDK, I can't continue.")
__("The version of Java on your computer does not appear to be JDK [JDK_REQUIREMENT], which is required to build Android apps. If you need to install a newer JDK, you can download it from:\n\n{a=https://adoptium.net/}https://adoptium.net/{/a}, and add it to your PATH.\n\nYou can also set the JAVA_HOME environment variable to use a different version of Java.")
__("The JDK is present and working. Good!")
__("The Android SDK has already been unpacked.")
__("Do you accept the Android SDK Terms and Conditions?")
@@ -53,13 +56,12 @@ init python hide:
__("I was unable to accept the Android licenses.")
__("I was unable to install the required Android packages.")
__("I've finished installing the required Android packages.")
__("It looks like you're ready to start packaging games.")
__("Please enter your name or the name of your organization.")
__("I can create an application signing key for you. This key is required to create Universal APK for sideloading and stores other than Google Play.\n\nDo you want to create a key?")
__("I found an android.keystore file in the rapt directory. Do you want to use this file?")
__("I will create the key in the android.keystore file.\n\nYou need to back this file up. If you lose it, you will not be able to upgrade your application.\n\nYou also need to keep the key safe. If evil people get this file, they could make fake versions of your application, and potentially steal your users' data.\n\nWill you make a backup of android.keystore, and keep it in a safe place?")
__("\n\nSaying 'No' will prevent key creation.")
__("Could not create android.keystore. Is keytool in your path?")
__("I've finished creating android.keystore. Please back it up, and keep it in a safe place.")
__("I can create a bundle signing key for you. This key is required to build an Android App Bundle (AAB) for upload to Google Play.\n\nDo you want to create a key?")
__("I will create the key in the bundle.keystore file.\n\nYou need to back this file up. If you lose it, you will not be able to upgrade your application.\n\nYou also need to keep the key safe. If evil people get this file, they could make fake versions of your application, and potentially steal your users' data.\n\nWill you make a backup of bundle.keystore, and keep it in a safe place?")
__("Could not create bundle.keystore. Is keytool in your path?")
__("I found a bundle.keystore file in the rapt directory. Do you want to use this file?")
__("I've opened the directory containing android.keystore and bundle.keystore. Please back them up, and keep them in a safe place.")
__("It looks like you're ready to start packaging games.")
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
+5 -15
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -76,24 +76,14 @@ class BinFile(object):
self.addr = addr
def tostring(self):
if PY2:
return self.a.tostring() # type: ignore
else:
return self.a.tobytes()
return self.a.tobytes()
def substring(self, start, len): # @ReservedAssignment
if PY2:
return self.a[start:start + len].tostring() # type: ignore
else:
return self.a[start:start + len].tobytes()
return self.a[start:start + len].tobytes()
def __init__(self, data):
self.a = array.array('B')
if PY2:
self.a.fromstring(data) # type: ignore
else:
self.a.frombytes(data)
self.a.frombytes(data)
##############################################################################
# These functions parse data out of the file. In these functions, offset is
@@ -396,7 +386,7 @@ def change_icons(oldexe, icofn):
#Image size is the memory size of all sections + all headers, padded to memory alignment.
#There's alread a header size, and this isn't changing headers, so just add.
#There's already a header size, and this isn't changing headers, so just add.
#imageSize = pe.OPTIONAL_HEADER.ImageBase + pe.OPTIONAL_HEADER.SizeOfHeaders
imageSize = pe.OPTIONAL_HEADER.SizeOfHeaders
for s in pe.sections:
+20 -22
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -41,7 +41,7 @@ init python:
except Exception:
return False
def choose_directory(path):
def choose_directory(default_path):
"""
Pops up a directory chooser.
@@ -54,33 +54,31 @@ init python:
rather than user choice.
"""
if path:
default_path = path
path = None
else:
try:
default_path = os.path.dirname(os.path.abspath(config.renpy_base))
except Exception:
default_path = os.path.abspath(config.renpy_base)
if _renpytfd:
path = _renpytfd.selectFolderDialog(__("Select Projects Directory"), default_path)
else:
path = None
is_default = False
if default_path is None:
try:
default_path = os.path.dirname(os.path.abspath(config.renpy_base))
except Exception:
default_path = os.path.abspath(config.renpy_base)
# Path being None or "" means nothing was selected.
if not path:
path = default_path
is_default = True
if default_path is None or not os.path.isdir(default_path) or not directory_is_writable(default_path):
interface.error(_("No directory was selected, but one is required."))
return default_path, True
# Apply more thorough checks to an explicit path.
path = renpy.fsdecode(path)
if (not os.path.isdir(path)) or (not directory_is_writable(path)):
interface.error(_("The selected projects directory is not writable."))
path = default_path
is_default = True
if not os.path.isdir(path):
interface.error(_("The selected directory does not exist."))
elif not directory_is_writable(path):
interface.error(_("The selected directory is not writable."))
if is_default and (not directory_is_writable(path)):
path = os.path.expanduser("~")
return path, is_default
return path, False
+5 -6
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -24,7 +24,6 @@ init python:
import codecs
import re
import sys
import future.utils
def theme_names():
"""
@@ -98,7 +97,7 @@ init python:
return
renpy.style.restore(style_backup)
future.utils.exec_(theme_data.THEME[theme][scheme], globals(), globals())
exec(theme_data.THEME[theme][scheme], globals(), globals())
# Rebuild the style cache.
renpy.style.rebuild(False)
@@ -168,8 +167,8 @@ init python:
def list_logical_lines(filename):
"""
This reads in filename, and turns it into a list of logical
lines.
This reads in filename, and turns it into a list of logical
lines.
"""
f = codecs.open(filename, "rb", "utf-8")
@@ -188,7 +187,7 @@ init python:
# The line that we're building up.
line = ""
# The number of open parenthesis there are right now.
# The number of open parenthesis there are right now.
parendepth = 0
# Looping over the characters in a single logical line.
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
+216 -142
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -61,7 +61,9 @@ init python in distribute:
minor=sys.version_info.minor,
)
# Going from 7.4 to 7.5 or 8.0, the library directory changed.
# * Going from 7.4 to 7.5 or 8.0, the library directory changed.
# * 7.7 called os.makedirs with exist_ok=True, even on Python 2.
# * 8.2 wouldn't save the DLC state.
RENPY_PATCH = py("""\
def change_renpy_executable():
import sys, os, renpy, site
@@ -70,6 +72,35 @@ def change_renpy_executable():
sys.renpy_executable = os.path.join(renpy.config.renpy_base, "lib", "py{major}-" + site.RENPY_PLATFORM, os.path.basename(sys.renpy_executable))
change_renpy_executable()
if sys.version_info.major == 2:
os.old_makedirs = getattr(os, "old_makedirs", os.makedirs)
def makedirs(name, mode=0o777, exist_ok=False):
if exist_ok and os.path.exists(name):
return
os.old_makedirs(name, mode)
os.makedirs = makedirs
def fix_dlc(name, fn):
import sys, os
if not os.path.exists(os.path.join(config.renpy_base, fn)):
return
u = sys._getframe(2).f_locals["self"]
if name in u.current_state:
return
u.add_dlc_state(name)
fix_dlc("steam", "lib/py3-linux-x86_64/libsteam_api.so")
fix_dlc("steam", "lib/py2-linux-x86_64/libsteam_api.so")
fix_dlc("web", "web")
fix_dlc("rapt", "rapt")
fix_dlc("renios", "renios")
""")
match_cache = { }
@@ -368,13 +399,15 @@ change_renpy_executable()
duplicate is set.
"""
prefix = py("lib/py{major}-mac-universal")
for f in list(self):
if f.name.startswith("lib/python") and (not duplicate):
name = app + "/Contents/Resources/" + f.name
elif f.name.startswith(py("lib/py{major}-mac-x86_64")):
name = app + "/Contents/MacOS/" + f.name[19:]
elif f.name.startswith(prefix):
name = app + "/Contents/MacOS/" + f.name[len(prefix)+1:]
else:
continue
@@ -436,7 +469,7 @@ change_renpy_executable()
This manages the process of building distributions.
"""
def __init__(self, project, destination=None, reporter=None, packages=None, build_update=True, open_directory=False, noarchive=False, packagedest=None, report_success=True, scan=True, macapp=None, force_format=None):
def __init__(self, project, destination=None, reporter=None, packages=None, build_update=True, open_directory=False, noarchive=False, packagedest=None, report_success=True, scan=True, macapp=None, force_format=None, files_filter=None):
"""
Distributes `project`.
@@ -474,15 +507,16 @@ change_renpy_executable()
`force_format`
If given, forces the format of the distribution to be this.
`files_filter`
If given, use this object to decide which files must be included.
The object must contains the `filter(file, variant, format)`
method which must return True is the file must be included.
"""
# A map from a package to a unique update version hash.
self.update_versions = { }
# Map from destination file with extension to (that file's hash,
# hash of the file list)
self.build_cache = { }
# A map from file to its hash.
self.hash_cache = { }
@@ -514,10 +548,18 @@ change_renpy_executable()
# dictionaries.
data = project.data
# Reset the RPU update builder.
RPUPackage.reset()
if scan:
self.reporter.info(_("Scanning project files..."))
project.update_dump(force=True, gui=False, compile=project.data['force_recompile'])
if project.data['tutorial']:
self.reporter.info(_("Building distributions failed:\n\nThe project is the Ren'Py Tutorial, which can't be distributed outside of Ren'Py. Consider using The Question as a test project."), pause=True)
self.log.close()
return
if project.data['force_recompile']:
import compileall
@@ -541,7 +583,10 @@ change_renpy_executable()
self.pretty_version = build['version']
if (" " in self.base_name) or (":" in self.base_name) or (";" in self.base_name):
reporter.info(_("Building distributions failed:\n\nThe build.directory_name variable may not include the space, colon, or semicolon characters."), pause=True)
reporter.info(
_("Building distributions failed:\n\nThe build.directory_name variable may not include the space, colon, or semicolon characters."),
submessage=_("This may be derived from build.name and config.version or build.version."),
pause=True)
self.log.close()
return
@@ -559,13 +604,14 @@ change_renpy_executable()
except Exception:
pass
self.load_build_cache()
self.packagedest = packagedest
self.include_update = build['include_update']
self.build_update = self.include_update and build_update
if self.include_update:
self.make_key_pem()
# The various executables, which change names based on self.executable_name.
self.app = self.executable_name + ".app"
self.exe = self.executable_name + ".exe"
@@ -612,7 +658,6 @@ change_renpy_executable()
# Build the mac app and windows exes.
self.add_mac_files()
self.add_windows_files()
self.add_main_py()
# Add the main.py.
self.add_main_py()
@@ -646,6 +691,8 @@ change_renpy_executable()
# The time of the update version.
self.update_version = int(time.time())
self.files_filter = files_filter
for p in build_packages:
formats = p["formats"]
@@ -661,20 +708,18 @@ change_renpy_executable()
dlc=p["dlc"])
if self.build_update and p["update"]:
self.make_package(
p["name"],
"update",
p["file_lists"],
dlc=p["dlc"])
for update_format in self.list_update_formats():
self.make_package(
p["name"],
update_format,
p["file_lists"],
dlc=p["dlc"])
wait_parallel_threads()
if self.build_update:
self.finish_updates(build_packages)
if not packagedest:
self.save_build_cache()
# Finish up.
self.log.close()
@@ -684,6 +729,23 @@ change_renpy_executable()
if open_directory:
renpy.run(store.OpenDirectory(self.destination, absolute=True))
def list_update_formats(self):
"""
Returns a list of update formats to build.
"""
rv = [ ]
for update_format in self.build["update_formats"]:
if update_format == "rpu":
rv.append("rpu")
elif update_format == "zsync":
rv.append("update")
else:
raise Exception("Unknown update format: " + update_format)
return rv
def scan_and_classify(self, directory, patterns):
"""
Walks through the `directory`, finds files and directories that
@@ -708,29 +770,37 @@ change_renpy_executable()
is_dir = os.path.isdir(path)
if is_dir:
match_name = name + "/"
match_names = [ name + "/", name ]
else:
match_name = name
match_names = [ name ]
for pattern, file_list in patterns:
if match(match_name, pattern):
matched = False
# When we have ('test/**', None), avoid excluding test.
if (not file_list) and is_dir:
new_pattern = pattern.rstrip("*")
if (pattern != new_pattern) and match(match_name, new_pattern):
continue
for match_name in match_names:
if match(match_name, pattern):
# When we have ('test/**', None), avoid excluding test.
if (not file_list) and is_dir:
new_pattern = pattern.rstrip("*")
if (pattern != new_pattern) and match(match_name, new_pattern):
continue
matched = True
break
if matched:
break
else:
print(str(match_name), "doesn't match anything.", file=self.log)
print(str(match_names[0]), "doesn't match anything.", file=self.log)
pattern = None
file_list = None
print(str(match_name), "matches", str(pattern), "(" + str(file_list) + ").", file=self.log)
print(str(match_names[0]), "matches", str(pattern), "(" + str(file_list) + ").", file=self.log)
if file_list is None:
return
@@ -824,7 +894,7 @@ change_renpy_executable()
if not os.path.exists(path):
raise Exception("{} does not exist.".format(path))
if isinstance(file_list, basestring):
if isinstance(file_list, str):
file_list = file_list.split()
f = File(name, path, False, executable)
@@ -837,7 +907,7 @@ change_renpy_executable()
Adds an empty directory to the file lists.
"""
if isinstance(file_list, basestring):
if isinstance(file_list, str):
file_list = file_list.split()
f = File(name, None, True, False)
@@ -873,6 +943,15 @@ change_renpy_executable()
arcfn = arcname + ".rpa"
arcpath = self.temp_filename(arcfn)
# Create new directories leading to the new archive file relative to the tmp root
# if the archive's name indicates it should be in a subdirectory
arc_relpath = os.path.relpath(arcpath, self.project.tmp)
arc_subdir = os.path.dirname(arc_relpath)
if arc_subdir:
abs_subdir = os.path.join(self.project.tmp, arc_subdir)
os.makedirs(abs_subdir, exist_ok=True)
af = archiver.Archive(arcpath)
fll = len(self.file_lists[arcname])
@@ -911,10 +990,20 @@ change_renpy_executable()
script_version_txt = self.temp_filename("script_version.txt")
with open(script_version_txt, "w") as f:
f.write(unicode(repr(renpy.renpy.version_tuple[:-1])))
f.write(repr(renpy.renpy.version_tuple[:-1]))
self.add_file("all", "game/script_version.txt", script_version_txt)
if self.build["info"]:
build_info_json = self.temp_filename("build_info.json")
with open(build_info_json, "w") as f:
json.dump(self.build["info"], f)
self.add_file("all", "game/cache/build_info.json", build_info_json)
def add_file_list_hash(self, list_name):
"""
Hashes a file list, then adds that file to the Ren'Py distribution.
@@ -960,6 +1049,7 @@ change_renpy_executable()
CFBundleDisplayName=display_name,
CFBundleExecutable=executable_name,
CFBundleIconFile="icon",
CFBundleIdentifier="com.domain.game",
CFBundleInfoDictionaryVersion="6.0",
CFBundleName=display_name,
CFBundlePackageType="APPL",
@@ -990,11 +1080,8 @@ change_renpy_executable()
rv = self.temp_filename("Info.plist")
if PY2:
plistlib.writePlist(plist, rv)
else:
with open(rv, "wb") as f:
plistlib.dump(plist, f)
with open(rv, "wb") as f:
plistlib.dump(plist, f)
return rv
@@ -1015,12 +1102,14 @@ change_renpy_executable()
prefix = py("lib/py{major}-")
if os.path.exists(linux_i686):
i686fn = os.path.join(config.renpy_base, prefix + "linux-i686/renpy")
if os.path.exists(i686fn):
self.add_file(
linux_i686,
prefix + "linux-i686/" + self.executable_name,
os.path.join(config.renpy_base, prefix + "linux-i686/renpy"),
i686fn,
True)
self.add_file(
@@ -1029,16 +1118,6 @@ change_renpy_executable()
os.path.join(config.renpy_base, prefix + "linux-x86_64/renpy"),
True)
armfn = os.path.join(config.renpy_base, prefix + "linux-armv7l/renpy")
if os.path.exists(armfn):
self.add_file(
raspi,
prefix + "linux-armv7l/" + self.executable_name,
armfn,
True)
aarch64fn = os.path.join(config.renpy_base, prefix + "linux-aarch64/renpy")
if os.path.exists(aarch64fn):
@@ -1051,8 +1130,8 @@ change_renpy_executable()
self.add_file(
mac,
prefix + "mac-x86_64/" + self.executable_name,
os.path.join(config.renpy_base, prefix + "mac-x86_64/renpy"),
prefix + "mac-universal/" + self.executable_name,
os.path.join(config.renpy_base, prefix + "mac-universal/renpy"),
True)
def add_mac_files(self):
@@ -1076,7 +1155,7 @@ change_renpy_executable()
self.add_file(filelist,
contents + "/MacOS/" + self.executable_name,
os.path.join(config.renpy_base, py("lib/py{major}-mac-x86_64/renpy")))
os.path.join(config.renpy_base, py("lib/py{major}-mac-universal/renpy")))
custom_fn = os.path.join(self.project.path, "icon.icns")
@@ -1094,7 +1173,7 @@ change_renpy_executable()
if not self.build['renpy']:
self.add_directory(filelist, contents + "/MacOS/lib")
self.add_directory(filelist, contents + py("/MacOS/lib/py{major}-mac-x86_64"))
self.add_directory(filelist, contents + py("/MacOS/lib/py{major}-mac-universal"))
self.add_directory(filelist, contents + py("/Resources/lib/python{major}.{minor}"))
self.file_lists[filelist].mac_lib_transform(self.app, self.build['renpy'])
@@ -1141,19 +1220,8 @@ change_renpy_executable()
if os.path.exists(tmp):
self.add_file(fl, dst, tmp)
if PY2:
if self.build["include_i686"]:
write_exe("lib/py2-windows-i686/renpy.exe", self.exe32, self.exe32, windows_i686)
write_exe("lib/py2-windows-i686/pythonw.exe", "lib/py2-windows-i686/pythonw.exe", "pythonw-32.exe", windows_i686)
write_exe("lib/py2-windows-x86_64/renpy.exe", self.exe, self.exe, windows)
write_exe("lib/py2-windows-x86_64/pythonw.exe", "lib/py2-windows-x86_64/pythonw.exe", "pythonw-64.exe", windows)
else:
write_exe("lib/py3-windows-x86_64/renpy.exe", self.exe, self.exe, windows)
write_exe("lib/py3-windows-x86_64/pythonw.exe", "lib/py3-windows-x86_64/pythonw.exe", "pythonw-64.exe", windows)
write_exe("lib/py3-windows-x86_64/renpy.exe", self.exe, self.exe, windows)
write_exe("lib/py3-windows-x86_64/pythonw.exe", "lib/py3-windows-x86_64/pythonw.exe", "pythonw-64.exe", windows)
def add_main_py(self):
@@ -1308,13 +1376,13 @@ change_renpy_executable()
def workaround_mac_notarization(self, fl):
"""
This works around mac notarization by compressing the unsigned,
un-notarized, binaries in lib/py3-mac-x86_64.
un-notarized, binaries in lib/py3-mac-universal.
"""
fl = fl.copy()
for f in fl:
if py("/lib/py{major}-mac-x86_64/") in f.name:
if py("/lib/py{major}-mac-universal/") in f.name:
with open(f.path, "rb") as inf:
data = inf.read()
@@ -1396,6 +1464,7 @@ change_renpy_executable()
FORMATS = {
"update" : (".update", False, False, False),
"rpu" : ("", False, False, False),
"tar.bz2" : (".tar.bz2", False, False, True),
"zip" : (".zip", False, False, True),
@@ -1408,6 +1477,8 @@ change_renpy_executable()
"bare-tar.bz2" : (".tar.bz2", False, False, False),
"bare-zip" : (".zip", False, False, False),
"null" : ( "", True, False, False),
}
if format not in FORMATS:
@@ -1443,9 +1514,10 @@ change_renpy_executable()
update = { variant : { "version" : self.update_versions[variant], "base_name" : self.base_name, "files" : update_files, "directories" : update_directories, "xbit" : update_xbit } }
update_fn = os.path.join(self.destination, filename + ".update.json")
update_fn = self.temp_filename(filename + ".update.json")
if self.include_update and (variant not in [ 'ios', 'android', 'source']) and (not format.startswith("app-")):
if self.include_update and not format.startswith("app-"):
with open(update_fn, "w") as f:
json.dump(update, f, indent=2)
@@ -1454,6 +1526,9 @@ change_renpy_executable()
fl.append(File("update", None, True, False))
fl.append(File("update/current.json", update_fn, False, False))
if not dlc:
fl.append(File("update/key.pem", self.temp_filename("key.pem"), False, False))
# If we're not an update file, prepend the directory.
if (not dlc) and prepend:
fl.prepend_directory(filename)
@@ -1464,19 +1539,9 @@ change_renpy_executable()
full_filename = filename + ext
path += ext
if self.build['renpy']:
fl_hash = fl.hash(self)
else:
fl_hash = '<not building renpy>'
file_hash, old_fl_hash = self.build_cache.get(full_filename, ("", ""))
if (not directory) and (old_fl_hash == fl_hash) and not(self.build['renpy'] and (variant == "sdk")):
if file_hash:
self.build_cache[full_filename] = (file_hash, fl_hash)
return
if format == "rpu":
full_filename = "rpu/" + variant + ".files.rpu"
path = self.destination + "/" + full_filename
def done():
"""
@@ -1484,22 +1549,20 @@ change_renpy_executable()
in this thread or a background thread.
"""
if self.include_update and not self.build_update and not dlc:
final_update_fn = os.path.join(self.destination, filename + ".update.json")
if self.build_update or dlc:
if os.path.exists(update_fn):
os.unlink(update_fn)
if not directory:
file_hash = hash_file(path)
else:
file_hash = ""
if file_hash:
self.build_cache[full_filename] = (file_hash, fl_hash)
shutil.copy(update_fn, final_update_fn)
if format == "tar.bz2" or format == "bare-tar.bz2":
pkg = TarPackage(path, "w:bz2")
elif format == "update":
pkg = UpdatePackage(path, filename, self.destination)
elif format == "rpu":
pkg = RPUPackage(self.destination, variant)
elif format == "null":
pkg = NullPackage()
elif format == "zip" or format == "app-zip" or format == "bare-zip":
if self.build['renpy']:
pkg = ExternalZipPackage(path)
@@ -1529,17 +1592,20 @@ change_renpy_executable()
if f.directory:
pkg.add_directory(f.name, f.path)
else:
if self.files_filter is not None and not self.files_filter.filter(f, variant, format):
# Ignore file
continue
pkg.add_file(f.name, f.path, f.executable)
self.reporter.progress_done()
if format == "update":
# Build the zsync file.
self.reporter.info(_("Making the [variant] update zsync file."), variant=variant)
pkg.close()
def close_progress(done, total):
self.reporter.progress(_("Finishing the [variant] [format] package."), done, total, variant=variant, format=format)
pkg.close(close_progress)
if done is not None:
done()
@@ -1560,65 +1626,72 @@ change_renpy_executable()
def add_variant(variant):
digest = self.build_cache[self.base_name + "-" + variant + ".update"][0]
sums_size = os.path.getsize(self.destination + "/" + self.base_name + "-" + variant + ".sums")
index[variant] = {
"version" : self.update_versions[variant],
"pretty_version" : self.pretty_version,
"digest" : digest,
"zsync_url" : self.base_name + "-" + variant + ".zsync",
"sums_url" : self.base_name + "-" + variant + ".sums",
"sums_size" : sums_size,
"json_url" : self.base_name + "-" + variant + ".update.json",
}
"renpy_version" : renpy.version_only,
}
fn = renpy.fsencode(os.path.join(self.destination, self.base_name + "-" + variant + ".update"))
if "zsync" in self.build["update_formats"]:
if os.path.exists(fn):
os.unlink(fn)
digest = hash_file(self.destination + "/" + self.base_name + "-" + variant + ".update")
sums_size = os.path.getsize(self.destination + "/" + self.base_name + "-" + variant + ".sums")
index[variant].update({
"digest" : digest,
"zsync_url" : self.base_name + "-" + variant + ".zsync",
"sums_url" : self.base_name + "-" + variant + ".sums",
"sums_size" : sums_size,
"json_url" : self.base_name + "-" + variant + ".update.json",
})
fn = renpy.fsencode(os.path.join(self.destination, self.base_name + "-" + variant + ".update"))
if os.path.exists(fn):
os.unlink(fn)
if "rpu" in self.build["update_formats"]:
index[variant]["rpu_url"] = "rpu/" + variant + ".files.rpu"
index[variant]["rpu_digest"] = hash_file(self.destination + "/rpu/" + variant + ".files.rpu")
for p in packages:
if p["update"]:
add_variant(p["name"])
update_data = json.dumps(index, indent=2)
if not isinstance(update_data, bytes):
update_data = update_data.encode("utf-8")
fn = renpy.fsencode(os.path.join(self.destination, "updates.json"))
with open(fn, "w") as f:
json.dump(index, f, indent=2)
with open(fn, "wb") as f:
f.write(update_data)
# Write the signed file.
import ecdsa
def save_build_cache(self):
if not self.build['renpy']:
return
with open(self.find_update_pem(), "rb") as f:
signing_key = ecdsa.SigningKey.from_pem(f.read())
fn = renpy.fsencode(os.path.join(self.destination, ".build_cache"))
fn = renpy.fsencode(os.path.join(self.destination, "updates.ecdsa"))
with open(fn, "wb") as f:
f.write(signing_key.sign(update_data))
with open(fn, "w", encoding="utf-8") as f:
for k, v in self.build_cache.items():
l = "\t".join([k, v[0], v[1]]) + "\n"
f.write(l)
def find_update_pem(self):
if self.build['renpy']:
return os.path.join(config.renpy_base, "update.pem")
else:
return os.path.join(self.project.path, "update.pem")
def load_build_cache(self):
if not self.build['renpy']:
return
def make_key_pem(self):
import ecdsa
fn = renpy.fsencode(os.path.join(self.destination, ".build_cache"))
with open(self.find_update_pem(), "rb") as f:
signing_key = ecdsa.SigningKey.from_pem(f.read())
if not os.path.exists(fn):
return
with open(fn, "rb") as f:
for l in f:
if not l:
continue
l = l.decode("utf-8").rstrip()
l = l.split("\t")
self.build_cache[l[0]] = (l[1], l[2])
os.unlink(fn)
key_pem = self.temp_filename("key.pem")
with open(key_pem, "wb") as f:
f.write(signing_key.verifying_key.to_pem())
def dump(self):
for k, v in sorted(self.file_lists.items()):
@@ -1714,8 +1787,9 @@ change_renpy_executable()
reporter.info(_("Recompiling all rpy files into rpyc files..."))
project.launch([ "compile", "--keep-orphan-rpyc" ], wait=True)
files = [fn + "c" for fn in project.script_files()
if fn.startswith("game/") and project.exists(fn + "c")]
files = [
fn + "c" for fn in project.script_files()
if fn.startswith("game/") and project.exists(fn + "c")]
len_files = len(files)
if not files:
+24 -2
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -222,7 +222,13 @@ screen build_distributions:
for pkg in packages:
if not pkg["hidden"]:
$ description = pkg["description"]
textbutton "[description!q]" action PackageToggle(pkg["name"]) style "l_checkbox"
button:
action PackageToggle(pkg["name"]) style "l_checkbox"
hbox:
spacing 3
text "[description!q]"
if pkg["dlc"]:
text _("(DLC)")
add SPACER
add HALF_SPACER
@@ -261,7 +267,23 @@ label start_update_old_game:
call update_old_game
jump build_distributions
label add_update_pem:
python hide:
interface.info("You're trying to build an update, but an update.pem file doesn't exist.\n\nThis file is used to sign updates, and will be automatically created in your projects's base directory.\n\nYou'll need to back up update.pem and keep it safe.", cancel=Jump("build_distributions"))
import ecdsa
key = ecdsa.SigningKey.generate(curve=ecdsa.NIST256p).to_pem()
with open(os.path.join(project.current.path, "update.pem"), "wb") as f:
f.write(key)
return
label start_distribute:
if project.current.dump["build"]["include_update"] and not os.path.exists(os.path.join(project.current.path, "update.pem")):
call add_update_pem
if project.current.data["add_from"]:
call add_from_common
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
+9 -27
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -21,27 +21,13 @@
init python:
import requests
import urllib.request
import os
import threading
import time
ssl_context_cache = None
def ssl_context():
"""
Returns the SSL context.
"""
global ssl_context_cache
if ssl_context_cache is None:
import ssl
import certifi
ssl_context_cache = ssl.create_default_context(purpose=ssl.Purpose.SERVER_AUTH, cafile=certifi.where())
return ssl_context_cache
class Downloader(object):
def __init__(self, url, dest):
@@ -66,14 +52,14 @@ init python:
# This is set to true by cancel() to indicate the download should be cancelled.
self.cancelled = False
# Set on succes or failure.
# Set on success or failure.
self.success = False
self.failure = None
try:
# Open the URL.
self.urlfile = urllib.request.urlopen(url, context=ssl_context())
self.urlfile = requests.get(url, stream=True, proxies=renpy.proxies, timeout=15)
t = threading.Thread(target=self.thread)
t.daemon = True
@@ -92,12 +78,7 @@ init python:
else:
length = 0
while not self.cancelled:
data = self.urlfile.read(65536)
if not data:
break
for data in self.urlfile.iter_content(1024 * 1024):
count += len(data)
self.tmpfile.write(data)
@@ -105,6 +86,9 @@ init python:
if length > 0:
self.progress = 1.0 * count / length
if self.cancelled:
break
self.tmpfile.close()
if self.cancelled:
@@ -122,7 +106,6 @@ init python:
except Exception as e:
self.failure = str(e)
def safe_unlink(self, fn):
if os.path.exists(fn):
os.unlink(fn)
@@ -164,4 +147,3 @@ init python:
def periodic(self, st):
self.adjustment.change(self.downloader.progress)
return .25
+136 -37
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -112,7 +112,7 @@ init 1 python in editor:
editor is installed or not.
"""
def __init__(self, priority, name, description=None, dlc=None, dldescription=None, error_message=None):
def __init__(self, priority, name, description=None, dlc=None, dldescription=None, error_message=None, deprecated=False):
# The priority of the editor. Lower priorities will come later
# in the list.
self.priority = priority
@@ -135,6 +135,29 @@ init 1 python in editor:
# An error message to display if the editor failed to start.
self.error_message = error_message
# If the editor is considered deprecated for use with Ren'Py.
self.deprecated = deprecated
def vscode_path():
"""
Gets the path to VS Code for this platform.
"""
if renpy.windows:
return os.path.join(config.renpy_base, "vscode/VSCode-win32-x64")
elif renpy.macintosh:
return os.path.join(config.renpy_base, "vscode/Visual Studio Code.app")
else:
if renpy.arch == "aarch64":
arch = "arm64"
elif renpy.arch == "armv7l":
arch = "arm"
else:
arch = "x64"
return os.path.join(config.renpy_base, "vscode/VSCode-linux-" + arch)
def fancy_scan_editors():
"""
Creates the list of FancyEditorInfo objects.
@@ -152,19 +175,7 @@ init 1 python in editor:
AD1 = _("A modern editor with many extensions including advanced Ren'Py integration.")
AD2 = _("A modern editor with many extensions including advanced Ren'Py integration.\n{a=jump:reinstall_vscode}Upgrade Visual Studio Code to the latest version.{/a}")
if renpy.windows:
installed = os.path.exists(os.path.join(config.renpy_base, "vscode/VSCode-win32-x64"))
elif renpy.macintosh:
installed = os.path.exists(os.path.join(config.renpy_base, "vscode/Visual Studio Code.app"))
else:
if renpy.arch == "aarch64":
arch = "arm64"
elif renpy.arch == "armv7l":
arch = "arm"
else:
arch = "x86_64"
installed = os.path.exists(os.path.join(config.renpy_base, "vscode/VSCode-linux-" + arch))
installed = os.path.exists(vscode_path())
e = FancyEditorInfo(
0,
@@ -179,7 +190,7 @@ init 1 python in editor:
fei.append(e)
# Atom.
AD = _("A modern and approachable text editor.")
AD = _("Atom is deprecated and its bugs are known for corrupting games, using another editor is recommended.")
if renpy.windows:
dlc = "atom-windows"
@@ -197,25 +208,30 @@ init 1 python in editor:
1,
_("Atom"),
AD,
dlc,
"extension:atom",
_("Up to 150 MB download required."),
None)
None,
deprecated=True,
)
e.installed = e.installed and (installed or 'RENPY_ATOM' in os.environ)
fei.append(e)
# jEdit
if os.path.exists(os.path.join(config.renpy_base, "jedit")):
# jEdit - Only present if it exists on system.
e = FancyEditorInfo(
2,
_("jEdit"),
_("JEdit is deprecated, using another editor is recommended."),
"jedit",
_("1.8 MB download required."),
_("This may have occurred because Java is not installed on this system."),
deprecated=True,
)
fei.append(FancyEditorInfo(
2,
_("jEdit"),
_("A mature editor that requires Java."),
"jedit",
_("1.8 MB download required."),
_("This may have occured because Java is not installed on this system."),
))
e.installed = e.installed and os.path.exists(os.path.join(config.renpy_base, "jedit"))
fei.append(e)
fei.append(FancyEditorInfo(
3,
@@ -229,9 +245,6 @@ init 1 python in editor:
_("Invokes the editor your operating system has associated with .rpy files."),
None))
for k in editors:
if k in [ "Visual Studio Code", "Visual Studio Code (System)", "Atom", "jEdit", "System Editor", "None" ]:
continue
@@ -253,7 +266,7 @@ init 1 python in editor:
# If we're in a linux distro or something, assume all editors work.
if not updater.can_update():
for i in fei:
if i.dlc and not i.dlc.startswith("extension:"):
if i.dlc and not i.dlc.startswith("extension:") and not i.deprecated:
i.installed = True
def fancy_activate_editor(default=False):
@@ -398,7 +411,7 @@ init 1 python in editor:
except Exception as e:
exception = traceback.format_exception_only(type(e), e)[-1][:-1]
renpy.invoke_in_new_context(interface.error, _("An exception occured while launching the text editor:\n[exception!q]"), error_message, exception=exception)
renpy.invoke_in_new_context(interface.error, _("An exception occurred while launching the text editor:\n[exception!q]"), error_message, exception=exception)
class EditAbsolute(Action):
def __init__(self, filename, line=None, check=False):
@@ -444,7 +457,7 @@ init 1 python in editor:
except Exception as e:
exception = traceback.format_exception_only(type(e), e)[-1][:-1]
renpy.invoke_in_new_context(interface.error, _("An exception occured while launching the text editor:\n[exception!q]"), error_message, exception=exception)
renpy.invoke_in_new_context(interface.error, _("An exception occurred while launching the text editor:\n[exception!q]"), error_message, exception=exception)
class EditAll(Action):
@@ -482,7 +495,7 @@ init 1 python in editor:
except Exception as e:
exception = traceback.format_exception_only(type(e), e)[-1][:-1]
renpy.invoke_in_new_context(interface.error, _("An exception occured while launching the text editor:\n[exception!q]"), error_message, exception=exception)
renpy.invoke_in_new_context(interface.error, _("An exception occurred while launching the text editor:\n[exception!q]"), error_message, exception=exception)
class EditProject(Action):
@@ -505,7 +518,7 @@ init 1 python in editor:
except Exception as e:
exception = traceback.format_exception_only(type(e), e)[-1][:-1]
renpy.invoke_in_new_context(interface.error, _("An exception occured while launching the text editor:\n[exception!q]"), error_message, exception=exception)
renpy.invoke_in_new_context(interface.error, _("An exception occurred while launching the text editor:\n[exception!q]"), error_message, exception=exception)
def CanEditProject():
@@ -520,6 +533,27 @@ init 1 python in editor:
return False
def check_old_vscode_extension():
"""
Check to see if the old version of the Ren'Py vscode extension is installed.
"""
extensions = os.path.join(vscode_path(), "data", "extensions")
if not os.path.isdir(extensions):
return False
for i in util.listdir(extensions):
if i.lower().startswith("renpy.language-renpy-"):
return False
for i in util.listdir(extensions):
if i.lower().startswith("luquedaniel.languague-renpy-"):
return True
return False
screen editor:
frame:
@@ -549,6 +583,9 @@ screen editor:
for fe in editor.fancy_editors:
if fe.deprecated and not fe.installed:
continue
add SPACER
textbutton fe.name action editor.SelectEditor(fe.name)
@@ -560,7 +597,10 @@ screen editor:
has vbox
if fe.description:
text fe.description style "l_small_text"
text fe.description:
style "l_small_text"
if fe.deprecated:
color ERROR_COLOR
if not fe.installed:
add HALF_SPACER
@@ -576,7 +616,66 @@ label reinstall_vscode:
jump editor_preference
label upgrade_vscode_extension:
python hide:
manifest = "vscode"
renpy.invoke_in_new_context(installer.manifest, "https://www.renpy.org/extensions/vscode/upgrade_extension.py", renpy=True)
jump post_extension_check
label editor_preference:
call screen editor
jump preferences
default persistent.ignore_obsolete_editor = set()
# This label is called when the launcher starts, to check if the editor
# is obsolete, and let them change it.
label editor_check:
if persistent.editor in persistent.ignore_obsolete_editor:
jump post_editor_check
if persistent.editor == "Atom":
$ result = interface.choice(
_("The Atom text editor is no longer supported by its developers. We suggest switching to Visual Studio Code or another editor."), [
( "select", _("Select editor now.")),
( "ignore", _("Ignore until next launch.")),
( "block", _("Do not ask again.")),
], "select")
else:
jump post_atom_check
if result == "select":
$ renpy.pop_call()
jump editor_preference
elif result == "block":
$ persistent.ignore_obsolete_editor.add(persistent.editor)
label post_atom_check:
if "luquedaniel.languague-renpy" in persistent.ignore_obsolete_editor:
jump post_extension_check
if persistent.editor != "Visual Studio Code":
jump post_extension_check
if editor.check_old_vscode_extension():
$ result = interface.choice(
_("You are using an old version of the Ren'Py Language support for Visual Studio Code. Would you like to upgrade?"), [
( "upgrade", _("Upgrade.")),
( "ignore", _("Ignore until next launch.")),
( "block", _("Do not ask again.")),
], "select")
if result == "upgrade":
jump upgrade_vscode_extension
elif result == "block":
$ persistent.ignore_obsolete_editor.add("luquedaniel.languague-renpy")
label post_extension_check:
jump post_editor_check
+24 -23
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -46,7 +46,7 @@ screen front_page:
right_margin 2
top_padding 20
bottom_padding 26
bottom_padding 13
side "t c b":
@@ -157,13 +157,11 @@ screen front_page_project:
label _("Open Directory") style "l_label_small"
frame style "l_indent":
has vbox
has grid 2 max(5, (len(p.get_renpy_launcher()["open_directory"]) + 1) // 2):
transpose True xfill True
textbutton _("game") action OpenDirectory(os.path.join(p.path, "game"), absolute=True)
textbutton _("base") action OpenDirectory(os.path.join(p.path, "."), absolute=True)
textbutton _("images") action OpenDirectory(os.path.join(p.path, "game/images"), absolute=True)
textbutton _("audio") action OpenDirectory(os.path.join(p.path, "game/audio"), absolute=True)
textbutton _("gui") action OpenDirectory(os.path.join(p.path, "game/gui"), absolute=True)
for button_name, path in p.get_renpy_launcher()["open_directory"].items():
textbutton button_name action OpenDirectory(os.path.join(p.path, path), absolute=True)
vbox:
if persistent.show_edit_funcs:
@@ -173,10 +171,8 @@ screen front_page_project:
frame style "l_indent":
has vbox
textbutton "script.rpy" action editor.Edit("game/script.rpy", check=True)
textbutton "options.rpy" action editor.Edit("game/options.rpy", check=True)
textbutton "gui.rpy" action editor.Edit("game/gui.rpy", check=True)
textbutton "screens.rpy" action editor.Edit("game/screens.rpy", check=True)
for button_name, path in p.get_renpy_launcher()["edit_file"].items():
textbutton button_name action editor.Edit(path, check=True)
if editor.CanEditProject():
textbutton _("Open project") action editor.EditProject()
@@ -195,7 +191,7 @@ screen front_page_project:
has vbox
textbutton _("Navigate Script") action Jump("navigation")
textbutton _("Check Script (Lint)") action Jump("lint")
textbutton _("Check Script (Lint)") action Call("lint")
if project.current.exists("game/gui.rpy"):
textbutton _("Change/Update GUI") action Jump("change_gui")
@@ -216,10 +212,7 @@ screen front_page_project:
textbutton _("Android") action Jump("android")
textbutton _("iOS") action Jump("ios")
textbutton _("Web") + " " + _("(Beta)") action Jump("web"):
if not PY2:
text_color DISABLED
textbutton _("Web") action Jump("web")
textbutton _("Generate Translations") action Jump("translate")
textbutton _("Extract Dialogue") action Jump("extract_dialogue")
@@ -230,23 +223,27 @@ label start:
show screen bottom_info
$ dmgcheck()
jump expression renpy.session.pop("launcher_start_label", "front_page")
jump expression renpy.session.pop("launcher_start_label", "before_front_page")
default persistent.has_chosen_language = False
default persistent.has_update = False
label front_page:
label before_front_page:
if (not persistent.has_chosen_language) or ("RENPY_CHOOSE_LANGUAGE" in os.environ):
if _preferences.language is None:
if (_preferences.language is None) or ("RENPY_CHOOSE_LANGUAGE" in os.environ):
hide screen bottom_info
call choose_language
show screen bottom_info
$ persistent.has_chosen_language = True
call editor_check
label post_editor_check:
label front_page:
if persistent.daily_update_check and ((not persistent.last_update_check) or (datetime.date.today() > persistent.last_update_check)):
python hide:
persistent.last_update_check = datetime.date.today()
@@ -262,14 +259,18 @@ label lint:
interface.processing(_("Checking script for potential problems..."))
lint_fn = project.current.temp_filename("lint.txt")
project.current.launch([ 'lint', lint_fn ], wait=True)
persistent.lint_options.discard("--orphan-tl") # compat
persistent.lint_options.discard("--builtins-parameters") # compat
persistent.lint_options.discard("--words-char-count") # compat
project.current.launch([ 'lint', lint_fn, ] + list(persistent.lint_options), wait=True)
e = renpy.editor.editor
e.begin(True)
e.open(lint_fn)
e.end()
jump front_page
return
label rmpersistent:
+63 -1
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -22,6 +22,19 @@
define gui.project_system_font = None
define gui.asian = False
# This is set in new_project before new_template_project is called,
# and provides the full path to the template project.
default gui_template_path = None
define LIBS_TXT = _("""\
The game/libs/ directory is meant for third-party libraries that ask to be
put in game/libs.
When this file (game/libs/libs.txt) is present, Ren'Py will load all files
in libs before any other file in game/, and will not consider directory names
when loading these files.
""")
init -1 python:
import gui7
@@ -448,3 +461,52 @@ label gui_generate_images:
project.current.launch([ 'gui_images' ], wait=True)
jump front_page
label new_template_project:
# Unused in new_template_project.
$ gui_size = (1920, 1080)
$ gui_color = (DARK_COLORS[0], "#000000", False)
python hide:
width, height = gui_size
accent, boring, light = gui_color
prefix = os.path.join(project_dir, "game")
template = os.path.join(gui_template_path, "game")
# Most of this isn't actually used.
p = gui7.GuiParameters(
prefix,
template,
width,
height,
accent,
boring,
light,
_preferences.language,
False,
True,
True,
project_name,
)
interface.processing(_("Creating the new project..."))
with interface.error_handling(_("creating a new project")):
gui7.generate_minimal(p)
# Activate the project.
with interface.error_handling(_("activating the new project")):
project.manager.scan()
project.Select(project.manager.get(project_name))()
call update_renpy_strings_common
python hide:
if gui.project_system_font:
with open(os.path.join(project.current.gamedir, "tl/None/common.rpym"), "ab") as f:
f.write("define gui.system_font = {!r}\r\n".format(gui.project_system_font).encode("utf-8"))
jump front_page
+62 -9
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -25,8 +25,22 @@ from gui7.parameters import GuiParameters
import renpy.arguments
import os
import shutil
def finish(p):
for dn in [ "images", "audio", "libs" ]:
fulldn = os.path.join(p.prefix, dn)
if not os.path.exists(fulldn):
os.mkdir(fulldn)
with open(os.path.join(p.prefix, "libs", "libs.txt"), "w") as f:
f.write(renpy.translation.translate_string(renpy.store.LIBS_TXT, language=p.language))
def generate_gui(p):
ImageGenerator(p).generate_all()
@@ -36,12 +50,40 @@ def generate_gui(p):
CodeGenerator(p).copy_script("script.rpy")
CodeGenerator(p).copy_files()
for dn in [ "images", "audio" ]:
finish(p)
fulldn = os.path.join(p.prefix, dn)
if not os.path.exists(fulldn):
os.mkdir(fulldn)
def generate_minimal(p):
# Copy the template over.
os.makedirs(os.path.dirname(p.prefix), 0o777)
shutil.copytree(p.template, p.prefix)
def delete(fn):
fn = os.path.join(p.prefix, fn)
if os.path.isdir(fn):
shutil.rmtree(fn)
elif os.path.exists(fn):
os.unlink(fn)
# Prune directories.
delete("cache")
delete("saves")
delete("tl")
# Prune files to be regenerated.
delete("gui.rpy")
delete("screens.rpy")
delete("options.rpy")
# Generate files.
CodeGenerator(p).generate_code("gui.rpy")
CodeGenerator(p).generate_code("screens.rpy")
CodeGenerator(p).generate_code("options.rpy")
CodeGenerator(p).copy_files()
finish(p)
def generate_gui_command():
@@ -60,7 +102,9 @@ def generate_gui_command():
ap.add_argument("--start", default=False, action="store_true", help="Starts a new project, replacing images and code.")
ap.add_argument("--replace-images", default=False, action="store_true", help="True if existing images should be overwritten.")
ap.add_argument("--replace-code", default=False, action="store_true", help="True if an existing gui.rpy file should be overwritten.")
ap.add_argument("--update-code", default=False, action="store_true", help="True if an existing gui.rpy file should be update.")
ap.add_argument("--update-code", default=False, action="store_true", help="True if an existing gui.rpy file should be updated.")
ap.add_argument("--minimal", default=False, action="store_true", help="Only update option.rpy and translations.")
args = ap.parse_args()
@@ -69,10 +113,16 @@ def generate_gui_command():
args.replace_code = True
args.update_code = True
if args.minimal:
args.replace_code = True
args.update_code = True
prefix = os.path.join(args.target, "game")
if not os.path.isdir(prefix):
ap.error("{} does not appear to be a Ren'Py game.".format(prefix))
if os.path.exists(args.target):
if not os.path.isdir(prefix):
ap.error("{} does not appear to be a Ren'Py game.".format(prefix))
template = os.path.join(args.template, "game")
@@ -94,6 +144,9 @@ def generate_gui_command():
os.path.basename(args.target),
)
generate_gui(p)
if args.minimal:
generate_minimal(p)
else:
generate_gui(p)
renpy.arguments.register_command("generate_gui", generate_gui_command)
+18 -8
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -121,8 +121,13 @@ class CodeGenerator(object):
else:
template = os.path.join(self.p.template, filename)
with codecs.open(template, "r", "utf-8") as f:
self.lines = [ i.rstrip().replace(u"\ufeff", "") for i in f ]
if not os.path.exists(template):
return False
else:
with codecs.open(template, "r", "utf-8") as f:
self.lines = [ i.rstrip().replace(u"\ufeff", "") for i in f ]
return True
def remove_scale(self):
@@ -167,7 +172,7 @@ class CodeGenerator(object):
for l in self.lines:
m = re.match('^(\s*)define (.*?) =', l)
m = re.match(r'^(\s*)define (.*?) =', l)
if m:
indent = m.group(1)
@@ -214,7 +219,8 @@ class CodeGenerator(object):
'gui.insensitive_color' : repr(self.p.insensitive_color.hexcode),
'gui.text_color' : repr(self.p.text_color.hexcode),
'gui.interface_text_color' : repr(self.p.text_color.hexcode),
'gui.choice_text_color' : repr(self.p.choice_color.hexcode),
'gui.choice_button_text_idle_color' : repr(self.p.idle_color.hexcode),
'gui.choice_button_text_insensitive_color' : repr(self.p.insensitive_color.hexcode),
}
self.update_defines(replacements, language_defines[self.p.language])
@@ -385,7 +391,9 @@ class CodeGenerator(object):
if not os.path.exists(src):
src = os.path.join(self.p.template, name)
self.load_template(src)
if not self.load_template(src):
return
self.remove_scale()
self.write_target(dst)
@@ -400,7 +408,8 @@ class CodeGenerator(object):
if not self.p.update_code:
return
self.load_template(fn)
if not self.load_template(fn):
return
if defines:
self.update_gui_defines()
@@ -421,7 +430,8 @@ class CodeGenerator(object):
if os.path.exists(target):
return
self.load_template(fn)
if not self.load_template(fn):
return
self.translate_strings()
self.translate_comments()
+17 -1
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -404,6 +404,21 @@ class ImageGenerator(object):
self.save(s, "main_menu", overwrite=False)
self.save(s, "game_menu", overwrite=False)
def generate_bubble(self):
import shutil
for fn in [ "bubble.png", "thoughtbubble.png" ]:
source = os.path.join(config.renpy_base, "gui", "game", "gui", fn)
dest = os.path.join(self.prefix, fn)
if source == dest:
return
shutil.copyfile(source, dest)
def generate_all(self):
self.generate_textbox()
self.generate_choice_button()
@@ -415,6 +430,7 @@ class ImageGenerator(object):
self.generate_notify()
self.generate_menus()
self.generate_icon()
self.generate_bubble()
if __name__ == "__main__":
+8 -4
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -61,14 +61,18 @@ class GuiParameters(object):
self.muted_color = self.accent_color.shade(.4)
self.hover_muted_color = self.accent_color.shade(.6)
self.menu_color = self.accent_color.replace_hsv_saturation(.25).replace_value(.5)
if light:
self.menu_color = self.accent_color.replace_hsv_saturation(.25).replace_value(.75)
else:
self.menu_color = self.accent_color.replace_hsv_saturation(.25).replace_value(.25)
self.title_color = self.accent_color.replace_hsv_saturation(.5).replace_value(1.0)
if light:
self.selected_color = Color("#555555")
self.idle_color = Color("#aaaaaa")
self.idle_small_color = Color("#888888")
self.idle_color = Color("#707070")
self.idle_small_color = Color("#606060")
self.text_color = Color("#404040")
self.choice_color = Color("#cccccc")
Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

+6 -13
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -81,27 +81,20 @@ init python:
label install_live2d:
python hide:
if PY2:
_prefix = r"lib/py2-"
else:
_prefix = r"lib/py3-"
_prefix = r"lib/py3-"
patterns = [
(r".*/Core/dll/linux/x86_64/(libLive2DCubismCore.so)", _prefix + r"linux-x86_64/\1"),
(r".*/Core/dll/windows/x86_64/(Live2DCubismCore.dll)", _prefix + r"windows-x86_64/\1"),
(r".*/Core/dll/windows/x86/(Live2DCubismCore.dll)", _prefix + r"windows-i686/\1"),
(r".*/Core/dll/macos/(libLive2DCubismCore.dylib)", _prefix + r"mac-x86_64/\1"),
(r".*/Core/dll/macos/(libLive2DCubismCore.dylib)", _prefix + r"mac-universal/\1"),
(r".*/Core/dll/experimental/rpi/(libLive2DCubismCore.so)", _prefix + r"linux-armv7l/\1"),
(r".*/Core/dll/android/(armeabi-v7a/libLive2DCubismCore.so)", r"rapt/prototype/renpyandroid/src/main/jniLibs/\1"),
(r".*/Core/dll/android/(arm64-v8a/libLive2DCubismCore.so)", r"rapt/prototype/renpyandroid/src/main/jniLibs/\1"),
# This doesn't exist yet.
# (r".*/Core/dll/android/(x86_64/libLive2DCubismCore.so)", r"rapt/prototype/renpyandroid/src/main/jniLibs/\1"),
(r".*/Core/dll/android/(x86_64/libLive2DCubismCore.so)", r"rapt/prototype/renpyandroid/src/main/jniLibs/\1"),
]
install_from_zip("Live2D Cubism SDK for Native", "CubismSdkForNative-4-*.zip", patterns)
install_from_zip("Live2D Cubism SDK for Native", "CubismSdkForNative-[45]-*.zip", patterns)
jump front_page
@@ -182,7 +175,7 @@ screen install_live2d():
style "l_indent"
has vbox
text _("The {a=https://www.live2d.com/en/download/cubism-sdk/download-native/}Cubism SDK for Native{/a} adds support for displaying Live2D models. Place CubismSdkForNative-4-{i}version{/i}.zip in the Ren'Py SDK directory, and then click Install. Distributing a game with Live2D requires you to accept a license from Live2D, Inc.")
text _("The {a=https://www.live2d.com/en/download/cubism-sdk/download-native/}Cubism SDK for Native{/a} adds support for displaying Live2D models. Place CubismSdkForNative-{i}version{/i}.zip in the Ren'Py SDK directory, and then click Install. Distributing a game with Live2D requires you to accept a license from Live2D, Inc.")
add SPACER
+8 -4
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -169,7 +169,7 @@ def _check_hash(filename, hashj):
download_file = ""
download_url = ""
def download(url, filename, hash=None):
def download(url, filename, hash=None, headers=None, requests_kwargs={}):
"""
Downloads `url` to `filename`, a tempfile.
"""
@@ -188,9 +188,13 @@ def download(url, filename, hash=None):
progress_time = time.time()
all_headers = {"User-Agent": 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 renpy/8'}
if headers:
all_headers.update(headers)
try:
response = requests.get(url, stream=True)
response = requests.get(url, stream=True, proxies=renpy.exports.proxies, timeout=15, headers=all_headers, **requests_kwargs)
response.raise_for_status()
total_size = int(response.headers.get('content-length', 1))
@@ -459,7 +463,7 @@ def manifest(url, renpy=False, insecure=False):
with open(_path("temp:manifest.py.sig"), "rb") as f:
sig = f.read()
key = ecdsa.VerifyingKey.from_pem(_renpy.exports.file("renpy_ecdsa_public.pem").read())
key = ecdsa.VerifyingKey.from_pem(_renpy.exports.open_file("renpy_ecdsa_public.pem").read())
if not key.verify(sig, manifest):
error(_("The manifest signature is not valid."))
+1 -1
View File
@@ -1,4 +1,4 @@
# This file imports the extensions API into the default store, and makes it
# also contains the strings used by the extensions API, so the Ren'Py translation
# framework can find them.
+43 -31
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -22,48 +22,49 @@
################################################################################
# Interface actions.
init python in interface:
from store import OpenURL, config, Return, _preferences
from store import OpenURL, config, Return, _preferences, persistent
import store
import os.path
import contextlib
RENPY_URL = "http://www.renpy.org"
DOC_PATH = os.path.join(config.renpy_base, "doc/index.html")
DOC_PATH = os.path.join(config.renpy_base, "doc/")
DOC_URL = "http://www.renpy.org/doc/html/"
DOC_LOCAL_URL = "file:///" + DOC_PATH
LICENSE_PATH = os.path.join(config.renpy_base, "doc/license.html")
LICENSE_URL = "http://www.renpy.org/doc/html/license.html"
# If true, the launcher should not link back to renpy.org.
NO_LAUNCHER_LINKS = os.path.exists(os.path.join(config.renpy_base, "no_launcher_links.txt"))
if os.path.exists(DOC_PATH):
DOC_LOCAL_URL = "file:///" + DOC_PATH
else:
DOC_LOCAL_URL = None
if os.path.exists(LICENSE_PATH):
LICENSE_LOCAL_URL = "file:///" + LICENSE_PATH
else:
LICENSE_LOCAL_URL = None
local_doc_exists = os.path.exists(DOC_PATH)
def OpenDocumentation():
def get_doc_url(page):
"""
Returns the URL to the documentation page.
"""
if local_doc_exists and (NO_LAUNCHER_LINKS or not persistent.use_web_doc):
from urllib.parse import urljoin
from urllib.request import pathname2url
return urljoin('file:', pathname2url(DOC_PATH + page))
else:
return DOC_URL + page
def OpenDocumentation(page="index.html"):
"""
An action that opens the documentation.
"""
if DOC_LOCAL_URL is not None:
return OpenURL(DOC_LOCAL_URL)
else:
return OpenURL(DOC_URL)
return OpenURL(get_doc_url(page))
def OpenLicense():
"""
An action that opens the license.
"""
if LICENSE_LOCAL_URL is not None:
return OpenURL(LICENSE_LOCAL_URL)
else:
return OpenURL(LICENSE_URL)
return OpenDocumentation("license.html")
def get_sponsor_url():
"""
@@ -120,7 +121,10 @@ screen bottom_info:
hbox:
spacing INDENT
textbutton _("Documentation") style "l_link" action interface.OpenDocumentation()
textbutton _("Ren'Py Website") style "l_link" action OpenURL(interface.RENPY_URL)
if not interface.NO_LAUNCHER_LINKS:
textbutton _("Ren'Py Website") style "l_link" action OpenURL(interface.RENPY_URL)
textbutton _("[interface.version]") style "l_link" action Jump("about")
hbox:
@@ -136,7 +140,7 @@ screen bottom_info:
textbutton _("preferences") style "l_link" action Jump("preferences")
textbutton _("quit") style "l_link" action Quit(confirm=False)
if persistent.sponsor_message:
if persistent.sponsor_message and not interface.NO_LAUNCHER_LINKS:
textbutton _("Ren'Py Sponsor Information"):
style "l_link"
@@ -170,7 +174,7 @@ screen common:
has vbox
text message:
text_align 0.5
textalign 0.5
xalign 0.5
layout "subtitle"
@@ -200,7 +204,15 @@ screen common:
add SPACER
for v, l in choices:
textbutton l action SetScreenVariable("selected", v)
textbutton l:
action SetScreenVariable("selected", v)
selected_background REVERSE_IDLE
selected_hover_background REVERSE_HOVER
xpadding 20
size_group "choice"
text_selected_idle_color REVERSE_TEXT
text_selected_hover_color REVERSE_TEXT
text_xalign 0.5
if selected is not None:
$ continue_ = Return(selected)
@@ -211,7 +223,7 @@ screen common:
add SPACER
text submessage:
text_align 0.5
textalign 0.5
xalign 0.5
layout "subtitle"
@@ -250,7 +262,7 @@ screen launcher_input:
has vbox
text message:
text_align 0.5
textalign 0.5
xalign 0.5
layout "subtitle"
@@ -340,7 +352,7 @@ init python in interface:
def error(message, submessage=None, label="front_page", **kwargs):
"""
Indicates to the user that an error has occured.
Indicates to the user that an error has occurred.
`message`
The message to display.
@@ -396,7 +408,7 @@ init python in interface:
except Exception as e:
renpy.renpy.error.report_exception(e, editor=False)
error(_("While [what!qt], an error occured:"),
error(_("While [what!qt], an error occurred:"),
_("[exception!q]"),
what=what,
label=label,
@@ -484,7 +496,7 @@ init python in interface:
The amount of time to pause for after showing the message.
"""
common(title, store.INTERACTION_COLOR, message, submessage=None, pause=pause, show_screen=True, **kwargs)
common(title, store.INTERACTION_COLOR, message, submessage=submessage, pause=pause, show_screen=True, **kwargs)
renpy.pause(pause)
def processing(message, submessage=None, complete=None, total=None, **kwargs):
+8 -8
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -59,6 +59,7 @@ init python:
if RENIOS_PATH:
import renios.create
import renios.image
import renios.interface
def IOSState():
if not RENIOS_PATH:
@@ -123,17 +124,19 @@ init python:
return os.path.join(persistent.xcode_projects_directory, xcode_name(p.name))
def ios_create(p=None, gui=True, target=None):
project.current.update_dump(force=True, gui=gui)
if p is None:
p = project.current
p.update_dump(force=True, gui=gui)
name = project.current.dump.get("name", None)
version = project.current.dump.get("version", None)
name = p.dump.get("name", None)
version = p.dump.get("version", None)
dest = xcode_project(p, target)
if gui:
iface = MobileInterface("ios")
else:
iface = rapt.interface.Interface()
iface = renios.interface.Interface()
if os.path.exists(dest):
if not iface.yesno(_("The Xcode project already exists. Would you like to rename the old project, and replace it with a new one?")):
@@ -161,9 +164,6 @@ init python:
print("Eliminating __pycache__...")
if PY2:
return
import pathlib
import sys
+7 -25
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -50,9 +50,9 @@ init python:
pass
with interface.error_handling(_("Downloading the itch.io butler.")):
url = "https://broth.itch.ovh/butler/{}/LATEST/archive/default".format(platform)
url = "https://broth.itch.zone/butler/{}/LATEST/archive/default".format(platform)
response = requests.get(url, headers={'User-Agent' : "Renpy"})
response = requests.get(url, headers={'User-Agent' : "Renpy"}, proxies=renpy.proxies)
with open(zip, "wb") as f:
f.write(response.content)
@@ -97,32 +97,14 @@ label itch:
files = [ ]
for fn in os.listdir(destination):
fn = os.path.join(destination, fn)
if fn.endswith("-all.zip"):
channel = "win-osx-linux"
elif fn.endswith("-market.zip"):
channel = "win-osx-linux"
elif fn.endswith("-pc.zip"):
channel = "win-linux"
elif fn.endswith("-win.zip"):
channel = "win"
elif fn.endswith("-mac.zip"):
channel = "osx"
elif fn.endswith("-linux.tar.bz2"):
channel = "linux"
elif fn.endswith("-release.apk"):
channel = "android"
for pattern, channel in reversed(build['itch_channels'].items()):
if fnmatch.fnmatch(fn, pattern):
break
else:
continue
fn = os.path.join(destination, fn)
files.append((fn, channel))
if not os.path.exists(destination):
+2 -2
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -23,7 +23,7 @@ init python hide:
import os
macapp = os.path.join(config.renpy_base, "renpy.app/Contents/MacOS")
maclib = os.path.join(config.renpy_base, distribute.py("lib/py{major}-mac-x86_64"))
maclib = os.path.join(config.renpy_base, distribute.py("lib/py{major}-mac-universal"))
if os.path.exists(maclib):
+3 -3
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -32,7 +32,7 @@ init -1 python:
if not renpy.loadable(fn1):
return True
hash1 = renpy.file(fn1).read().decode("utf-8")
hash1 = renpy.open_file(fn1, encoding="utf-8").read()
if not os.path.exists(fn2):
return False
@@ -91,7 +91,7 @@ init -1 python:
def log(self, msg):
with open(self.filename, "a") as f:
f.write("\n")
f.write(unicode(msg))
f.write(msg)
f.write("\n")
def info(self, prompt):
+15 -4
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -19,6 +19,9 @@
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# Should translation files be shown in the launcher file navigation?
default persistent.show_translation_files = True
init python in navigation:
import store.interface as interface
import store.project as project
@@ -110,6 +113,9 @@ init python in navigation:
if shortfn.startswith("game/"):
shortfn = fn[5:]
if shortfn.startswith("tl/") and not persistent.show_translation_files:
continue
rv.append((shortfn, fn, None))
rv.sort()
@@ -155,6 +161,8 @@ init python in navigation:
screen navigation:
$ todo_count = len(project.current.dump.get("location", {}).get("todo", []))
frame:
style_group "l"
style "l_root"
@@ -201,7 +209,7 @@ screen navigation:
textbutton _("transforms") action navigation.ChangeKind("transform")
textbutton _("screens") action navigation.ChangeKind("screen")
textbutton _("callables") action navigation.ChangeKind("callable")
textbutton _("TODOs") action navigation.ChangeKind("todo")
textbutton (__("TODOs") + " (" + str(todo_count) + ")") action navigation.ChangeKind("todo")
add SPACER
add SEPARATOR
@@ -218,6 +226,10 @@ screen navigation:
vbox:
style_group "l_navigation"
if persistent.navigation == "file":
textbutton _("Show translation files") style "l_checkbox" action [ ToggleField(persistent, "show_translation_files"), Jump("navigation_loop") ]
add SPACER
for group_name, group in groups:
if group_name is not None:
@@ -249,7 +261,7 @@ screen navigation:
if persistent.navigation == "todo":
text _("No TODO comments found.\n\nTo create one, include \"# TODO\" in your script."):
text_align 0.5
textalign 0.5
xalign 0.5
yalign 0.5
@@ -279,4 +291,3 @@ label navigation_loop:
label navigation_refresh:
$ project.current.update_dump(True)
jump navigation_loop
+13 -125
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -25,34 +25,6 @@ init python:
import time
import re
def check_language_support():
language = _preferences.language
new = False
legacy = False
# Check for a translation of the words "New GUI Interface".
if (language is None) or (__("New GUI Interface") != "New GUI Interface"):
new = True
try:
if (language is None) or os.path.exists(os.path.join(config.renpy_base, "templates", language)):
legacy = True
except Exception:
pass
if new and legacy:
store.language_support = _("Both interfaces have been translated to your language.")
elif new:
store.language_support = _("Only the new GUI has been translated to your language.")
elif legacy:
store.language_support = _("Only the legacy theme interface has been translated to your language.")
else:
store.language_support = _("Neither interface has been translated to your language.")
label new_project:
@@ -63,22 +35,21 @@ label new_project:
$ interface.error(_("The projects directory could not be set. Giving up."))
python:
if persistent.legacy:
new_project_language = __("{#language name and font}")
gui_kind = "new_gui_project"
check_language_support()
# When translating this, feel free to replace [new_project_language] with the translation of your language.
interface.info(_("You will be creating an [new_project_language]{#this substitution may be localized} language project. Change the launcher language in preferences to create a project in another language."), cancel=Jump("front_page"))
gui_kind = interface.choice(
_("Which interface would you like to use? The new GUI has a modern look, supports wide screens and mobile devices, and is easier to customize. Legacy themes might be necessary to work with older example code.\n\n[language_support!t]\n\nIf in doubt, choose the new GUI, then click Continue on the bottom-right."),
[ ( 'new_gui_project', _("New GUI Interface") ), ( 'new_theme_project', _("Legacy Theme Interface")) ],
"new_gui_project",
python:
if project.manager.templates:
gui_kind, gui_template_path = interface.choice(
_("Please select a template project to use."),
[ ( ("new_gui_project", None), _("Do not use a template project.") ) ] +
[ ( ("new_template_project", p.path ), p.name) for p in project.manager.templates ],
("new_gui_project", None),
cancel=Jump("front_page"),
)
else:
new_project_language = __("{#language name and font}")
gui_kind = "new_gui_project"
# When translating this, feel free to replace [new_project_language] with the translation of your language.
interface.info(_("You will be creating an [new_project_language]{#this substitution may be localized} language project. Change the launcher language in preferences to create a project in another language."), cancel=Jump("front_page"))
)
python:
project_name = ""
@@ -108,86 +79,3 @@ label new_project:
break
jump expression gui_kind
screen select_template:
default result = project.manager.get("english")
frame:
style_group "l"
style "l_root"
window:
has vbox
label _("Choose Project Template")
hbox:
frame:
style "l_indent"
xmaximum ONETHIRD
viewport:
scrollbars "vertical"
vbox:
for p in project.manager.templates:
textbutton "[p.name!q]" action SetScreenVariable("result", p) style "l_list"
frame:
style "l_indent"
xmaximum TWOTHIRDS
text _("Please select a template to use for your new project. The template sets the default font and the user interface language. If your language is not supported, choose 'english'.")
textbutton _("Return") action Jump("front_page") style "l_left_button"
textbutton _("Continue") action Return(result) style "l_right_button"
label new_theme_project:
python hide:
if len(project.manager.templates) == 1:
template = project.manager.templates[0]
else:
template = renpy.call_screen("select_template")
template_path = template.path
with interface.error_handling(_("creating a new project")):
shutil.copytree(template_path, project_dir, symlinks=False)
# Delete the tmp directory, if it exists.
if os.path.isdir(os.path.join(project_dir, "tmp")):
shutil.rmtree(os.path.join(project_dir, "tmp"))
# Delete project.json, which must exist.
os.unlink(os.path.join(project_dir, "project.json"))
# Change the save directory in options.rpy
fn = os.path.join(project_dir, "game/options.rpy")
with open(fn, "rb") as f:
options = f.read().decode("utf-8")
options = options.replace("PROJECT_NAME", project_name)
options = options.replace("UNIQUE", str(int(time.time())))
with open(fn, "wb") as f:
f.write(options.encode("utf-8"))
font = template.data.get("font", None)
if font is not None:
src = os.path.join(config.gamedir, "fonts", font)
dst = os.path.join(project_dir, "game", "tl", "None", font)
shutil.copy(src, dst)
# Activate the project.
with interface.error_handling(_("activating the new project")):
project.manager.scan()
project.Select(project.manager.get(project_name))()
call choose_theme_callable
jump front_page
+56 -59
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -184,9 +184,17 @@ init -1 python hide:
#####################
# More customizations can go here.
config.sound = False
config.has_sound = False
config.has_music = False
config.has_voice = False
config.force_sound = False
config.quit_action = Quit(confirm=False)
config.window_icon = "images/logo.png"
if renpy.macintosh:
config.window_icon = "images/window-icon-mac.png"
else:
config.window_icon = "images/window-icon.png"
config.has_autosave = False
config.log_enable = False
config.mouse_hide_time = None
@@ -242,10 +250,12 @@ init python:
# allows the updater to run.
build.include_update = True
# Build both kinds of updates.
build.update_formats = [ "zsync", "rpu" ]
# Allow empty directories, so we can distribute the images directory.
build.exclude_empty_directories = False
# Mac signing options.
import os
build.mac_identity = os.environ.get("RENPY_MAC_IDENTITY", None)
@@ -270,22 +280,8 @@ init python:
build.classify_renpy("**/thumbs.db", None)
build.classify_renpy("**/.*", None)
# Atom rules. These have to be very early, since Atom uses names like
# tmp for packages.
build.classify_renpy("atom/", "atom-all")
build.classify_renpy("atom/default-dot-atom/**", "atom-all")
build.classify_renpy("atom/atom-windows/**", "atom-windows")
build.classify_renpy("atom/Atom.app/**", "atom-mac")
build.classify_renpy("atom/atom-linux**", "atom-linux")
try:
with open(os.path.join(config.renpy_base, "atom", "executable.txt")) as f:
for l in f:
build.executable(l.strip())
except Exception:
pass
build.classify_renpy("rapt/**/libLive2DCubismCore.so", None)
build.classify_renpy("rapt/symbols/", None)
build.classify_renpy("rapt/**", "rapt")
build.executable("rapt/prototype/gradlew")
@@ -305,6 +301,8 @@ init python:
build.classify_renpy("**.new", None)
build.classify_renpy("**.bak", None)
build.classify_renpy("**.keystore", None)
build.classify_renpy("**/log.txt", None)
build.classify_renpy("**/traceback.txt", None)
build.classify_renpy("**/errors.txt", None)
@@ -324,7 +322,7 @@ init python:
"""
if py is True:
py = 'pyo' if PY2 else 'pycache'
py = 'pycache'
if py == 'pycache':
build.classify_renpy(pattern + "/**__pycache__/", binary)
@@ -348,19 +346,31 @@ init python:
build.classify_renpy(pattern + "/**.pyo", None)
build.classify_renpy(pattern + "/**.pyi", None)
build.classify_renpy(pattern + "/**.pyx", "source_only")
build.classify_renpy(pattern + "/**.pxd", "source_only")
build.classify_renpy(pattern + "/**.rpyc", binary)
build.classify_renpy(pattern + "/**.rpymc", binary)
build.classify_renpy(pattern + "/**/" + renpy.script.BYTECODE_FILE, binary)
build.classify_renpy(pattern + "/**/cache/bytecode-*.rpyb", None)
build.classify_renpy(pattern + "/**/cache/*", binary)
build.classify_renpy(pattern + "/**", source)
build.classify_renpy("renpy/gl/", None)
build.classify_renpy("renpy.py", "binary")
source_and_binary("renpy")
# games.
build.classify_renpy("launcher/game/theme/", None)
build.classify_renpy("gui/game/gui/", None)
build.classify_renpy("gui/game/gui/", "source")
build.classify_renpy("gui/game/gui/bubble.png", "source")
build.classify_renpy("gui/game/gui/thoughtbubble.png", "source")
build.classify_renpy("gui/game/gui/*", None)
source_and_binary("launcher", py=False)
source_and_binary("gui", binary=None, py=False)
@@ -385,46 +395,34 @@ init python:
build.classify_renpy("sphinx/source/inc/", None)
build.classify_renpy("sphinx/source/**", "source_only")
# module.
build.classify_renpy("module/", "source")
build.classify_renpy("module/*.c", "source")
build.classify_renpy("module/gen/", None)
build.classify_renpy("module/*.h", "source")
build.classify_renpy("module/*.py*", "source")
build.classify_renpy("module/include/", "source")
build.classify_renpy("module/include/*.pxd", "source")
build.classify_renpy("module/include/*.pxi", "source")
build.classify_renpy("module/pysdlsound/", "source")
build.classify_renpy("module/pysdlsound/*.py", "source")
build.classify_renpy("module/pysdlsound/*.pyx", "source")
build.classify_renpy("module/fribidi-src/**", "source")
build.classify_renpy("module/tinyfiledialogs/**", "source")
# Build System.
build.classify_renpy("setup.py", "source_only")
build.classify_renpy("src/**", "source_only")
build.classify_renpy("scripts/", "source_only")
build.classify_renpy("scripts/setuplib.py", "source_only")
build.classify_renpy("scripts/generate_styles.py", "source_only")
# all-platforms binary.
build.classify_renpy("lib/**/libpython{}.{}.dll".format(sys.version_info.major, sys.version_info.minor), "binary")
build.classify_renpy("lib/**/libpython*.dll", None)
build.classify_renpy("lib/**/*steam_api*", "steam")
build.classify_renpy("lib/**/*Live2D*", None)
if PY2:
build.classify_renpy("lib/py2-linux-armv7l/**", "linux_arm")
build.classify_renpy("lib/py2-linux-aarch64/**", "linux_arm")
source_and_binary("lib/py2-**", "binary", "binary")
source_and_binary("lib/python2**", "binary", "binary")
build.classify_renpy("renpy2.sh", "binary")
else:
build.classify_renpy("lib/py3-linux-armv7l/**", "linux_arm")
build.classify_renpy("lib/py3-linux-aarch64/**", "linux_arm")
source_and_binary("lib/py3-**", "binary", "binary")
source_and_binary("lib/python3**", "binary", "binary", py='pyc')
build.classify_renpy("renpy3.sh", "binary")
build.classify_renpy("lib/py3-linux-armv7l", None)
build.classify_renpy("lib/py3-linux-aarch64/**", "linux_arm")
source_and_binary("lib/py3-**", "binary", "binary")
libpython = "lib/python{}.{}".format(sys.version_info.major, sys.version_info.minor)
source_and_binary(libpython, "binary", "binary", py='pyc')
build.classify_renpy("lib/python**", None)
build.classify_renpy("lib/py2-**", None)
build.classify_renpy("renpy3.sh", "binary")
build.classify_renpy("lib/", "binary")
# renpy.app is now built from scratch from distribute.rpy.
# jedit rules.
build.classify_renpy("jedit/**", "jedit")
# Packages.
build.packages = [ ]
@@ -433,16 +431,12 @@ init python:
build.package("source", "tar.bz2", "source source_only", update=False)
build.package("steam", "zip", "steam", dlc=True)
build.package("jedit", "zip", "jedit", dlc=True)
build.package("atom-linux", "tar.bz2", "atom-all atom-linux", dlc=True)
build.package("atom-mac", "zip", "atom-all atom-mac", dlc=True)
build.package("atom-windows", "zip", "atom-all atom-windows", dlc=True)
build.package("rapt", "zip", "rapt", dlc=True)
build.package("renios", "zip", "renios", dlc=True)
build.package("web", "zip", "web", dlc=True)
# The identifier for the SDK.
define build.mac_info_plist["CFBundleIdentifier"] = "org.renpy.sdk"
# Enable the special launcher translation mode.
define config.translate_launcher = True
@@ -463,3 +457,6 @@ python early:
# Since the launcher can be run directly or can be run from the SDK directory,
# uneliding files needs to be handled slightly differently.
define config.alternate_unelide_path = os.path.join(config.basedir, "launcher")
# Disable skipping.
define config.allow_skipping = False
+71 -107
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -31,111 +31,24 @@ init python in distribute:
import sys
import threading
from renpy import six
from zipfile import crc32
# Since the long type doesn't exist on py3, define it here
if six.PY3:
long = int
long = int
zlib.Z_DEFAULT_COMPRESSION = 5
if PY2:
class ZipFile(zipfile.ZipFile):
class ZipFile(zipfile.ZipFile):
def write_with_info(self, zinfo, filename):
def write_with_info(self, zinfo, filename):
"""Put the bytes from filename into the archive under the name
arcname."""
if not self.fp:
raise RuntimeError(
"Attempt to write to ZIP archive that was already closed")
if zinfo.filename.endswith("/"):
data = b''
else:
with open(filename, "rb") as f:
data = f.read()
st = os.stat(filename)
isdir = stat.S_ISDIR(st.st_mode)
zinfo.file_size = st.st_size
zinfo.flag_bits = 0x00
zinfo.header_offset = self.fp.tell() # Start of header bytes
self._writecheck(zinfo)
self._didModify = True
if isdir:
zinfo.file_size = 0
zinfo.compress_size = 0
zinfo.CRC = 0
self.filelist.append(zinfo)
self.NameToInfo[zinfo.filename] = zinfo
self.fp.write(zinfo.FileHeader())
return
with open(filename, "rb") as fp:
# Must overwrite CRC and sizes with correct data later
zinfo.CRC = CRC = 0
zinfo.compress_size = compress_size = 0
file_size = 0
zip64 = self._allowZip64 and \
zinfo.file_size * 1.05 > zipfile.ZIP64_LIMIT
self.fp.write(zinfo.FileHeader(zip64))
if zinfo.compress_type == zipfile.ZIP_DEFLATED:
cmpr = zlib.compressobj(zlib.Z_DEFAULT_COMPRESSION,
zlib.DEFLATED, -15)
else:
cmpr = None
while 1:
buf = fp.read(1024 * 1024)
if not buf:
break
file_size = file_size + len(buf)
CRC = crc32(buf, CRC) & 0xffffffff
if cmpr:
buf = cmpr.compress(buf)
compress_size = compress_size + len(buf)
self.fp.write(buf)
if cmpr:
buf = cmpr.flush()
compress_size = compress_size + len(buf)
self.fp.write(buf)
zinfo.compress_size = compress_size
else:
zinfo.compress_size = file_size
zinfo.CRC = CRC
zinfo.file_size = file_size
if not zip64 and self._allowZip64:
if file_size > zipfile.ZIP64_LIMIT:
raise RuntimeError('File size has increased during compressing')
if compress_size > zipfile.ZIP64_LIMIT:
raise RuntimeError('Compressed size larger than uncompressed size')
# Seek backwards and write CRC and file sizes
position = self.fp.tell() # Preserve current position in file
self.fp.seek(zinfo.header_offset, 0)
self.fp.write(zinfo.FileHeader(zip64))
self.fp.seek(position, 0)
self.filelist.append(zinfo)
self.NameToInfo[zinfo.filename] = zinfo
else:
class ZipFile(zipfile.ZipFile):
def write_with_info(self, zinfo, filename):
if zinfo.filename.endswith("/"):
data = b''
else:
with open(filename, "rb") as f:
data = f.read()
self.writestr(zinfo, data)
self.writestr(zinfo, data)
class ZipPackage(object):
@@ -196,7 +109,7 @@ init python in distribute:
self.zipfile.write_with_info(zi, path)
def close(self):
def close(self, progress=None):
self.zipfile.close()
@@ -208,7 +121,7 @@ init python in distribute:
If true, times will be forced to the epoch.
"""
self.tarfile = tarfile.open(filename, mode)
self.tarfile = tarfile.open(filename, mode, format=tarfile.PAX_FORMAT)
self.tarfile.dereference = True
self.notime = notime
@@ -244,9 +157,10 @@ init python in distribute:
def add_directory(self, name, path):
self.add_file(name, path, True)
def close(self):
def close(self, progress=None):
self.tarfile.close()
class UpdatePackage(TarPackage):
def __init__(self, filename, basename, destination):
@@ -256,7 +170,7 @@ init python in distribute:
TarPackage.__init__(self, filename, "w", notime=True)
def close(self):
def close(self, progress=None):
TarPackage.close(self)
cmd = [
@@ -284,7 +198,6 @@ init python in distribute:
sums.write(struct.pack("<I", zlib.adler32(data) & 0xffffffff))
class DirectoryPackage(object):
def mkdir(self, path):
@@ -316,9 +229,10 @@ init python in distribute:
fn = os.path.join(self.path, name)
self.mkdir(fn)
def close(self):
def close(self, progress=None):
return
class ExternalZipPackage(object):
def __init__(self, path):
@@ -332,7 +246,7 @@ init python in distribute:
def add_directory(self, name, path):
self.dp.add_directory(name, path)
def close(self):
def close(self, progress=None):
self.dp.close()
if os.path.exists(self.path):
@@ -351,17 +265,65 @@ init python in distribute:
shutil.rmtree(self.directory)
class DMGPackage(DirectoryPackage):
def __init__(self, path, make_dmg):
self.make_dmg = make_dmg
DirectoryPackage.__init__(self, path)
def close(self):
def close(self, progress=None):
DirectoryPackage.close(self)
self.make_dmg()
class RPUPackage(object):
generator = None
def __init__(self, directory, variant):
import renpy.update.common
self.directory = directory + "/rpu"
self.variant = variant
self.file_list = renpy.update.common.FileList()
if not os.path.exists(self.directory):
os.mkdir(self.directory)
def add_file(self, name, path, xbit):
self.file_list.add_file(name, path, xbit)
def add_directory(self, name, _path):
self.file_list.add_directory(name)
def close(self, progress=None):
import renpy.update.generate
if RPUPackage.generator is None:
RPUPackage.generator = renpy.update.generate.BlockGenerator(self.directory)
RPUPackage.generator.generate(self.variant, self.file_list, progress)
@staticmethod
def reset():
RPUPackage.generator = None
class NullPackage(object):
"""
A package format that doesn't create an output file,
only updates.
"""
def add_file(self, name, path, xbit):
return
def add_directory(self, name, _path):
return
def close(self, progress=None):
return
parallel_threads = [ ]
class ParallelPackage(object):
@@ -379,7 +341,7 @@ init python in distribute:
def add_directory(self, name, path):
self.worklist.append((True, name, path, True))
def close(self):
def close(self, progress=None):
t = threading.Thread(target=self.run)
t.start()
@@ -422,3 +384,5 @@ init python in distribute:
for i in parallel_threads:
if i.done:
i.done()
parallel_threads.clear()
+114 -33
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -19,15 +19,14 @@
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
default persistent.show_edit_funcs = True
default persistent.windows_console = False
default persistent.lint_options = set()
default persistent.use_web_doc = False
init python:
from math import ceil
if persistent.show_edit_funcs is None:
persistent.show_edit_funcs = True
if persistent.windows_console is None:
persistent.windows_console = False
def scan_translations(piglatin=True):
languages = renpy.known_languages()
@@ -48,14 +47,30 @@ init python:
bound = ceil(len(rv)/3.)
return (rv[:bound], rv[bound:2*bound], rv[2*bound:])
show_legacy = os.path.exists(os.path.join(config.renpy_base, "templates", "english", "game", "script.rpy"))
class RestartAtPreferences(Action):
def __call__(self):
renpy.session["launcher_start_label"] = "preferences"
renpy.utter_restart()
default persistent.legacy = False
class EnsureProjectsTxt(Action):
"""
Ensures the projects.txt file exists before it's opened.
"""
def __call__(self):
fn = os.path.join(project.manager.projects_directory, "projects.txt")
if os.path.exists(fn):
return
with open(fn, "w") as f:
f.write("""\
# This file can be used to add projects not in the projects directory
# by listing the full path to each project, one per line.
""")
default persistent.force_new_tutorial = False
default persistent.sponsor_message = True
default persistent.daily_update_check = True
@@ -64,6 +79,12 @@ default persistent.daily_update_check_once = False
# Keep the default update check from triggering until tomorrow.
default persistent.last_update_check = datetime.date.today()
# Should we try to skip the splashscreen?
default persistent.skip_splashscreen = False
# Should we prefer rpu updates?
default persistent.prefer_rpu = True
init python:
if not persistent.daily_update_check_once:
persistent.daily_update_check_once = True
@@ -71,6 +92,14 @@ init python:
default preference_tab = "general"
define preference_tabs = (
("general", _("General")),
("options", _("Options")),
("theme", _("Theme")),
("install", _("Install Libraries")),
("actions", _("Actions")),
("lint", _("Lint")),
)
screen preferences():
@@ -98,17 +127,12 @@ screen preferences():
has vbox
# Projects directory selection.
add SEPARATOR2
add HALF_SPACER
textbutton _("General") action SetVariable("preference_tab", "general") style "l_list"
textbutton _("Options") action SetVariable("preference_tab", "options") style "l_list"
textbutton _("Theme") action SetVariable("preference_tab", "theme") style "l_list"
textbutton _("Install Libraries") action SetVariable("preference_tab", "install") style "l_list"
textbutton _("Actions") action SetVariable("preference_tab", "actions") style "l_list"
for i, l in preference_tabs:
textbutton l action SetVariable("preference_tab", i) style "l_list"
if preference_tab == "general":
@@ -119,7 +143,6 @@ screen preferences():
has vbox
# Projects directory selection.
add SEPARATOR2
@@ -157,10 +180,7 @@ screen preferences():
add HALF_SPACER
frame style "l_indent":
if persistent.editor:
textbutton persistent.editor action Jump("editor_preference") alt _("Text editor: [text]")
else:
textbutton _("Not Set") action Jump("editor_preference") alt _("Text editor: [text]")
textbutton (persistent.editor or _("Not Set")) action Jump("editor_preference") alt _("Text editor: [text]")
add SPACER
@@ -207,6 +227,22 @@ screen preferences():
add SPACER
add SEPARATOR2
frame:
style "l_indent"
has vbox
text _("Game Options:")
add HALF_SPACER
if renpy.windows:
textbutton _("Console output") style "l_checkbox" action ToggleField(persistent, "windows_console")
textbutton _("Skip splashscreen") style "l_checkbox" action ToggleField(persistent, "skip_splashscreen")
add SPACER
add SEPARATOR2
frame:
style "l_indent"
has vbox
@@ -218,14 +254,16 @@ screen preferences():
textbutton _("Show edit file section") style "l_checkbox" action ToggleField(persistent, "show_edit_funcs")
textbutton _("Large fonts") style "l_checkbox" action [ ToggleField(persistent, "large_print"), renpy.utter_restart ]
if renpy.windows:
textbutton _("Console output") style "l_checkbox" action ToggleField(persistent, "windows_console")
if interface.local_doc_exists:
textbutton _("Prefer the web documentation") style "l_checkbox" action ToggleField(persistent, "use_web_doc")
textbutton _("Sponsor message") style "l_checkbox" action ToggleField(persistent, "sponsor_message")
textbutton _("Restore window position") style "l_checkbox" action Preference("restore window position", "toggle")
if ability.can_update:
textbutton _("Daily check for update") style "l_checkbox" action [ToggleField(persistent, "daily_update_check"), SetField(persistent, "last_update_check", None)] selected persistent.daily_update_check
textbutton _("Prefer RPU updates") style "l_checkbox" action ToggleField(persistent, "prefer_rpu")
elif preference_tab == "theme":
@@ -236,7 +274,6 @@ screen preferences():
has vbox
# Projects directory selection.
add SEPARATOR2
frame:
@@ -248,12 +285,14 @@ screen preferences():
add HALF_SPACER
textbutton _("Default theme") style "l_checkbox" action [SetField(persistent, "theme", None), RestartAtPreferences() ]
textbutton _("Dark theme") style "l_checkbox" action [SetField(persistent, "theme", "dark", None), RestartAtPreferences()]
textbutton _("Custom theme") style "l_checkbox" action [SetField(persistent, "theme", "custom", None), RestartAtPreferences()]
textbutton _("Dark theme") style "l_checkbox" action [SetField(persistent, "theme", "dark"), RestartAtPreferences()]
textbutton _("Custom theme") style "l_checkbox" action [SetField(persistent, "theme", "custom"), RestartAtPreferences()]
add SPACER
text _("Information about creating a custom theme can be found {a=https://www.renpy.org/doc/html/skins.html}in the Ren'Py Documentation{/a}.")
$ skins_url = interface.get_doc_url("skins.html")
text _("Information about creating a custom theme can be found {a=[skins_url]}in the Ren'Py Documentation{/a}.")
elif preference_tab == "install":
@@ -276,7 +315,6 @@ screen preferences():
use install_preferences
elif preference_tab == "actions":
frame:
@@ -297,9 +335,52 @@ screen preferences():
add HALF_SPACER
textbutton _("Open launcher project") style "l_nonbox" action [ project.Select("launcher"), Jump("front_page") ]
textbutton _("Open projects.txt"):
style "l_nonbox"
if project.manager.projects_directory:
action [
EnsureProjectsTxt(),
editor.EditAbsolute(os.path.join(project.manager.projects_directory, "projects.txt"))
]
textbutton _("Reset window size") style "l_nonbox" action Preference("display", 1.0)
textbutton _("Clean temporary files") style "l_nonbox" action Jump("clean_tmp")
elif preference_tab == "lint":
frame:
style "l_indent"
xmaximum TWOTHIRDS
xfill True
has vbox
add SEPARATOR2
frame:
style "l_indent"
has vbox
text _("Lint toggles:")
add HALF_SPACER
textbutton _("Check for orphan/obsolete translations"):
style "l_checkbox"
action InvertSelected(ToggleSetMembership(persistent.lint_options, "--no-orphan-tl"))
textbutton _("Check parameters shadowing reserved names"):
style "l_checkbox"
action ToggleSetMembership(persistent.lint_options, "--reserved-parameters")
textbutton _("Print block, word, and character counts by speaking character."):
style "l_checkbox"
action ToggleSetMembership(persistent.lint_options, "--by-character")
textbutton _("Unclosed text tags"):
style "l_checkbox"
action ToggleSetMembership(persistent.lint_options, "--check-unclosed-tags")
textbutton _("Show all unreachable blocks and orphaned translations."):
style "l_checkbox"
action ToggleSetMembership(persistent.lint_options, "--all-problems")
textbutton _("Return") action Jump("front_page") style "l_left_button"
@@ -343,7 +424,7 @@ screen choose_language():
style "l_label_text"
size 36
text_align .5
textalign .5
layout "subtitle"
add SPACER
@@ -356,7 +437,7 @@ screen choose_language():
for tlid, tlname in tran:
textbutton tlname:
xmaximum (TWOTHIRDS//3)
action SetScreenVariable("chosen_lang", tlid)
action [ SetScreenVariable("chosen_lang", tlid), Language(tlid), project.SelectTutorial(True), Return() ]
hovered SetScreenVariable("local_lang", tlid)
unhovered SetScreenVariable("local_lang", chosen_lang)
style "l_list"
@@ -377,7 +458,7 @@ screen choose_language():
text_style "l_default"
text_size 30
text_text_align .5
text_textalign .5
text_layout "subtitle"
+102 -18
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -48,18 +48,19 @@ init python in project:
_("Press shift+O (the letter) to access the console."),
_("Press shift+D to access the developer menu."),
_("Have you backed up your projects recently?"),
_("Lint checks your game for potential mistakes, and gives you statistics."),
]
class Project(object):
def __init__(self, path, name=None):
if name is None:
name = os.path.basename(path)
while path.endswith("/"):
path = path[:-1]
if name is None:
name = os.path.basename(path)
if not os.path.exists(path):
raise Exception("{} does not exist.".format(path))
@@ -91,6 +92,10 @@ init python in project:
# The mtime of the last dump file loaded.
self.dump_mtime = 0
# A processed version of data['renpy_launcher'] with missing files
# and directories removed.
self.renpy_launcher = None
def get_dump_filename(self):
if os.path.exists(os.path.join(self.gamedir, "saves")):
@@ -115,7 +120,7 @@ init python in project:
try:
with open(os.path.join(self.path, "project.json"), "w") as f:
json.dump(self.data, f)
json.dump(self.data, f, indent=2)
except Exception:
self.load_data()
@@ -127,6 +132,7 @@ init python in project:
data.setdefault("add_from", True)
data.setdefault("force_recompile", True)
data.setdefault("android_build", "Release")
data.setdefault("tutorial", False)
if "renamed_all" not in data:
dp = data["packages"]
@@ -154,6 +160,43 @@ init python in project:
data["renamed_steam"] = True
def get_renpy_launcher(self):
if self.renpy_launcher is not None:
return self.renpy_launcher
rv = { }
default_values = {
"open_directory":
{
"game": "game",
"base": ".",
"images": "game/images",
"audio": "game/audio",
"gui": "game/gui",
"libs": "game/libs",
"mods": "game/mods",
},
"edit_file":
{
"script.rpy": "game/script.rpy",
"options.rpy": "game/options.rpy",
"gui.rpy": "game/gui.rpy",
"screens.rpy": "game/screens.rpy"
}
}
for k, default_d in default_values.items():
d = self.data.get("renpy_launcher", {}).get(k, default_d)
rv[k] = { name : path for name, path in d.items() if os.path.exists(os.path.join(self.path, path)) }
self.renpy_launcher = rv
return rv
def make_tmp(self):
"""
Makes the project's temporary directory, if it doesn't exist
@@ -258,8 +301,16 @@ init python in project:
environ = dict(os.environ)
environ["RENPY_LAUNCHER_LANGUAGE"] = _preferences.language or "english"
if persistent.skip_splashscreen:
environ["RENPY_SKIP_SPLASHSCREEN"] = "1"
environ.update(env)
# Filter out system PYTHON* environment variables.
if hasattr(sys, "renpy_executable"):
environ = { k : v for k, v in environ.items() if not k.startswith("PYTHON") }
encoded_environ = { }
for k, v in environ.items():
@@ -276,6 +327,8 @@ init python in project:
if wait:
if p.wait():
print("Launch failed. command={!r}, returncode={!r}".format(cmd, p.returncode))
if args and not self.is_writeable():
interface.error(_("Launching the project failed."), _("This may be because the project is not writeable."))
else:
@@ -340,12 +393,6 @@ init python in project:
line = line[:1024]
if PY2:
try:
line = line.decode("utf-8")
except Exception:
continue
m = re.search(r"#\s*TODO(\s*:\s*|\s+)(.*)", line, re.I)
if m is None:
@@ -387,9 +434,18 @@ init python in project:
can be included in the project.
"""
def is_script(fn):
fn = fn.lower()
for i in [ ".rpy", ".rpym", "_ren.py" ]:
if fn.endswith(i):
return True
return False
rv = [ ]
rv.extend(i for i, isdir in util.walk(self.path)
if (not isdir) and (i.endswith(".rpy") or i.endswith(".rpym")) and (not i.startswith("tmp/")) )
if (not isdir) and is_script(i) and (not i.startswith("tmp/")) )
return rv
@@ -467,14 +523,11 @@ init python in project:
if self.projects_directory is not None:
self.scan_directory(self.projects_directory)
self.scan_directory(config.renpy_base)
self.scan_directory(os.path.join(config.renpy_base, "templates"))
self.projects.sort(key=lambda p : p.name.lower())
self.templates.sort(key=lambda p : p.name.lower())
# Select the default project.
if persistent.active_project is not None:
p = self.get(persistent.active_project)
@@ -538,6 +591,10 @@ init python in project:
for path in f:
path = path.strip()
if path.startswith("#"):
continue
if len(path) > 0:
self.scan_directory_direct(path)
@@ -576,6 +633,7 @@ init python in project:
if project_type == "hidden":
pass
elif project_type == "template":
self.projects.append(p)
self.templates.append(p)
else:
self.projects.append(p)
@@ -649,7 +707,7 @@ init python in project:
The label to jump to when clicked.
"""
if isinstance(p, basestring):
if isinstance(p, str):
p = manager.get(p)
self.project = p
@@ -737,7 +795,7 @@ init python in project:
def __init__(self, p=None):
if p is None:
self.project = current
elif isinstance(p, basestring):
elif isinstance(p, str):
self.project = manager.get(p)
else:
self.project = p
@@ -749,7 +807,12 @@ init python in project:
blurb = LAUNCH_BLURBS[persistent.blurb % len(LAUNCH_BLURBS)]
persistent.blurb += 1
interface.interaction(_("Launching"), blurb, pause=2.5)
if persistent.skip_splashscreen:
submessage = _("Splashscreen skipped in launcher preferences.")
else:
submessage = None
interface.interaction(_("Launching"), blurb, submessage=submessage, pause=2.5)
def __call__(self):
@@ -833,3 +896,24 @@ init python:
return False
renpy.arguments.register_command("get_projects_directory", get_projects_directory_command)
def set_project_command():
ap = renpy.arguments.ArgumentParser()
ap.add_argument("project", help="The full path to the project to select.")
args = ap.parse_args()
projects = os.path.dirname(os.path.abspath(args.project))
name = os.path.basename(args.project)
persistent.projects_directory = renpy.fsdecode(projects)
project.multipersistent.projects_directory = persistent.projects_directory
persistent.active_project = name
project.multipersistent.save()
renpy.save_persistent()
return False
renpy.arguments.register_command("set_project", set_project_command)
+5 -5
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -355,8 +355,8 @@ style l_left_button_text is l_right_button_text
style l_root is l_default:
background BACKGROUND
xpadding 10
top_padding 64
bottom_padding 128
top_padding 32
bottom_padding 120
# An inner window.
style l_window is l_default:
@@ -402,7 +402,7 @@ style l_alternate is l_default:
style l_alternate_text is l_default:
size size(14)
font light_font()
text_align 1.0
textalign 1.0
style l_small_button is l_button
@@ -488,7 +488,7 @@ style l_info_button is l_button:
xmargin 50
style l_info_button_text is l_button_text:
text_align 0.5
textalign 0.5
layout "subtitle"
# Progress bar.
+10 -1
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@@ -22,6 +22,7 @@
init python:
class FileTail(object):
def __init__(self, filename, lines=8):
@@ -31,6 +32,11 @@ init python:
def update(self):
def filter_text(s):
if "Unknown chunk type '200'" in s:
return False
return True
try:
with open(self.filename) as f:
text = f.read()
@@ -49,6 +55,9 @@ init python:
if "\r" in l:
_head, _sep, l = l.rpartition("\r")
if not filter_text(l):
continue
while l:
newtext.append(l[:100])
l = l[100:]
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2022 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2025 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
+5 -5
View File
@@ -364,7 +364,7 @@
new "{b}نقترح.{/b} محرر نص له واجهة سهلة الاستعمال ويعين على كتابة النصوص البرمجية يفضل برنامج يحتوي على مدقق لغوي. Editraحالياً لا يدعم اللغات الأجنبية مثل اللغه الكورية و الصينية و اليابانية. على نظام لينوكس, Editra يحتاج wxPython."
# editor.rpy:167
old "This may have occured because wxPython is not installed on this system."
old "This may have occurred because wxPython is not installed on this system."
new "قد يكون سبب ذلك ان wxPython غير موجود في نظام التشغيل لديك"
# editor.rpy:169
@@ -380,7 +380,7 @@
new "مطلوب تحميل ملف بحجم 1.8 ميغا بايت."
# editor.rpy:182
old "This may have occured because Java is not installed on this system."
old "This may have occurred because Java is not installed on this system."
new "قد يكون السبب ان الجافا غير موجوده على هذا الجهاز."
# editor.rpy:191
@@ -392,7 +392,7 @@
new "يمنع رينباي من فتح اي محرر نصوص"
# editor.rpy:359
old "An exception occured while launching the text editor:\n[exception!q]"
old "An exception occurred while launching the text editor:\n[exception!q]"
new "حصل استثناء اثناء فتح المحرر: \n[exception!q]"
# editor.rpy:457
@@ -608,7 +608,7 @@
new "خطأ"
# interface.rpy:356
old "While [what!qt], an error occured:"
old "While [what!qt], an error occurred:"
new "حصل خطأ أثناء [what!qt]"
# interface.rpy:356
@@ -1136,7 +1136,7 @@
new "أحدث نسخة طازجة من رينباي التجريبي, قد يحتوي على آخر مستجدات رينباي و قد لا يعمل مطلقاً"
# updater.rpy:152
old "An error has occured:"
old "An error has occurred:"
new "حصل خطأ:"
# updater.rpy:154
+4 -5
View File
@@ -174,8 +174,8 @@ translate arabic strings:
new "## This lays out the basic common structure of a game menu screen. It's called with the screen title, and displays the background, title, and navigation."
# screens.rpy:418
old "## The scroll parameter can be None, or one of \"viewport\" or \"vpgrid\". When this screen is intended to be used with one or more children, which are transcluded (placed) inside it."
new "## The scroll parameter can be None, or one of \"viewport\" or \"vpgrid\". When this screen is intended to be used with one or more children, which are transcluded (placed) inside it."
old "## The scroll parameter can be None, or one of \"viewport\" or \"vpgrid\". This screen is intended to be used with one or more children, which are transcluded (placed) inside it."
new "## The scroll parameter can be None, or one of \"viewport\" or \"vpgrid\". This screen is intended to be used with one or more children, which are transcluded (placed) inside it."
# screens.rpy:476
old "Return"
@@ -494,8 +494,8 @@ translate arabic strings:
new "النقر بالزر الأيمن"
# screens.rpy:1062
old "Mouse Wheel Up\nClick Rollback Side"
new "تحريك عجلة الفأرة لأعلى\nClick Rollback Side"
old "Mouse Wheel Up"
new "تحريك عجلة الفأرة لأعلى"
# screens.rpy:1066
old "Mouse Wheel Down"
@@ -640,4 +640,3 @@ translate arabic strings:
# screens.rpy:1429
old "Menu"
new "Menu"
+1 -1
View File
@@ -20,7 +20,7 @@ label start:
define config.rtl = True
define gui.text_align = 1.0
define gui.textalign = 1.0
define gui.button_text_xalign = 1.0
define gui.prompt_text_xalign = 1.0
define gui.navigation_xpos = 240
+978
View File
@@ -0,0 +1,978 @@
translate danish strings:
# renpy/common/00accessibility.rpy:28
old "Self-voicing disabled."
new "Automatisk oplæsning deaktiveret."
# renpy/common/00accessibility.rpy:29
old "Clipboard voicing enabled. "
new "Oplæsning af udklipsholder aktiveret."
# renpy/common/00accessibility.rpy:30
old "Self-voicing enabled. "
new "Automatisk oplæsning aktiveret."
# renpy/common/00accessibility.rpy:32
old "bar"
new "bjælke"
# renpy/common/00accessibility.rpy:33
old "selected"
new "valgt"
# renpy/common/00accessibility.rpy:34
old "viewport"
new "visningsport"
# renpy/common/00accessibility.rpy:35
old "horizontal scroll"
new "vandret rulning"
# renpy/common/00accessibility.rpy:36
old "vertical scroll"
new "lodret rulning"
# renpy/common/00accessibility.rpy:37
old "activate"
new "aktivér"
# renpy/common/00accessibility.rpy:38
old "deactivate"
new "deaktiver"
# renpy/common/00accessibility.rpy:39
old "increase"
new "øg"
# renpy/common/00accessibility.rpy:40
old "decrease"
new "sænk"
# renpy/common/00accessibility.rpy:138
old "Font Override"
new "Tilsidesættelse af skrifttype"
# renpy/common/00accessibility.rpy:142
old "Default"
new "Standard"
# renpy/common/00accessibility.rpy:146
old "DejaVu Sans"
new "DejaVu Sans"
# renpy/common/00accessibility.rpy:150
old "Opendyslexic"
new "Opendyslexic"
# renpy/common/00accessibility.rpy:156
old "Text Size Scaling"
new "Skalering af skriftstørrelse"
# renpy/common/00accessibility.rpy:162
old "Reset"
new "Nulstil"
# renpy/common/00accessibility.rpy:168
old "Line Spacing Scaling"
new "Skalering af linjeafstand"
# renpy/common/00accessibility.rpy:180
old "High Contrast Text"
new "Tekst med høj kontrast"
# renpy/common/00accessibility.rpy:182
old "Enable"
new "Slå til"
# renpy/common/00accessibility.rpy:186
old "Disable"
new "Slå fra"
# renpy/common/00accessibility.rpy:193
old "Self-Voicing"
new "Automatisk oplæsning"
# renpy/common/00accessibility.rpy:197
old "Off"
new "Fra"
# renpy/common/00accessibility.rpy:201
old "Text-to-speech"
new "Tekst til tale"
# renpy/common/00accessibility.rpy:205
old "Clipboard"
new "Udklipsholder"
# renpy/common/00accessibility.rpy:209
old "Debug"
new "Fejlsøgning"
# renpy/common/00accessibility.rpy:223
old "Self-Voicing Volume Drop"
new "Lydstyrkesænkning ved automatisk oplæsning"
# renpy/common/00accessibility.rpy:234
old "The options on this menu are intended to improve accessibility. They may not work with all games, and some combinations of options may render the game unplayable. This is not an issue with the game or engine. For the best results when changing fonts, try to keep the text size the same as it originally was."
new "Indstillingerne i denne menu er tiltænkt at forbedre tilgængelighed. De virker muligvis ikke med alle spil, og visse kombinationer af indstillinger gør muligvis spillet uspilleligt. Dette er ikke et problem med spillet eller spilmotoren. Prøv at bevare den originale skriftstørrelse for at opnå det bedste resultat væd ændring af skrifttype."
# renpy/common/00action_file.rpy:26
old "{#weekday}Monday"
new "{#weekday}mandag"
# renpy/common/00action_file.rpy:26
old "{#weekday}Tuesday"
new "{#weekday}tirsdag"
# renpy/common/00action_file.rpy:26
old "{#weekday}Wednesday"
new "{#weekday}onsdag"
# renpy/common/00action_file.rpy:26
old "{#weekday}Thursday"
new "{#weekday}torsdag"
# renpy/common/00action_file.rpy:26
old "{#weekday}Friday"
new "{#weekday}fredag"
# renpy/common/00action_file.rpy:26
old "{#weekday}Saturday"
new "{#weekday}lørdag"
# renpy/common/00action_file.rpy:26
old "{#weekday}Sunday"
new "{#weekday}søndag"
# renpy/common/00action_file.rpy:37
old "{#weekday_short}Mon"
new "{#weekday_short}man"
# renpy/common/00action_file.rpy:37
old "{#weekday_short}Tue"
new "{#weekday_short}tir"
# renpy/common/00action_file.rpy:37
old "{#weekday_short}Wed"
new "{#weekday_short}ons"
# renpy/common/00action_file.rpy:37
old "{#weekday_short}Thu"
new "{#weekday_short}tor"
# renpy/common/00action_file.rpy:37
old "{#weekday_short}Fri"
new "{#weekday_short}fre"
# renpy/common/00action_file.rpy:37
old "{#weekday_short}Sat"
new "{#weekday_short}lør"
# renpy/common/00action_file.rpy:37
old "{#weekday_short}Sun"
new "{#weekday_short}søn"
# renpy/common/00action_file.rpy:47
old "{#month}January"
new "{#month}januar"
# renpy/common/00action_file.rpy:47
old "{#month}February"
new "{#month}februar"
# renpy/common/00action_file.rpy:47
old "{#month}March"
new "{#month}marts"
# renpy/common/00action_file.rpy:47
old "{#month}April"
new "{#month}april"
# renpy/common/00action_file.rpy:47
old "{#month}May"
new "{#month}maj"
# renpy/common/00action_file.rpy:47
old "{#month}June"
new "{#month}juni"
# renpy/common/00action_file.rpy:47
old "{#month}July"
new "{#month}juli"
# renpy/common/00action_file.rpy:47
old "{#month}August"
new "{#month}august"
# renpy/common/00action_file.rpy:47
old "{#month}September"
new "{#month}september"
# renpy/common/00action_file.rpy:47
old "{#month}October"
new "{#month}oktober"
# renpy/common/00action_file.rpy:47
old "{#month}November"
new "{#month}november"
# renpy/common/00action_file.rpy:47
old "{#month}December"
new "{#month}december"
# renpy/common/00action_file.rpy:63
old "{#month_short}Jan"
new "{#month_short}jan"
# renpy/common/00action_file.rpy:63
old "{#month_short}Feb"
new "{#month_short}feb"
# renpy/common/00action_file.rpy:63
old "{#month_short}Mar"
new "{#month_short}mar"
# renpy/common/00action_file.rpy:63
old "{#month_short}Apr"
new "{#month_short}apr"
# renpy/common/00action_file.rpy:63
old "{#month_short}May"
new "{#month_short}maj"
# renpy/common/00action_file.rpy:63
old "{#month_short}Jun"
new "{#month_short}jun"
# renpy/common/00action_file.rpy:63
old "{#month_short}Jul"
new "{#month_short}jul"
# renpy/common/00action_file.rpy:63
old "{#month_short}Aug"
new "{#month_short}aug"
# renpy/common/00action_file.rpy:63
old "{#month_short}Sep"
new "{#month_short}sep"
# renpy/common/00action_file.rpy:63
old "{#month_short}Oct"
new "{#month_short}okt"
# renpy/common/00action_file.rpy:63
old "{#month_short}Nov"
new "{#month_short}nov"
# renpy/common/00action_file.rpy:63
old "{#month_short}Dec"
new "{#month_short}dec"
# renpy/common/00action_file.rpy:258
old "%b %d, %H:%M"
new "%d. %b, %H:%M"
# renpy/common/00action_file.rpy:378
old "Save slot %s: [text]"
new "Gem plads %s: [text]"
# renpy/common/00action_file.rpy:461
old "Load slot %s: [text]"
new "Indlæs plads %s: [text]"
# renpy/common/00action_file.rpy:514
old "Delete slot [text]"
new "Slet plads [text]"
# renpy/common/00action_file.rpy:593
old "File page auto"
new "Filside auto"
# renpy/common/00action_file.rpy:595
old "File page quick"
new "Filside hurtig"
# renpy/common/00action_file.rpy:597
old "File page [text]"
new "Filside [text]"
# renpy/common/00action_file.rpy:796
old "Next file page."
new "Næste filside."
# renpy/common/00action_file.rpy:868
old "Previous file page."
new "Forrige filside."
# renpy/common/00action_file.rpy:929
old "Quick save complete."
new "Hurtiggemning fuldført."
# renpy/common/00action_file.rpy:944
old "Quick save."
new "Hurtiggem."
# renpy/common/00action_file.rpy:963
old "Quick load."
new "Hurtigindlæs."
# renpy/common/00action_other.rpy:383
old "Language [text]"
new "Sprog [text]"
# renpy/common/00action_other.rpy:724
old "Open [text] directory."
new "Åbn mappen [text]."
# renpy/common/00director.rpy:705
old "The interactive director is not enabled here."
new "Det interaktive instruktionsværktøj er ikke aktiveret her."
# renpy/common/00director.rpy:1504
old "⬆"
new "⬆"
# renpy/common/00director.rpy:1510
old "⬇"
new "⬇"
# renpy/common/00director.rpy:1574
old "Done"
new "Færdig"
# renpy/common/00director.rpy:1584
old "(statement)"
new "(sætning)"
# renpy/common/00director.rpy:1585
old "(tag)"
new "(mærke)"
# renpy/common/00director.rpy:1586
old "(attributes)"
new "(attributter)"
# renpy/common/00director.rpy:1587
old "(transform)"
new "(transformation)"
# renpy/common/00director.rpy:1612
old "(transition)"
new "(overgang)"
# renpy/common/00director.rpy:1624
old "(channel)"
new "(kanal)"
# renpy/common/00director.rpy:1625
old "(filename)"
new "(filnavn)"
# renpy/common/00director.rpy:1654
old "Change"
new "Ændr"
# renpy/common/00director.rpy:1656
old "Add"
new "Tilføj"
# renpy/common/00director.rpy:1659
old "Cancel"
new "Annuller"
# renpy/common/00director.rpy:1662
old "Remove"
new "Fjern"
# renpy/common/00director.rpy:1697
old "Statement:"
new "Sætning:"
# renpy/common/00director.rpy:1718
old "Tag:"
new "Mærke:"
# renpy/common/00director.rpy:1734
old "Attributes:"
new "Attributter:"
# renpy/common/00director.rpy:1745
old "Click to toggle attribute, right click to toggle negative attribute."
new "Klik for at slå attributter til/fra, højreklik for at slå negative attributter til/fra."
# renpy/common/00director.rpy:1757
old "Transforms:"
new "Transformationer:"
# renpy/common/00director.rpy:1768
old "Click to set transform, right click to add to transform list."
new "Klik for at stille transformation, højreklik for at tilføje til transformationsliste."
# renpy/common/00director.rpy:1780
old "Behind:"
new "Bagved:"
# renpy/common/00director.rpy:1789
old "Click to set, right click to add to behind list."
new "Klik for at stille, højreklik for at tilføje til bagvedliste."
# renpy/common/00director.rpy:1801
old "Transition:"
new "Overgang:"
# renpy/common/00director.rpy:1819
old "Channel:"
new "Kanal:"
# renpy/common/00director.rpy:1837
old "Audio Filename:"
new "Lydfilnavn:"
# renpy/common/00gui.rpy:446
old "Are you sure?"
new "Er du sikker?"
# renpy/common/00gui.rpy:447
old "Are you sure you want to delete this save?"
new "Vil du gerne slette denne gemmefil?"
# renpy/common/00gui.rpy:448
old "Are you sure you want to overwrite your save?"
new "Vil du gerne overskrive din gemmefil?"
# renpy/common/00gui.rpy:449
old "Loading will lose unsaved progress.\nAre you sure you want to do this?"
new "Ved indlæsning vil ugemte fremskridt gå tabt.\nVil du gerne gøre dette?"
# renpy/common/00gui.rpy:450
old "Are you sure you want to quit?"
new "Vil du gerne afslutte?"
# renpy/common/00gui.rpy:451
old "Are you sure you want to return to the main menu?\nThis will lose unsaved progress."
new "Vil du gerne vende tilbage til hovedmenuen?\nUgemte fremskridt vil gå tabt."
# renpy/common/00gui.rpy:452
old "Are you sure you want to end the replay?"
new "Vil du gerne afslutte genafspilningnen?"
# renpy/common/00gui.rpy:453
old "Are you sure you want to begin skipping?"
new "Vil du gerne påbegynde overspringning?"
# renpy/common/00gui.rpy:454
old "Are you sure you want to skip to the next choice?"
new "Vil du gerne springe videre til det næste valg?"
# renpy/common/00gui.rpy:455
old "Are you sure you want to skip unseen dialogue to the next choice?"
new "Vil du gerne springe over uset dialog til det næste valg?"
# renpy/common/00gui.rpy:456
old "This save was created on a different device. Maliciously constructed save files can harm your computer. Do you trust this save's creator and everyone who could have changed the file?"
new "Denne gemmefil blev oprettet på en anden enhed. Gemmefiler konstrueret med ondsindet hensigt kan skade din computer. Stoler du på den, der har oprettet gemmefilen, og på alle, der kan have ændret filen?"
# renpy/common/00gui.rpy:457
old "Do you trust the device the save was created on? You should only choose yes if you are the device's sole user."
new "Stoler du på enheden, som gemmefilen oprettedes på? Du bør kun vælge ja, hvis du er enhedens eneste bruger."
# renpy/common/00keymap.rpy:322
old "Failed to save screenshot as %s."
new "Kunne ikke gemme skærmbillede som %s."
# renpy/common/00keymap.rpy:334
old "Saved screenshot as %s."
new "Gemte skærmbillede som %s."
# renpy/common/00library.rpy:248
old "Skip Mode"
new "Overspringstilstand"
# renpy/common/00library.rpy:335
old "This program contains free software under a number of licenses, including the MIT License and GNU Lesser General Public License. A complete list of software, including links to full source code, can be found {a=https://www.renpy.org/l/license}here{/a}."
new "Dette program indeholder gratis software under forskellige licenser, herunder MIT-licensen og GNU Lesser General Public License. En komplet liste over software, inklusiv links til fulde kildekoder, kan findes {a=https://www.renpy.org/l/license}her{/a}."
# renpy/common/00preferences.rpy:271
old "display"
new "skærmvisning"
# renpy/common/00preferences.rpy:287
old "transitions"
new "overgange"
# renpy/common/00preferences.rpy:296
old "skip transitions"
new "spring overgange over"
# renpy/common/00preferences.rpy:298
old "video sprites"
new "videosprites"
# renpy/common/00preferences.rpy:307
old "show empty window"
new "vis tomt vindue"
# renpy/common/00preferences.rpy:316
old "text speed"
new "teksthastighed"
# renpy/common/00preferences.rpy:324
old "joystick"
new "styrepind"
# renpy/common/00preferences.rpy:324
old "joystick..."
new "styrepind..."
# renpy/common/00preferences.rpy:331
old "skip"
new "spring over"
# renpy/common/00preferences.rpy:334
old "skip unseen [text]"
new "spring over uset [text]"
# renpy/common/00preferences.rpy:339
old "skip unseen text"
new "spring over uset tekst"
# renpy/common/00preferences.rpy:341
old "begin skipping"
new "påbegynd overspringning"
# renpy/common/00preferences.rpy:345
old "after choices"
new "efter valg"
# renpy/common/00preferences.rpy:352
old "skip after choices"
new "spring over efter valg"
# renpy/common/00preferences.rpy:354
old "auto-forward time"
new "auto-fremad-tid"
# renpy/common/00preferences.rpy:368
old "auto-forward"
new "auto-fremad"
# renpy/common/00preferences.rpy:375
old "Auto forward"
new "auto-fremad"
# renpy/common/00preferences.rpy:378
old "auto-forward after click"
new "auto-fremad efter klik"
# renpy/common/00preferences.rpy:387
old "automatic move"
new "automatisk bevægelse"
# renpy/common/00preferences.rpy:396
old "wait for voice"
new "vent på stemme"
# renpy/common/00preferences.rpy:405
old "voice sustain"
new "stemmebevarelse"
# renpy/common/00preferences.rpy:414
old "self voicing"
new "automatisk oplæsning"
# renpy/common/00preferences.rpy:423
old "self voicing volume drop"
new "lydstyrkesænkning ved automatisk oplæsning"
# renpy/common/00preferences.rpy:431
old "clipboard voicing"
new "oplæsning af udklipsholder"
# renpy/common/00preferences.rpy:440
old "debug voicing"
new "oplæsning af fejlsøgning"
# renpy/common/00preferences.rpy:449
old "emphasize audio"
new "fremhæv lyd"
# renpy/common/00preferences.rpy:458
old "rollback side"
new "tilbagerulningsside"
# renpy/common/00preferences.rpy:468
old "gl powersave"
new "gl-strømbesparelse"
# renpy/common/00preferences.rpy:474
old "gl framerate"
new "gl-billedhastighed"
# renpy/common/00preferences.rpy:477
old "gl tearing"
new "gl-overrivning"
# renpy/common/00preferences.rpy:480
old "font transform"
new "skrifttransformation"
# renpy/common/00preferences.rpy:483
old "font size"
new "skriftstørrelse"
# renpy/common/00preferences.rpy:491
old "font line spacing"
new "linjeafstand for skrift"
# renpy/common/00preferences.rpy:499
old "system cursor"
new "systemmarkør"
# renpy/common/00preferences.rpy:508
old "renderer menu"
new "optegningsmenu"
# renpy/common/00preferences.rpy:511
old "accessibility menu"
new "tilgængelighedsmenu"
# renpy/common/00preferences.rpy:514
old "high contrast text"
new "tekst med høj kontrast"
# renpy/common/00preferences.rpy:523
old "audio when minimized"
new "lyd ved minimeret tilstand"
# renpy/common/00preferences.rpy:532
old "audio when unfocused"
new "lyd ved ufokuseret tilstand"
# renpy/common/00preferences.rpy:541
old "web cache preload"
new "forudindlæsning af webcache"
# renpy/common/00preferences.rpy:556
old "voice after game menu"
new "stemme efter spilmenu"
# renpy/common/00preferences.rpy:575
old "main volume"
new "primær lydstyrke"
# renpy/common/00preferences.rpy:576
old "music volume"
new "musiklydstyrke"
# renpy/common/00preferences.rpy:577
old "sound volume"
new "lydeffektlydstyrke"
# renpy/common/00preferences.rpy:578
old "voice volume"
new "stemmelydstyrke"
# renpy/common/00preferences.rpy:579
old "mute main"
new "slå primær lyd fra"
# renpy/common/00preferences.rpy:580
old "mute music"
new "slå musik fra"
# renpy/common/00preferences.rpy:581
old "mute sound"
new "slå lydeffekter fra"
# renpy/common/00preferences.rpy:582
old "mute voice"
new "slå stemmer fra"
# renpy/common/00preferences.rpy:583
old "mute all"
new "slå alle fra"
# renpy/common/00preferences.rpy:657
old "Clipboard voicing enabled. Press 'shift+C' to disable."
new "Oplæsning af udklipsholder aktiveret. Tryk på 'shift+C' for at deaktivere."
# renpy/common/00preferences.rpy:659
old "Self-voicing would say \"[renpy.display.tts.last]\". Press 'alt+shift+V' to disable."
new "Automatisk oplæsning ville sige \"[renpy.display.tts.last]\". Tryk på 'alt+shift+V' for at deaktivere."
# renpy/common/00preferences.rpy:661
old "Self-voicing enabled. Press 'v' to disable."
new "Automatisk oplæsning aktiveret. Tryk på 'v' for at deaktivere."
# renpy/common/00speechbubble.rpy:344
old "Speech Bubble Editor"
new "Talebobleredigering"
# renpy/common/00speechbubble.rpy:349
old "(hide)"
new "(skjul)"
# renpy/common/00sync.rpy:70
old "Sync downloaded."
new "Synkronisering hentet."
# renpy/common/00sync.rpy:190
old "Could not connect to the Ren'Py Sync server."
new "Kunne ikke oprette forbindelse til Ren'Py Sync-serveren."
# renpy/common/00sync.rpy:192
old "The Ren'Py Sync server timed out."
new "Der opstod et forbindelsestimeout til Ren'Py Sync-serveren."
# renpy/common/00sync.rpy:194
old "An unknown error occurred while connecting to the Ren'Py Sync server."
new "En ukendt fejl opstod under forbindelse til Ren'Py Sync-serveren."
# renpy/common/00sync.rpy:267
old "The Ren'Py Sync server does not have a copy of this sync. The sync ID may be invalid, or it may have timed out."
new "Ren'Py Sync-serveren har ikke en kopi af denne synkronisering. Synkroniserings-id'er er muligvis ugyldig eller udløbet."
# renpy/common/00sync.rpy:412
old "Please enter the sync ID you generated.\nNever enter a sync ID you didn't create yourself."
new "Indtast venligst dit genererede synkroniserings-id.\nIndtast aldrig et synkroniserings-id, som du ikke selv har oprettet."
# renpy/common/00sync.rpy:431
old "The sync ID is not in the correct format."
new "Synkroniserings-id'et er ikke i det korrekte format."
# renpy/common/00sync.rpy:451
old "The sync could not be decrypted."
new "Synkroniseringen kunne ikke afkodes."
# renpy/common/00sync.rpy:474
old "The sync belongs to a different game."
new "Synkroniseringen tilhører et andet spil."
# renpy/common/00sync.rpy:479
old "The sync contains a file with an invalid name."
new "Synkroniseringen indeholder en fil med et ugyldigt navn."
# renpy/common/00sync.rpy:532
old "This will upload your saves to the {a=https://sync.renpy.org}Ren'Py Sync Server{/a}.\nDo you want to continue?"
new "Dette sender dine gemmefiler til {a=https://sync.renpy.org}Ren'Py Sync-serveren{/a}.\nVil du gerne fortsætte?"
# renpy/common/00sync.rpy:561
old "Enter Sync ID"
new "Indtast Synkroniserings-id"
# renpy/common/00sync.rpy:572
old "This will contact the {a=https://sync.renpy.org}Ren'Py Sync Server{/a}."
new "Dette kontakter {a=https://sync.renpy.org}Ren'Py Sync-serveren{/a}."
# renpy/common/00sync.rpy:599
old "Sync Success"
new "Synkronisering lykkedes"
# renpy/common/00sync.rpy:602
old "The Sync ID is:"
new "Synkroniserings-id'et er:"
# renpy/common/00sync.rpy:608
old "You can use this ID to download your save on another device.\nThis sync will expire in an hour.\nRen'Py Sync is supported by {a=https://www.renpy.org/sponsors.html}Ren'Py's Sponsors{/a}."
new "Du kan bruge dette id til at hente din gemmefil på en anden enhed.\nDenne synkronisering udløber om en time.\nRen'Py Sync støttes af {a=https://www.renpy.org/sponsors.html}Ren'Pys sponsorer{/a}."
# renpy/common/00sync.rpy:612
old "Continue"
new "Fortsæt"
# renpy/common/00sync.rpy:634
old "Sync Error"
new "Synkroniseringsfejl"
# renpy/common/00iap.rpy:219
old "Contacting App Store\nPlease Wait..."
new "Kontakter App Store\nVent venligst..."
# renpy/common/00updater.rpy:419
old "The Ren'Py Updater is not supported on mobile devices."
new "Ren'Py-opdateringsprogrammet understøttes ikke på mobilenheder."
# renpy/common/00updater.rpy:548
old "An error is being simulated."
new "En fejl simuleres."
# renpy/common/00updater.rpy:738
old "Either this project does not support updating, or the update status file was deleted."
new "Enten understøtter dette projekt ikke opdatering, eller også er opdateringsstatusfilen blevet slettet."
# renpy/common/00updater.rpy:752
old "This account does not have permission to perform an update."
new "Denne bruger har ikke tilladelse til at udføre en opdatering."
# renpy/common/00updater.rpy:755
old "This account does not have permission to write the update log."
new "Denne bruger har ikke tilladelse til at skrive opdateringsloggen."
# renpy/common/00updater.rpy:783
old "Could not verify update signature."
new "Kunne ikke efterprøve opdateringssignaturen."
# renpy/common/00updater.rpy:1084
old "The update file was not downloaded."
new "Opdateringsfilen blev ikke hentet."
# renpy/common/00updater.rpy:1102
old "The update file does not have the correct digest - it may have been corrupted."
new "Opdateringsfilen har ikke det korrekte fingeraftryk - den er muligvis blevet korrupteret."
# renpy/common/00updater.rpy:1252
old "While unpacking {}, unknown type {}."
new "Under udpakning {}, ukendt type {}"
# renpy/common/00updater.rpy:1624
old "Updater"
new "Opdateringsprogram"
# renpy/common/00updater.rpy:1635
old "This program is up to date."
new "Dette program er ajour."
# renpy/common/00updater.rpy:1637
old "[u.version] is available. Do you want to install it?"
new "[u.version] er tilgængelig. Vil du gerne installere denne?"
# renpy/common/00updater.rpy:1639
old "Preparing to download the updates."
new "Forbereder hentning af opdateringerne."
# renpy/common/00updater.rpy:1641
old "Downloading the updates."
new "Henter opdateringerne."
# renpy/common/00updater.rpy:1643
old "Unpacking the updates."
new "Udpakker opdateringerne."
# renpy/common/00updater.rpy:1647
old "The updates have been installed. The program will restart."
new "Opdateringer er blevet installeret. Programmet genstarter."
# renpy/common/00updater.rpy:1649
old "The updates have been installed."
new "Opdateringerne er blevet installeret."
# renpy/common/00updater.rpy:1651
old "The updates were cancelled."
new "Opdateringerne blev annulleret."
# renpy/common/00gallery.rpy:627
old "Image [index] of [count] locked."
new "Billede [index] af [count] låst."
# renpy/common/00gallery.rpy:647
old "prev"
new "forrige"
# renpy/common/00gallery.rpy:648
old "next"
new "næste"
# renpy/common/00gallery.rpy:649
old "slideshow"
new "diasshow"
# renpy/common/00gallery.rpy:650
old "return"
new "tilbage"
# renpy/common/00director.rpy:1776
old "Customize director.transforms to add more transforms."
new "Tilpas director.transforms for at tilføje flere transformationer."
# renpy/common/00director.rpy:1821
old "Click to set."
new "Klik for at stille."
# renpy/common/00director.rpy:1822
old "Customize director.transitions to add more transitions."
new "Tilpas director.transitions for at tilføje flere overgange."
# renpy/common/00director.rpy:1845
old "Customize director.audio_channels to add more channels."
new "Tilpas director.audio_channels for at tilføje flere kanaler."
# renpy/common/00preferences.rpy:573
old "restore window position"
new "gendan vinduesplacering"
# renpy/common/00speechbubble.rpy:408
old "(clear retained bubbles)"
new "(opryd bibeholdte bobler)"
# renpy/common/00updater.rpy:504
old "No update methods found."
new "Ingen opdateringsmetoder fundet."
# renpy/common/00updater.rpy:551
old "Could not download file list: "
new "Kunne ikke hente filliste:"
# renpy/common/00updater.rpy:554
old "File list digest does not match."
new "Fillistens fingeraftryk matcher ikke."
# renpy/common/00updater.rpy:2072
old "Preparing to download the game data."
new "Forbereder hentning af spildataene."
# renpy/common/00updater.rpy:2074
old "Downloading the game data."
new "Henter spildataene."
# renpy/common/00updater.rpy:2076
old "The game data has been downloaded."
new "Spildataene er blevet hentet."
# renpy/common/00updater.rpy:2078
old "An error occurred when trying to download game data:"
new "En fejl opstod under forsøg på hentning af spildata:"
# renpy/common/00updater.rpy:2083
old "This game cannot be run until the game data has been downloaded."
new "Dette spil kan ikke køres, indtil spildataene er blevet hentet."
# renpy/common/00updater.rpy:2090
old "Retry"
new "Prøv igen"
# renpy/common/00accessibility.rpy:120
old "Accessibility Menu. Use up and down arrows to navigate, and enter to activate buttons and bars."
new "Tilgængelighedsmenu. Brug op- og ned-piletasterne til at navigere og retur til at aktivere knapper og bjælker."
# renpy/common/00gui.rpy:454
old "Are you sure you want to continue where you left off?"
new "Vil du gerne fortsætte fra hvor du slap?"
# renpy/common/00preferences.rpy:439
old "self voicing enable"
new "aktivér automatisk oplæsning"
# renpy/common/00preferences.rpy:441
old "self voicing disable"
new "deaktiver automatisk oplæsning"
# renpy/common/00preferences.rpy:456
old "clipboard voicing enable"
new "aktivér oplæsning af udklipsholder"
# renpy/common/00preferences.rpy:458
old "clipboard voicing disable"
new "deaktiver oplæsning af udklipsholder"
# renpy/common/00preferences.rpy:465
old "debug voicing enable"
new "aktivér oplæsning af fejlsøgning"
# renpy/common/00preferences.rpy:467
old "debug voicing disable"
new "deaktiver oplæsning af fejlsøgning"
# renpy/common/00preferences.rpy:596
old "reset"
new "nulstil"
+278
View File
@@ -0,0 +1,278 @@
translate danish strings:
# renpy/common/_developer/developer.rpym:38
old "Developer Menu"
new "Udviklermenu"
# renpy/common/_developer/developer.rpym:43
old "Interactive Director (D)"
new "Interaktivt instruktionsværktøj (D)"
# renpy/common/_developer/developer.rpym:45
old "Reload Game (Shift+R)"
new "Genindlæs spil (Shift+R)"
# renpy/common/_developer/developer.rpym:47
old "Console (Shift+O)"
new "Konsol (Shift+O)"
# renpy/common/_developer/developer.rpym:49
old "Variable Viewer"
new "Variabelviser"
# renpy/common/_developer/developer.rpym:51
old "Persistent Viewer"
new "Vedvarende data-viser"
# renpy/common/_developer/developer.rpym:53
old "Image Location Picker"
new "Billedplaceringsvælger"
# renpy/common/_developer/developer.rpym:55
old "Filename List"
new "Filnavneliste"
# renpy/common/_developer/developer.rpym:59
old "Show Image Load Log (F4)"
new "Vis billedindlæsningslog (F4)"
# renpy/common/_developer/developer.rpym:62
old "Hide Image Load Log (F4)"
new "Skjul billedindlæsningslog (F4)"
# renpy/common/_developer/developer.rpym:65
old "Image Attributes"
new "Billedattributter"
# renpy/common/_developer/developer.rpym:70
old "Speech Bubble Editor (Shift+B)"
new "Talebobleredigering (Shift+B)"
# renpy/common/_developer/developer.rpym:97
old "[name] [attributes] (hidden)"
new "[name] [attributes] (skjult)"
# renpy/common/_developer/developer.rpym:101
old "[name] [attributes]"
new "[name] [attributes]"
# renpy/common/_developer/developer.rpym:151
old "Nothing to inspect."
new "Intet at inspicere."
# renpy/common/_developer/developer.rpym:162
old "Hide deleted"
new "Skjul slettede"
# renpy/common/_developer/developer.rpym:162
old "Show deleted"
new "Vis slettede"
# renpy/common/_developer/developer.rpym:318
old "Rectangle copied to clipboard."
new "Rektangel kopieret til udklipsholder."
# renpy/common/_developer/developer.rpym:321
old "Position copied to clipboard."
new "Position kopieret til udklipsholder."
# renpy/common/_developer/developer.rpym:333
old "Rectangle: %r"
new "Rektangel: %r"
# renpy/common/_developer/developer.rpym:336
old "Mouse position: %r"
new "Museposition: %r"
# renpy/common/_developer/developer.rpym:341
old "Right-click or escape to quit."
new "Højreklik eller escape for at afslutte."
# renpy/common/_developer/developer.rpym:389
old "Type to filter: "
new "Skriv for at filtrere: "
# renpy/common/_developer/developer.rpym:507
old "Textures: [tex_count] ([tex_size_mb:.1f] MB)"
new "Teksturer: [tex_count] ([tex_size_mb:.1f] MB)"
# renpy/common/_developer/developer.rpym:511
old "Image cache: [cache_pct:.1f]% ([cache_size_mb:.1f] MB)"
new "Billedcache: [cache_pct:.1f]% ([cache_size_mb:.1f] MB)"
# renpy/common/_developer/developer.rpym:521
old "✔ "
new "✔ "
# renpy/common/_developer/developer.rpym:524
old "✘ "
new "✘ "
# renpy/common/_developer/developer.rpym:529
old "\n{color=#cfc}✔ predicted image (good){/color}\n{color=#fcc}✘ unpredicted image (bad){/color}\n{color=#fff}Drag to move.{/color}"
new "\n{color=#cfc}✔ forudset billede (godt){/color}\n{color=#fcc}✘ uforudset billede (dårligt){/color}\n{color=#fff}Træk for at flytte.{/color}"
# renpy/common/_developer/inspector.rpym:38
old "Displayable Inspector"
new "Inspektion af visbare elementer"
# renpy/common/_developer/inspector.rpym:61
old "Size"
new "Størrelse"
# renpy/common/_developer/inspector.rpym:65
old "Style"
new "Stil"
# renpy/common/_developer/inspector.rpym:71
old "Location"
new "Placering"
# renpy/common/_developer/inspector.rpym:122
old "Inspecting Styles of [displayable_name!q]"
new "Inspicerer stile for [displayable_name!q]"
# renpy/common/_developer/inspector.rpym:139
old "displayable:"
new "visbart element:"
# renpy/common/_developer/inspector.rpym:145
old " (no properties affect the displayable)"
new " (ingen egenskaber påvirker det visbare element)"
# renpy/common/_developer/inspector.rpym:147
old " (default properties omitted)"
new " (standardegenskaber udeladt)"
# renpy/common/_developer/inspector.rpym:185
old "<repr() failed>"
new "<repr() mislykkedes>"
# renpy/common/00console.rpy:537
old "Press <esc> to exit console. Type help for help.\n"
new "Tryk <esc> for at gå ud af konsol. Skriv help for hjælp.\n"
# renpy/common/00console.rpy:541
old "Ren'Py script enabled."
new "Ren'Py-script aktiveret" #manuskripterne eller scripting?
# renpy/common/00console.rpy:543
old "Ren'Py script disabled."
new "Ren'Py-script deaktiveret." #manuskripterne eller scripting?
# renpy/common/00console.rpy:793
old "help: show this help\n help <expr>: show signature and documentation of <expr>"
new "help: vis denne hjælp\n help <udtryk>: vis signaturen og dokumentationen for <udtryk>"
# renpy/common/00console.rpy:817
old "Help may display undocumented functions. Please check that the function or\nclass you want to use is documented.\n\n"
new "Hjælp viser muligvis udokumenterede funktioner. Tjek venligst, om den funktion\neller klasse, du gerne vil bruge, er dokumenteret.\n\n"
# renpy/common/00console.rpy:826
old "commands:\n"
new "kommandoer:\n"
# renpy/common/00console.rpy:836
old " <renpy script statement>: run the statement\n"
new " <renpy-script-ordre>: kør ordren\n"
# renpy/common/00console.rpy:838
old " <python expression or statement>: run the expression or statement"
new " <python-udtryk eller -ordre>: kør udtrykket eller ordren"
# renpy/common/00console.rpy:846
old "clear: clear the console history"
new "clear: ryd konsolhistorikken"
# renpy/common/00console.rpy:850
old "exit: exit the console"
new "exit: gå ud af konsollen"
# renpy/common/00console.rpy:858
old "stack: print the return stack"
new "stack: udskriv returstakken"
# renpy/common/00console.rpy:880
old "load <slot>: loads the game from slot"
new "load <plads>: indlæser spillet fra plads"
# renpy/common/00console.rpy:893
old "save <slot>: saves the game in slot"
new "save <plads>: gemmer spillet på plads"
# renpy/common/00console.rpy:904
old "reload: reloads the game, refreshing the scripts"
new "reload: genindlæser spiller og genopfrisker manuskripterne"
# renpy/common/00console.rpy:912
old "watch <expression>: watch a python expression\n watch short: makes the representation of traced expressions short (default)\n watch long: makes the representation of traced expressions as is"
new "watch <udtryk>: hold øje med et python-udtryk\n watch short: gør repræsentationen af sporede udtryk kort (standard)\n watch long: gør repræsentationen af sporede udtryk, som den er"
# renpy/common/00console.rpy:949
old "unwatch <expression>: stop watching an expression"
new "unwatch <udtryk>: stop med at holde øje med et udtryk"
# renpy/common/00console.rpy:995
old "unwatchall: stop watching all expressions"
new "unwatchall: stop med at holde øje med alle udtryk"
# renpy/common/00console.rpy:1016
old "jump <label>: jumps to label"
new "jump <label>: springer til mærkat"
# renpy/common/00console.rpy:1032
old "short: Shorten the representation of objects on the console (default)."
new "short: Forkort repræsentationen af objekter i konsollen (standard)."
# renpy/common/00console.rpy:1036
old "long: Print the full representation of objects on the console."
new "long: Skriv den fulde repræsentationen af objekter til konsollen."
# renpy/common/00console.rpy:1040
old "escape: Enables escaping of unicode symbols in unicode strings."
new "escape: Aktiverer omdannelsen af unicode-tegn til undvigesekvenser i unicode-strenge."
# renpy/common/00console.rpy:1044
old "unescape: Disables escaping of unicode symbols in unicode strings and print it as is (default)."
new "unescape: Deaktiverer omdannelsen af unicode-tegn til undvigesekvenser i unicode-strenge og skriver dem, som de er (standard)."
# renpy/common/_developer/developer.rpym:69
old "Show Translation Identifiers"
new "Vis oversættelsesidentifikatorer"
# renpy/common/_developer/developer.rpym:72
old "Hide Translation Identifiers"
new "Skjul oversættelsesidentifikatorer"
# renpy/common/_developer/developer.rpym:81
old "Show Filename and Line"
new "Vil filnavn og linje"
# renpy/common/_developer/developer.rpym:84
old "Hide Filename and Line"
new "Skjul filnavn og linje"
# renpy/common/_developer/developer.rpym:127
old "Layer [l]:"
new "Lag [l]:"
# renpy/common/_developer/developer.rpym:131
old " [name] [attributes] (hidden)"
new " [name] [attributes] (skjult)"
# renpy/common/_developer/developer.rpym:135
old " [name] [attributes]"
new " [name] [attributes]"
# renpy/common/_developer/developer.rpym:606
old "\n{color=#fff}Copied to clipboard.{/color}"
new "\n{color=#fff}Kopieret til udklipsholder.{/color}"
# renpy/common/_developer/developer.rpym:612
old "\n{color=#fff}Click to copy.\nDrag to move.{/color}"
new "\n{color=#fff}Klik for at kopiere.\nTræk for at flytte.{/color}"
# renpy/common/_developer/developer.rpym:657
old "Click to open in editor."
new "Klik for at åbne i tekstbehandler."
+202
View File
@@ -0,0 +1,202 @@
translate danish strings:
# renpy/common/00gltest.rpy:89
old "Renderer"
new "Optegner"
# renpy/common/00gltest.rpy:93
old "Automatically Choose"
new "Vælg automatisk"
# renpy/common/00gltest.rpy:100
old "Force GL Renderer"
new "Påtving GL-optegner"
# renpy/common/00gltest.rpy:105
old "Force ANGLE Renderer"
new "Påtving ANGLE-optegner"
# renpy/common/00gltest.rpy:110
old "Force GLES Renderer"
new "Påtving GLES-optegner"
# renpy/common/00gltest.rpy:116
old "Force GL2 Renderer"
new "Påtving GL2-optegner"
# renpy/common/00gltest.rpy:121
old "Force ANGLE2 Renderer"
new "Påtving ANGLE2-optegner"
# renpy/common/00gltest.rpy:126
old "Force GLES2 Renderer"
new "Påtving GLES2-optegner"
# renpy/common/00gltest.rpy:136
old "Enable (No Blocklist)"
new "Aktivér (ingen blocklist)"
# renpy/common/00gltest.rpy:159
old "Powersave"
new "Strømsparing"
# renpy/common/00gltest.rpy:173
old "Framerate"
new "Billedhastighed"
# renpy/common/00gltest.rpy:177
old "Screen"
new "Skærm"
# renpy/common/00gltest.rpy:181
old "60"
new "60"
# renpy/common/00gltest.rpy:185
old "30"
new "30"
# renpy/common/00gltest.rpy:191
old "Tearing"
new "Tearing (overrivning)"
# renpy/common/00gltest.rpy:207
old "Changes will take effect the next time this program is run."
new "Ændringer træder i kraft, næste gang dette program køres."
# renpy/common/00gltest.rpy:242
old "Performance Warning"
new "Ydeevneadvarsel"
# renpy/common/00gltest.rpy:247
old "This computer is using software rendering."
new "Denne computer bruger softwareoptegning."
# renpy/common/00gltest.rpy:249
old "This game requires use of GL2 that can't be initialised."
new "Dette spil kræver brugen af GL2, som ikke kan initialiseres."
# renpy/common/00gltest.rpy:251
old "This computer has a problem displaying graphics: [problem]."
new "Denne computer har et problem med visning af grafik: [problem]."
# renpy/common/00gltest.rpy:255
old "Its graphics drivers may be out of date or not operating correctly. This can lead to slow or incorrect graphics display."
new "Dens grafikdrivere er muligvis forældede eller fungerer ikke korrekt. Dette kan føre til langsom eller ukorrkekt grafikvisning."
# renpy/common/00gltest.rpy:259
old "The {a=edit:1:log.txt}log.txt{/a} file may contain information to help you determine what is wrong with your computer."
new "Filen {a=edit:1:log.txt}log.txt{/a} indeholder muligvis information, der kan hjælpe dig med at bestemme, hvad der er galt med din computer."
# renpy/common/00gltest.rpy:264
old "More details on how to fix this can be found in the {a=[url]}documentation{/a}."
new "Flere detaljer om, hvordan du fikser dette, kan findes i {a=[url]}dokumentationen{/a}."
# renpy/common/00gltest.rpy:269
old "Continue, Show this warning again"
new "Fortsæt, og vis denne advarsel igen"
# renpy/common/00gltest.rpy:273
old "Continue, Don't show warning again"
new "Fortsæt, og vis ikke advarsel igen"
# renpy/common/00gltest.rpy:281
old "Change render options"
new "Ændr optegningsindstillinger"
# renpy/common/00gamepad.rpy:32
old "Select Gamepad to Calibrate"
new "Vælg spillekontrol at kalibrere"
# renpy/common/00gamepad.rpy:35
old "No Gamepads Available"
new "Ingen spillekontroller tilgængelige"
# renpy/common/00gamepad.rpy:54
old "Calibrating [name] ([i]/[total])"
new "Kalibrerer [name] ([i]/[total])"
# renpy/common/00gamepad.rpy:58
old "Press or move the '[control!s]' [kind]."
new "Tryk eller bevæg '[control!s]' [kind]."
# renpy/common/00gamepad.rpy:68
old "Skip (A)"
new "Spring over (A)"
# renpy/common/00gamepad.rpy:71
old "Back (B)"
new "Tilbage (B)"
# renpy/common/_errorhandling.rpym:555
old "Open"
new "Åbn"
# renpy/common/_errorhandling.rpym:557
old "Opens the traceback.txt file in a text editor."
new "Åbner traceback.txt-filen i en tekstbehandler."
# renpy/common/_errorhandling.rpym:559
old "Copy BBCode"
new "Kopiér BBCode"
# renpy/common/_errorhandling.rpym:561
old "Copies the traceback.txt file to the clipboard as BBcode for forums like https://lemmasoft.renai.us/."
new "Kopierer traceback.txt-filen til udkplipsholderen som BBCode til forummer som https://lemmasoft.renai.us/."
# renpy/common/_errorhandling.rpym:563
old "Copy Markdown"
new "Kopiér Markdown"
# renpy/common/_errorhandling.rpym:565
old "Copies the traceback.txt file to the clipboard as Markdown for Discord."
new "Kopierer traceback.txt-filen til udkplipsholderen som Markdown til Discord."
# renpy/common/_errorhandling.rpym:594
old "An exception has occurred."
new "En undtagelse er opstået."
# renpy/common/_errorhandling.rpym:617
old "Rollback"
new "Tilbagerulning"
# renpy/common/_errorhandling.rpym:619
old "Attempts a roll back to a prior time, allowing you to save or choose a different choice."
new "Forsøger en tilbagerulning til et forrigt tidspunkt og gør det muligt for dig at gemme eller træffe et andet valg."
# renpy/common/_errorhandling.rpym:622
old "Ignore"
new "Ignorer"
# renpy/common/_errorhandling.rpym:626
old "Ignores the exception, allowing you to continue."
new "Ignorerer undtagelsen og gør dig i stand til at fortsætte."
# renpy/common/_errorhandling.rpym:628
old "Ignores the exception, allowing you to continue. This often leads to additional errors."
new "Ignorerer undtagelsen og gør dig i stand til at fortsætte. Dette fører ofte til yderligere fejl."
# renpy/common/_errorhandling.rpym:632
old "Reload"
new "Genindlæs"
# renpy/common/_errorhandling.rpym:634
old "Reloads the game from disk, saving and restoring game state if possible."
new "Genindlæser spillet fra disken, gemmer og gendanner spilstatussen hvis muligt."
# renpy/common/_errorhandling.rpym:637
old "Console"
new "Konsol"
# renpy/common/_errorhandling.rpym:639
old "Opens a console to allow debugging the problem."
new "Åbner en konsol for at muliggøre problemløsning."
# renpy/common/_errorhandling.rpym:652
old "Quits the game."
new "Afslutter spillet."
# renpy/common/_errorhandling.rpym:673
old "Parsing the script failed."
new "Fortolkning af manuskript mislykkedes."
+442
View File
@@ -0,0 +1,442 @@
translate danish strings:
# gui/game/gui.rpy:2
old "## Initialization"
new "## Initialisering"
# gui/game/gui.rpy:5
old "## The init offset statement causes the initialization statements in this file to run before init statements in any other file."
new "## Erklæringen init offset får initialiseringserklæringerne i denne fil til at køre før init-erklæringer i enhver anden fil."
# gui/game/gui.rpy:9
old "## Calling gui.init resets the styles to sensible default values, and sets the width and height of the game."
new "## Ved at kalde gui.init nulstilles stilene til fornuftige standardværdier, og bredden og højden af spillet indstilles."
# gui/game/gui.rpy:14
old "## Enable checks for invalid or unstable properties in screens or transforms"
new "## Aktiver tjek efter ugyldige eller ustabile egenskaber i skærme eller transformationer"
# gui/game/gui.rpy:19
old "## GUI Configuration Variables"
new "## GUI-konfigurationsvariabler"
# gui/game/gui.rpy:23
old "## Colors"
new "## Farver"
# gui/game/gui.rpy:25
old "## The colors of text in the interface."
new "## Farverne på tekst i skærmfladen."
# gui/game/gui.rpy:27
old "## An accent color used throughout the interface to label and highlight text."
new "## En accentfarve brugt gennem hele skærmfladen til at markere og fremhæve tekst."
# gui/game/gui.rpy:31
old "## The color used for a text button when it is neither selected nor hovered."
new "## Farven brugt til en tekstknap, når den hverken er valgt eller holdes henover."
# gui/game/gui.rpy:34
old "## The small color is used for small text, which needs to be brighter/darker to achieve the same effect."
new "## Small-farven bruges til lille tekst, som skal være lysere/mørkere for at opnå samme effekt."
# gui/game/gui.rpy:38
old "## The color that is used for buttons and bars that are hovered."
new "## Farven, der bruges til knapper og bjælker, hvor markøren holdes henover."
# gui/game/gui.rpy:41
old "## The color used for a text button when it is selected but not focused. A button is selected if it is the current screen or preference value."
new "## Farven, der bruges til en tekstknap, når den er valgt men ikke i fokus. En knap er valgt, hvis den er den nuværende skærm- eller præferenceværdi."
# gui/game/gui.rpy:45
old "## The color used for a text button when it cannot be selected."
new "## Farven, der bruges til en tekstknap, når den ikke kan vælges."
# gui/game/gui.rpy:48
old "## Colors used for the portions of bars that are not filled in. These are not used directly, but are used when re-generating bar image files."
new "## Farven, der bruges til de dele af bjælker, der ikke er udfyldt. Disse bruges ikke direkte, men bruges, når bjælkebilledfilerne regenereres."
# gui/game/gui.rpy:53
old "## The colors used for dialogue and menu choice text."
new "## Farverne brugt til dialogtekst og tekst i menupunkter."
# gui/game/gui.rpy:58
old "## Fonts and Font Sizes"
new "## Skrifttyper og -størrelser"
# gui/game/gui.rpy:60
old "## The font used for in-game text."
new "## Skrifttypen brugt til tekst i spillet."
# gui/game/gui.rpy:63
old "## The font used for character names."
new "## Skrifttypen brugt til figurnavne."
# gui/game/gui.rpy:66
old "## The font used for out-of-game text."
new "## Skrifttypen brugt til tekst uden for spillet."
# gui/game/gui.rpy:69
old "## The size of normal dialogue text."
new "## Størrelsen på normal dialogtekst."
# gui/game/gui.rpy:72
old "## The size of character names."
new "## Størrelsen på figurnavne."
# gui/game/gui.rpy:75
old "## The size of text in the game's user interface."
new "## Størrelsen på tekst i spillets brugerflade."
# gui/game/gui.rpy:78
old "## The size of labels in the game's user interface."
new "## Størrelsen på mærkater i spillets brugeflade."
# gui/game/gui.rpy:81
old "## The size of text on the notify screen."
new "## Størrelsen på teksten på notifikationsskærmen."
# gui/game/gui.rpy:84
old "## The size of the game's title."
new "## Størrelsen på spillets titel."
# gui/game/gui.rpy:88
old "## Main and Game Menus"
new "## Hoved- og spilmenuer"
# gui/game/gui.rpy:90
old "## The images used for the main and game menus."
new "## Billederne brugt til hoved- og spilmenuerne."
# gui/game/gui.rpy:95
old "## Dialogue"
new "## Dialog"
# gui/game/gui.rpy:97
old "## These variables control how dialogue is displayed on the screen one line at a time."
new "## Disse variabler kontrollerer, hvordan dialog vises på skærmen én linje ad gangen."
# gui/game/gui.rpy:100
old "## The height of the textbox containing dialogue."
new "## Højden af tekstboksen, der indeholder dialog."
# gui/game/gui.rpy:103
old "## The placement of the textbox vertically on the screen. 0.0 is the top, 0.5 is center, and 1.0 is the bottom."
new "## Placeringen af tekstboksen lodret på skærmen. 0.0 er i toppen, 0.5 er midti og 1.0 er i bunden."
# gui/game/gui.rpy:108
old "## The placement of the speaking character's name, relative to the textbox. These can be a whole number of pixels from the left or top, or 0.5 to center."
new "## Placeringen af den talende figurs navn relativt til tekstboksen. Disse kan være et helt antal af pixels fra venstre eller toppen, eller 0.5 for centrering."
# gui/game/gui.rpy:113
old "## The horizontal alignment of the character's name. This can be 0.0 for left-aligned, 0.5 for centered, and 1.0 for right-aligned."
new "## Den vandrette justering af figurens navn. Denne kan være 0.0 for venstrejusteret, 0.5 for centreret og 1.0 for højrejusteret."
# gui/game/gui.rpy:117
old "## The width, height, and borders of the box containing the character's name, or None to automatically size it."
new "## Bredden, højden og kanterne på boksen, der indeholder figurens navn, eller None for automatisk at indstille størrelsen."
# gui/game/gui.rpy:122
old "## The borders of the box containing the character's name, in left, top, right, bottom order."
new "## Kanterne på boksen, der indeholder figurens navn, i rækkefølgen venstre, top, højre, bund."
# gui/game/gui.rpy:126
old "## If True, the background of the namebox will be tiled, if False, the background of the namebox will be scaled."
new "## Ved True bliver navneboksens baggrund gentaget. Ved False bliver navneboksens baggrund skaleret."
# gui/game/gui.rpy:131
old "## The placement of dialogue relative to the textbox. These can be a whole number of pixels relative to the left or top side of the textbox, or 0.5 to center."
new "## Placeringen af dialogen relativt til tekstboksen. Disse kan være et heltal af pixels relativt til venstre eller øverste side af tekstboksen, eller 0.5 for at centrere."
# gui/game/gui.rpy:137
old "## The maximum width of dialogue text, in pixels."
new "## Den maksimale bredde af dialogtekst i pixels."
# gui/game/gui.rpy:140
old "## The horizontal alignment of the dialogue text. This can be 0.0 for left-aligned, 0.5 for centered, and 1.0 for right-aligned."
new "## Den vandrette justering af dialogteksten. Dette kan være 0.0 for venstrejusteret, 0.5 for centreret og 1.0 for højrejusteret."
# gui/game/gui.rpy:145
old "## Buttons"
new "## Knapper"
# gui/game/gui.rpy:147
old "## These variables, along with the image files in gui/button, control aspects of how buttons are displayed."
new "## Disse variable kontrollerer sammen med billedfilerne i gui/button aspekter af, hvordan knapper vises."
# gui/game/gui.rpy:150
old "## The width and height of a button, in pixels. If None, Ren'Py computes a size."
new "## Bredden og højden af en knap i pixels. Hvis None beregner Ren'Py en størrelse."
# gui/game/gui.rpy:154
old "## The borders on each side of the button, in left, top, right, bottom order."
new "## Kanterne på hver side af knappen i rækkefølgen venstre, top, højre, bund."
# gui/game/gui.rpy:157
old "## If True, the background image will be tiled. If False, the background image will be linearly scaled."
new "## Ved True gentages baggrundsbilledet. Ved False bliver baggrundsbilledet skaleret lineært."
# gui/game/gui.rpy:161
old "## The font used by the button."
new "## Skrifttypen brugt af knappen."
# gui/game/gui.rpy:164
old "## The size of the text used by the button."
new "## Størrelsen af tekst brugt af knappen."
# gui/game/gui.rpy:167
old "## The color of button text in various states."
new "## Farven af knappen i forskellige tilstande."
# gui/game/gui.rpy:173
old "## The horizontal alignment of the button text. (0.0 is left, 0.5 is center, 1.0 is right)."
new "## Den vandrette justering af knapteksten. (0.0 er venstre, 0.5 er midtfor, 1.0 er højre)."
# gui/game/gui.rpy:178
old "## These variables override settings for different kinds of buttons. Please see the gui documentation for the kinds of buttons available, and what each is used for."
new "## Disse variabler tilsidesætter indstillinger for forskellige typer knapper. Se venligst GUI-dokumentationen for typen af knapper, der er tilgængelige, og hvad hver af dem bruges til."
# gui/game/gui.rpy:182
old "## These customizations are used by the default interface:"
new "## Disse tilpasninger bruger af standardgrænsefladen:"
# gui/game/gui.rpy:197
old "## You can also add your own customizations, by adding properly-named variables. For example, you can uncomment the following line to set the width of a navigation button."
new "## Du kan også tilføje dine egne tilpasninger ved at tilføje variabler med det korrekte navn. For eksempel kan du afkommentere følgende linje for at angive bredden på en navigationsknap."
# gui/game/gui.rpy:204
old "## Choice Buttons"
new "## Valgmulighedsknapper"
# gui/game/gui.rpy:206
old "## Choice buttons are used in the in-game menus."
new "## Valgmulighedsknapper bruges i menuerne i spillet."
# gui/game/gui.rpy:220
old "## File Slot Buttons"
new "## Filpladsknapper"
# gui/game/gui.rpy:222
old "## A file slot button is a special kind of button. It contains a thumbnail image, and text describing the contents of the save slot. A save slot uses image files in gui/button, like the other kinds of buttons."
new "## En filpladsknap er en speciel slags knap. Den indeholder et miniaturebillede og tekst, der beskriver indholdet af gemmepladsen. En gemmeplads bruger billedfiler i gui/button ligesom de andre slags knapper."
# gui/game/gui.rpy:226
old "## The save slot button."
new "## Gemmepladsknappen."
# gui/game/gui.rpy:236
old "## The width and height of thumbnails used by the save slots."
new "## Bredden og højden af miniaturebilleder brugt af gemmepladserne."
# gui/game/gui.rpy:240
old "## The number of columns and rows in the grid of save slots."
new "## Antallet af søjler og rækker i gitteret med gemmepladser."
# gui/game/gui.rpy:245
old "## Positioning and Spacing"
new "## Positionering og afstand"
# gui/game/gui.rpy:247
old "## These variables control the positioning and spacing of various user interface elements."
new "## Disse variable kontrollerer placering af og afstanden mellem forskellige brugerfladeelementer."
# gui/game/gui.rpy:250
old "## The position of the left side of the navigation buttons, relative to the left side of the screen."
new "## Placeringen af venstre side af navigationsknapperne, relativt til venstre side af skærmen."
# gui/game/gui.rpy:254
old "## The vertical position of the skip indicator."
new "## Den lodrette placering af overspringningsindikatoren."
# gui/game/gui.rpy:257
old "## The vertical position of the notify screen."
new "## Den lodrette placering af notifikationsskærmen."
# gui/game/gui.rpy:260
old "## The spacing between menu choices."
new "## Afstanden mellem menuvalg."
# gui/game/gui.rpy:263
old "## Buttons in the navigation section of the main and game menus."
new "## Knapper i navigationssektionen af hoved- og spilmenuerne."
# gui/game/gui.rpy:266
old "## Controls the amount of spacing between preferences."
new "## Kontrollerer mængden af afstand mellem præferencer."
# gui/game/gui.rpy:269
old "## Controls the amount of spacing between preference buttons."
new "## Kontrollerer mængden af afstand mellem præferenceknapper."
# gui/game/gui.rpy:272
old "## The spacing between file page buttons."
new "## Afstanden mellem filsideknapper."
# gui/game/gui.rpy:275
old "## The spacing between file slots."
new "## Afstanden mellem filpladser."
# gui/game/gui.rpy:278
old "## The position of the main menu text."
new "## Placeringen af hovedmenuteksten."
# gui/game/gui.rpy:282
old "## Frames"
new "## Rammer"
# gui/game/gui.rpy:284
old "## These variables control the look of frames that can contain user interface components when an overlay or window is not present."
new "## Disse variable kontrollerer udseendet på rammer, der kan indeholde brugefladekomponenter, når en overlejring eller et vindue ikke er til stede."
# gui/game/gui.rpy:287
old "## Generic frames."
new "## Generiske rammer."
# gui/game/gui.rpy:290
old "## The frame that is used as part of the confirm screen."
new "## Rammen, der bruges som del af bekræftelsesskærmen."
# gui/game/gui.rpy:293
old "## The frame that is used as part of the skip screen."
new "## Rammen, der bruges som del af overspringningsskærmen."
# gui/game/gui.rpy:296
old "## The frame that is used as part of the notify screen."
new "## Rammen, der bruges som del af notifikationsskærmen."
# gui/game/gui.rpy:299
old "## Should frame backgrounds be tiled?"
new "## Bør rammebaggrunde gentages?"
# gui/game/gui.rpy:303
old "## Bars, Scrollbars, and Sliders"
new "## Bjælker, rullebjælker og skydere"
# gui/game/gui.rpy:305
old "## These control the look and size of bars, scrollbars, and sliders."
new "## Disse kontrollerer udseendet og størrelsen på bjælker, rullebjælker og skydere."
# gui/game/gui.rpy:307
old "## The default GUI only uses sliders and vertical scrollbars. All of the other bars are only used in creator-written screens."
new "## Standard-GUI'en bruger kun skydere og lodrette rullebjælker. Alle de andre bjælker bruges kun i skærme skrevet af spiludvikleren."
# gui/game/gui.rpy:310
old "## The height of horizontal bars, scrollbars, and sliders. The width of vertical bars, scrollbars, and sliders."
new "## Højden på vandrette bjælker, rullebjælker og skydere. Bredden på lodrette bjælker, rullebjælker og skydere."
# gui/game/gui.rpy:316
old "## True if bar images should be tiled. False if they should be linearly scaled."
new "## True, hvis bjælkebilleder skal gentages. False, hvis de skal skaleres lineært."
# gui/game/gui.rpy:321
old "## Horizontal borders."
new "## Vandrette kanter."
# gui/game/gui.rpy:326
old "## Vertical borders."
new "## Lodrette kanter."
# gui/game/gui.rpy:331
old "## What to do with unscrollable scrollbars in the gui. \"hide\" hides them, while None shows them."
new "## Hvad der skal gøres ved urullelige rullebjælker i gui'en. \"hide\" skjuler dem, mens None viser dem."
# gui/game/gui.rpy:336
old "## History"
new "## Historik"
# gui/game/gui.rpy:338
old "## The history screen displays dialogue that the player has already dismissed."
new "## Historikskærmen viser dialog, som spilleren allerede er gået videre fra."
# gui/game/gui.rpy:340
old "## The number of blocks of dialogue history Ren'Py will keep."
new "## Antallet af blokke dialoghistorik, som Ren'Py gemmer."
# gui/game/gui.rpy:343
old "## The height of a history screen entry, or None to make the height variable at the cost of performance."
new "## Højden på et historikskærmsindlæg, eller None for at gøre højden variabel på bekostning af ydeevne."
# gui/game/gui.rpy:347
old "## The position, width, and alignment of the label giving the name of the speaking character."
new "## Placeringen, bredden og justeringen af mærkatet, der angiver navnet på den talende figur."
# gui/game/gui.rpy:354
old "## The position, width, and alignment of the dialogue text."
new "## Placeringen, bredden og justeringen af dialogteksten."
# gui/game/gui.rpy:361
old "## NVL-Mode"
new "## NVL-tilstand"
# gui/game/gui.rpy:363
old "## The NVL-mode screen displays the dialogue spoken by NVL-mode characters."
new "## NVL-tilstandsskærmen viser dialogen sagt af NVL-tilstandsfigurer."
# gui/game/gui.rpy:365
old "## The borders of the background of the NVL-mode background window."
new "## Kanterne på baggrunden af baggrundsvinduet i NVL-tilstand."
# gui/game/gui.rpy:368
old "## The maximum number of NVL-mode entries Ren'Py will display. When more entries than this are to be show, the oldest entry will be removed."
new "## Det maksimale antal af NVL-tilstandsindlæg, som Ren'Py viser. Når flere indlæg end disse skal vises, bliver det ældste indlæg fjernet."
# gui/game/gui.rpy:372
old "## The height of an NVL-mode entry. Set this to None to have the entries dynamically adjust height."
new "## Højden på et NVL-tilstandsindlæg. Stil denne til None for at få indlæggene til dynamisk at justere højde."
# gui/game/gui.rpy:376
old "## The spacing between NVL-mode entries when gui.nvl_height is None, and between NVL-mode entries and an NVL-mode menu."
new "## Afstanden mellem NVL-tilstandsindlæg, når gui.nvl_height er None, og mellem NVL-tilstandsindlæg og en menu i NVL-tilstand."
# gui/game/gui.rpy:393
old "## The position, width, and alignment of nvl_thought text (the text said by the nvl_narrator character.)"
new "## Placeringen, bredden og justeringen af nvl_thought-tekst (teksten sagt af figuren nvl_narrator.)"
# gui/game/gui.rpy:400
old "## The position of nvl menu_buttons."
new "## Placeringen af nvl menu_buttons."
# gui/game/gui.rpy:405
old "## Localization"
new "## Lokalisering"
# gui/game/gui.rpy:407
old "## This controls where a line break is permitted. The default is suitable for most languages. A list of available values can be found at https://www.renpy.org/doc/html/style_properties.html#style-property-language"
new "## Dette kontrollerer, hvor et linjeskift er tilladt. Standardinstilligen er egnet til de fleste sprog. En liste over tilgængelige værdier kan findes på https://www.renpy.org/doc/html/style_properties.html#style-property-language"
# gui/game/gui.rpy:415
old "## Mobile devices"
new "## Mobilenheder"
# gui/game/gui.rpy:420
old "## This increases the size of the quick buttons to make them easier to touch on tablets and phones."
new "## Dette øger størrelsen på hurtigknapperne for at gøre dem lettere at ramme på tablets og mobiler."
# gui/game/gui.rpy:427
old "## This changes the size and spacing of various GUI elements to ensure they are easily visible on phones."
new "## Dette ændrer størrelsen på og afstanden mellem forskellige GUI-elementer for at sørge for, at de er let synlige på mobiler."
# gui/game/gui.rpy:432
old "## Font sizes."
new "## Skriftstørrelser."
# gui/game/gui.rpy:440
old "## Adjust the location of the textbox."
new "## Juster tekstboksens placering."
# gui/game/gui.rpy:446
old "## Change the size and spacing of various things."
new "## Ændr størrelsen på og afstanden mellem forskellige ting."
# gui/game/gui.rpy:460
old "## File button layout."
new "## Filknapudformning."
# gui/game/gui.rpy:464
old "## NVL-mode."
new "## NVL-tilstand."
# gui/game/gui.rpy:347
old "## Additional space to add between history screen entries."
new "## Yderligere afstand at tilføje mellem historikskærmsindlæg."
File diff suppressed because it is too large Load Diff
+26
View File
@@ -0,0 +1,26 @@
translate danish strings:
# renpy/common/_layout/classic_joystick_preferences.rpym:94
old "Joystick Mapping"
new "Styrepindskortlægning"
# renpy/common/_layout/classic_load_save.rpym:138
old "Empty Slot."
new "Tom plads."
# renpy/common/_layout/classic_load_save.rpym:170
old "a"
new "a"
# renpy/common/_layout/classic_load_save.rpym:179
old "q"
new "h"
# renpy/common/_compat/gamemenu.rpym:355
old "Previous"
new "Forrige"
# renpy/common/_compat/gamemenu.rpym:362
old "Next"
new "Næste"
+198
View File
@@ -0,0 +1,198 @@
translate danish strings:
# gui/game/options.rpy:1
old "## This file contains options that can be changed to customize your game."
new "## Denne fil indeholder indstillinger, der kan ændres for at tilpasse dit spil."
# gui/game/options.rpy:4
old "## Lines beginning with two '#' marks are comments, and you shouldn't uncomment them. Lines beginning with a single '#' mark are commented-out code, and you may want to uncomment them when appropriate."
new "## Linjer, der begynder med to '#'-tegn er kommentarer, og du bør ikke afkommentere dem. Linjer, der begynder med et enkelt '#'-tegn er udkommenteret kode, som du kan afkommentere i passende tilfælde."
# gui/game/options.rpy:10
old "## Basics"
new "## Grundlæggende"
# gui/game/options.rpy:12
old "## A human-readable name of the game. This is used to set the default window title, and shows up in the interface and error reports."
new "## Et menneskelæsbart navn på spillet. Dette bruges til at angive standardvinduestitlen, og det dukker op i grænsefladen og fejlrapporter."
# gui/game/options.rpy:15
old "## The _() surrounding the string marks it as eligible for translation."
new "## Tegnene _(), der omringer strengen, markerer det som kvalificeret til oversættelse."
# gui/game/options.rpy:17
old "Ren'Py 7 Default GUI"
new "Ren'Py 7 standard-GUI"
# gui/game/options.rpy:20
old "## Determines if the title given above is shown on the main menu screen. Set this to False to hide the title."
new "## Bestemmer, om den ovenfor givne titel vises på hovedmenuskærmen. Stil dette til False for at skjule title."
# gui/game/options.rpy:26
old "## The version of the game."
new "## Spilversionen."
# gui/game/options.rpy:31
old "## Text that is placed on the game's about screen. Place the text between the triple-quotes, and leave a blank line between paragraphs."
new "## Tekst, der placeres på spillets om-skærm. Placer teksten mellem de tredobbelte citationstegn og efterlad en tom linje mellem afsnit."
# gui/game/options.rpy:38
old "## A short name for the game used for executables and directories in the built distribution. This must be ASCII-only, and must not contain spaces, colons, or semicolons."
new "## Et kort navn til spillet, der bruges til ekskverbare filer og mapper i den fremstillede distribution. Dette må kun være ASCII, og det må ikke indeholde mellemrum, koloner eller semikoloner."
# gui/game/options.rpy:45
old "## Sounds and music"
new "## Lyde og musik"
# gui/game/options.rpy:47
old "## These three variables control, among other things, which mixers are shown to the player by default. Setting one of these to False will hide the appropriate mixer."
new "## Disse tre variabler kontrollerer blandt andet, hvilke mixere der vises til spilleren som standard. Ved at stille en af disse til False skjules den tilsvarende mixer."
# gui/game/options.rpy:56
old "## To allow the user to play a test sound on the sound or voice channel, uncomment a line below and use it to set a sample sound to play."
new "## For at gøre det muligt for brugeren at afspille en testlyd på lydeffekt- eller stemmekanalen, så afkommenter en linje nedenfor og brug den til at angive en prøvelyd at afspille."
# gui/game/options.rpy:63
old "## Uncomment the following line to set an audio file that will be played while the player is at the main menu. This file will continue playing into the game, until it is stopped or another file is played."
new "## Afkommenter følgende linje for at angive en lydfil, der afspilles, mens spilleren er i hovedmenuen. Denne fil fortsætter med at afspille inde i spillet, indtil den stoppes, eller en anden fil afspilles."
# gui/game/options.rpy:70
old "## Transitions"
new "## Overgange"
# gui/game/options.rpy:72
old "## These variables set transitions that are used when certain events occur. Each variable should be set to a transition, or None to indicate that no transition should be used."
new "## Disse variable angiver overgange, der bruges, når bestemte begivenheder opstår. Hver variabel bør sættes til en overgang, eller til None for at indikere, at ingen overgang skal bruges."
# gui/game/options.rpy:76
old "## Entering or exiting the game menu."
new "## Når man går ind i eller ud af spilmenuen."
# gui/game/options.rpy:82
old "## Between screens of the game menu."
new "## Mellem skærme i spilmenuen."
# gui/game/options.rpy:87
old "## A transition that is used after a game has been loaded."
new "## En overgang, der bruges, efter et spil er blevet indlæst."
# gui/game/options.rpy:92
old "## Used when entering the main menu after the game has ended."
new "## Bruges, når man går ind i hovedmenuen, efter spillet er sluttet."
# gui/game/options.rpy:97
old "## A variable to set the transition used when the game starts does not exist. Instead, use a with statement after showing the initial scene."
new "## Der findes ingen variabel til at angive overgangen, der bruges, når spillet startes. Brug i stedet en with-sætning efter visning af den første scene."
# gui/game/options.rpy:102
old "## Window management"
new "## Vinduesstyring"
# gui/game/options.rpy:104
old "## This controls when the dialogue window is displayed. If \"show\", it is always displayed. If \"hide\", it is only displayed when dialogue is present. If \"auto\", the window is hidden before scene statements and shown again once dialogue is displayed."
new "## Dette kontrollerer, hvornår dialogvinduet vises. Ved \"show\" vises det altid. Ved \"hide\" vises det kun, når dialog er til stede. Ved \"auto\" skjules vinduet før scene-sætninger og vises igen, når dialog vises."
# gui/game/options.rpy:109
old "## After the game has started, this can be changed with the \"window show\", \"window hide\", and \"window auto\" statements."
new "## Efter spillet er startet, kan dette ændres med sætningerne \"window show\", \"window hide\", og \"window auto\"."
# gui/game/options.rpy:115
old "## Transitions used to show and hide the dialogue window"
new "## Overgange brugt til at vise og skjule dialogvinduet"
# gui/game/options.rpy:121
old "## Preference defaults"
new "## Standardpræferencer"
# gui/game/options.rpy:123
old "## Controls the default text speed. The default, 0, is infinite, while any other number is the number of characters per second to type out."
new "## Kontrollerer standardteksthastigheden. Standarden, 0, er uendelig, mens ethvert andet tal er antallet af tegn pr. sekund, der skrives."
# gui/game/options.rpy:129
old "## The default auto-forward delay. Larger numbers lead to longer waits, with 0 to 30 being the valid range."
new "## Standardforsinkelsen for auto-fremad. Større tal fører til længere ventetider, med 0 til 30 som den gyldige rækkevidde."
# gui/game/options.rpy:135
old "## Save directory"
new "## Gemmefilmappe"
# gui/game/options.rpy:137
old "## Controls the platform-specific place Ren'Py will place the save files for this game. The save files will be placed in:"
new "## Kontrollerer det platformspecifikke sted, hvorpå Ren'Py placerer gemmefilerne for dette spil. Gemmefilerne bliver placeret i:"
# gui/game/options.rpy:140
old "## Windows: %APPDATA\\RenPy\\<config.save_directory>"
new "## Windows: %APPDATA\\RenPy\\<config.save_directory>"
# gui/game/options.rpy:142
old "## Macintosh: $HOME/Library/RenPy/<config.save_directory>"
new "## Macintosh: $HOME/Library/RenPy/<config.save_directory>"
# gui/game/options.rpy:144
old "## Linux: $HOME/.renpy/<config.save_directory>"
new "## Linux: $HOME/.renpy/<config.save_directory>"
# gui/game/options.rpy:146
old "## This generally should not be changed, and if it is, should always be a literal string, not an expression."
new "## Dette bør generelt ikke ændres, og hvis det bliver, bør det altid være en litteral streng, ikke et udtryk."
# gui/game/options.rpy:152
old "## Icon"
new "## Ikon"
# gui/game/options.rpy:154
old "## The icon displayed on the taskbar or dock."
new "## Ikonet vises på proceslinjen eller docken."
# gui/game/options.rpy:159
old "## Build configuration"
new "## Fremstillingskonfiguration"
# gui/game/options.rpy:161
old "## This section controls how Ren'Py turns your project into distribution files."
new "## Denne sektion kontrollerer, hvordan Ren'Py laver dit projekt om til distributionsfiler."
# gui/game/options.rpy:166
old "## The following functions take file patterns. File patterns are case- insensitive, and matched against the path relative to the base directory, with and without a leading /. If multiple patterns match, the first is used."
new "## De følgende funktioner tager filmønstre. I filmønstre skelnes der ikke mellem små og store bogstaver, og de matches mod filstien relativt til grundmappen med og uden et foranstående /. Hvis flere mønstre matcher, bruges det første."
# gui/game/options.rpy:171
old "## In a pattern:"
new "## I et mønster:"
# gui/game/options.rpy:173
old "## / is the directory separator."
new "## / er mappeseparatoren."
# gui/game/options.rpy:175
old "## * matches all characters, except the directory separator."
new "## * matcher alle tegn bortset fra mappeseparatoren."
# gui/game/options.rpy:177
old "## ** matches all characters, including the directory separator."
new "## ** matcher alle tegn inklusiv mappeseparatoren."
# gui/game/options.rpy:179
old "## For example, \"*.txt\" matches txt files in the base directory, \"game/**.ogg\" matches ogg files in the game directory or any of its subdirectories, and \"**.psd\" matches psd files anywhere in the project."
new "## For eksempel matcher \"*.txt\" txt-filer i grundmappen, \"game/**.ogg\" matcher ogg-filer i mappen game eller en hvilken som helst af dens undermapper, og \"**.psd\" matcher psd-filer hvor som helst i projektet."
# gui/game/options.rpy:183
old "## Classify files as None to exclude them from the built distributions."
new "## Klassificer filer som None for at ekskludere dem fra de fremstilte distributioner."
# gui/game/options.rpy:191
old "## To archive files, classify them as 'archive'."
new "## Klassificer filer som 'archive' for at arkivere dem."
# gui/game/options.rpy:196
old "## Files matching documentation patterns are duplicated in a mac app build, so they appear in both the app and the zip file."
new "## Filer, der matcher dokumentationsmønstre, duplikeres i fremstillingen af en mac-app, så de optræder både i appen og zip-filen."
# gui/game/options.rpy:203
old "## A Google Play license key is required to perform in-app purchases. It can be found in the Google Play developer console, under \"Monetize\" > \"Monetization Setup\" > \"Licensing\"."
new "## En Google Play-licensnøgle er påkrævet for at udføre in-app-betalinger. Den kan findes i Google Play-udviklerkonsollen under \"Tjen penge\" > \"Konfiguration af indtægtsgenerering\" > \"Licens\"."
# gui/game/options.rpy:210
old "## The username and project name associated with an itch.io project, separated by a slash."
new "## Brugernavnet og projektnavnen forbundet med et itch.io-projekt, adskilt med en skåstreg."
+678
View File
@@ -0,0 +1,678 @@
translate danish strings:
# gui/game/screens.rpy:9
old "## Styles"
new "## Stile"
# gui/game/screens.rpy:81
old "## In-game screens"
new "## Skærme i spillet"
# gui/game/screens.rpy:85
old "## Say screen"
new "## Dialogskærmen"
# gui/game/screens.rpy:87
old "## The say screen is used to display dialogue to the player. It takes two parameters, who and what, which are the name of the speaking character and the text to be displayed, respectively. (The who parameter can be None if no name is given.)"
new "## Dialogskærmen bruges til at vise dialog til spilleren. Den tager to parametre, who (hvem) og what (hvad), som henholdsvis er navnet på den talende figur og teksten, der skal vises. (Parametren who kan være None, hvis intet navn angives.)"
# gui/game/screens.rpy:92
old "## This screen must create a text displayable with id \"what\", as Ren'Py uses this to manage text display. It can also create displayables with id \"who\" and id \"window\" to apply style properties."
new "## Denne skærm skal oprette et visbart tekstelement med id'et \"what\", da Ren'Py bruger denne til at styre tekstvisning. Den kan også oprette visbare elementer med id'et \"who\" og id'et \"window\" for at anvende stilegenskaber."
# gui/game/screens.rpy:96
old "## https://www.renpy.org/doc/html/screen_special.html#say"
new "## https://www.renpy.org/doc/html/screen_special.html#say"
# gui/game/screens.rpy:114
old "## If there's a side image, display it above the text. Do not display on the phone variant - there's no room."
new "## Hvis der er et sidebillede, så vis det over teksten. Vis ikke på mobilvarianten - der er ikke plads."
# gui/game/screens.rpy:120
old "## Make the namebox available for styling through the Character object."
new "## Gør navneboksen tilgængelig for stilisering gennem Character-objektet."
# gui/game/screens.rpy:165
old "## Input screen"
new "## Inputskærmen"
# gui/game/screens.rpy:167
old "## This screen is used to display renpy.input. The prompt parameter is used to pass a text prompt in."
new "## Denne skærm bruges til at vise renpy.input. Promptparameteren bruges til at føre en tekstprompt ind."
# gui/game/screens.rpy:170
old "## This screen must create an input displayable with id \"input\" to accept the various input parameters."
new "## Denne skærm skal oprette et visbart inputelement med id'et \"input\" for at acceptere de forskellige inputparametre."
# gui/game/screens.rpy:173
old "## https://www.renpy.org/doc/html/screen_special.html#input"
new "## https://www.renpy.org/doc/html/screen_special.html#input"
# gui/game/screens.rpy:200
old "## Choice screen"
new "## Valgmulighedsskærmen"
# gui/game/screens.rpy:202
old "## This screen is used to display the in-game choices presented by the menu statement. The one parameter, items, is a list of objects, each with caption and action fields."
new "## Denne skærm bruges til at vise valg i spillet præsenteret af menu-sætningen. Den ene parameter, items, er en liste af objekter, hver med caption- og action-felter."
# gui/game/screens.rpy:206
old "## https://www.renpy.org/doc/html/screen_special.html#choice"
new "## https://www.renpy.org/doc/html/screen_special.html#choice"
# gui/game/screens.rpy:234
old "## Quick Menu screen"
new "## Hurtigmenuskærmen"
# gui/game/screens.rpy:236
old "## The quick menu is displayed in-game to provide easy access to the out-of-game menus."
new "## Hurtigmenuen vises i spillet for at give let adgang til menuerne uden for spillet."
# gui/game/screens.rpy:241
old "## Ensure this appears on top of other screens."
new "## Sørg for at denne vises oven på andre skærme."
# gui/game/screens.rpy:252
old "Back"
new "Tilbage"
# gui/game/screens.rpy:253
old "History"
new "Historik"
# gui/game/screens.rpy:254
old "Skip"
new "Spring over"
# gui/game/screens.rpy:255
old "Auto"
new "Auto"
# gui/game/screens.rpy:256
old "Save"
new "Gem"
# gui/game/screens.rpy:257
old "Q.Save"
new "H.gem"
# gui/game/screens.rpy:258
old "Q.Load"
new "H.indlæs"
# gui/game/screens.rpy:259
old "Prefs"
new "Præf."
# gui/game/screens.rpy:262
old "## This code ensures that the quick_menu screen is displayed in-game, whenever the player has not explicitly hidden the interface."
new "## Denne kode sørger for at quick_menu-skærmen vises i spillet, når end spilleren ikke eksplicit har skjult grænsefladen."
# gui/game/screens.rpy:280
old "## Main and Game Menu Screens"
new "## Hoved- og spilmenuskærme"
# gui/game/screens.rpy:283
old "## Navigation screen"
new "## Navigationsskærmen"
# gui/game/screens.rpy:285
old "## This screen is included in the main and game menus, and provides navigation to other menus, and to start the game."
new "## Denne skærm er inkluderet i hoved- og spilmenuerne og giver navigation til andre menuer og til at starte spillet."
# gui/game/screens.rpy:300
old "Start"
new "Start"
# gui/game/screens.rpy:308
old "Load"
new "Indlæs"
# gui/game/screens.rpy:310
old "Preferences"
new "Præferencer"
# gui/game/screens.rpy:314
old "End Replay"
new "Slut genafspilning"
# gui/game/screens.rpy:318
old "Main Menu"
new "Hovedmenu"
# gui/game/screens.rpy:320
old "About"
new "Om"
# gui/game/screens.rpy:324
old "## Help isn't necessary or relevant to mobile devices."
new "## Hjælp er ikke nødvendig eller relevant for mobilenheder."
# gui/game/screens.rpy:325
old "Help"
new "Hjælp"
# gui/game/screens.rpy:329
old "## The quit button is banned on iOS and unnecessary on Android and Web."
new "## Afslut-knappen er forbudt på iOS og unødvendig på Android og web."
# gui/game/screens.rpy:330
old "Quit"
new "Afslut"
# gui/game/screens.rpy:344
old "## Main Menu screen"
new "## Hovedmenuskærmen"
# gui/game/screens.rpy:346
old "## Used to display the main menu when Ren'Py starts."
new "## Bruges til at vise hovedmenuen, når Ren'Py starter."
# gui/game/screens.rpy:348
old "## https://www.renpy.org/doc/html/screen_special.html#main-menu"
new "## https://www.renpy.org/doc/html/screen_special.html#main-menu"
# gui/game/screens.rpy:352
old "## This ensures that any other menu screen is replaced."
new "## Dette sikrer, at andre eventuelle menuskærme erstattes."
# gui/game/screens.rpy:357
old "## This empty frame darkens the main menu."
new "## Denne tomme ramme mørkner hovedmenuen."
# gui/game/screens.rpy:361
old "## The use statement includes another screen inside this one. The actual contents of the main menu are in the navigation screen."
new "## Sætningen use inkluderer en anden skærm inde i denne. Det faktiske indhold af hovedmenuen er i navigationsskærmen."
# gui/game/screens.rpy:406
old "## Game Menu screen"
new "## Spilmenuskærmen"
# gui/game/screens.rpy:408
old "## This lays out the basic common structure of a game menu screen. It's called with the screen title, and displays the background, title, and navigation."
new "## Denne udlægger de grundlæggende fællesstrukturer for en spilmenuskærm. Den kaldes med screen-titlen og viser baggrunden, titlen og navigationen."
# gui/game/screens.rpy:411
old "## The scroll parameter can be None, or one of \"viewport\" or \"vpgrid\". This screen is intended to be used with one or more children, which are transcluded (placed) inside it."
new "## Parameteren scroll kan være None eller en af \"viewport\" eller \"vpgrid\". Denne skærm er tiltænkt at blive brugt med et eller flere børn, som transkluderes (placeres) inde i den."
# gui/game/screens.rpy:429
old "## Reserve space for the navigation section."
new "## Reserver plads til navigationssektionen"
# gui/game/screens.rpy:471
old "Return"
new "Tilbage"
# gui/game/screens.rpy:534
old "## About screen"
new "## Om-skærmen"
# gui/game/screens.rpy:536
old "## This screen gives credit and copyright information about the game and Ren'Py."
new "## Denne skærm giver kreditering og ophavsretsinformation om spillet og Ren'Py."
# gui/game/screens.rpy:539
old "## There's nothing special about this screen, and hence it also serves as an example of how to make a custom screen."
new "## Der er intet specielt ved denne skærm, og derfor fungerer den også som et eksempel, på hvordan man laver en skræddersyet skærm."
# gui/game/screens.rpy:546
old "## This use statement includes the game_menu screen inside this one. The vbox child is then included inside the viewport inside the game_menu screen."
new "## Denne use-sætning inkluderer game_menu-skærmen inde i denne. Barnet vbox inkluderes derefter inde i visningsporten inde i game_menu-skærmen."
# gui/game/screens.rpy:556
old "Version [config.version!t]\n"
new "Version [config.version!t]\n"
# gui/game/screens.rpy:558
old "## gui.about is usually set in options.rpy."
new "## gui.about indstilles sædvanligvis i options.rpy."
# gui/game/screens.rpy:562
old "Made with {a=https://www.renpy.org/}Ren'Py{/a} [renpy.version_only].\n\n[renpy.license!t]"
new "Lavet med {a=https://www.renpy.org/}Ren'Py{/a} [renpy.version_only].\n\n[renpy.license!t]"
# gui/game/screens.rpy:573
old "## Load and Save screens"
new "## Indlæsnings- og gemmeskærmene"
# gui/game/screens.rpy:575
old "## These screens are responsible for letting the player save the game and load it again. Since they share nearly everything in common, both are implemented in terms of a third screen, file_slots."
new "## Disse skærme er ansvarlige for at lade spilleren gemme spillet og indlæse det igen. Siden de har næsten alting tilfælles, implementeres begge i form af en tredje skærm, file_slots."
# gui/game/screens.rpy:579
old "## https://www.renpy.org/doc/html/screen_special.html#save https://www.renpy.org/doc/html/screen_special.html#load"
new "## https://www.renpy.org/doc/html/screen_special.html#save https://www.renpy.org/doc/html/screen_special.html#load"
# gui/game/screens.rpy:598
old "Page {}"
new "Side {}"
# gui/game/screens.rpy:598
old "Automatic saves"
new "Autogemmefiler"
# gui/game/screens.rpy:598
old "Quick saves"
new "Hurtiggemmefiler"
# gui/game/screens.rpy:604
old "## This ensures the input will get the enter event before any of the buttons do."
new "## Dette sikrer, at inputtet får enter-begivenheden før nogen af knapperne gør."
# gui/game/screens.rpy:608
old "## The page name, which can be edited by clicking on a button."
new "## Sidenavnet, som kan redigeres ved at klikke på en knap."
# gui/game/screens.rpy:620
old "## The grid of file slots."
new "## Filpladsgitteret."
# gui/game/screens.rpy:640
old "{#file_time}%A, %B %d %Y, %H:%M"
new "{#file_time}%A, %d %B %Y, %H:%M"
# gui/game/screens.rpy:640
old "empty slot"
new "tom plads"
# gui/game/screens.rpy:648
old "## Buttons to access other pages."
new "## Knapper til at tilgå andre sider."
# gui/game/screens.rpy:660
old "<"
new "<"
# gui/game/screens.rpy:663
old "{#auto_page}A"
new "{#auto_page}A"
# gui/game/screens.rpy:666
old "{#quick_page}Q"
new "{#quick_page}H"
# gui/game/screens.rpy:668
old "## range(1, 10) gives the numbers from 1 to 9."
new "## range(1, 10) giver numrene fra 1 til 9."
# gui/game/screens.rpy:672
old ">"
new ">"
# gui/game/screens.rpy:676
old "Upload Sync"
new "Send synkronisering"
# gui/game/screens.rpy:680
old "Download Sync"
new "Hent synkronisering"
# gui/game/screens.rpy:717
old "## Preferences screen"
new "## Præferenceskærmen"
# gui/game/screens.rpy:719
old "## The preferences screen allows the player to configure the game to better suit themselves."
new "## Præferenceskærmen gør det muligt for spilleren at konfigurere spillet til bedre at passe vedkommende."
# gui/game/screens.rpy:722
old "## https://www.renpy.org/doc/html/screen_special.html#preferences"
new "## https://www.renpy.org/doc/html/screen_special.html#preferences"
# gui/game/screens.rpy:739
old "Display"
new "Skærmvisning"
# gui/game/screens.rpy:740
old "Window"
new "Vindue"
# gui/game/screens.rpy:741
old "Fullscreen"
new "Fuldskærm"
# gui/game/screens.rpy:746
old "Unseen Text"
new "Uset tekst"
# gui/game/screens.rpy:747
old "After Choices"
new "Efter valg"
# gui/game/screens.rpy:748
old "Transitions"
new "Overgange"
# gui/game/screens.rpy:750
old "## Additional vboxes of type \"radio_pref\" or \"check_pref\" can be added here, to add additional creator-defined preferences."
new "## Yderligere vboxe af typen \"radio_pref\" eller \"check_pref\" kan tilføjes her for at tilføje yderligere udviklerdefinerede præferencer."
# gui/game/screens.rpy:761
old "Text Speed"
new "Teksthastighed"
# gui/game/screens.rpy:765
old "Auto-Forward Time"
new "Tid for auto-fremad"
# gui/game/screens.rpy:772
old "Music Volume"
new "Musiklydstyrke"
# gui/game/screens.rpy:779
old "Sound Volume"
new "Lydeffektlydstyrke"
# gui/game/screens.rpy:785
old "Test"
new "Test"
# gui/game/screens.rpy:789
old "Voice Volume"
new "Stemmelydstyrke"
# gui/game/screens.rpy:800
old "Mute All"
new "Slå alle fra"
# gui/game/screens.rpy:876
old "## History screen"
new "## Historikskærmen"
# gui/game/screens.rpy:878
old "## This is a screen that displays the dialogue history to the player. While there isn't anything special about this screen, it does have to access the dialogue history stored in _history_list."
new "## Dette er en skærm, der viser dialoghistorikken til spilleren. Mens der ikke er noget særligt ved denne skærm, har den dog adgang til dialoghistorikken opbevaret i _history_list."
# gui/game/screens.rpy:882
old "## https://www.renpy.org/doc/html/history.html"
new "## https://www.renpy.org/doc/html/history.html"
# gui/game/screens.rpy:888
old "## Avoid predicting this screen, as it can be very large."
new "## Undgå at forudsige denne skærm, da den kan være meget stor."
# gui/game/screens.rpy:899
old "## This lays things out properly if history_height is None."
new "## Dette udlægger tingene korrekt, hvis history_height er None."
# gui/game/screens.rpy:909
old "## Take the color of the who text from the Character, if set."
new "## Tag farven fra who-teksten fra en Character, hvis den er angivet."
# gui/game/screens.rpy:918
old "The dialogue history is empty."
new "Dialoghistorikken er tom."
# gui/game/screens.rpy:921
old "## This determines what tags are allowed to be displayed on the history screen."
new "## Dette bestemmer, hvilke mærker der tillades at blive vist på historikskærmen."
# gui/game/screens.rpy:966
old "## Help screen"
new "## Hjælpeskærmen"
# gui/game/screens.rpy:968
old "## A screen that gives information about key and mouse bindings. It uses other screens (keyboard_help, mouse_help, and gamepad_help) to display the actual help."
new "## En skærm, der giver information om tastatur- og musetildelinger. Den bruger andre skærme (keyboard_help, mouse_help og gamepad_help) til at vise den faktiske hjælp."
# gui/game/screens.rpy:987
old "Keyboard"
new "Tastatur"
# gui/game/screens.rpy:988
old "Mouse"
new "Mus"
# gui/game/screens.rpy:991
old "Gamepad"
new "Spillekontrol"
# gui/game/screens.rpy:1004
old "Enter"
new "Retur"
# gui/game/screens.rpy:1005
old "Advances dialogue and activates the interface."
new "Går videre i dialog og aktiverer grænsefladen."
# gui/game/screens.rpy:1008
old "Space"
new "Mellemrum"
# gui/game/screens.rpy:1009
old "Advances dialogue without selecting choices."
new "Går videre i dialog uden at træffe valg."
# gui/game/screens.rpy:1012
old "Arrow Keys"
new "Piltaster"
# gui/game/screens.rpy:1013
old "Navigate the interface."
new "Navigerer i grænsefladen."
# gui/game/screens.rpy:1016
old "Escape"
new "Escape"
# gui/game/screens.rpy:1017
old "Accesses the game menu."
new "Tilgår spilmenuen."
# gui/game/screens.rpy:1020
old "Ctrl"
new "Ctrl"
# gui/game/screens.rpy:1021
old "Skips dialogue while held down."
new "Springer over dialog ved nedholdning."
# gui/game/screens.rpy:1024
old "Tab"
new "Tab"
# gui/game/screens.rpy:1025
old "Toggles dialogue skipping."
new "Slår dialogoverspringning til/fra."
# gui/game/screens.rpy:1028
old "Page Up"
new "Page Up"
# gui/game/screens.rpy:1029
old "Rolls back to earlier dialogue."
new "Ruller tilbage til tidligere dialog."
# gui/game/screens.rpy:1032
old "Page Down"
new "Page Down"
# gui/game/screens.rpy:1033
old "Rolls forward to later dialogue."
new "Ruller fremad til senere dialog."
# gui/game/screens.rpy:1037
old "Hides the user interface."
new "Skjuler brugerfladen."
# gui/game/screens.rpy:1041
old "Takes a screenshot."
new "Tager et skærmbillede."
# gui/game/screens.rpy:1045
old "Toggles assistive {a=https://www.renpy.org/l/voicing}self-voicing{/a}."
new "Slår assisterende {a=https://www.renpy.org/l/voicing}automatisk oplæsning{/a} til/fra."
# gui/game/screens.rpy:1049
old "Opens the accessibility menu."
new "Åbner tilgængelighedsmenuen."
# gui/game/screens.rpy:1055
old "Left Click"
new "Venstreklik"
# gui/game/screens.rpy:1059
old "Middle Click"
new "Midterklik"
# gui/game/screens.rpy:1063
old "Right Click"
new "Højreklik"
# gui/game/screens.rpy:1067
old "Mouse Wheel Up\nClick Rollback Side"
new "Musehjul op\nKlik på tilbagerulningsside"
# gui/game/screens.rpy:1071
old "Mouse Wheel Down"
new "Musehjul ned"
# gui/game/screens.rpy:1078
old "Right Trigger\nA/Bottom Button"
new "Højre aftrækker\nA/Nederste knap"
# gui/game/screens.rpy:1082
old "Left Trigger\nLeft Shoulder"
new "Venstre aftrækker\nVenstre skulderknap"
# gui/game/screens.rpy:1086
old "Right Shoulder"
new "Højre skulderknap"
# gui/game/screens.rpy:1091
old "D-Pad, Sticks"
new "Retningsknapper, Pinde"
# gui/game/screens.rpy:1095
old "Start, Guide"
new "Start, Guide"
# gui/game/screens.rpy:1098
old "Start, Guide, B/Right Button"
new "Start, Guide, B/Højre knap"
# gui/game/screens.rpy:1099
old "Y/Top Button"
new "Y/Øverste knap"
# gui/game/screens.rpy:1102
old "Calibrate"
new "Kalibrér"
# gui/game/screens.rpy:1130
old "## Additional screens"
new "## Yderligere skærme"
# gui/game/screens.rpy:1134
old "## Confirm screen"
new "## Bekræftelsesskærmen"
# gui/game/screens.rpy:1136
old "## The confirm screen is called when Ren'Py wants to ask the player a yes or no question."
new "## Bekræftelsesskærmen kaldes, når Ren'Py vil stille spilleren et ja-nej-spørgsmål."
# gui/game/screens.rpy:1139
old "## https://www.renpy.org/doc/html/screen_special.html#confirm"
new "## https://www.renpy.org/doc/html/screen_special.html#confirm"
# gui/game/screens.rpy:1143
old "## Ensure other screens do not get input while this screen is displayed."
new "## Sørg for, at andre skærme ikke får input, mens denne skærm vises."
# gui/game/screens.rpy:1167
old "Yes"
new "Ja"
# gui/game/screens.rpy:1168
old "No"
new "Nej"
# gui/game/screens.rpy:1170
old "## Right-click and escape answer \"no\"."
new "## Højreklik og undgå svaret \"no\"."
# gui/game/screens.rpy:1197
old "## Skip indicator screen"
new "## Overspringningsindikatorskærmen"
# gui/game/screens.rpy:1199
old "## The skip_indicator screen is displayed to indicate that skipping is in progress."
new "## Skærmen skip_indicator vises for at indikere, at overspringning er i gang."
# gui/game/screens.rpy:1202
old "## https://www.renpy.org/doc/html/screen_special.html#skip-indicator"
new "## https://www.renpy.org/doc/html/screen_special.html#skip-indicator"
# gui/game/screens.rpy:1214
old "Skipping"
new "Springer over"
# gui/game/screens.rpy:1221
old "## This transform is used to blink the arrows one after another."
new "## Denne transformation bruges til at blinke med pilene en efter hinanden."
# gui/game/screens.rpy:1248
old "## We have to use a font that has the BLACK RIGHT-POINTING SMALL TRIANGLE glyph in it."
new "## Vi skal bruge en skrifttype, der har tegnet BLACK RIGHT-POINTING SMALL TRIANGLE i sig."
# gui/game/screens.rpy:1253
old "## Notify screen"
new "## Notifikationsskærmen"
# gui/game/screens.rpy:1255
old "## The notify screen is used to show the player a message. (For example, when the game is quicksaved or a screenshot has been taken.)"
new "## Notifikationsskærmen bruges til at vise spilleren en besked. (For eksempel når spillet hurtiggemmes, eller når et skærmbillede er blevet taget.)"
# gui/game/screens.rpy:1258
old "## https://www.renpy.org/doc/html/screen_special.html#notify-screen"
new "## https://www.renpy.org/doc/html/screen_special.html#notify-screen"
# gui/game/screens.rpy:1292
old "## NVL screen"
new "## NVL-skærmen"
# gui/game/screens.rpy:1294
old "## This screen is used for NVL-mode dialogue and menus."
new "## Denne skærm bruges til dialog og menuer i NVL-tilstand."
# gui/game/screens.rpy:1296
old "## https://www.renpy.org/doc/html/screen_special.html#nvl"
new "## https://www.renpy.org/doc/html/screen_special.html#nvl"
# gui/game/screens.rpy:1307
old "## Displays dialogue in either a vpgrid or the vbox."
new "## Viser dialog i enten et vpgrid eller vboxen."
# gui/game/screens.rpy:1320
old "## Displays the menu, if given. The menu may be displayed incorrectly if config.narrator_menu is set to True."
new "## Viser menuen, hvis angivet. Menuen kan muligvis vises ukorrekt, hvis config.narrator_menu er sat til True."
# gui/game/screens.rpy:1350
old "## This controls the maximum number of NVL-mode entries that can be displayed at once."
new "## Dette kontrollerer det maksimale antal af NVL-tilstandsindlæg, der kan vises på én gang."
# gui/game/screens.rpy:1410
old "## Bubble screen"
new "## Talebobleskærmen"
# gui/game/screens.rpy:1412
old "## The bubble screen is used to display dialogue to the player when using speech bubbles. The bubble screen takes the same parameters as the say screen, must create a displayable with the id of \"what\", and can create displayables with the \"namebox\", \"who\", and \"window\" ids."
new "## Talebobleskærmen bruges til at vise dialog til spilleren ved brug af talebobler. Talebobleskærmen tager imod de samme parametre som dialogskærmen. Den skal oprette et visbart element med id'et \"what\", og den kan oprette visbare elementer med id'erne \"namebox\", \"who\" og \"window\"."
# gui/game/screens.rpy:1417
old "## https://www.renpy.org/doc/html/bubble.html#bubble-screen"
new "## https://www.renpy.org/doc/html/bubble.html#bubble-screen"
# gui/game/screens.rpy:1501
old "## Mobile Variants"
new "## Mobilvarianter"
# gui/game/screens.rpy:1508
old "## Since a mouse may not be present, we replace the quick menu with a version that uses fewer and bigger buttons that are easier to touch."
new "## Siden en mus muligvis ikke er til stede, erstatter vi hurtigmenuen med en version, der bruger færre og større knapper, der er lettere at ramme."
# gui/game/screens.rpy:1526
old "Menu"
new "Menu"
+33
View File
@@ -0,0 +1,33 @@
# Spillets manuskript puttes i denne fil.
# Erklær figurer brugt af dette spil. Farveargumentet farver
# navnet på figuren.
define e = Character("Eileen")
# Spillet starter her.
label start:
# Vis en baggrund. Der bruges som standard en stedfortræder, men du kan
# tilføje en fil (kaldt enten "bg room.png" eller "bg room.jpg") til
# mappen images for at vise den.
scene bg room
# Dette viser en figursprite. En stedfortræder bruges, men du kan
# erstatte den ved at tilføje en fil kaldt "eileen happy.png" til
# mappen images.
show eileen happy
# Disse viser linjer med dialog.
e "Du har oprettet et nyt Ren'Py-spil."
e "Når du har tilføjet en historie, billeder og musik, kan du sende det ud i verden!"
# Dette afslutter spillet.
return
+612 -4
View File
@@ -3,7 +3,7 @@ translate finnish strings:
# 00action_file.rpy:26
old "{#weekday}Monday"
new "{#weekday}Maanatai"
new "{#weekday}Maanantai"
# 00action_file.rpy:26
old "{#weekday}Tuesday"
@@ -199,7 +199,8 @@ translate finnish strings:
# 00gui.rpy:236
old "Are you sure you want to skip unseen dialogue to the next choice?"
new "Are you sure you want to skip unseen dialogue to the next choice?"
# Automatic translation.
new "Oletko varma, että haluat ohittaa näkymättömän dialogin seuraavaan vaihtoehtoon?"
# 00keymap.rpy:250
old "Saved screenshot as %s."
@@ -223,7 +224,8 @@ translate finnish strings:
# 00library.rpy:262
old "This program contains free software under a number of licenses, including the MIT License and GNU Lesser General Public License. A complete list of software, including links to full source code, can be found {a=https://www.renpy.org/l/license}here{/a}."
new "This program contains free software under a number of licenses, including the MIT License and GNU Lesser General Public License. A complete list of software, including links to full source code, can be found {a=https://www.renpy.org/l/license}here{/a}."
# Automatic translation.
new "Tämä ohjelma sisältää vapaita ohjelmistoja useiden lisenssien alla, mukaan lukien MIT-lisenssi ja GNU Lesser General Public License. Täydellinen luettelo ohjelmistoista, mukaan lukien linkit täydelliseen lähdekoodiin, löytyy {a=https://www.renpy.org/l/license}täältä{/a}."
# 00preferences.rpy:422
old "Clipboard voicing enabled. Press 'shift+C' to disable."
@@ -239,7 +241,8 @@ translate finnish strings:
# 00iap.rpy:217
old "Contacting App Store\nPlease Wait..."
new "Contacting App Store\nPlease Wait..."
# Automatic translation.
new "Yhteydenotto App Storeen\nOdottakaa..."
# 00updater.rpy:367
old "The Ren'Py Updater is not supported on mobile devices."
@@ -333,3 +336,608 @@ translate finnish strings:
old "return"
new "palaa"
translate finnish strings:
# renpy/common/00accessibility.rpy:32
old "bar"
new "palkki"
# renpy/common/00accessibility.rpy:33
old "selected"
# Automatic translation.
new "valittu"
# renpy/common/00accessibility.rpy:34
old "viewport"
new "viewport"
# renpy/common/00accessibility.rpy:35
old "horizontal scroll"
# Automatic translation.
new "vaakasuora vieritys"
# renpy/common/00accessibility.rpy:36
old "vertical scroll"
# Automatic translation.
new "pystysuora vieritys"
# renpy/common/00accessibility.rpy:37
old "activate"
# Automatic translation.
new "aktivoi"
# renpy/common/00accessibility.rpy:38
old "deactivate"
# Automatic translation.
new "deaktivoi"
# renpy/common/00accessibility.rpy:39
old "increase"
new "lisää"
# renpy/common/00accessibility.rpy:40
old "decrease"
new "vähennä"
# renpy/common/00accessibility.rpy:138
old "Font Override"
# Automatic translation.
new "Fontin ohitus"
# renpy/common/00accessibility.rpy:142
old "Default"
# Automatic translation.
new "Oletus"
# renpy/common/00accessibility.rpy:146
old "DejaVu Sans"
new "DejaVu Sans"
# renpy/common/00accessibility.rpy:150
old "Opendyslexic"
new "Opendyslexic"
# renpy/common/00accessibility.rpy:156
old "Text Size Scaling"
# Automatic translation.
new "Tekstin koon skaalaus"
# renpy/common/00accessibility.rpy:162
old "Reset"
# Automatic translation.
new "Nollaa"
# renpy/common/00accessibility.rpy:168
old "Line Spacing Scaling"
new "Rivivälin skaalaus"
# renpy/common/00accessibility.rpy:180
old "High Contrast Text"
# Automatic translation.
new "Korkean kontrastin teksti"
# renpy/common/00accessibility.rpy:193
old "Self-Voicing"
new "Tietokoneen ääninäyttely"
# renpy/common/00accessibility.rpy:197
old "Off"
new "Pois päältä"
# renpy/common/00accessibility.rpy:201
old "Text-to-speech"
# Automatic translation.
new "Tekstistä puheeksi"
# renpy/common/00accessibility.rpy:205
old "Clipboard"
# Automatic translation.
new "Leikepöytä"
# renpy/common/00accessibility.rpy:209
old "Debug"
# Automatic translation.
new "Vianmääritys"
# renpy/common/00accessibility.rpy:223
old "Self-Voicing Volume Drop"
new "Tietokoneen ääninäyttelyn äänenvoimakkuuden pudotus"
# renpy/common/00accessibility.rpy:234
old "The options on this menu are intended to improve accessibility. They may not work with all games, and some combinations of options may render the game unplayable. This is not an issue with the game or engine. For the best results when changing fonts, try to keep the text size the same as it originally was."
new "Tämän valikon vaihtoehtojen tarkoituksena on parantaa saavutettavuutta. Ne eivät välttämättä toimi kaikissa peleissä, ja joidenkin vaihtoehtojen yhdistelmät saattavat tehdä pelistä pelikelvottoman. Tämä ei johdu pelistä tai moottorista. Saat fontteja vaihtaessa parhaat tulokset kun yrität pitää tekstin koon samana kuin se oli alun perin."
# renpy/common/00action_file.rpy:378
old "Save slot %s: [text]"
new "Tallennuspaikka %s: [text]"
# renpy/common/00action_file.rpy:461
old "Load slot %s: [text]"
new "Lataa tallennus %s: [text]"
# renpy/common/00action_file.rpy:514
old "Delete slot [text]"
new "Poista tallennus [text]"
# renpy/common/00action_file.rpy:593
old "File page auto"
new "Tiedoston sivu: auto"
# renpy/common/00action_file.rpy:595
old "File page quick"
new "Tiedoston sivu: pika"
# renpy/common/00action_file.rpy:597
old "File page [text]"
new "Tiedoston sivu: [text]"
# renpy/common/00action_file.rpy:796
old "Next file page."
new "Seuraava tiedoston sivu."
# renpy/common/00action_file.rpy:868
old "Previous file page."
new "Edellinen tiedoston sivu."
# renpy/common/00action_file.rpy:944
old "Quick save."
new "Pikatallennus."
# renpy/common/00action_file.rpy:963
old "Quick load."
# Automatic translation.
new "Pikalataus."
# renpy/common/00action_other.rpy:381
old "Language [text]"
# Automatic translation.
new "Kieli [text]"
# renpy/common/00director.rpy:705
old "The interactive director is not enabled here."
# Automatic translation.
new "Vuorovaikutteinen ohjaaja ei ole käytössä täällä."
# renpy/common/00director.rpy:1504
old "⬆"
new "⬆"
# renpy/common/00director.rpy:1510
old "⬇"
new "⬇"
# renpy/common/00director.rpy:1574
old "Done"
# Automatic translation.
new "Valmis"
# renpy/common/00director.rpy:1584
old "(statement)"
# Automatic translation.
new "(lausunto)"
# renpy/common/00director.rpy:1585
old "(tag)"
new "(tag)"
# renpy/common/00director.rpy:1586
old "(attributes)"
# Automatic translation.
new "(attribuutit)"
# renpy/common/00director.rpy:1587
old "(transform)"
new "(transform)"
# renpy/common/00director.rpy:1612
old "(transition)"
new "(transition)"
# renpy/common/00director.rpy:1624
old "(channel)"
# Automatic translation.
new "(kanava)"
# renpy/common/00director.rpy:1625
old "(filename)"
# Automatic translation.
new "(tiedostonimi)"
# renpy/common/00director.rpy:1654
old "Change"
# Automatic translation.
new "Muuta"
# renpy/common/00director.rpy:1656
old "Add"
# Automatic translation.
new "Lisää"
# renpy/common/00director.rpy:1662
old "Remove"
# Automatic translation.
new "Poista"
# renpy/common/00director.rpy:1697
old "Statement:"
# Automatic translation.
new "Lausunto:"
# renpy/common/00director.rpy:1718
old "Tag:"
new "Tag:"
# renpy/common/00director.rpy:1734
old "Attributes:"
# Automatic translation.
new "Ominaisuudet:"
# renpy/common/00director.rpy:1745
old "Click to toggle attribute, right click to toggle negative attribute."
# Automatic translation.
new "Napsauttamalla voit vaihtaa attribuuttia, oikealla napsauttamalla voit vaihtaa negatiivista attribuuttia."
# renpy/common/00director.rpy:1757
old "Transforms:"
# Automatic translation.
new "Muuntuu:"
# renpy/common/00director.rpy:1768
old "Click to set transform, right click to add to transform list."
# Automatic translation.
new "Napsauta aseta muunnos, lisää muunnosluetteloon napsauttamalla hiiren kakkospainiketta."
# renpy/common/00director.rpy:1780
old "Behind:"
# Automatic translation.
new "Takana:"
# renpy/common/00director.rpy:1789
old "Click to set, right click to add to behind list."
# Automatic translation.
new "Aseta napsauttamalla, lisää takaluetteloon napsauttamalla hiiren kakkospainiketta."
# renpy/common/00director.rpy:1801
old "Transition:"
# Automatic translation.
new "Siirtyminen:"
# renpy/common/00director.rpy:1819
old "Channel:"
# Automatic translation.
new "Kanava:"
# renpy/common/00director.rpy:1837
old "Audio Filename:"
# Automatic translation.
new "Äänitiedoston nimi:"
# renpy/common/00gui.rpy:456
old "This save was created on a different device. Maliciously constructed save files can harm your computer. Do you trust this save's creator and everyone who could have changed the file?"
# Automatic translation.
new "Tämä tallennus on luotu eri laitteella. Pahantahtoisesti tehdyt tallennustiedostot voivat vahingoittaa tietokonettasi. Luotatko tämän tallennuksen tekijään ja kaikkiin, jotka ovat voineet muuttaa tiedostoa?"
# renpy/common/00gui.rpy:457
old "Do you trust the device the save was created on? You should only choose yes if you are the device's sole user."
# Automatic translation.
new "Luotatko laitteeseen, jolla tallennus luotiin? Valitse kyllä vain, jos olet laitteen ainoa käyttäjä."
# renpy/common/00keymap.rpy:322
old "Failed to save screenshot as %s."
# Automatic translation.
new "Kuvakaappauksen tallentaminen nimellä %s epäonnistui."
# renpy/common/00preferences.rpy:271
old "display"
# Automatic translation.
new "näyttö"
# renpy/common/00preferences.rpy:283
old "transitions"
# Automatic translation.
new "siirtymät"
# renpy/common/00preferences.rpy:292
old "skip transitions"
new "ohita siirtymät"
# renpy/common/00preferences.rpy:294
old "video sprites"
new "video sprites"
# renpy/common/00preferences.rpy:303
old "show empty window"
# Automatic translation.
new "näytä tyhjä ikkuna"
# renpy/common/00preferences.rpy:312
old "text speed"
# Automatic translation.
new "tekstin nopeus"
# renpy/common/00preferences.rpy:320
old "joystick"
# Automatic translation.
new "Joystick"
# renpy/common/00preferences.rpy:320
old "joystick..."
new "joystick..."
# renpy/common/00preferences.rpy:327
old "skip"
# Automatic translation.
new "ohita"
# renpy/common/00preferences.rpy:330
old "skip unseen [text]"
new "ohita näkemätön [text]"
# renpy/common/00preferences.rpy:335
old "skip unseen text"
new "ohita näkemätön teksti"
# renpy/common/00preferences.rpy:337
old "begin skipping"
new "aloita ohittaminen"
# renpy/common/00preferences.rpy:341
old "after choices"
# Automatic translation.
new "valintojen jälkeen"
# renpy/common/00preferences.rpy:348
old "skip after choices"
new "ohita valintojen jälkeen"
# renpy/common/00preferences.rpy:350
old "auto-forward time"
new "automaattisen eteenpäinsiirtymisen aika"
# renpy/common/00preferences.rpy:364
old "auto-forward"
new "automaattinen eteenpäinsiirtyminen"
# renpy/common/00preferences.rpy:371
old "Auto forward"
new "Automaattinen eteenpäinsiirtyminen"
# renpy/common/00preferences.rpy:374
old "auto-forward after click"
new "automaattinen eteenpäinsiirtyminen napsautuksen jälkeen"
# renpy/common/00preferences.rpy:383
old "automatic move"
# Automatic translation.
new "automaattinen siirto"
# renpy/common/00preferences.rpy:392
old "wait for voice"
# Automatic translation.
new "odota ääntä"
# renpy/common/00preferences.rpy:401
old "voice sustain"
# Automatic translation.
new "äänen ylläpitäminen"
# renpy/common/00preferences.rpy:410
old "self voicing"
new "tietokoneen ääninäyttely"
# renpy/common/00preferences.rpy:419
old "self voicing volume drop"
new "tietokoneen ääninäyttelyn äänenvoimakkuuden pudotus"
# renpy/common/00preferences.rpy:427
old "clipboard voicing"
new "leikepöydän ääni"
# renpy/common/00preferences.rpy:436
old "debug voicing"
new "virheenkorjausääni"
# renpy/common/00preferences.rpy:445
old "emphasize audio"
new "korosta ääntä"
# renpy/common/00preferences.rpy:454
old "rollback side"
# Automatic translation.
new "Rollback-puoli"
# renpy/common/00preferences.rpy:464
old "gl powersave"
new "gl powersave"
# renpy/common/00preferences.rpy:470
old "gl framerate"
new "gl framerate"
# renpy/common/00preferences.rpy:473
old "gl tearing"
new "gl tearing"
# renpy/common/00preferences.rpy:476
old "font transform"
# Automatic translation.
new "fontin muunnos"
# renpy/common/00preferences.rpy:479
old "font size"
# Automatic translation.
new "fonttikoko"
# renpy/common/00preferences.rpy:487
old "font line spacing"
# Automatic translation.
new "fontin riviväli"
# renpy/common/00preferences.rpy:495
old "system cursor"
# Automatic translation.
new "järjestelmän kursori"
# renpy/common/00preferences.rpy:504
old "renderer menu"
# Automatic translation.
new "renderöintivalikko"
# renpy/common/00preferences.rpy:507
old "accessibility menu"
# Automatic translation.
new "saavutettavuusvalikko"
# renpy/common/00preferences.rpy:510
old "high contrast text"
# Automatic translation.
new "korkean kontrastin teksti"
# renpy/common/00preferences.rpy:519
old "audio when minimized"
# Automatic translation.
new "ääni kun se on minimoitu"
# renpy/common/00preferences.rpy:528
old "audio when unfocused"
# Automatic translation.
new "ääni kun se ei ole keskittynyt"
# renpy/common/00preferences.rpy:537
old "web cache preload"
# Automatic translation.
new "verkkovälimuistin esilataus"
# renpy/common/00preferences.rpy:552
old "voice after game menu"
# Automatic translation.
new "ääni pelivalikon jälkeen"
# renpy/common/00preferences.rpy:571
old "main volume"
new "pää-äänenvoimakkuus"
# renpy/common/00preferences.rpy:572
old "music volume"
new "musiikin äänenvoimakkuus"
# renpy/common/00preferences.rpy:573
old "sound volume"
new "tehosteiden äänenvoimakkuus"
# renpy/common/00preferences.rpy:574
old "voice volume"
new "ääninäyttelyn äänenvoimakkuus"
# renpy/common/00preferences.rpy:575
old "mute main"
new "mykistä pää-ääni"
# renpy/common/00preferences.rpy:576
old "mute music"
new "mykistä musiikki"
# renpy/common/00preferences.rpy:577
old "mute sound"
new "mykistä äänitehosteet"
# renpy/common/00preferences.rpy:578
old "mute voice"
new "mykistä ääninäyttely"
# renpy/common/00preferences.rpy:579
old "mute all"
new "mykistä kaikki"
# renpy/common/00speechbubble.rpy:344
old "Speech Bubble Editor"
# Automatic translation.
new "Puhekuplaeditori"
# renpy/common/00speechbubble.rpy:349
old "(hide)"
# Automatic translation.
new "(piilota)"
# renpy/common/00sync.rpy:70
old "Sync downloaded."
# Automatic translation.
new "Synkronointi ladattu."
# renpy/common/00sync.rpy:190
old "Could not connect to the Ren'Py Sync server."
# Automatic translation.
new "Yhteyttä Ren'Py Sync -palvelimeen ei saatu muodostettua."
# renpy/common/00sync.rpy:192
old "The Ren'Py Sync server timed out."
# Automatic translation.
new "Ren'Py Sync -palvelimen aikakatkaisu."
# renpy/common/00sync.rpy:194
old "An unknown error occurred while connecting to the Ren'Py Sync server."
# Automatic translation.
new "Ren'Py Sync -palvelimeen muodostettaessa yhteyttä tapahtui tuntematon virhe."
# renpy/common/00sync.rpy:267
old "The Ren'Py Sync server does not have a copy of this sync. The sync ID may be invalid, or it may have timed out."
# Automatic translation.
new "Ren'Py Sync -palvelimella ei ole kopiota tästä synkronoinnista. Synkronointitunnus voi olla virheellinen tai se voi olla vanhentunut."
# renpy/common/00sync.rpy:409
old "Please enter the sync ID you generated.\nNever enter a sync ID you didn't create yourself."
# Automatic translation.
new "Kirjoita luomasi synkronointitunnus.\nÄlä koskaan anna synkronointitunnusta, jota et ole luonut itse."
# renpy/common/00sync.rpy:428
old "The sync ID is not in the correct format."
# Automatic translation.
new "Synkronointitunnus ei ole oikeassa muodossa."
# renpy/common/00sync.rpy:448
old "The sync could not be decrypted."
# Automatic translation.
new "Synkronointia ei voitu purkaa."
# renpy/common/00sync.rpy:471
old "The sync belongs to a different game."
# Automatic translation.
new "Synkronointi kuuluu eri peliin."
# renpy/common/00sync.rpy:476
old "The sync contains a file with an invalid name."
# Automatic translation.
new "Synkronointi sisältää tiedoston, jonka nimi on virheellinen."
# renpy/common/00sync.rpy:529
old "This will upload your saves to the {a=https://sync.renpy.org}Ren'Py Sync Server{/a}.\nDo you want to continue?"
new "Tämä lataa tallennuksesi {a=https://sync.renpy.org}Ren'Py Sync Serveriin{/a}.\nHaluatko jatkaa?"
# renpy/common/00sync.rpy:558
old "Enter Sync ID"
# Automatic translation.
new "Syötä synkronointitunnus"
# renpy/common/00sync.rpy:569
old "This will contact the {a=https://sync.renpy.org}Ren'Py Sync Server{/a}."
new "Tämä ottaa yhteyttä {a=https://sync.renpy.org}Ren'Py Sync Serveriin{/a}."
# renpy/common/00sync.rpy:596
old "Sync Success"
new "Synkronointi onnistui"
# renpy/common/00sync.rpy:599
old "The Sync ID is:"
# Automatic translation.
new "Synkronointitunnus on:"
# renpy/common/00sync.rpy:605
old "You can use this ID to download your save on another device.\nThis sync will expire in an hour.\nRen'Py Sync is supported by {a=https://www.renpy.org/sponsors.html}Ren'Py's Sponsors{/a}."
new "Voit käyttää tätä tunnusta ladataksesi tallennuksesi toiseen laitteeseen.\nTämä synkronointi päättyy tunnin kuluttua.\nRen'Py Sync on {a=https://www.renpy.org/sponsors.html}Ren'Pyn sponsorien{/a} tukema."
# renpy/common/00sync.rpy:631
old "Sync Error"
# Automatic translation.
new "Synkronointivirhe"
+109 -1
View File
@@ -75,7 +75,8 @@ translate finnish strings:
# _developer/developer.rpym:532
old "\n{color=#cfc}✔ predicted image (good){/color}\n{color=#fcc}✘ unpredicted image (bad){/color}\n{color=#fff}Drag to move.{/color}"
new "\n{color=#cfc}✔ predicted image (good){/color}\n{color=#fcc}✘ unpredicted image (bad){/color}\n{color=#fff}Drag to move.{/color}"
# Automatic translation.
new "\n{color=#cfc}✔ ennustettu kuva (hyvä){/color}\n{color=#fcc}✘ ennakoimaton kuva (huono){/color}\n{color=#fff}Siirrä vetämällä.{/color}"
# _developer/inspector.rpym:38
old "Displayable Inspector"
@@ -177,3 +178,110 @@ translate finnish strings:
old "jump <label>: jumps to label"
new "jump <tunnus>: hyppää 'script.rpy'-tiedosto(i)ssa olevaan, tunnuksella merkittyyn kohtaan"
translate finnish strings:
# renpy/common/_developer/developer.rpym:43
old "Interactive Director (D)"
# Automatic translation.
new "Interaktiivinen johtaja (D)"
# renpy/common/_developer/developer.rpym:51
old "Persistent Viewer"
# Automatic translation.
new "Pysyvä katseluohjelma"
# renpy/common/_developer/developer.rpym:59
old "Show Image Load Log (F4)"
# Automatic translation.
new "Näytä kuvan latausloki (F4)"
# renpy/common/_developer/developer.rpym:62
old "Hide Image Load Log (F4)"
# Automatic translation.
new "Piilota kuvan latausloki (F4)"
# renpy/common/_developer/developer.rpym:65
old "Image Attributes"
# Automatic translation.
new "Kuva-attribuutit"
# renpy/common/_developer/developer.rpym:70
old "Speech Bubble Editor (Shift+B)"
# Automatic translation.
new "Puhekuplaeditori (Shift+B)"
# renpy/common/_developer/developer.rpym:97
old "[name] [attributes] (hidden)"
# Automatic translation.
new "[name] [attributes] (piilotettu)"
# renpy/common/_developer/developer.rpym:101
old "[name] [attributes]"
new "[name] [attributes]"
# renpy/common/_developer/developer.rpym:162
old "Hide deleted"
# Automatic translation.
new "Piilota poistettu"
# renpy/common/_developer/developer.rpym:162
old "Show deleted"
# Automatic translation.
new "Näytä poistettu"
# renpy/common/_developer/developer.rpym:389
old "Type to filter: "
# Automatic translation.
new "Suodatettava tyyppi: "
# renpy/common/_developer/developer.rpym:507
old "Textures: [tex_count] ([tex_size_mb:.1f] MB)"
# Automatic translation.
new "Tekstuurit: [tex_count] ([tex_size_mb:.1f] MB)"
# renpy/common/_developer/developer.rpym:511
old "Image cache: [cache_pct:.1f]% ([cache_size_mb:.1f] MB)"
# Automatic translation.
new "Kuvien välimuisti: [cache_pct:.1f]% ([cache_size_mb:.1f] MB)"
# renpy/common/00console.rpy:789
old "help: show this help\n help <expr>: show signature and documentation of <expr>"
# Automatic translation.
new "help: näytä tämä apu\n help <expr>: näytä <expr>:n allekirjoitus ja dokumentaatio"
# renpy/common/00console.rpy:813
old "Help may display undocumented functions. Please check that the function or\nclass you want to use is documented.\n\n"
# Automatic translation.
new "Ohje saattaa näyttää dokumentoimattomia toimintoja. Tarkista, että toiminto tai\nluokkaa, jota haluat käyttää, on dokumentoitu.\n\n"
# renpy/common/00console.rpy:854
old "stack: print the return stack"
# Automatic translation.
new "stack: tulostaa paluupinon"
# renpy/common/00console.rpy:908
old "watch <expression>: watch a python expression\n watch short: makes the representation of traced expressions short (default)\n watch long: makes the representation of traced expressions as is"
# Automatic translation.
new "watch <expression>: katsella python-lauseketta\n watch short: tekee jäljitettyjen lausekkeiden esityksestä lyhyen (oletusarvo)\n watch long: tekee jäljitettyjen ilmaisujen esittämisen sellaiseksi kuin se on."
# renpy/common/00console.rpy:1028
old "short: Shorten the representation of objects on the console (default)."
# Automatic translation.
new "short: Lyhentää objektien esitystä konsolissa (oletus)."
# renpy/common/00console.rpy:1032
old "long: Print the full representation of objects on the console."
# Automatic translation.
new "long: Tulostaa objektien täydellisen esityksen konsoliin."
# renpy/common/00console.rpy:1036
old "escape: Enables escaping of unicode symbols in unicode strings."
# Automatic translation.
new "escape: Mahdollistaa unicode-symbolien pakenemisen unicode-merkkijonoissa."
# renpy/common/00console.rpy:1040
old "unescape: Disables escaping of unicode symbols in unicode strings and print it as is (default)."
# Automatic translation.
new "unescape: Poistaa unicode-merkkijonojen unicode-symbolien eskandoimisen ja tulostaa ne sellaisenaan (oletus)."
+130
View File
@@ -177,3 +177,133 @@ translate finnish strings:
old "Copies the errors.txt file to the clipboard."
new "Kopioi errors.txt-tiedoston leikepöydälle."
translate finnish strings:
# renpy/common/00gltest.rpy:89
old "Renderer"
new "Renderer"
# renpy/common/00gltest.rpy:100
old "Force GL Renderer"
new "Force GL Renderer"
# renpy/common/00gltest.rpy:105
old "Force ANGLE Renderer"
new "Force ANGLE Renderer"
# renpy/common/00gltest.rpy:110
old "Force GLES Renderer"
# Automatic translation.
new "Pakota GLES Renderer"
# renpy/common/00gltest.rpy:116
old "Force GL2 Renderer"
# Automatic translation.
new "Pakota GL2 Renderer"
# renpy/common/00gltest.rpy:121
old "Force ANGLE2 Renderer"
# Automatic translation.
new "Voima ANGLE2 Renderer"
# renpy/common/00gltest.rpy:126
old "Force GLES2 Renderer"
# Automatic translation.
new "Pakota GLES2 Renderer"
# renpy/common/00gltest.rpy:136
old "Enable (No Blocklist)"
# Automatic translation.
new "Enable (Ei estolistaa)"
# renpy/common/00gltest.rpy:159
old "Powersave"
new "Powersave"
# renpy/common/00gltest.rpy:173
old "Framerate"
new "Framerate"
# renpy/common/00gltest.rpy:177
old "Screen"
# Automatic translation.
new "Näyttö"
# renpy/common/00gltest.rpy:181
old "60"
new "60"
# renpy/common/00gltest.rpy:185
old "30"
new "30"
# renpy/common/00gltest.rpy:191
old "Tearing"
new "Tearing"
# renpy/common/00gltest.rpy:249
old "This game requires use of GL2 that can't be initialised."
# Automatic translation.
new "Tämä peli vaatii GL2:n käyttöä, jota ei voida alustaa."
# renpy/common/00gltest.rpy:259
old "The {a=edit:1:log.txt}log.txt{/a} file may contain information to help you determine what is wrong with your computer."
# Automatic translation.
new "{a=edit:1:log.txt}log.txt{/a} tiedosto voi sisältää tietoja, joiden avulla voit selvittää, mikä tietokoneessa on vikana."
# renpy/common/00gltest.rpy:264
old "More details on how to fix this can be found in the {a=[url]}documentation{/a}."
# Automatic translation.
new "Lisätietoja tämän korjaamisesta löytyy {a=[url]}-dokumentaatiosta{/a}."
# renpy/common/00gltest.rpy:281
old "Change render options"
# Automatic translation.
new "Muuta renderöintivaihtoehtoja"
# renpy/common/00gamepad.rpy:58
old "Press or move the '[control!s]' [kind]."
# Automatic translation.
new "Paina tai siirrä '[control!s]' [kind]."
# renpy/common/_errorhandling.rpym:555
old "Open"
# Automatic translation.
new "Avaa"
# renpy/common/_errorhandling.rpym:559
old "Copy BBCode"
# Automatic translation.
new "Kopioi BBCode"
# renpy/common/_errorhandling.rpym:561
old "Copies the traceback.txt file to the clipboard as BBcode for forums like https://lemmasoft.renai.us/."
# Automatic translation.
new "Kopioi traceback.txt-tiedoston leikepöydälle BBkoodina foorumeille, kuten https://lemmasoft.renai.us/."
# renpy/common/_errorhandling.rpym:563
old "Copy Markdown"
# Automatic translation.
new "Kopioi Markdown"
# renpy/common/_errorhandling.rpym:565
old "Copies the traceback.txt file to the clipboard as Markdown for Discord."
# Automatic translation.
new "Kopioi traceback.txt-tiedoston leikepöydälle Markdown-muodossa Discordia varten."
# renpy/common/_errorhandling.rpym:626
old "Ignores the exception, allowing you to continue."
# Automatic translation.
new "Jättää poikkeuksen huomiotta, jolloin voit jatkaa."
# renpy/common/_errorhandling.rpym:637
old "Console"
# Automatic translation.
new "Konsoli"
# renpy/common/_errorhandling.rpym:639
old "Opens a console to allow debugging the problem."
# Automatic translation.
new "Avaa konsolin ongelman vianmääritystä varten."
+68
View File
@@ -409,3 +409,71 @@ translate finnish strings:
old "## Quick buttons."
new "## Pikavalikko."
translate finnish strings:
# gui/game/gui.rpy:5
old "## The init offset statement causes the initialization statements in this file to run before init statements in any other file."
# Automatic translation.
new "## Init offset -lauseke saa aikaan sen, että tässä tiedostossa olevat alustamislausekkeet suoritetaan ennen minkä tahansa muun tiedoston init-lausekkeita."
# gui/game/gui.rpy:14
old "## Enable checks for invalid or unstable properties in screens or transforms"
# Automatic translation.
new "## Ota käyttöön virheellisten tai epävakaiden ominaisuuksien tarkistukset näytöissä tai muunnoksissa."
# gui/game/gui.rpy:19
old "## GUI Configuration Variables"
# Automatic translation.
new "## GUI-konfiguraatiomuuttujat"
# gui/game/gui.rpy:167
old "## The color of button text in various states."
# Automatic translation.
new "## Painikkeen tekstin väri eri tiloissa."
# gui/game/gui.rpy:173
old "## The horizontal alignment of the button text. (0.0 is left, 0.5 is center, 1.0 is right)."
# Automatic translation.
new "## Painikkeen tekstin vaakasuora kohdistus. (0.0 on vasen, 0.5 on keskellä, 1.0 on oikea)."
# gui/game/gui.rpy:278
old "## The position of the main menu text."
# Automatic translation.
new "## Päävalikon tekstin sijainti."
# gui/game/gui.rpy:287
old "## Generic frames."
# Automatic translation.
new "## Yleiset kehykset."
# gui/game/gui.rpy:307
old "## The default GUI only uses sliders and vertical scrollbars. All of the other bars are only used in creator-written screens."
# Automatic translation.
new "## Oletusarvoinen graafinen käyttöliittymä käyttää vain liukusäätimiä ja pystysuuntaisia vierityspalkkeja. Kaikkia muita palkkeja käytetään vain luojan kirjoittamissa näytöissä."
# gui/game/gui.rpy:368
old "## The maximum number of NVL-mode entries Ren'Py will display. When more entries than this are to be show, the oldest entry will be removed."
# Automatic translation.
new "## NVL-tilan merkintöjen enimmäismäärä, jonka Ren'Py näyttää. Kun näytetään tätä enemmän merkintöjä, vanhin merkintä poistetaan."
# gui/game/gui.rpy:405
old "## Localization"
# Automatic translation.
new "## Lokalisointi"
# gui/game/gui.rpy:407
old "## This controls where a line break is permitted. The default is suitable for most languages. A list of available values can be found at https://www.renpy.org/doc/html/style_properties.html#style-property-language"
# Automatic translation.
new "## Tämä säätää, missä kohtaa rivinvaihto sallitaan. Oletusarvo sopii useimmille kielille. Luettelo käytettävissä olevista arvoista löytyy osoitteesta https://www.renpy.org/doc/html/style_properties.html#style-property-language."
# gui/game/gui.rpy:415
old "## Mobile devices"
# Automatic translation.
new "## Mobiililaitteet"
# gui/game/gui.rpy:446
old "## Change the size and spacing of various things."
# Automatic translation.
new "## Muuta eri asioiden kokoa ja välejä."
File diff suppressed because it is too large Load Diff
+28
View File
@@ -193,3 +193,31 @@ translate finnish strings:
old "## The username and project name associated with an itch.io project, separated by a slash."
new "## Kauttaviivan erottama käyttäjänimi ja itch.io-projektinimi."
translate finnish strings:
# gui/game/options.rpy:31
old "## Text that is placed on the game's about screen. Place the text between the triple-quotes, and leave a blank line between paragraphs."
# Automatic translation.
new "## Teksti, joka sijoitetaan pelin about-näyttöön. Sijoita teksti kolmoislauseiden väliin ja jätä kappaleiden väliin tyhjä rivi."
# gui/game/options.rpy:47
old "## These three variables control, among other things, which mixers are shown to the player by default. Setting one of these to False will hide the appropriate mixer."
# Automatic translation.
new "## Nämä kolme muuttujaa säätelevät muun muassa sitä, mitkä mikserit näytetään pelaajalle oletusarvoisesti. Jonkin näistä muuttujista asettaminen Falseen piilottaa kyseisen mikserin."
# gui/game/options.rpy:82
old "## Between screens of the game menu."
# Automatic translation.
new "## Pelivalikon näyttöjen välillä."
# gui/game/options.rpy:152
old "## Icon"
# Automatic translation.
new "## Kuvake"
# gui/game/options.rpy:203
old "## A Google Play license key is required to perform in-app purchases. It can be found in the Google Play developer console, under \"Monetize\" > \"Monetization Setup\" > \"Licensing\"."
# Automatic translation.
new "## Google Play -lisenssiavain tarvitaan sovelluksen sisäisten ostojen tekemiseen. Se löytyy Google Play -kehittäjäkonsolista kohdasta \"Monetize\" > \"Monetization Setup\" > \"Licensing\"."
+138 -5
View File
@@ -75,7 +75,8 @@ translate finnish strings:
# screens.rpy:263
old "Skip"
new "Skip"
# Automatic translation.
new "Ohita"
# screens.rpy:264
old "Auto"
@@ -407,7 +408,8 @@ translate finnish strings:
# screens.rpy:1003
old "Enter"
new "Enter"
# Automatic translation.
new "Kirjoita"
# screens.rpy:1004
old "Advances dialogue and activates the interface."
@@ -455,7 +457,8 @@ translate finnish strings:
# screens.rpy:1027
old "Page Up"
new "Page Up"
# Automatic translation.
new "Sivu ylös"
# screens.rpy:1028
old "Rolls back to earlier dialogue."
@@ -494,8 +497,8 @@ translate finnish strings:
new "Hiiren Oikea Painike"
# screens.rpy:1062
old "Mouse Wheel Up\nClick Rollback Side"
new "Hiiren Rulla Ylös\nKlikkaa Palautussivua"
old "Mouse Wheel Up"
new "Hiiren Rulla Ylös"
# screens.rpy:1066
old "Mouse Wheel Down"
@@ -641,3 +644,133 @@ translate finnish strings:
old "Menu"
new "Valikko"
translate finnish strings:
# gui/game/screens.rpy:114
old "## If there's a side image, display it above the text. Do not display on the phone variant - there's no room."
# Automatic translation.
new "## Jos sivulla on kuva, näytä se tekstin yläpuolella. Älä näytä puhelinmuunnoksessa - siinä ei ole tilaa."
# gui/game/screens.rpy:120
old "## Make the namebox available for styling through the Character object."
# Automatic translation.
new "## Tee nimilaatikosta muotoiltavissa oleva Character-olio."
# gui/game/screens.rpy:173
old "## https://www.renpy.org/doc/html/screen_special.html#input"
new "## https://www.renpy.org/doc/html/screen_special.html#input"
# gui/game/screens.rpy:206
old "## https://www.renpy.org/doc/html/screen_special.html#choice"
new "## https://www.renpy.org/doc/html/screen_special.html#choice"
# gui/game/screens.rpy:241
old "## Ensure this appears on top of other screens."
# Automatic translation.
new "## Varmista, että tämä näkyy muiden näyttöjen yläpuolella."
# gui/game/screens.rpy:280
old "## Main and Game Menu Screens"
# Automatic translation.
new "## Pää- ja pelivalikon näytöt"
# gui/game/screens.rpy:329
old "## The quit button is banned on iOS and unnecessary on Android and Web."
# Automatic translation.
new "## Lopeta-painike on kielletty iOS:ssä ja tarpeeton Androidissa ja Webissä."
# gui/game/screens.rpy:348
old "## https://www.renpy.org/doc/html/screen_special.html#main-menu"
new "## https://www.renpy.org/doc/html/screen_special.html#main-menu"
# gui/game/screens.rpy:352
old "## This ensures that any other menu screen is replaced."
# Automatic translation.
new "## Näin varmistetaan, että kaikki muut valikkonäytöt korvataan."
# gui/game/screens.rpy:357
old "## This empty frame darkens the main menu."
# Automatic translation.
new "## Tämä tyhjä kehys tummentaa päävalikon."
# gui/game/screens.rpy:429
old "## Reserve space for the navigation section."
# Automatic translation.
new "## Varaa tilaa navigointiosuudelle."
# gui/game/screens.rpy:608
old "## The page name, which can be edited by clicking on a button."
# Automatic translation.
new "## Sivun nimi, jota voidaan muokata napsauttamalla painiketta."
# gui/game/screens.rpy:668
old "## range(1, 10) gives the numbers from 1 to 9."
# Automatic translation.
new "## range(1, 10) antaa numerot 1-9."
# gui/game/screens.rpy:676
old "Upload Sync"
# Automatic translation.
new "Lataa synkronointi"
# gui/game/screens.rpy:680
old "Download Sync"
# Automatic translation.
new "Lataa Sync"
# gui/game/screens.rpy:921
old "## This determines what tags are allowed to be displayed on the history screen."
# Automatic translation.
new "## Tämä määrittää, mitä tunnisteita saa näyttää historiaruudulla."
# gui/game/screens.rpy:1049
old "Opens the accessibility menu."
# Automatic translation.
new "Avaa saavutettavuusvalikon."
# gui/game/screens.rpy:1082
old "Left Trigger\nLeft Shoulder"
# Automatic translation.
new "Vasen liipaisin\nVasen olkapää"
# gui/game/screens.rpy:1139
old "## https://www.renpy.org/doc/html/screen_special.html#confirm"
new "## https://www.renpy.org/doc/html/screen_special.html#confirm"
# gui/game/screens.rpy:1248
old "## We have to use a font that has the BLACK RIGHT-POINTING SMALL TRIANGLE glyph in it."
# Automatic translation.
new "## Meidän on käytettävä fonttia, jossa on BLACK RIGHT-POINTING SMALL TRIANGLE -lyhenne."
# gui/game/screens.rpy:1296
old "## https://www.renpy.org/doc/html/screen_special.html#nvl"
new "## https://www.renpy.org/doc/html/screen_special.html#nvl"
# gui/game/screens.rpy:1320
old "## Displays the menu, if given. The menu may be displayed incorrectly if config.narrator_menu is set to True."
# Automatic translation.
new "## Näyttää valikon, jos se on annettu. Valikko saatetaan näyttää virheellisesti, jos config.narrator_menu on asetettu arvoon True."
# gui/game/screens.rpy:1410
old "## Bubble screen"
# Automatic translation.
new "## Kupla näyttö"
# gui/game/screens.rpy:1412
old "## The bubble screen is used to display dialogue to the player when using speech bubbles. The bubble screen takes the same parameters as the say screen, must create a displayable with the id of \"what\", and can create displayables with the \"namebox\", \"who\", and \"window\" ids."
# Automatic translation.
new "## Puhekuplaikkunaa käytetään näyttämään dialogi pelaajalle, kun käytetään puhekuplia. Bubble screen ottaa samat parametrit kuin say screen, sen on luotava displayable, jonka id on \"what\", ja se voi luoda displayables, joiden id:t ovat \"namebox\", \"who\" ja \"window\"."
# gui/game/screens.rpy:1417
old "## https://www.renpy.org/doc/html/bubble.html#bubble-screen"
new "## https://www.renpy.org/doc/html/bubble.html#bubble-screen"
translate finnish strings:
# gui/game/screens.rpy:411
old "## The scroll parameter can be None, or one of \"viewport\" or \"vpgrid\". This screen is intended to be used with one or more children, which are transcluded (placed) inside it."
# Automatic translation.
new "## Selausparametri voi olla None tai jokin seuraavista: \"viewport\" tai \"vpgrid\". Tämä ruutu on tarkoitettu käytettäväksi yhden tai useamman lapsen kanssa, jotka siirretään (sijoitetaan) sen sisään."
+117 -6
View File
@@ -332,8 +332,6 @@
old "return"
new "retour"
translate french strings:
# renpy/common/00accessibility.rpy:76
old "Font Override"
new "Forcer la police"
@@ -392,7 +390,7 @@ translate french strings:
# renpy/common/00accessibility.rpy:34
old "viewport"
new "viewport"
new "fenêtre déroulante"
# renpy/common/00accessibility.rpy:35
old "horizontal scroll"
@@ -488,7 +486,7 @@ translate french strings:
# renpy/common/00director.rpy:1561
old "(statement)"
new "(statement)"
new "(instruction)"
# renpy/common/00director.rpy:1562
old "(tag)"
@@ -508,7 +506,8 @@ translate french strings:
# renpy/common/00director.rpy:1601
old "(channel)"
new "(channel)"
# Automatic translation.
new "(canal)"
# renpy/common/00director.rpy:1602
old "(filename)"
@@ -732,7 +731,7 @@ translate french strings:
# renpy/common/_developer/developer.rpym:57
old "Show Image Load Log (F4)"
new "Montrer le log ne chargement des images (F4)"
new "Afficher le log de chargement des images (F4)"
# renpy/common/_developer/developer.rpym:60
old "Hide Image Load Log (F4)"
@@ -797,3 +796,115 @@ translate french strings:
# renpy/common/00preferences.rpy:535
old "mute main"
new "sourdine générale"
# renpy/common/00speechbubble.rpy:299
old "Speech Bubble Editor"
new "Éditeur de bulles de dialogue"
# renpy/common/00speechbubble.rpy:304
old "(hide)"
new "(masquer)"
# renpy/common/00director.rpy:1748
old "Click to toggle attribute, right click to toggle negative attribute."
new "Clic pour (dés)activer des attributs, clic droit pour (dés)activer les suppressions d'attributs."
# renpy/common/00director.rpy:1771
old "Click to set transform, right click to add to transform list."
new "Clic pour assigner le transform, clic droit pour ajouter à la liste des transforms."
# renpy/common/00director.rpy:1789
old "Click to set, right click to add to behind list."
new "Clic pour assigner, clic droit pour ajouter à la liste du \"behind\"."
# renpy/common/00preferences.rpy:528
old "audio when unfocused"
new "audio lors de la perte de focus"
# renpy/common/00preferences.rpy:537
old "web cache preload"
new "préchargement du cache web cache"
# renpy/common/00preferences.rpy:552
old "voice after game menu"
new "voix dans le menu de jeu"
# renpy/common/00sync.rpy:58
old "Sync downloaded."
new "Sync téléchargé."
# renpy/common/00sync.rpy:178
old "Could not connect to the Ren'Py Sync server."
new "Échec de la connexion au serveur Ren'Py Sync."
# renpy/common/00sync.rpy:180
old "The Ren'Py Sync server timed out."
new "Le serveur Ren'Py Sync a mis trop de temps à répondre."
# renpy/common/00sync.rpy:182
old "An unknown error occurred while connecting to the Ren'Py Sync server."
new "Une erreur inconnue est arrivée lors de la connexion au serveur Ren'Py Sync."
# renpy/common/00sync.rpy:255
old "The Ren'Py Sync server does not have a copy of this sync. The sync ID may be invalid, or it may have timed out."
new "Le serveur Ren'Py Sync ne reconnaît pas ce code sync. l'ID est peut-être invalide, ou il peut avoir expiré."
# renpy/common/00sync.rpy:397
old "Please enter the sync ID you generated.\nNever enter a sync ID you didn't create yourself."
new "Entrez l'ID sync que vous avez généré.\nN'entrez jamais un ID sync que vous n'avez pas généré vous-même."
# renpy/common/00sync.rpy:416
old "The sync ID is not in the correct format."
new "L'ID sync n'est pas dans un format correct."
# renpy/common/00sync.rpy:436
old "The sync could not be decrypted."
new "Le sync n'a pas pu être déchiffré."
# renpy/common/00sync.rpy:459
old "The sync belongs to a different game."
new "Le sync correspond à un autre jeu."
# renpy/common/00sync.rpy:464
old "The sync contains a file with an invalid name."
new "Le sync contient un fichier ayant un nom invalide."
# renpy/common/00sync.rpy:517
old "This will upload your saves to the {a=https://sync.renpy.org}Ren'Py Sync Server{/a}.\nDo you want to continue?"
new "Vos sauvegardes vont être téléchargées sur le {a=https://sync.renpy.org}serveur Ren'Py Sync{/a}.\nVoulez-vous continuer ?"
# renpy/common/00sync.rpy:546
old "Enter Sync ID"
new "Entrez l'ID Sync"
# renpy/common/00sync.rpy:557
old "This will contact the {a=https://sync.renpy.org}Ren'Py Sync Server{/a}."
new "Ceci va contacter le {a=https://sync.renpy.org}serveur Ren'Py Sync{/a}."
# renpy/common/00sync.rpy:584
old "Sync Success"
new "Sync réussi"
# renpy/common/00sync.rpy:587
old "The Sync ID is:"
new "L'ID Sync est :"
# renpy/common/00sync.rpy:593
old "You can use this ID to download your save on another device.\nThis sync will expire in an hour.\nRen'Py Sync is supported by {a=https://www.renpy.org/sponsors.html}Ren'Py's Sponsors{/a}."
new "Vous pouvez utiliser cet ID pour transférer votre sauvegarde sur un autre appareil.\nCe sync expirera dans une heure.\nRen'Py Sync is soutenu par les {a=https://www.renpy.org/sponsors.html}Sponsors de Ren'Py's{/a}."
# renpy/common/00sync.rpy:619
old "Sync Error"
new "Erreur de Sync"
# renpy/common/00webvideo.rpy:5
old "Touch to play the video."
new "Touchez pour jouer la vidéo."
# renpy/common/00gui.rpy:456
old "This save was created on a different device. Maliciously constructed save files can harm your computer. Do you trust this save's creator and everyone who could have changed the file?"
new "Cette sauvegarde a été créée sur un autre appareil. Des faux fichiers de sauvegarde peuvent être utilisés pour endommager votre ordinateur. Faites-vous confiance au créateur de cette sauvegarde et à tous ceux qui auraient pu modifier le fichier ?"
# renpy/common/00gui.rpy:457
old "Do you trust the device the save was created on? You should only choose yes if you are the device's sole user."
new "Faites-vous confiance à l'appareil sur lequel cette sauvegarde a été créée ? Vous ne devriez dire oui que si vous en êtes l'unique utilisateur ."
+17 -5
View File
@@ -14,7 +14,11 @@
# _developer/developer.rpym:47
old "Variable Viewer"
new "Visualisateur de variable"
new "Inspecteur de variables"
# renpy/common/_developer/developer.rpym:51
old "Persistent Viewer"
new "Inspecteur de données persistentes"
# _developer/developer.rpym:49
old "Theme Test"
@@ -74,7 +78,7 @@
# _developer/developer.rpym:532
old "\n{color=#cfc}✔ predicted image (good){/color}\n{color=#fcc}✘ unpredicted image (bad){/color}\n{color=#fff}Drag to move.{/color}"
new "\n{color=#cfc}✔ image prédite (bon){/color}\n{color=#fcc}✘ image prédite (mauvais){/color}\n{color=#fff}Glissez pour bouger.{/color}"
new "\n{color=#cfc}✔ image prédite (bien){/color}\n{color=#fcc}✘ image non prédite (pas bien){/color}\n{color=#fff}Glissez pour déplacer.{/color}"
# _developer/inspector.rpym:38
old "Displayable Inspector"
@@ -124,9 +128,13 @@
old "Ren'Py script disabled."
new "Script Ren'Py désactivé."
# 00console.rpy:398
old "help: show this help"
new "aide : afficher cette aide"
# renpy/common/00console.rpy:781
old "help: show this help\n help <expr>: show signature and documentation of <expr>"
new "help : afficher cette aide\n help <expr>: afficher la signature et la documentation de <expr>"
# renpy/common/00console.rpy:805
old "Help may display undocumented functions. Please check that the function or\nclass you want to use is documented.\n\n"
new "Help peut afficher des fonctions non documentées. Veuillez vérifier que la\nfonction ou classe que vous voulez utiliser est bien documentée.\n\n"
# 00console.rpy:403
old "commands:\n"
@@ -199,3 +207,7 @@
# renpy/common/00console.rpy:784
old "stack: print the return stack"
new "stack : affiche la pile de retour"
# renpy/common/_developer/developer.rpym:70
old "Speech Bubble Editor (Shift+B)"
new "Éditeur de bulles de dialogue (Shift+B)"
+4
View File
@@ -455,3 +455,7 @@
# gui/game/gui.rpy:441
old "## Change the size and spacing of various things."
new "## Changer la taille et l'espacement de diverses choses."
# gui/game/gui.rpy:14
old "## Enable checks for invalid or unstable properties in screens or transforms"
new "## Active la vérification de propriétés invalides ou instables dans les screens et transforms"
+140 -47
View File
@@ -41,7 +41,7 @@
# android.rpy:32
old "RAPT has been installed, but you'll need to install the Android SDK before you can build Android packages. Choose Install SDK to do this."
new "RAPT a été installé, mais vous devez installer le kit de développement Android pour pouvoir compiler les paquets Android. Choisissez « installer le kit de développement et créer les clés » pour cela."
new "RAPT a été installé, mais vous devez installer le kit de développement Android pour pouvoir compiler les paquets Android, avec « Installer le SDK »."
# android.rpy:33
old "RAPT has been installed, but a key hasn't been configured. Please create a new key, or restore android.keystore."
@@ -65,11 +65,11 @@
# android.rpy:39
old "Attempts to emulate a televison-based Android console, like the OUYA or Fire TV.\n\nController input is mapped to the arrow keys, Enter is mapped to the select button, Escape is mapped to the menu button, and PageUp is mapped to the back button."
new "Tentative d’émulation d'une console télé basée sur Android, comme OUYA ou Fire TV.\n\n Le contrôleur est émulé par les touches fléchées, le bouton select par la touche Entrée, le bouton menu par la touche Echap, et le bouton retour par la touche PageUp."
new "Tentative d’émulation d'une console télé basée sur Android, comme OUYA ou Fire TV.\n\nLa manette est émulée par les touches fléchées, le bouton select par la touche Entrée, le bouton menu par la touche Echap, et le bouton retour par la touche PageUp."
# android.rpy:41
old "Downloads and installs the Android SDK and supporting packages. Optionally, generates the keys required to sign the package."
new "Télécharge et installe le kit de développement Android et les paquets supportés. Optionnellement, génère les clés requises pour signer le paquet."
new "Télécharge et installe le kit de développement Android et les paquets requis. Optionnellement, génère les clés requises pour signer le paquet."
# android.rpy:42
old "Configures the package name, version, and other information about this project."
@@ -209,7 +209,8 @@
# choose_theme.rpy:370
old "Planetarium"
new "Planetarium"
# Automatic translation.
new "Planétarium"
# choose_theme.rpy:425
old "Choose Theme"
@@ -364,7 +365,7 @@
new "{b}Recommandé.{/b} Un éditeur en version beta avec une interface simple et des fonctionnalités dassistance au développement. Editra manque pour le moment du support pour les textes en chinois, japonais et coréen. Sur GNU-Linux, Editra nécessite wxPython."
# editor.rpy:167
old "This may have occured because wxPython is not installed on this system."
old "This may have occurred because wxPython is not installed on this system."
new "Cela est sans doute dû au fait que wxPython nest pas installé sur votre système."
# editor.rpy:169
@@ -380,7 +381,7 @@
new "1.8 Mo de téléchargement requis."
# editor.rpy:182
old "This may have occured because Java is not installed on this system."
old "This may have occurred because Java is not installed on this system."
new "Cela est sans doute produit parce que Java nest pas installé sur ce système."
# editor.rpy:191
@@ -392,7 +393,7 @@
new "Empêcher RenPy douvrir un éditeur de texte."
# editor.rpy:359
old "An exception occured while launching the text editor:\n[exception!q]"
old "An exception occurred while launching the text editor:\n[exception!q]"
new "Une exception est survenue lors du lancement de l’éditeur de texte :\n[exception!q]"
# editor.rpy:457
@@ -608,7 +609,7 @@
new "ERREUR"
# interface.rpy:356
old "While [what!qt], an error occured:"
old "While [what!qt], an error occurred:"
new "Pendant que [what!qt], une erreur est survenue :"
# interface.rpy:356
@@ -925,7 +926,7 @@
# preferences.rpy:174
old "Show edit file section"
new "Afficher la section d’édition de fichier"
new "Afficher la section d’édition de fichiers"
# preferences.rpy:175
old "Large fonts"
@@ -933,11 +934,11 @@
# preferences.rpy:178
old "Console output"
new "Sortie console"
new "Console de sortie"
# preferences.rpy:199
old "Open launcher project"
new "Ouvrir le projet lanceur"
new "Ouvrir le projet du lanceur"
# preferences.rpy:213
old "Language:"
@@ -997,7 +998,7 @@
# translations.rpy:104
old "The language to work with. This should only contain lower-case ASCII characters and underscores."
new "Le langage avec lequel travailler. Cette valeur ne doit contenir que des caractères ASCII en minuscules et des underscores (tiret bas)."
new "Le langage avec lequel travailler. Cette valeur ne doit contenir que des caractères ASCII en minuscules et des underscores."
# translations.rpy:130
old "Generate empty strings for translations"
@@ -1025,7 +1026,7 @@
# translations.rpy:180
old "Update Default Interface Translations"
new "Met à jour la traduction de l'interface par défaut"
new "Mise à jour de la traduction par défaut de l'interface"
# translations.rpy:200
old "The extract command allows you to extract string translations from an existing project into a temporary file.\n\nThe merge command merges extracted translations into another project."
@@ -1057,7 +1058,7 @@
# translations.rpy:282
old "Updating default interface translations..."
new "Mise à jour en cours de la traduction de linterface par défaut..."
new "Mise à jour de la traduction par défaut de linterface en cours..."
# translations.rpy:306
old "Extract Dialogue: [project.current.name!q]"
@@ -1069,7 +1070,7 @@
# translations.rpy:330
old "Tab-delimited Spreadsheet (dialogue.tab)"
new "Feuille de calcul avec pour séparateur des tabulations (dialogue.tab)"
new "Feuille de calcul avec des tabulations comme séparateur (dialogue.tab)"
# translations.rpy:331
old "Dialogue Text Only (dialogue.txt)"
@@ -1107,6 +1108,14 @@
old "Release"
new "Stable"
# game/updater.rpy:64
old "Release (Ren'Py 8, Python 3)"
new "Stable (Ren'Py 8, Python 3)"
# game/updater.rpy:65
old "Release (Ren'Py 7, Python 2)"
new "Stable (Ren'Py 7, Python 2)"
# updater.rpy:97
old "{b}Recommended.{/b} The version of Ren'Py that should be used in all newly-released games."
new "{b}Recommandé.{/b} La version de RenPy qui devrait être utilisée pour tous les jeux récemment sortis."
@@ -1115,6 +1124,14 @@
old "Prerelease"
new "Pré-stable"
# game/updater.rpy:69
old "Prerelease (Ren'Py 8, Python 3)"
new "Pré-stable (Ren'Py 8, Python 3)"
# game/updater.rpy:70
old "Prerelease (Ren'Py 7, Python 2)"
new "Pré-stable (Ren'Py 7, Python 2)"
# updater.rpy:108
old "A preview of the next version of Ren'Py that can be used for testing and taking advantage of new features, but not for final releases of games."
new "Un aperçu de la prochaine version de RenPy qui peut être utilisée pour faire des tests et profiter de toutes nouvelles fonctionnalités, mais pas pour créer de nouveaux jeux."
@@ -1129,14 +1146,38 @@
# updater.rpy:126
old "Nightly"
new "Nightly"
new "Journalière"
# game/updater.rpy:77
old "Nightly (Ren'Py 8, Python 3)"
new "Journalière (Ren'Py 8, Python 3)"
# game/updater.rpy:78
old "Nightly (Ren'Py 7, Python 2)"
new "Journalière (Ren'Py 7, Python 2)"
# updater.rpy:132
old "The bleeding edge of Ren'Py development. This may have the latest features, or might not run at all."
new "Les toutes dernières version de RenPy encore en développement. Vous pouvez alors utiliser les toutes dernières fonctionnalités, mais le logiciel peut également ne pas sexécuter du tout."
new "La toute dernière version de RenPy, encore en développement. Elle peut contenir les toutes dernières fonctionnalités, ou alors ne pas marcher du tout."
# game/updater.rpy:76
old "Nightly Fix"
new "Journalière Corrective"
# game/updater.rpy:77
old "Nightly Fix (Ren'Py 8, Python 3)"
new "Journalière Corrective (Ren'Py 8, Python 3)"
# game/updater.rpy:78
old "Nightly Fix (Ren'Py 7, Python 2)"
new "Journalière Corrective (Ren'Py 7, Python 2)"
# game/updater.rpy:79
old "A nightly build of fixes to the release version of Ren'Py."
new "Une version journalière qui corrige les bugs de la dernière version stable."
# updater.rpy:152
old "An error has occured:"
old "An error has occurred:"
new "Une erreur est survenue :"
# updater.rpy:154
@@ -1192,8 +1233,8 @@
new "Le nom de fichier ne peut pas être vide."
# game/android.rpy:31
old "A 64-bit/x64 Java 8 Development Kit is required to build Android packages on Windows. The JDK is different from the JRE, so it's possible you have Java without having the JDK.\n\nPlease {a=https://adoptopenjdk.net/?variant=openjdk8&jvmVariant=hotspot}download and install the JDK{/a}, then restart the Ren'Py launcher."
new "Un kit de développement Java 8 64-bit/x64 est requis pour construire des paquets Android depuis Windows. Le JDK est différent du JRE, donc il est possible d'avoir Java sans avoir le JDK.\n\n{a=https://adoptopenjdk.net/?variant=openjdk8&jvmVariant=hotspot}Téléchargez et installez le JDK{/a}, puis redémarrez Ren'Py."
old "A 64-bit/x64 Java [JDK_REQUIREMENT] Development Kit is required to build Android packages on Windows. The JDK is different from the JRE, so it's possible you have Java without having the JDK.\n\nPlease {a=https://www.renpy.org/jdk/[JDK_REQUIREMENT]}download and install the JDK{/a}, then restart the Ren'Py launcher."
new "Un kit de développement Java [JDK_REQUIREMENT] 64-bit/x64 est requis pour construire des paquets Android depuis Windows. Le JDK est différent du JRE, donc il est possible d'avoir Java sans avoir le JDK.\n\n{a=https://www.renpy.org/jdk/[JDK_REQUIREMENT]}Téléchargez et installez le JDK{/a}, puis redémarrez Ren'Py."
# game/android.rpy:50
old "Selects the Debug build, which can be accessed through Android Studio. Changing between debug and release builds requires an uninstall from your device."
@@ -1549,7 +1590,7 @@
# game/gui7.rpy:339
old "Custom. The GUI is optimized for a 16:9 aspect ratio."
new "Personnalisé. Le GUI est optimié pour un ratio de cadre 16:9."
new "Personnalisé. Le GUI est optimisé pour un ratio de cadre 16:9."
# game/gui7.rpy:355
old "WIDTH"
@@ -2036,37 +2077,13 @@
new "Thème du lanceur :"
# game/preferences.rpy:254
old "Information about creating a custom theme can be found {a=https://www.renpy.org/doc/html/skins.html}in the Ren'Py Documentation{/a}."
new "Plus d'informations sur comment créer un thème personnalisé se trouvent {a=https://www.renpy.org/doc/html/skins.html}dans la documentation de Ren'Py{/a}."
old "Information about creating a custom theme can be found {a=[skins_url]}in the Ren'Py Documentation{/a}."
new "Plus d'informations sur comment créer un thème personnalisé se trouvent {a=[skins_url]}dans la documentation de Ren'Py{/a}."
# game/preferences.rpy:271
old "Install Libraries:"
new "Installer des bibliothèques :"
# game/updater.rpy:64
old "Release (Ren'Py 8, Python 3)"
new "Stable (Ren'Py 8, Python 3)"
# game/updater.rpy:65
old "Release (Ren'Py 7, Python 2)"
new "Stable (Ren'Py 7, Python 2)"
# game/updater.rpy:69
old "Prerelease (Ren'Py 8, Python 3)"
new "Pré-stable (Ren'Py 8, Python 3)"
# game/updater.rpy:70
old "Prerelease (Ren'Py 7, Python 2)"
new "Pré-stable (Ren'Py 7, Python 2)"
# game/updater.rpy:77
old "Nightly (Ren'Py 8, Python 3)"
new "Nightly (Ren'Py 8, Python 3)"
# game/updater.rpy:78
old "Nightly (Ren'Py 7, Python 2)"
new "Nightly (Ren'Py 7, Python 2)"
# game/preferences.rpy:327
old "{#in language font}Welcome! Please choose a language"
new "{font=fonts/Roboto-Light.ttf}Bienvenue ! Choisissez une langue{/font}"
@@ -2074,3 +2091,79 @@
# game/preferences.rpy:327
old "{#in language font}Start using Ren'Py in [lang_name]"
new "{font=fonts/Roboto-Light.ttf}Commencez à utiliser Ren'Py en [lang_name]{/font}"
# game/distribute_gui.rpy:231
old "(DLC)"
new "(DLC)"
# game/project.rpy:46
old "Lint checks your game for potential mistakes, and gives you statistics."
new "Lint vérifie votre jeu pour des erreurs communes, et génère des statistiques."
# game/web.rpy:484
old "Creating package..."
new "Création du package..."
# game/android.rpy:37
old "RAPT has been installed, but a key hasn't been configured. Please generate new keys, or copy android.keystore and bundle.keystore to the base directory."
new "RAPT a été installé, mais aucune clé na été configurée. Veuillez générer de nouvelles clés, ou copier android.keystore and bundle.keystore dans le dossier racine du projet."
# game/android.rpy:44
old "Attempts to emulate a televison-based Android console.\n\nController input is mapped to the arrow keys, Enter is mapped to the select button, Escape is mapped to the menu button, and PageUp is mapped to the back button."
new "Tentative d’émulation d'une console télé basée sur Android.\n\nLa manette est émulée par les touches fléchées, le bouton select par la touche Entrée, le bouton menu par la touche Echap, et le bouton retour par la touche PageUp."
# game/android.rpy:46
old "Downloads and installs the Android SDK and supporting packages."
new "Télécharge et installe le kit de développement Android et les paquets requis."
# game/android.rpy:47
old "Generates the keys required to sign the package."
new "Génère les clés requises pour signer le package."
# game/android.rpy:381
old "Install SDK"
new "Installer le SDK"
# game/android.rpy:385
old "Generate Keys"
new "Générer les clés"
# game/androidstrings.rpy:32
old "How much RAM (in GB) do you want to allocate to Gradle?\nThis must be a positive integer number."
new "Combien de RAM (in GB) voulez-vous allouer à Gradle ?\nEntrez un nombre entier positif."
# game/androidstrings.rpy:33
old "The RAM size must contain only numbers and be positive."
new "La taille de RAM ne doit contenir que des chiffres et être positive."
# game/androidstrings.rpy:63
old "I found an android.keystore file in the rapt directory. Do you want to use this file?"
new "J'ai trouvé un fichier android.keystore dans le dossier \"rapt\". Voulez-vous l'utiliser ?"
# game/androidstrings.rpy:66
old "\n\nSaying 'No' will prevent key creation."
new "\n\nRépondre \"Non\" empêchera la création de clés."
# game/androidstrings.rpy:69
old "I found a bundle.keystore file in the rapt directory. Do you want to use this file?"
new "J'ai trouvé un fichier bundle.keystore dans le dossier \"rapt\". Voulez-vous l'utiliser ?"
# game/choose_directory.rpy:72
old "No directory was selected, but one is required."
new "Un chemin d'accès est nécessaire, mais aucun n'a été fourni."
# game/choose_directory.rpy:80
old "The selected directory does not exist."
new "Le dossier sélectionné n'existe pas."
# game/choose_directory.rpy:82
old "The selected directory is not writable."
new "Le dossier sélectionné n'est pas ouvert en écriture."
# game/distribute.rpy:554
old "This may be derived from build.name and config.version or build.version."
new "Cette variable peut être dérivée de build.name, et de config.version ou build.version."
# game/new_project.rpy:66
old "Warning : you are using Ren'Py 7. It is recommended to start new projects using Ren'Py 8 instead."
new "Attention : vous utilisez Ren'Py 7. Il est recommandé d'utiliser Ren'Py 8 pour de nouveaux projets."
+2 -2
View File
@@ -185,8 +185,8 @@
new "## Les fichiers correspondant au format de documentation sont dupliqués pour les compilation sur Mac, c'est pourquoi ils apparaissent deux fois dans larchive zip."
# options.rpy:196
old "## A Google Play license key is required to download expansion files and perform in-app purchases. It can be found on the \"Services & APIs\" page of the Google Play developer console."
new "## Une clé de licence A Google Play est requise pour télécharger les fichiers et permettre les achats dans l'application. Vous pourrez la trouver sur la page « Services & APIs » de la console de développement Google Play."
old "## A Google Play license key is required to perform in-app purchases. It can be found in the Google Play developer console, under \"Monetize\" > \"Monetization Setup\" > \"Licensing\"."
new "## Une clé de licence Google Play est requise pour permettre les achats depuis l'application. Vous pourrez la trouver dans la console de développement Google Play, sous \"Monétiser\" > \"Configuration de la monétisation\" > \"Licences\"."
# options.rpy:203
old "## The username and project name associated with an itch.io project, separated by a slash."
+32 -12
View File
@@ -34,7 +34,7 @@
# screens.rpy:174
old "## This screen must create an input displayable with id \"input\" to accept the various input parameters."
new "## This screen must create an input displayable with id \"input\" to accept the various input parameters."
new "## Cet écran doit créer une entrée affichable avec l'id \"input\" pour accepter les différents paramètres."
# screens.rpy:177
old "## http://www.renpy.org/doc/html/screen_special.html#input"
@@ -54,7 +54,7 @@
# screens.rpy:221
old "## When this is true, menu captions will be spoken by the narrator. When false, menu captions will be displayed as empty buttons."
new "## When this is true, menu captions will be spoken by the narrator. When false, menu captions will be displayed as empty buttons."
new "## Lorsque cette option est activée, les sous-titres du menu sont dits par \"narrator\". Si cette valeur est fausse, les légendes du menu seront affichées sous forme de boutons vides."
# screens.rpy:244
old "## Quick Menu screen"
@@ -162,7 +162,7 @@
# screens.rpy:369
old "## The use statement includes another screen inside this one. The actual contents of the main menu are in the navigation screen."
new "## The use statement includes another screen inside this one. The actual contents of the main menu are in the navigation screen."
new "## L'instruction use inclut un autre écran à l'intérieur de celui-ci. Le vrai contenu du menu principal se trouve dans l'écran \"navigation\"."
# screens.rpy:413
old "## Game Menu screen"
@@ -170,11 +170,11 @@
# screens.rpy:415
old "## This lays out the basic common structure of a game menu screen. It's called with the screen title, and displays the background, title, and navigation."
new "## This lays out the basic common structure of a game menu screen. It's called with the screen title, and displays the background, title, and navigation."
new "## Ceci présente la structure commune de base d'un écran du menu de jeu. Il est appelé en lui passant le titre de l'écran, et il affiche l'arrière-plan, le titre et la navigation."
# screens.rpy:418
old "## The scroll parameter can be None, or one of \"viewport\" or \"vpgrid\". When this screen is intended to be used with one or more children, which are transcluded (placed) inside it."
new "## The scroll parameter can be None, or one of \"viewport\" or \"vpgrid\". When this screen is intended to be used with one or more children, which are transcluded (placed) inside it."
old "## The scroll parameter can be None, or one of \"viewport\" or \"vpgrid\". This screen is intended to be used with one or more children, which are transcluded (placed) inside it."
new "## Le paramètre de défilement peut être None, ou \"viewport\" ou \"vpgrid\". Cet écran est destiné à être utilisé avec un ou plusieurs enfants, qui sont transclus (placés) à l'intérieur de l'écran."
# screens.rpy:476
old "Return"
@@ -182,7 +182,7 @@
# screens.rpy:539
old "## About screen"
new "## Écran « À propos... »"
new "## Écran « À propos... »"
# screens.rpy:541
old "## This screen gives credit and copyright information about the game and Ren'Py."
@@ -450,7 +450,7 @@
# screens.rpy:1024
old "Toggles dialogue skipping."
new "Active ou désactives les «sauts des dialogues»."
new "Active ou désactive les «sauts des dialogues»."
# screens.rpy:1027
old "Page Up"
@@ -621,8 +621,8 @@
new "## Les dialogues sont affichés soit dans une vpgrid soit dans une vbox."
# screens.rpy:1314
old "## Displays the menu, if given. The menu may be displayed incorrectly if config.narrator_menu is set to True, as it is above."
new "## Si fourni, affiche le menu. Le menu peut safficher de manière incorrecte si config.narrator_menu est initialisé à True, comme cest le cas au-dessus."
old "## Displays the menu, if given. The menu may be displayed incorrectly if config.narrator_menu is set to True."
new "## Si fourni, affiche le menu. Le menu peut safficher de manière incorrecte si config.narrator_menu est initialisé à True."
# screens.rpy:1344
old "## This controls the maximum number of NVL-mode entries that can be displayed at once."
@@ -697,8 +697,8 @@
new "## Ceci détermine quels tags peuvent être affichés sur le screen de l'historique."
# gui/game/screens.rpy:1063
old "Mouse Wheel Up\nClick Rollback Side"
new "Molette vers le haut\nClic sur le côté du Rollback"
old "Mouse Wheel Up"
new "Molette vers le haut"
# gui/game/screens.rpy:1078
old "Left Trigger\nLeft Shoulder"
@@ -719,3 +719,23 @@
# gui/game/screens.rpy:1049
old "Opens the accessibility menu."
new "Ouvre le menu d'accessibilité."
# gui/game/screens.rpy:1397
old "## Bubble screen"
new "## Screen des bulles"
# gui/game/screens.rpy:1412
old "## The bubble screen is used to display dialogue to the player when using speech bubbles. The bubble screen takes the same parameters as the say screen, must create a displayable with the id of \"what\", and can create displayables with the \"namebox\", \"who\", and \"window\" ids."
new "## Le screen des bulles est utilisé pour afficher des dialogues en utilisant des bulles de dialogue. Ce screen prend les mêmes paramètres que le screen say, doit prévoir un displayable avec l'id \"what\", et peut créer des displayables avec les ids \"namebox\", \"who\", et \"window\"."
# gui/game/screens.rpy:1417
old "## https://www.renpy.org/doc/html/bubble.html#bubble-screen"
new "## https://www.renpy.org/doc/html/bubble.html#bubble-screen"
# gui/game/screens.rpy:676
old "Upload Sync"
new "Uploader Sync"
# gui/game/screens.rpy:680
old "Download Sync"
new "Télécharger Sync"
+626 -20
View File
@@ -163,43 +163,43 @@ translate german strings:
# 00gui.rpy:227
old "Are you sure?"
new "Sind Sie sicher?"
new "Bist Du sicher?"
# 00gui.rpy:228
old "Are you sure you want to delete this save?"
new "Sind Sie sicher, dass Sie diese Datei löschen möchten?"
new "Bist Du sicher, dass Du diese Datei löschen möchtest?"
# 00gui.rpy:229
old "Are you sure you want to overwrite your save?"
new "Sind Sie sicher, dass Sie diese Datei überschreiben möchten?"
new "Bist Du sicher, dass Du diese Datei überschreiben möchtest?"
# 00gui.rpy:230
old "Loading will lose unsaved progress.\nAre you sure you want to do this?"
new "Beim Laden geht ungespeicherter Fortschritt verloren.\nSind Sie sicher, dass Sie das tun möchten?"
new "Beim Laden geht ungespeicherter Fortschritt verloren.\nBist Du sicher, dass Du das tun möchtest?"
# 00gui.rpy:231
old "Are you sure you want to quit?"
new "Sind Sie sicher, dass Sie beenden möchten?"
new "Bist Du sicher, dass Du das Spiel beenden möchtest?"
# 00gui.rpy:232
old "Are you sure you want to return to the main menu?\nThis will lose unsaved progress."
new "Sind Sie sicher, dass Sie zurück zum Hauptmenü möchten?\nUngespeicherter Fortschritt geht dabei verloren."
new "Bist Du sicher, dass Du zurück zum Hauptmenü möchtest?\nUngespeicherter Fortschritt geht dabei verloren."
# 00gui.rpy:233
old "Are you sure you want to end the replay?"
new "Sind Sie sicher, dass sie die Szenen-Wiederholung beenden möchten?"
new "Bist Du sicher, dass Du die Szenen-Wiederholung beenden möchtest?"
# 00gui.rpy:234
old "Are you sure you want to begin skipping?"
new "Sind Sie sicher, dass Sie Text überspringen möchten?"
new "Bist Du sicher, dass Du vorspulen möchtest?"
# 00gui.rpy:235
old "Are you sure you want to skip to the next choice?"
new "Sind Sie sicher, dass Sie zur nächsten Auswahl springen möchten?"
new "Bist Du sicher, dass Du zur nächsten Entscheidung springen möchtest?"
# 00gui.rpy:236
old "Are you sure you want to skip unseen dialogue to the next choice?"
new "Sind Sie sicher, dass sie ungesehenen Dialog bis zur nächsten Entscheidung überspringen möchten?"
new "Bist Du sicher, dass Du ungesehenen Dialog bis zur nächsten Entscheidung überspringen möchtest?"
# 00keymap.rpy:250
old "Saved screenshot as %s."
@@ -211,7 +211,8 @@ translate german strings:
# 00library.rpy:143
old "Clipboard voicing enabled. "
new "Clipboard voicing enabled. "
# Automatic translation.
new "Zwischenablage-Voicing aktiviert. "
# 00library.rpy:144
old "Self-voicing enabled. "
@@ -219,7 +220,7 @@ translate german strings:
# 00library.rpy:179
old "Skip Mode"
new "Skip-Modus"
new "Vorspul-Modus"
# 00library.rpy:262
old "This program contains free software under a number of licenses, including the MIT License and GNU Lesser General Public License. A complete list of software, including links to full source code, can be found {a=https://www.renpy.org/l/license}here{/a}."
@@ -227,19 +228,20 @@ translate german strings:
# 00preferences.rpy:422
old "Clipboard voicing enabled. Press 'shift+C' to disable."
new "Clipboard voicing enabled. Press 'shift+C' to disable."
# Automatic translation.
new "Zwischenablage-Voicing aktiviert. Drücke 'Shift+C' zum Deaktivieren."
# 00preferences.rpy:424
old "Self-voicing would say \"[renpy.display.tts.last]\". Press 'alt+shift+V' to disable."
new "Sprachausgabe würde \"[renpy.display.tts.last]\" sagen. Zum deaktivieren 'alt+shift+V' drücken."
new "Sprachausgabe würde \"[renpy.display.tts.last]\" sagen. Drücke 'Alt+Shift+V' zum Deaktivieren."
# 00preferences.rpy:426
old "Self-voicing enabled. Press 'v' to disable."
new "Sprachausgabe aktiviert. Zum deaktivieren 'v' drücken."
new "Sprachausgabe aktiviert. Drücke 'V' zum Deaktivieren."
# 00iap.rpy:217
old "Contacting App Store\nPlease Wait..."
new "Kontaktiert App Store\nBitte warten..."
new "Kontaktiere App Store\nBitte warten..."
# 00updater.rpy:367
old "The Ren'Py Updater is not supported on mobile devices."
@@ -247,7 +249,7 @@ translate german strings:
# 00updater.rpy:486
old "An error is being simulated."
new "Ein Error wird simuliert."
new "Ein Fehler wird simuliert."
# 00updater.rpy:662
old "Either this project does not support updating, or the update status file was deleted."
@@ -275,7 +277,8 @@ translate german strings:
# 00updater.rpy:1049
old "While unpacking {}, unknown type {}."
new "While unpacking {}, unknown type {}."
# Automatic translation.
new "Beim Entpacken {}, unbekannter Typ {}."
# 00updater.rpy:1393
old "Updater"
@@ -287,7 +290,7 @@ translate german strings:
# 00updater.rpy:1406
old "[u.version] is available. Do you want to install it?"
new "[u.version] ist verfügbar. Möchten Sie sie installieren?"
new "[u.version] ist verfügbar. Möchtest Du es installieren?"
# 00updater.rpy:1408
old "Preparing to download the updates."
@@ -327,9 +330,612 @@ translate german strings:
# 00gallery.rpy:585
old "slideshow"
new "slideshow"
# Automatic translation.
new "Diashow"
# 00gallery.rpy:586
old "return"
new "zurück"
translate german strings:
# renpy/common/00accessibility.rpy:32
old "bar"
new "bar"
# renpy/common/00accessibility.rpy:33
old "selected"
# Automatic translation.
new "ausgewählt"
# renpy/common/00accessibility.rpy:34
old "viewport"
new "Viewport"
# renpy/common/00accessibility.rpy:35
old "horizontal scroll"
new "horizontaler Bildlauf"
# renpy/common/00accessibility.rpy:36
old "vertical scroll"
# Automatic translation.
new "vertikaler Bildlauf"
# renpy/common/00accessibility.rpy:37
old "activate"
new "aktivieren"
# renpy/common/00accessibility.rpy:38
old "deactivate"
# Automatic translation.
new "deaktivieren"
# renpy/common/00accessibility.rpy:39
old "increase"
new "erhöhen"
# renpy/common/00accessibility.rpy:40
old "decrease"
# Automatic translation.
new "verringern"
# renpy/common/00accessibility.rpy:138
old "Font Override"
# Automatic translation.
new "Schriftart überschreiben"
# renpy/common/00accessibility.rpy:142
old "Default"
# Automatic translation.
new "Standard"
# renpy/common/00accessibility.rpy:146
old "DejaVu Sans"
new "DejaVu Sans"
# renpy/common/00accessibility.rpy:150
old "Opendyslexic"
new "Opendyslexic"
# renpy/common/00accessibility.rpy:156
old "Text Size Scaling"
# Automatic translation.
new "Skalierung der Textgröße"
# renpy/common/00accessibility.rpy:162
old "Reset"
# Automatic translation.
new "Zurücksetzen"
# renpy/common/00accessibility.rpy:168
old "Line Spacing Scaling"
# Automatic translation.
new "Zeilenabstand Skalierung"
# renpy/common/00accessibility.rpy:180
old "High Contrast Text"
new "Kontrastreicher Text"
# renpy/common/00accessibility.rpy:193
old "Self-Voicing"
new "Sprachausgabe"
# renpy/common/00accessibility.rpy:197
old "Off"
# Automatic translation.
new "Aus"
# renpy/common/00accessibility.rpy:201
old "Text-to-speech"
new "Text-zu-Sprache"
# renpy/common/00accessibility.rpy:205
old "Clipboard"
# Automatic translation.
new "Zwischenablage"
# renpy/common/00accessibility.rpy:209
old "Debug"
# Automatic translation.
new "Debuggen"
# renpy/common/00accessibility.rpy:223
old "Self-Voicing Volume Drop"
new "Lautstärkeabfall Sprachausgabe"
# renpy/common/00accessibility.rpy:234
old "The options on this menu are intended to improve accessibility. They may not work with all games, and some combinations of options may render the game unplayable. This is not an issue with the game or engine. For the best results when changing fonts, try to keep the text size the same as it originally was."
new "Die Optionen in diesem Menü dienen der Verbesserung der Zugänglichkeit. Sie funktionieren möglicherweise nicht mit allen Spielen, und einige Kombinationen von Optionen können das Spiel unspielbar machen. Dies ist kein Problem mit dem Spiel oder der Engine. Die besten Ergebnisse beim Ändern von Schriftarten erzielst Du, wenn Du die ursprüngliche Textgröße beibehältst."
# renpy/common/00action_file.rpy:378
old "Save slot %s: [text]"
new "Speicherplatz %s speichern: [text]"
# renpy/common/00action_file.rpy:461
old "Load slot %s: [text]"
new "Speicherplatz %s laden: [text]"
# renpy/common/00action_file.rpy:514
old "Delete slot [text]"
new "Speicherplatz löschen [text]"
# renpy/common/00action_file.rpy:593
old "File page auto"
new "Spielstände: Seite auto-speichern"
# renpy/common/00action_file.rpy:595
old "File page quick"
new "Spielstände: Seite schnell-speichern"
# renpy/common/00action_file.rpy:597
old "File page [text]"
new "Spielstände: Seite [text]"
# renpy/common/00action_file.rpy:796
old "Next file page."
new "Nächste Seite."
# renpy/common/00action_file.rpy:868
old "Previous file page."
new "Vorherige Seite."
# renpy/common/00action_file.rpy:944
old "Quick save."
# Automatic translation.
new "Schnell speichern."
# renpy/common/00action_file.rpy:963
old "Quick load."
# Automatic translation.
new "Schnell laden."
# renpy/common/00action_other.rpy:381
old "Language [text]"
# Automatic translation.
new "Sprache [text]"
# renpy/common/00director.rpy:705
old "The interactive director is not enabled here."
# Automatic translation.
new "Der interaktive Regisseur ist hier nicht aktiviert."
# renpy/common/00director.rpy:1504
old "⬆"
new "⬆"
# renpy/common/00director.rpy:1510
old "⬇"
new "⬇"
# renpy/common/00director.rpy:1574
old "Done"
new "Fertig"
# renpy/common/00director.rpy:1584
old "(statement)"
new "(Statement)"
# renpy/common/00director.rpy:1585
old "(tag)"
new "(Tag)"
# renpy/common/00director.rpy:1586
old "(attributes)"
new "(Attribute)"
# renpy/common/00director.rpy:1587
old "(transform)"
new "(Transform)"
# renpy/common/00director.rpy:1612
old "(transition)"
new "(Transition)"
# renpy/common/00director.rpy:1624
old "(channel)"
new "(Kanal)"
# renpy/common/00director.rpy:1625
old "(filename)"
# Automatic translation.
new "(Dateiname)"
# renpy/common/00director.rpy:1654
old "Change"
new "Ändern"
# renpy/common/00director.rpy:1656
old "Add"
new "Hinzufügen"
# renpy/common/00director.rpy:1662
old "Remove"
new "Entfernen"
# renpy/common/00director.rpy:1697
old "Statement:"
new "Statement:"
# renpy/common/00director.rpy:1718
old "Tag:"
new "Tag:"
# renpy/common/00director.rpy:1734
old "Attributes:"
# Automatic translation.
new "Attribute:"
# renpy/common/00director.rpy:1745
old "Click to toggle attribute, right click to toggle negative attribute."
new "Klicke auf das Attribut, um es umzuschalten; klicke mit der rechten Maustaste, um das negative Attribut umzuschalten."
# renpy/common/00director.rpy:1757
old "Transforms:"
new "Transforms:"
# renpy/common/00director.rpy:1768
old "Click to set transform, right click to add to transform list."
new "Klicke, um das Transform festzulegen; klicke mit der rechten Maustaste, um es zur Liste hinzuzufügen."
# renpy/common/00director.rpy:1780
old "Behind:"
# Automatic translation.
new "Hinter:"
# renpy/common/00director.rpy:1789
old "Click to set, right click to add to behind list."
# Automatic translation.
new "Zum Einstellen klicken, zum Hinzufügen zur Liste mit der rechten Maustaste klicken."
# renpy/common/00director.rpy:1801
old "Transition:"
new "Transition:"
# renpy/common/00director.rpy:1819
old "Channel:"
# Automatic translation.
new "Kanal:"
# renpy/common/00director.rpy:1837
old "Audio Filename:"
# Automatic translation.
new "Audio Dateiname:"
# renpy/common/00gui.rpy:456
old "This save was created on a different device. Maliciously constructed save files can harm your computer. Do you trust this save's creator and everyone who could have changed the file?"
new "Dieser Spielstand wurde auf einem anderen Gerät erstellt. Böswillig erstellte Speicherstände können Deinem Computer schaden. Vertraust Du dem Ersteller dieses Spielstands und allen, die die Datei geändert haben könnten?"
# renpy/common/00gui.rpy:457
old "Do you trust the device the save was created on? You should only choose yes if you are the device's sole user."
# Automatic translation.
new "Vertraust Du dem Gerät, auf dem die Sicherung erstellt wurde? Du solltest nur dann Ja wählen, wenn Du der einzige Benutzer des Geräts bist."
# renpy/common/00keymap.rpy:322
old "Failed to save screenshot as %s."
# Automatic translation.
new "Bildschirmfoto konnte nicht als %s gespeichert werden."
# renpy/common/00preferences.rpy:271
old "display"
# Automatic translation.
new "Anzeige"
# renpy/common/00preferences.rpy:283
old "transitions"
new "Übergänge"
# renpy/common/00preferences.rpy:292
old "skip transitions"
new "Übergänge überspringen"
# renpy/common/00preferences.rpy:294
old "video sprites"
# Automatic translation.
new "Video-Sprites"
# renpy/common/00preferences.rpy:303
old "show empty window"
# Automatic translation.
new "leeres Fenster anzeigen"
# renpy/common/00preferences.rpy:312
old "text speed"
# Automatic translation.
new "Textgeschwindigkeit"
# renpy/common/00preferences.rpy:320
old "joystick"
# Automatic translation.
new "Joystick"
# renpy/common/00preferences.rpy:320
old "joystick..."
# Automatic translation.
new "Joystick..."
# renpy/common/00preferences.rpy:327
old "skip"
# Automatic translation.
new "überspringen"
# renpy/common/00preferences.rpy:330
old "skip unseen [text]"
# Automatic translation.
new "unbesehen überspringen [text]"
# renpy/common/00preferences.rpy:335
old "skip unseen text"
# Automatic translation.
new "ungesehenen Text überspringen"
# renpy/common/00preferences.rpy:337
old "begin skipping"
new "mit dem Vorspulen beginnen"
# renpy/common/00preferences.rpy:341
old "after choices"
new "nach Entscheidungen"
# renpy/common/00preferences.rpy:348
old "skip after choices"
new "Vorspulen nach Entscheidungen"
# renpy/common/00preferences.rpy:350
old "auto-forward time"
# Automatic translation.
new "Zeit des automatischen Blätterns"
# renpy/common/00preferences.rpy:364
old "auto-forward"
# Automatic translation.
new "automatisches Blättern"
# renpy/common/00preferences.rpy:371
old "Auto forward"
# Automatic translation.
new "Automatisch vorwärts"
# renpy/common/00preferences.rpy:374
old "auto-forward after click"
# Automatic translation.
new "automatisches Weiterleiten nach Klick"
# renpy/common/00preferences.rpy:383
old "automatic move"
# Automatic translation.
new "automatischer Umzug"
# renpy/common/00preferences.rpy:392
old "wait for voice"
# Automatic translation.
new "auf Stimme warten"
# renpy/common/00preferences.rpy:401
old "voice sustain"
# Automatic translation.
new "Stimmhaltung"
# renpy/common/00preferences.rpy:410
old "self voicing"
new "Sprachausgabe"
# renpy/common/00preferences.rpy:419
old "self voicing volume drop"
new "Lautstärkeabnahme der Sprachausgabe"
# renpy/common/00preferences.rpy:427
old "clipboard voicing"
new "Sprachausgabe zur Zwischenablage"
# renpy/common/00preferences.rpy:436
old "debug voicing"
new "Sprachausgabe debuggen"
# renpy/common/00preferences.rpy:445
old "emphasize audio"
# Automatic translation.
new "Audio hervorheben"
# renpy/common/00preferences.rpy:454
old "rollback side"
# Automatic translation.
new "Rollback-Seite"
# renpy/common/00preferences.rpy:464
old "gl powersave"
new "gl powersave"
# renpy/common/00preferences.rpy:470
old "gl framerate"
# Automatic translation.
new "gl-Framerate"
# renpy/common/00preferences.rpy:473
old "gl tearing"
new "gl tearing"
# renpy/common/00preferences.rpy:476
old "font transform"
new "Schriftart Transform"
# renpy/common/00preferences.rpy:479
old "font size"
# Automatic translation.
new "Schriftgröße"
# renpy/common/00preferences.rpy:487
old "font line spacing"
# Automatic translation.
new "Zeilenabstand der Schrift"
# renpy/common/00preferences.rpy:495
old "system cursor"
# Automatic translation.
new "System-Cursor"
# renpy/common/00preferences.rpy:504
old "renderer menu"
# Automatic translation.
new "Renderer-Menü"
# renpy/common/00preferences.rpy:507
old "accessibility menu"
new "Barrierefreiheit-Menü"
# renpy/common/00preferences.rpy:510
old "high contrast text"
new "kontrastreicher Text"
# renpy/common/00preferences.rpy:519
old "audio when minimized"
# Automatic translation.
new "Audio im minimierten Zustand"
# renpy/common/00preferences.rpy:528
old "audio when unfocused"
new "Audio wenn im Hintergrund"
# renpy/common/00preferences.rpy:537
old "web cache preload"
# Automatic translation.
new "Web-Cache vorladen"
# renpy/common/00preferences.rpy:552
old "voice after game menu"
# Automatic translation.
new "Stimme nach dem Spielmenü"
# renpy/common/00preferences.rpy:571
old "main volume"
new "Master-Lautstärke"
# renpy/common/00preferences.rpy:572
old "music volume"
new "Musik-Lautstärke"
# renpy/common/00preferences.rpy:573
old "sound volume"
new "Ton-Lautstärke"
# renpy/common/00preferences.rpy:574
old "voice volume"
new "Stimmen-Lautstärke"
# renpy/common/00preferences.rpy:575
old "mute main"
new "Master stummschalten"
# renpy/common/00preferences.rpy:576
old "mute music"
# Automatic translation.
new "Musik stummschalten"
# renpy/common/00preferences.rpy:577
old "mute sound"
# Automatic translation.
new "Ton stummschalten"
# renpy/common/00preferences.rpy:578
old "mute voice"
new "Stimme stummschalten"
# renpy/common/00preferences.rpy:579
old "mute all"
new "alles stummschalten"
# renpy/common/00speechbubble.rpy:344
old "Speech Bubble Editor"
# Automatic translation.
new "Sprechblasen-Editor"
# renpy/common/00speechbubble.rpy:349
old "(hide)"
# Automatic translation.
new "(ausblenden)"
# renpy/common/00sync.rpy:70
old "Sync downloaded."
# Automatic translation.
new "Sync heruntergeladen."
# renpy/common/00sync.rpy:190
old "Could not connect to the Ren'Py Sync server."
# Automatic translation.
new "Es konnte keine Verbindung zum Ren'Py Sync Server hergestellt werden."
# renpy/common/00sync.rpy:192
old "The Ren'Py Sync server timed out."
# Automatic translation.
new "Der Ren'Py Sync-Server hat eine Zeitüberschreitung."
# renpy/common/00sync.rpy:194
old "An unknown error occurred while connecting to the Ren'Py Sync server."
# Automatic translation.
new "Bei der Verbindung mit dem Ren'Py Sync-Server ist ein unbekannter Fehler aufgetreten."
# renpy/common/00sync.rpy:267
old "The Ren'Py Sync server does not have a copy of this sync. The sync ID may be invalid, or it may have timed out."
# Automatic translation.
new "Der Ren'Py Sync-Server verfügt nicht über eine Kopie dieser Synchronisierung. Die Sync-ID ist möglicherweise ungültig, oder es wurde eine Zeitüberschreitung festgestellt."
# renpy/common/00sync.rpy:409
old "Please enter the sync ID you generated.\nNever enter a sync ID you didn't create yourself."
# Automatic translation.
new "Bitte gib die von Dir erstellte Sync-ID ein.\nGie niemals eine Sync-ID ein, die Du nicht selbst erstellt hast."
# renpy/common/00sync.rpy:428
old "The sync ID is not in the correct format."
# Automatic translation.
new "Die Sync-ID hat nicht das richtige Format."
# renpy/common/00sync.rpy:448
old "The sync could not be decrypted."
# Automatic translation.
new "Die Synchronisierung konnte nicht entschlüsselt werden."
# renpy/common/00sync.rpy:471
old "The sync belongs to a different game."
# Automatic translation.
new "Die Synchronisation gehört zu einem anderen Spiel."
# renpy/common/00sync.rpy:476
old "The sync contains a file with an invalid name."
# Automatic translation.
new "Die Synchronisierung enthält eine Datei mit einem ungültigen Namen."
# renpy/common/00sync.rpy:529
old "This will upload your saves to the {a=https://sync.renpy.org}Ren'Py Sync Server{/a}.\nDo you want to continue?"
# Automatic translation.
new "Dadurch werden Deine Spielstände auf den {a=https://sync.renpy.org}Ren'Py Sync Server{/a} hochgeladen.\nMöchtest Du fortfahren?"
# renpy/common/00sync.rpy:558
old "Enter Sync ID"
# Automatic translation.
new "Sync-ID eingeben"
# renpy/common/00sync.rpy:569
old "This will contact the {a=https://sync.renpy.org}Ren'Py Sync Server{/a}."
# Automatic translation.
new "Dadurch wird der {a=https://sync.renpy.org}Ren'Py Sync Server{/a} kontaktiert."
# renpy/common/00sync.rpy:596
old "Sync Success"
# Automatic translation.
new "Sync-Erfolg"
# renpy/common/00sync.rpy:599
old "The Sync ID is:"
# Automatic translation.
new "Die Sync-ID lautet:"
# renpy/common/00sync.rpy:605
old "You can use this ID to download your save on another device.\nThis sync will expire in an hour.\nRen'Py Sync is supported by {a=https://www.renpy.org/sponsors.html}Ren'Py's Sponsors{/a}."
# Automatic translation.
new "Du kannst diese ID verwenden, um Deinen Spielstand auf ein anderes Gerät herunterzuladen.\nDiese Synchronisierung läuft in einer Stunde ab.\nRen'Py Sync wird unterstützt von {a=https://www.renpy.org/sponsors.html}Ren'Py's Sponsors{/a}."
# renpy/common/00sync.rpy:631
old "Sync Error"
# Automatic translation.
new "Sync-Fehler"
+106 -8
View File
@@ -59,11 +59,13 @@ translate german strings:
# _developer/developer.rpym:412
old "Rectangle copied to clipboard."
new "Rectangle copied to clipboard."
# Automatic translation.
new "Rechteck in die Zwischenablage kopiert."
# _developer/developer.rpym:415
old "Position copied to clipboard."
new "Position copied to clipboard."
# Automatic translation.
new "Position in die Zwischenablage kopiert."
# _developer/developer.rpym:524
old "✔ "
@@ -75,7 +77,8 @@ translate german strings:
# _developer/developer.rpym:532
old "\n{color=#cfc}✔ predicted image (good){/color}\n{color=#fcc}✘ unpredicted image (bad){/color}\n{color=#fff}Drag to move.{/color}"
new "\n{color=#cfc}✔ predicted image (good){/color}\n{color=#fcc}✘ unpredicted image (bad){/color}\n{color=#fff}Drag to move.{/color}"
# Automatic translation.
new "\n{color=#cfc}✔ vorhergesagtes Bild (gut){/color}\n{color=#fcc}✘ unvorhergesehenes Bild (schlecht){/color}\n{color=#fff}Zum Verschieben ziehen.{/color}"
# _developer/inspector.rpym:38
old "Displayable Inspector"
@@ -91,7 +94,8 @@ translate german strings:
# _developer/inspector.rpym:71
old "Location"
new "Location"
# Automatic translation.
new "Standort"
# _developer/inspector.rpym:122
old "Inspecting Styles of [displayable_name!q]"
@@ -115,15 +119,15 @@ translate german strings:
# 00console.rpy:182
old "Press <esc> to exit console. Type help for help.\n"
new "Drücken Sie <esc>, um die Konsole zu schließen. Geben Sie „help“ ein, um die Hilfe anzuzeigen.\n"
new "Drücke <esc>, um die Konsole zu schließen. Gib „help“ ein, um die Hilfe anzuzeigen.\n"
# 00console.rpy:186
old "Ren'Py script enabled."
new "RenPy Skript aktiviert."
new "Ren'Py Skript aktiviert."
# 00console.rpy:188
old "Ren'Py script disabled."
new "RenPy Skript deaktiviert."
new "Ren'Py Skript deaktiviert."
# 00console.rpy:398
old "help: show this help"
@@ -139,7 +143,7 @@ translate german strings:
# 00console.rpy:415
old " <python expression or statement>: run the expression or statement"
new " <python expression or statement>: startet den Ausdruck oder die Anweisung"
new " <python Ausdruck oder Anweisung>: startet den Ausdruck oder die Anweisung"
# 00console.rpy:423
old "clear: clear the console history"
@@ -177,3 +181,97 @@ translate german strings:
old "jump <label>: jumps to label"
new "jump <label>: springt zum Label"
translate german strings:
# renpy/common/_developer/developer.rpym:43
old "Interactive Director (D)"
new "Interaktiver Regisseur (D)"
# renpy/common/_developer/developer.rpym:51
old "Persistent Viewer"
new "Übersicht persistenter Variablen"
# renpy/common/_developer/developer.rpym:59
old "Show Image Load Log (F4)"
new "Ladeprotokoll aller Bilder anzeigen (F4)"
# renpy/common/_developer/developer.rpym:62
old "Hide Image Load Log (F4)"
new "Ladeprotokoll aller Bilder ausblenden (F4)"
# renpy/common/_developer/developer.rpym:65
old "Image Attributes"
# Automatic translation.
new "Bild-Attribute"
# renpy/common/_developer/developer.rpym:70
old "Speech Bubble Editor (Shift+B)"
new "Sprechblasen-Editor (Shift+B)"
# renpy/common/_developer/developer.rpym:97
old "[name] [attributes] (hidden)"
new "[Name] [Attribute] (versteckt)"
# renpy/common/_developer/developer.rpym:101
old "[name] [attributes]"
new "[Name] [Attribute]"
# renpy/common/_developer/developer.rpym:162
old "Hide deleted"
new "Gelöschtes verbergen"
# renpy/common/_developer/developer.rpym:162
old "Show deleted"
new "Gelöschtes anzeigen"
# renpy/common/_developer/developer.rpym:389
old "Type to filter: "
# Automatic translation.
new "Filtertyp: "
# renpy/common/_developer/developer.rpym:507
old "Textures: [tex_count] ([tex_size_mb:.1f] MB)"
# Automatic translation.
new "Texturen: [tex_count] ([tex_size_mb:.1f] MB)"
# renpy/common/_developer/developer.rpym:511
old "Image cache: [cache_pct:.1f]% ([cache_size_mb:.1f] MB)"
# Automatic translation.
new "Bild-Cache: [cache_pct:.1f]% ([cache_size_mb:.1f] MB)"
# renpy/common/00console.rpy:789
old "help: show this help\n help <expr>: show signature and documentation of <expr>"
# Automatic translation.
new "help: diese Hilfe anzeigen\n help <expr>: Signatur und Dokumentation von <expr> anzeigen"
# renpy/common/00console.rpy:813
old "Help may display undocumented functions. Please check that the function or\nclass you want to use is documented.\n\n"
new "Die Hilfe kann undokumentierte Funktionen anzeigen. Bitte prüfe, ob die Funktion\noder Klasse, die Du verwenden möchtest, dokumentiert ist.\n\n"
# renpy/common/00console.rpy:854
old "stack: print the return stack"
new "stack: den Stack anzeigen"
# renpy/common/00console.rpy:908
old "watch <expression>: watch a python expression\n watch short: makes the representation of traced expressions short (default)\n watch long: makes the representation of traced expressions as is"
new "watch <expression>: einen Python-Ausdruck beobachten\n watch short: macht die Darstellung der nachverfolgten Ausdrücke kurz (Voreinstellung)\n watch long: macht die Darstellung von verfolgten Ausdrücken wie sie sind"
# renpy/common/00console.rpy:1028
old "short: Shorten the representation of objects on the console (default)."
# Automatic translation.
new "short: Verkürzt die Darstellung von Objekten auf der Konsole (Voreinstellung)."
# renpy/common/00console.rpy:1032
old "long: Print the full representation of objects on the console."
# Automatic translation.
new "long: Gibt die vollständige Darstellung der Objekte auf der Konsole aus."
# renpy/common/00console.rpy:1036
old "escape: Enables escaping of unicode symbols in unicode strings."
new "escape: Aktiviert das Escaping von Unicode-Symbolen in Unicode-Strings."
# renpy/common/00console.rpy:1040
old "unescape: Disables escaping of unicode symbols in unicode strings and print it as is (default)."
new "unescape: Deaktiviert das Escaping von Unicode-Symbolen in Unicode-Zeichenfolgen und druckt sie so, wie sie sind (Voreinstellung)."
+147 -15
View File
@@ -23,7 +23,7 @@ translate german strings:
# 00gltest.rpy:93
old "Enable"
new "Enable"
new "Aktivieren"
# 00gltest.rpy:109
old "Changes will take effect the next time this program is run."
@@ -39,7 +39,7 @@ translate german strings:
# 00gltest.rpy:148
old "This computer is not using shaders."
new "Dieser Computer verwendet keine Shaders."
new "Dieser Computer verwendet keine Shader."
# 00gltest.rpy:150
old "This computer is displaying graphics slowly."
@@ -91,27 +91,31 @@ translate german strings:
# 00gamepad.rpy:32
old "Select Gamepad to Calibrate"
new "Select Gamepad to Calibrate"
# Automatic translation.
new "Gamepad zum Kalibrieren auswählen"
# 00gamepad.rpy:35
old "No Gamepads Available"
new "No Gamepads Available"
# Automatic translation.
new "Keine Gamepads verfügbar"
# 00gamepad.rpy:54
old "Calibrating [name] ([i]/[total])"
new "Calibrating [name] ([i]/[total])"
# Automatic translation.
new "Kalibrierung von [name] ([i]/[total])"
# 00gamepad.rpy:58
old "Press or move the [control!s] [kind]."
new "Press or move the [control!s] [kind]."
new "Drücke oder bewege [control!s] [kind] ."
# 00gamepad.rpy:66
old "Skip (A)"
new "Skip (A)"
# Automatic translation.
new "Überspringen (A)"
# 00gamepad.rpy:69
old "Back (B)"
new "Back (B)"
new "Zurück (B)"
# _errorhandling.rpym:495
old "Open Traceback"
@@ -123,11 +127,13 @@ translate german strings:
# _errorhandling.rpym:499
old "Copy to Clipboard"
new "Copy to Clipboard"
# Automatic translation.
new "In die Zwischenablage kopieren"
# _errorhandling.rpym:501
old "Copies the traceback.txt file to the clipboard."
new "Copies the traceback.txt file to the clipboard."
# Automatic translation.
new "Kopiert die Datei traceback.txt in die Zwischenablage."
# _errorhandling.rpym:519
old "An exception has occurred."
@@ -135,11 +141,11 @@ translate german strings:
# _errorhandling.rpym:538
old "Rollback"
new "Zurückscrollen"
new "Zurückspulen"
# _errorhandling.rpym:540
old "Attempts a roll back to a prior time, allowing you to save or choose a different choice."
new "Versucht zu einem früheren Zeitpunkt zu gehen und ermöglicht es zu speichern oder eine andere Auswahl zu treffen."
new "Versucht zu einem früheren Zeitpunkt zu spulen, damit Du erneut speichern oder eine andere Entscheidung treffen kannst."
# _errorhandling.rpym:543
old "Ignore"
@@ -147,7 +153,7 @@ translate german strings:
# _errorhandling.rpym:545
old "Ignores the exception, allowing you to continue. This often leads to additional errors."
new "Ignoriert den Fehler und ermöglicht es, fortzusetzen. Dies führt oft zu weiteren Fehlern."
new "Ignoriert den Fehler und ermöglicht es, fortzufahren. Dies führt oft zu weiteren Fehlern."
# _errorhandling.rpym:548
old "Reload"
@@ -167,7 +173,7 @@ translate german strings:
# _errorhandling.rpym:606
old "Open Parse Errors"
new "Parse Errors öffnen"
new "Syntaxfehler öffnen"
# _errorhandling.rpym:608
old "Opens the errors.txt file in a text editor."
@@ -175,5 +181,131 @@ translate german strings:
# _errorhandling.rpym:612
old "Copies the errors.txt file to the clipboard."
new "Copies the errors.txt file to the clipboard."
# Automatic translation.
new "Kopiert die Datei errors.txt in die Zwischenablage."
translate german strings:
# renpy/common/00gltest.rpy:89
old "Renderer"
new "Renderer"
# renpy/common/00gltest.rpy:100
old "Force GL Renderer"
new "Force GL Renderer"
# renpy/common/00gltest.rpy:105
old "Force ANGLE Renderer"
new "Force ANGLE Renderer"
# renpy/common/00gltest.rpy:110
old "Force GLES Renderer"
# Automatic translation.
new "GLES-Renderer erzwingen"
# renpy/common/00gltest.rpy:116
old "Force GL2 Renderer"
# Automatic translation.
new "GL2-Renderer erzwingen"
# renpy/common/00gltest.rpy:121
old "Force ANGLE2 Renderer"
# Automatic translation.
new "ANGLE2-Renderer erzwingen"
# renpy/common/00gltest.rpy:126
old "Force GLES2 Renderer"
# Automatic translation.
new "GLES2-Renderer erzwingen"
# renpy/common/00gltest.rpy:136
old "Enable (No Blocklist)"
# Automatic translation.
new "Aktivieren (keine Sperrliste)"
# renpy/common/00gltest.rpy:159
old "Powersave"
new "Energiesparen"
# renpy/common/00gltest.rpy:173
old "Framerate"
new "Framerate"
# renpy/common/00gltest.rpy:177
old "Screen"
# Automatic translation.
new "Bildschirm"
# renpy/common/00gltest.rpy:181
old "60"
new "60"
# renpy/common/00gltest.rpy:185
old "30"
new "30"
# renpy/common/00gltest.rpy:191
old "Tearing"
new "Tearing"
# renpy/common/00gltest.rpy:249
old "This game requires use of GL2 that can't be initialised."
# Automatic translation.
new "Dieses Spiel erfordert die Verwendung von GL2, das nicht initialisiert werden kann."
# renpy/common/00gltest.rpy:259
old "The {a=edit:1:log.txt}log.txt{/a} file may contain information to help you determine what is wrong with your computer."
new "Die Datei {a=edit:1:log.txt}log.txt{/a} kann Informationen enthalten, die Dir helfen, das Problem mit Deinem Computer zu lösen."
# renpy/common/00gltest.rpy:264
old "More details on how to fix this can be found in the {a=[url]}documentation{/a}."
new "Weitere Einzelheiten zur Behebung dieses Problems findest Du in der Dokumentation {a=[url]}{/a} ."
# renpy/common/00gltest.rpy:281
old "Change render options"
# Automatic translation.
new "Renderoptionen ändern"
# renpy/common/00gamepad.rpy:58
old "Press or move the '[control!s]' [kind]."
new "Drücke oder bewege die Taste '[control!s]' [kind]."
# renpy/common/_errorhandling.rpym:555
old "Open"
new "Öffnen"
# renpy/common/_errorhandling.rpym:559
old "Copy BBCode"
# Automatic translation.
new "BBCode kopieren"
# renpy/common/_errorhandling.rpym:561
old "Copies the traceback.txt file to the clipboard as BBcode for forums like https://lemmasoft.renai.us/."
# Automatic translation.
new "Kopiert die Datei traceback.txt in die Zwischenablage als BBcode für Foren wie https://lemmasoft.renai.us/."
# renpy/common/_errorhandling.rpym:563
old "Copy Markdown"
# Automatic translation.
new "Markdown kopieren"
# renpy/common/_errorhandling.rpym:565
old "Copies the traceback.txt file to the clipboard as Markdown for Discord."
# Automatic translation.
new "Kopiert die Datei traceback.txt in die Zwischenablage als Markdown für Discord."
# renpy/common/_errorhandling.rpym:626
old "Ignores the exception, allowing you to continue."
new "Ignoriert den Fehler, so dass Du fortfahren kannst."
# renpy/common/_errorhandling.rpym:637
old "Console"
# Automatic translation.
new "Konsole"
# renpy/common/_errorhandling.rpym:639
old "Opens a console to allow debugging the problem."
# Automatic translation.
new "Öffnet eine Konsole, um das Problem zu beheben."
+267 -100
View File
@@ -3,267 +3,333 @@ translate german strings:
# gui.rpy:2
old "## Initialization"
new "## Initialization"
# Automatic translation.
new "## Initialisierung"
# gui.rpy:5
old "## The init offset statement causes the init code in this file to run before init code in any other file."
new "## The init offset statement causes the init code in this file to run before init code in any other file."
# Automatic translation.
new "## Die Anweisung init offset bewirkt, dass der init-Code in dieser Datei vor dem init-Code in jeder anderen Datei ausgeführt wird."
# gui.rpy:9
old "## Calling gui.init resets the styles to sensible default values, and sets the width and height of the game."
new "## Calling gui.init resets the styles to sensible default values, and sets the width and height of the game."
# Automatic translation.
new "## Der Aufruf von gui.init setzt die Stile auf sinnvolle Standardwerte zurück und setzt die Breite und Höhe des Spiels."
# gui.rpy:21
old "## Colors"
new "## Colors"
# Automatic translation.
new "## Farben"
# gui.rpy:23
old "## The colors of text in the interface."
new "## The colors of text in the interface."
# Automatic translation.
new "## Die Farben des Textes in der Schnittstelle."
# gui.rpy:25
old "## An accent color used throughout the interface to label and highlight text."
new "## An accent color used throughout the interface to label and highlight text."
# Automatic translation.
new "## Eine Akzentfarbe, die in der gesamten Benutzeroberfläche zur Beschriftung und Hervorhebung von Text verwendet wird."
# gui.rpy:29
old "## The color used for a text button when it is neither selected nor hovered."
new "## The color used for a text button when it is neither selected nor hovered."
# Automatic translation.
new "## Die Farbe, die für eine Textschaltfläche verwendet wird, wenn sie weder ausgewählt ist noch mit dem Mauszeiger bewegt wird."
# gui.rpy:32
old "## The small color is used for small text, which needs to be brighter/darker to achieve the same effect."
new "## The small color is used for small text, which needs to be brighter/darker to achieve the same effect."
# Automatic translation.
new "## Die kleine Farbe wird für kleinen Text verwendet, der heller/dunkler sein muss, um den gleichen Effekt zu erzielen."
# gui.rpy:36
old "## The color that is used for buttons and bars that are hovered."
new "## The color that is used for buttons and bars that are hovered."
# Automatic translation.
new "## Die Farbe, die für Schaltflächen und Balken verwendet wird, die mit dem Mauszeiger bewegt werden."
# gui.rpy:39
old "## The color used for a text button when it is selected but not focused. A button is selected if it is the current screen or preference value."
new "## The color used for a text button when it is selected but not focused. A button is selected if it is the current screen or preference value."
# Automatic translation.
new "## Die Farbe, die für eine Textschaltfläche verwendet wird, wenn sie ausgewählt, aber nicht fokussiert ist. Eine Schaltfläche ist ausgewählt, wenn sie der aktuelle Bildschirm oder Einstellungswert ist."
# gui.rpy:43
old "## The color used for a text button when it cannot be selected."
new "## The color used for a text button when it cannot be selected."
# Automatic translation.
new "## Die Farbe, die für eine Textschaltfläche verwendet wird, wenn sie nicht ausgewählt werden kann."
# gui.rpy:46
old "## Colors used for the portions of bars that are not filled in. These are not used directly, but are used when re-generating bar image files."
new "## Colors used for the portions of bars that are not filled in. These are not used directly, but are used when re-generating bar image files."
# Automatic translation.
new "## Farben für die Teile der Balken, die nicht ausgefüllt sind. Diese Farben werden nicht direkt verwendet, aber bei der Neuerstellung von Balkenbilddateien eingesetzt."
# gui.rpy:51
old "## The colors used for dialogue and menu choice text."
new "## The colors used for dialogue and menu choice text."
# Automatic translation.
new "## Die Farben, die für Dialog- und Menüauswahltext verwendet werden."
# gui.rpy:56
old "## Fonts and Font Sizes"
new "## Fonts and Font Sizes"
# Automatic translation.
new "## Schriftarten und Schriftgrößen"
# gui.rpy:58
old "## The font used for in-game text."
new "## The font used for in-game text."
# Automatic translation.
new "## Die für den Text im Spiel verwendete Schriftart."
# gui.rpy:61
old "## The font used for character names."
new "## The font used for character names."
# Automatic translation.
new "## Die für Zeichennamen verwendete Schriftart."
# gui.rpy:64
old "## The font used for out-of-game text."
new "## The font used for out-of-game text."
# Automatic translation.
new "## Die Schriftart, die für den Text außerhalb des Spiels verwendet wird."
# gui.rpy:67
old "## The size of normal dialogue text."
new "## The size of normal dialogue text."
# Automatic translation.
new "## Die Größe des normalen Dialogtextes."
# gui.rpy:70
old "## The size of character names."
new "## The size of character names."
# Automatic translation.
new "## Die Größe der Zeichennamen."
# gui.rpy:73
old "## The size of text in the game's user interface."
new "## The size of text in the game's user interface."
# Automatic translation.
new "## Die Größe des Textes in der Benutzeroberfläche des Spiels."
# gui.rpy:76
old "## The size of labels in the game's user interface."
new "## The size of labels in the game's user interface."
# Automatic translation.
new "## Die Größe der Beschriftungen in der Benutzeroberfläche des Spiels."
# gui.rpy:79
old "## The size of text on the notify screen."
new "## The size of text on the notify screen."
# Automatic translation.
new "## Die Größe des Textes auf dem Benachrichtigungsbildschirm."
# gui.rpy:82
old "## The size of the game's title."
new "## The size of the game's title."
# Automatic translation.
new "## Die Größe des Titels des Spiels."
# gui.rpy:86
old "## Main and Game Menus"
new "## Main and Game Menus"
# Automatic translation.
new "## Haupt- und Spielmenü"
# gui.rpy:88
old "## The images used for the main and game menus."
new "## The images used for the main and game menus."
# Automatic translation.
new "## Die Bilder, die für das Haupt- und das Spielmenü verwendet werden."
# gui.rpy:92
old "## Should we show the name and version of the game?"
new "## Should we show the name and version of the game?"
# Automatic translation.
new "## Sollten wir den Namen und die Version des Spiels anzeigen?"
# gui.rpy:96
old "## Dialogue"
new "## Dialogue"
# Automatic translation.
new "## Dialog"
# gui.rpy:98
old "## These variables control how dialogue is displayed on the screen one line at a time."
new "## These variables control how dialogue is displayed on the screen one line at a time."
# Automatic translation.
new "## Diese Variablen steuern, wie der Dialog zeilenweise auf dem Bildschirm angezeigt wird."
# gui.rpy:101
old "## The height of the textbox containing dialogue."
new "## The height of the textbox containing dialogue."
# Automatic translation.
new "## Die Höhe des Textfeldes, das den Dialog enthält."
# gui.rpy:104
old "## The placement of the textbox vertically on the screen. 0.0 is the top, 0.5 is center, and 1.0 is the bottom."
new "## The placement of the textbox vertically on the screen. 0.0 is the top, 0.5 is center, and 1.0 is the bottom."
# Automatic translation.
new "## Die Platzierung des Textfeldes vertikal auf dem Bildschirm. 0.0 ist der obere Rand, 0.5 ist die Mitte und 1.0 ist der untere Rand."
# gui.rpy:109
old "## The placement of the speaking character's name, relative to the textbox. These can be a whole number of pixels from the left or top, or 0.5 to center."
new "## The placement of the speaking character's name, relative to the textbox. These can be a whole number of pixels from the left or top, or 0.5 to center."
# Automatic translation.
new "## Die Platzierung des Namens des sprechenden Charakters, relativ zum Textfeld. Dies kann eine ganze Anzahl von Pixeln von links oder oben sein, oder 0,5 bis zur Mitte."
# gui.rpy:114
old "## The horizontal alignment of the character's name. This can be 0.0 for left-aligned, 0.5 for centered, and 1.0 for right-aligned."
new "## The horizontal alignment of the character's name. This can be 0.0 for left-aligned, 0.5 for centered, and 1.0 for right-aligned."
# Automatic translation.
new "## Die horizontale Ausrichtung des Namens des Zeichens. Dies kann 0.0 für linksbündig, 0.5 für zentriert und 1.0 für rechtsbündig sein."
# gui.rpy:118
old "## The width, height, and borders of the box containing the character's name, or None to automatically size it."
new "## The width, height, and borders of the box containing the character's name, or None to automatically size it."
# Automatic translation.
new "## Die Breite, die Höhe und die Ränder des Feldes, das den Namen des Zeichens enthält, oder None, um es automatisch zu vergrößern."
# gui.rpy:123
old "## The borders of the box containing the character's name, in left, top, right, bottom order."
new "## The borders of the box containing the character's name, in left, top, right, bottom order."
# Automatic translation.
new "## Die Ränder des Feldes, das den Namen des Zeichens enthält, in der Reihenfolge links, oben, rechts, unten."
# gui.rpy:127
old "## If True, the background of the namebox will be tiled, if False, the background of the namebox will be scaled."
new "## If True, the background of the namebox will be tiled, if False, the background of the namebox will be scaled."
# Automatic translation.
new "## Wenn True, wird der Hintergrund des Namensfeldes gekachelt, wenn False, wird der Hintergrund des Namensfeldes skaliert."
# gui.rpy:132
old "## The placement of dialogue relative to the textbox. These can be a whole number of pixels relative to the left or top side of the textbox, or 0.5 to center."
new "## The placement of dialogue relative to the textbox. These can be a whole number of pixels relative to the left or top side of the textbox, or 0.5 to center."
# Automatic translation.
new "## Die Platzierung des Dialogs relativ zum Textfeld. Dies kann eine ganze Anzahl von Pixeln relativ zur linken oder oberen Seite des Textfeldes oder 0,5 zur Mitte sein."
# gui.rpy:138
old "## The maximum width of dialogue text, in pixels."
new "## The maximum width of dialogue text, in pixels."
# Automatic translation.
new "## Die maximale Breite des Dialogtextes, in Pixeln."
# gui.rpy:141
old "## The horizontal alignment of the dialogue text. This can be 0.0 for left-aligned, 0.5 for centered, and 1.0 for right-aligned."
new "## The horizontal alignment of the dialogue text. This can be 0.0 for left-aligned, 0.5 for centered, and 1.0 for right-aligned."
# Automatic translation.
new "## Die horizontale Ausrichtung des Dialogtextes. Dies kann 0.0 für linksbündig, 0.5 für zentriert und 1.0 für rechtsbündig sein."
# gui.rpy:146
old "## Buttons"
new "## Buttons"
# Automatic translation.
new "## Schaltflächen"
# gui.rpy:148
old "## These variables, along with the image files in gui/button, control aspects of how buttons are displayed."
new "## These variables, along with the image files in gui/button, control aspects of how buttons are displayed."
# Automatic translation.
new "## Diese Variablen, zusammen mit den Bilddateien in gui/button, steuern Aspekte der Darstellung von Schaltflächen."
# gui.rpy:151
old "## The width and height of a button, in pixels. If None, Ren'Py computes a size."
new "## The width and height of a button, in pixels. If None, Ren'Py computes a size."
# Automatic translation.
new "## Die Breite und Höhe einer Schaltfläche, in Pixeln. Falls keine, berechnet Ren'Py eine Größe."
# gui.rpy:155
old "## The borders on each side of the button, in left, top, right, bottom order."
new "## The borders on each side of the button, in left, top, right, bottom order."
# Automatic translation.
new "## Die Ränder auf jeder Seite der Schaltfläche, in der Reihenfolge links, oben, rechts, unten."
# gui.rpy:158
old "## If True, the background image will be tiled. If False, the background image will be linearly scaled."
new "## If True, the background image will be tiled. If False, the background image will be linearly scaled."
# Automatic translation.
new "## Wenn True, wird das Hintergrundbild gekachelt. Wenn False, wird das Hintergrundbild linear skaliert."
# gui.rpy:162
old "## The font used by the button."
new "## The font used by the button."
# Automatic translation.
new "## Die von der Schaltfläche verwendete Schriftart."
# gui.rpy:165
old "## The size of the text used by the button."
new "## The size of the text used by the button."
# Automatic translation.
new "## Die Größe des von der Schaltfläche verwendeten Textes."
# gui.rpy:179
old "## These variables override settings for different kinds of buttons. Please see the gui documentation for the kinds of buttons available, and what each is used for."
new "## These variables override settings for different kinds of buttons. Please see the gui documentation for the kinds of buttons available, and what each is used for."
# Automatic translation.
new "## Diese Variablen überschreiben die Einstellungen für verschiedene Arten von Schaltflächen. Bitte lesen Sie in der Gui-Dokumentation nach, welche Arten von Schaltflächen verfügbar sind und wofür sie jeweils verwendet werden."
# gui.rpy:183
old "## These customizations are used by the default interface:"
new "## These customizations are used by the default interface:"
# Automatic translation.
new "## Diese Anpassungen werden von der Standardschnittstelle verwendet:"
# gui.rpy:198
old "## You can also add your own customizations, by adding properly-named variables. For example, you can uncomment the following line to set the width of a navigation button."
new "## You can also add your own customizations, by adding properly-named variables. For example, you can uncomment the following line to set the width of a navigation button."
# Automatic translation.
new "## Sie können auch Ihre eigenen Anpassungen hinzufügen, indem Sie Variablen mit den richtigen Namen hinzufügen. Zum Beispiel können Sie die folgende Zeile auskommentieren, um die Breite einer Navigationsschaltfläche festzulegen."
# gui.rpy:205
old "## Choice Buttons"
new "## Choice Buttons"
# Automatic translation.
new "## Auswahltasten"
# gui.rpy:207
old "## Choice buttons are used in the in-game menus."
new "## Choice buttons are used in the in-game menus."
# Automatic translation.
new "## Wahltasten werden in den Menüs im Spiel verwendet."
# gui.rpy:220
old "## File Slot Buttons"
new "## File Slot Buttons"
# Automatic translation.
new "## Datei Slot Schaltflächen"
# gui.rpy:222
old "## A file slot button is a special kind of button. It contains a thumbnail image, and text describing the contents of the save slot. A save slot uses image files in gui/button, like the other kinds of buttons."
new "## A file slot button is a special kind of button. It contains a thumbnail image, and text describing the contents of the save slot. A save slot uses image files in gui/button, like the other kinds of buttons."
# Automatic translation.
new "## Eine Dateislot-Schaltfläche ist eine besondere Art von Schaltfläche. Er enthält ein Miniaturbild und einen Text, der den Inhalt des Speicherplatzes beschreibt. Ein Speicherslot verwendet Bilddateien in gui/button, wie die anderen Arten von Schaltflächen."
# gui.rpy:226
old "## The save slot button."
new "## The save slot button."
# Automatic translation.
new "## Die Schaltfläche \"Slot speichern\"."
# gui.rpy:234
old "## The width and height of thumbnails used by the save slots."
new "## The width and height of thumbnails used by the save slots."
# Automatic translation.
new "## Die Breite und Höhe der Miniaturbilder, die von den Speicherplätzen verwendet werden."
# gui.rpy:238
old "## The number of columns and rows in the grid of save slots."
new "## The number of columns and rows in the grid of save slots."
# Automatic translation.
new "## Die Anzahl der Spalten und Zeilen im Raster der Speicherplätze."
# gui.rpy:243
old "## Positioning and Spacing"
new "## Positioning and Spacing"
# Automatic translation.
new "## Positionierung und Abstände"
# gui.rpy:245
old "## These variables control the positioning and spacing of various user interface elements."
new "## These variables control the positioning and spacing of various user interface elements."
# Automatic translation.
new "## Diese Variablen steuern die Positionierung und den Abstand der verschiedenen Elemente der Benutzeroberfläche."
# gui.rpy:248
old "## The position of the left side of the navigation buttons, relative to the left side of the screen."
new "## The position of the left side of the navigation buttons, relative to the left side of the screen."
# Automatic translation.
new "## Die Position der linken Seite der Navigationstasten, relativ zur linken Seite des Bildschirms."
# gui.rpy:252
old "## The vertical position of the skip indicator."
new "## The vertical position of the skip indicator."
# Automatic translation.
new "## Die vertikale Position des Überspringungsanzeigers."
# gui.rpy:255
old "## The vertical position of the notify screen."
new "## The vertical position of the notify screen."
# Automatic translation.
new "## Die vertikale Position des Benachrichtigungsbildschirms."
# gui.rpy:258
old "## The spacing between menu choices."
new "## The spacing between menu choices."
# Automatic translation.
new "## Die Abstände zwischen den Menüoptionen."
# gui.rpy:261
old "## Buttons in the navigation section of the main and game menus."
new "## Buttons in the navigation section of the main and game menus."
# Automatic translation.
new "## Schaltflächen im Navigationsbereich des Haupt- und Spielmenüs."
# gui.rpy:264
old "## Controls the amount of spacing between preferences."
new "## Controls the amount of spacing between preferences."
# Automatic translation.
new "## Steuert den Abstand zwischen den Einstellungen."
# gui.rpy:267
old "## Controls the amount of spacing between preference buttons."
new "## Controls the amount of spacing between preference buttons."
# Automatic translation.
new "## Steuert den Abstand zwischen den Einstellungsschaltflächen."
# gui.rpy:270
old "## The spacing between file page buttons."
new "## The spacing between file page buttons."
# Automatic translation.
new "## Der Abstand zwischen den Schaltflächen der Dateiseite."
# gui.rpy:273
old "## The spacing between file slots."
new "## The spacing between file slots."
# Automatic translation.
new "## Der Abstand zwischen den Dateislots."
# gui.rpy:277
old "## Frames"
@@ -271,141 +337,242 @@ translate german strings:
# gui.rpy:279
old "## These variables control the look of frames that can contain user interface components when an overlay or window is not present."
new "## These variables control the look of frames that can contain user interface components when an overlay or window is not present."
# Automatic translation.
new "## Diese Variablen steuern das Aussehen von Frames, die Komponenten der Benutzeroberfläche enthalten können, wenn kein Overlay oder Fenster vorhanden ist."
# gui.rpy:282
old "## Generic frames that are introduced by player code."
new "## Generic frames that are introduced by player code."
# Automatic translation.
new "## Generische Frames, die vom Player-Code eingeführt werden."
# gui.rpy:285
old "## The frame that is used as part of the confirm screen."
new "## The frame that is used as part of the confirm screen."
# Automatic translation.
new "## Der Rahmen, der als Teil des Bestätigungsbildschirms verwendet wird."
# gui.rpy:288
old "## The frame that is used as part of the skip screen."
new "## The frame that is used as part of the skip screen."
# Automatic translation.
new "## Der Rahmen, der als Teil des Überspringungsbildschirms verwendet wird."
# gui.rpy:291
old "## The frame that is used as part of the notify screen."
new "## The frame that is used as part of the notify screen."
# Automatic translation.
new "## Der Rahmen, der als Teil des Benachrichtigungsbildschirms verwendet wird."
# gui.rpy:294
old "## Should frame backgrounds be tiled?"
new "## Should frame backgrounds be tiled?"
# Automatic translation.
new "## Sollen Rahmenhintergründe gekachelt werden?"
# gui.rpy:298
old "## Bars, Scrollbars, and Sliders"
new "## Bars, Scrollbars, and Sliders"
# Automatic translation.
new "## Balken, Bildlaufleisten und Schieberegler"
# gui.rpy:300
old "## These control the look and size of bars, scrollbars, and sliders."
new "## These control the look and size of bars, scrollbars, and sliders."
# Automatic translation.
new "## Diese steuern das Aussehen und die Größe von Balken, Bildlaufleisten und Schiebereglern."
# gui.rpy:302
old "## The default GUI only uses sliders and vertical scrollbars. All of the other bars are only used in creator-written code."
new "## The default GUI only uses sliders and vertical scrollbars. All of the other bars are only used in creator-written code."
# Automatic translation.
new "## Die Standard-GUI verwendet nur Schieberegler und vertikale Bildlaufleisten. Alle anderen Leisten werden nur im vom Ersteller geschriebenen Code verwendet."
# gui.rpy:305
old "## The height of horizontal bars, scrollbars, and sliders. The width of vertical bars, scrollbars, and sliders."
new "## The height of horizontal bars, scrollbars, and sliders. The width of vertical bars, scrollbars, and sliders."
# Automatic translation.
new "## Die Höhe der horizontalen Balken, Bildlaufleisten und Schieberegler. Die Breite der vertikalen Balken, Rollbalken und Schieberegler."
# gui.rpy:311
old "## True if bar images should be tiled. False if they should be linearly scaled."
new "## True if bar images should be tiled. False if they should be linearly scaled."
# Automatic translation.
new "## True, wenn die Balkenbilder gekachelt werden sollen. False, wenn sie linear skaliert werden sollen."
# gui.rpy:316
old "## Horizontal borders."
new "## Horizontal borders."
# Automatic translation.
new "## Horizontale Grenzen."
# gui.rpy:321
old "## Vertical borders."
new "## Vertical borders."
# Automatic translation.
new "## Vertikale Ränder."
# gui.rpy:326
old "## What to do with unscrollable scrollbars in the gui. \"hide\" hides them, while None shows them."
new "## What to do with unscrollable scrollbars in the gui. \"hide\" hides them, while None shows them."
# Automatic translation.
new "## Was man mit nicht scrollbaren Bildlaufleisten in der Benutzeroberfläche macht. \"hide\" blendet sie aus, während \"None\" sie anzeigt."
# gui.rpy:331
old "## History"
new "## History"
# Automatic translation.
new "## Geschichte"
# gui.rpy:333
old "## The history screen displays dialogue that the player has already dismissed."
new "## The history screen displays dialogue that the player has already dismissed."
# Automatic translation.
new "## Der Verlaufsbildschirm zeigt Dialoge an, die der Spieler bereits verworfen hat."
# gui.rpy:335
old "## The number of blocks of dialogue history Ren'Py will keep."
new "## The number of blocks of dialogue history Ren'Py will keep."
# Automatic translation.
new "## Die Anzahl der Blöcke des Dialogverlaufs, die Ren'Py behält."
# gui.rpy:338
old "## The height of a history screen entry, or None to make the height variable at the cost of performance."
new "## The height of a history screen entry, or None to make the height variable at the cost of performance."
# Automatic translation.
new "## Die Höhe eines Eintrags im Verlaufsbildschirm, oder None, um die Höhe auf Kosten der Leistung variabel zu machen."
# gui.rpy:342
old "## The position, width, and alignment of the label giving the name of the speaking character."
new "## The position, width, and alignment of the label giving the name of the speaking character."
# Automatic translation.
new "## Die Position, Breite und Ausrichtung der Beschriftung, die den Namen des sprechenden Zeichens angibt."
# gui.rpy:349
old "## The position, width, and alignment of the dialogue text."
new "## The position, width, and alignment of the dialogue text."
# Automatic translation.
new "## Die Position, Breite und Ausrichtung des Dialogtextes."
# gui.rpy:356
old "## NVL-Mode"
new "## NVL-Mode"
# Automatic translation.
new "## NVL-Modus"
# gui.rpy:358
old "## The NVL-mode screen displays the dialogue spoken by NVL-mode characters."
new "## The NVL-mode screen displays the dialogue spoken by NVL-mode characters."
# Automatic translation.
new "## Der NVL-Modus-Bildschirm zeigt den Dialog an, der von den Charakteren im NVL-Modus gesprochen wird."
# gui.rpy:360
old "## The borders of the background of the NVL-mode background window."
new "## The borders of the background of the NVL-mode background window."
# Automatic translation.
new "## Die Grenzen des Hintergrunds des Hintergrundfensters im NVL-Modus."
# gui.rpy:363
old "## The height of an NVL-mode entry. Set this to None to have the entries dynamically adjust height."
new "## The height of an NVL-mode entry. Set this to None to have the entries dynamically adjust height."
# Automatic translation.
new "## Die Höhe eines Eintrags im NVL-Modus. Setzen Sie dies auf None, um die Höhe der Einträge dynamisch anzupassen."
# gui.rpy:367
old "## The spacing between NVL-mode entries when gui.nvl_height is None, and between NVL-mode entries and an NVL-mode menu."
new "## The spacing between NVL-mode entries when gui.nvl_height is None, and between NVL-mode entries and an NVL-mode menu."
# Automatic translation.
new "## Der Abstand zwischen NVL-Mode-Einträgen, wenn gui.nvl_height None ist, und zwischen NVL-Mode-Einträgen und einem NVL-Mode-Menü."
# gui.rpy:384
old "## The position, width, and alignment of nvl_thought text (the text said by the nvl_narrator character.)"
new "## The position, width, and alignment of nvl_thought text (the text said by the nvl_narrator character.)"
# Automatic translation.
new "## Die Position, Breite und Ausrichtung des nvl_thought-Textes (der Text, der vom nvl_narrator-Zeichen gesprochen wird)."
# gui.rpy:391
old "## The position of nvl menu_buttons."
new "## The position of nvl menu_buttons."
# Automatic translation.
new "## Die Position der nvl menu_buttons."
# gui.rpy:403
old "## This increases the size of the quick buttons to make them easier to touch on tablets and phones."
new "## This increases the size of the quick buttons to make them easier to touch on tablets and phones."
# Automatic translation.
new "## Dadurch werden die Schnellschaltflächen größer, damit sie auf Tablets und Handys leichter zu erreichen sind."
# gui.rpy:409
old "## This changes the size and spacing of various GUI elements to ensure they are easily visible on phones."
new "## This changes the size and spacing of various GUI elements to ensure they are easily visible on phones."
# Automatic translation.
new "## Dies ändert die Größe und die Abstände verschiedener GUI-Elemente, um sicherzustellen, dass sie auf Handys gut sichtbar sind."
# gui.rpy:413
old "## Font sizes."
new "## Font sizes."
# Automatic translation.
new "## Schriftgrößen."
# gui.rpy:421
old "## Adjust the location of the textbox."
new "## Adjust the location of the textbox."
# Automatic translation.
new "## Passen Sie die Position des Textfeldes an."
# gui.rpy:427
old "## Change the size and spacing of items in the game menu."
new "## Change the size and spacing of items in the game menu."
# Automatic translation.
new "## Ändern Sie die Größe und die Abstände der Elemente im Spielmenü."
# gui.rpy:436
old "## File button layout."
new "## File button layout."
# Automatic translation.
new "## Layout der Schaltfläche Datei."
# gui.rpy:440
old "## NVL-mode."
new "## NVL-mode."
# Automatic translation.
new "## NVL-Modus."
# gui.rpy:456
old "## Quick buttons."
new "## Quick buttons."
translate german strings:
# gui/game/gui.rpy:5
old "## The init offset statement causes the initialization statements in this file to run before init statements in any other file."
# Automatic translation.
new "## Die Anweisung init offset bewirkt, dass die Initialisierungsanweisungen in dieser Datei vor den init-Anweisungen in allen anderen Dateien ausgeführt werden."
# gui/game/gui.rpy:14
old "## Enable checks for invalid or unstable properties in screens or transforms"
# Automatic translation.
new "## Prüfungen auf ungültige oder instabile Eigenschaften in Bildschirmen oder Transformationen aktivieren"
# gui/game/gui.rpy:19
old "## GUI Configuration Variables"
# Automatic translation.
new "## GUI-Konfigurationsvariablen"
# gui/game/gui.rpy:167
old "## The color of button text in various states."
# Automatic translation.
new "## Die Farbe des Schaltflächentextes in verschiedenen Zuständen."
# gui/game/gui.rpy:173
old "## The horizontal alignment of the button text. (0.0 is left, 0.5 is center, 1.0 is right)."
# Automatic translation.
new "## Die horizontale Ausrichtung des Schaltflächentextes. (0.0 ist links, 0.5 ist mittig, 1.0 ist rechts)."
# gui/game/gui.rpy:278
old "## The position of the main menu text."
# Automatic translation.
new "## Die Position des Hauptmenütextes."
# gui/game/gui.rpy:287
old "## Generic frames."
# Automatic translation.
new "## Allgemeine Rahmen."
# gui/game/gui.rpy:307
old "## The default GUI only uses sliders and vertical scrollbars. All of the other bars are only used in creator-written screens."
# Automatic translation.
new "## Die Standard-GUI verwendet nur Schieberegler und vertikale Bildlaufleisten. Alle anderen Leisten werden nur in vom Ersteller geschriebenen Bildschirmen verwendet."
# gui/game/gui.rpy:368
old "## The maximum number of NVL-mode entries Ren'Py will display. When more entries than this are to be show, the oldest entry will be removed."
# Automatic translation.
new "## Die maximale Anzahl der Einträge im NVL-Modus, die Ren'Py anzeigt. Wenn mehr Einträge als diese Zahl angezeigt werden sollen, wird der älteste Eintrag entfernt."
# gui/game/gui.rpy:405
old "## Localization"
# Automatic translation.
new "## Lokalisierung"
# gui/game/gui.rpy:407
old "## This controls where a line break is permitted. The default is suitable for most languages. A list of available values can be found at https://www.renpy.org/doc/html/style_properties.html#style-property-language"
# Automatic translation.
new "## Dies steuert, wo ein Zeilenumbruch zulässig ist. Der Standardwert ist für die meisten Sprachen geeignet. Eine Liste der verfügbaren Werte finden Sie unter https://www.renpy.org/doc/html/style_properties.html#style-property-language."
# gui/game/gui.rpy:415
old "## Mobile devices"
# Automatic translation.
new "## Mobile Geräte"
# gui/game/gui.rpy:446
old "## Change the size and spacing of various things."
# Automatic translation.
new "## Ändern Sie die Größe und die Abstände verschiedener Dinge."
File diff suppressed because it is too large Load Diff
+96 -47
View File
@@ -3,119 +3,141 @@ translate german strings:
# options.rpy:1
old "## This file contains options that can be changed to customize your game."
new "## This file contains options that can be changed to customize your game."
# Automatic translation.
new "## Diese Datei enthält Optionen, die geändert werden können, um das Spiel anzupassen."
# options.rpy:4
old "## Lines beginning with two '#' marks are comments, and you shouldn't uncomment them. Lines beginning with a single '#' mark are commented-out code, and you may want to uncomment them when appropriate."
new "## Lines beginning with two '#' marks are comments, and you shouldn't uncomment them. Lines beginning with a single '#' mark are commented-out code, and you may want to uncomment them when appropriate."
new "## Zeilen, die mit zwei '#' beginnen, sind Kommentare und sollten nicht auskommentiert werden. Zeilen, die mit einem einzelnen '#' beginnen, sind auskommentierter Code, den Du ggf. auskommentieren kannst."
# options.rpy:10
old "## Basics"
new "## Basics"
# Automatic translation.
new "## Grundlagen"
# options.rpy:12
old "## A human-readable name of the game. This is used to set the default window title, and shows up in the interface and error reports."
new "## A human-readable name of the game. This is used to set the default window title, and shows up in the interface and error reports."
# Automatic translation.
new "## Ein für Menschen lesbarer Name des Spiels. Dieser wird verwendet, um den Standard-Fenstertitel festzulegen, und wird in der Benutzeroberfläche und in Fehlerberichten angezeigt."
# options.rpy:15
old "## The _() surrounding the string marks it as eligible for translation."
new "## The _() surrounding the string marks it as eligible for translation."
# Automatic translation.
new "## Das _(), das die Zeichenkette umgibt, kennzeichnet sie als übersetzbar."
# options.rpy:17
old "Ren'Py 7 Default GUI"
new "Ren'Py 7 Default GUI"
# Automatic translation.
new "Ren'Py 7 Standard-GUI"
# options.rpy:20
old "## Determines if the title given above is shown on the main menu screen. Set this to False to hide the title."
new "## Determines if the title given above is shown on the main menu screen. Set this to False to hide the title."
new "## Bestimmt, ob der oben angegebene Titel auf dem Hauptmenübildschirm angezeigt wird. Setze dies auf False, um den Titel auszublenden."
# options.rpy:26
old "## The version of the game."
new "## The version of the game."
# Automatic translation.
new "## Die Version des Spiels."
# options.rpy:31
old "## Text that is placed on the game's about screen. To insert a blank line between paragraphs, write \\n\\n."
new "## Text that is placed on the game's about screen. To insert a blank line between paragraphs, write \\n\\n."
# Automatic translation.
new "## Text, der auf dem Info-Bildschirm des Spiels erscheint. Um eine Leerzeile zwischen Absätzen einzufügen, schreibe \\n\\n."
# options.rpy:37
old "## A short name for the game used for executables and directories in the built distribution. This must be ASCII-only, and must not contain spaces, colons, or semicolons."
new "## A short name for the game used for executables and directories in the built distribution. This must be ASCII-only, and must not contain spaces, colons, or semicolons."
# Automatic translation.
new "## Ein kurzer Name für das Spiel, der für ausführbare Dateien und Verzeichnisse in der erstellten Distribution verwendet wird. Er darf nur ASCII sein und keine Leerzeichen, Doppelpunkte oder Semikolons enthalten."
# options.rpy:44
old "## Sounds and music"
new "## Sounds and music"
new "## Ton und Musik"
# options.rpy:46
old "## These three variables control which mixers are shown to the player by default. Setting one of these to False will hide the appropriate mixer."
new "## These three variables control which mixers are shown to the player by default. Setting one of these to False will hide the appropriate mixer."
# Automatic translation.
new "## Diese drei Variablen steuern, welche Mixer dem Spieler standardmäßig angezeigt werden. Wird eine dieser Variablen auf False gesetzt, wird der entsprechende Mischer ausgeblendet."
# options.rpy:55
old "## To allow the user to play a test sound on the sound or voice channel, uncomment a line below and use it to set a sample sound to play."
new "## To allow the user to play a test sound on the sound or voice channel, uncomment a line below and use it to set a sample sound to play."
new "## Um dem Benutzer die Möglichkeit zu geben, einen Testton auf dem Ton- oder Sprachkanal abzuspielen, entfernen die Kommentarzeichen in der Zeile unten und verwenden sie, um einen Beispielton abzuspielen."
# options.rpy:62
old "## Uncomment the following line to set an audio file that will be played while the player is at the main menu. This file will continue playing into the game, until it is stopped or another file is played."
new "## Uncomment the following line to set an audio file that will be played while the player is at the main menu. This file will continue playing into the game, until it is stopped or another file is played."
new "## Entferne das Kommentarzeichen in der folgenden Zeile, damit im Hauptmenü eine Audiodatei abgespielt wird. Diese wird im Spiel so lange weiterlaufen, bis sie gestoppt wird oder eine andere Datei abgespielt wird."
# options.rpy:69
old "## Transitions"
new "## Transitions"
# Automatic translation.
new "## Übergänge"
# options.rpy:71
old "## These variables set transitions that are used when certain events occur. Each variable should be set to a transition, or None to indicate that no transition should be used."
new "## These variables set transitions that are used when certain events occur. Each variable should be set to a transition, or None to indicate that no transition should be used."
# Automatic translation.
new "## Diese Variablen legen Übergänge fest, die bei bestimmten Ereignissen verwendet werden. Jede Variable sollte auf einen Übergang gesetzt werden, oder auf \"None\", um anzugeben, dass kein Übergang verwendet werden soll."
# options.rpy:75
old "## Entering or exiting the game menu."
new "## Entering or exiting the game menu."
# Automatic translation.
new "## Aufrufen oder Verlassen des Spielmenüs."
# options.rpy:81
old "## A transition that is used after a game has been loaded."
new "## A transition that is used after a game has been loaded."
# Automatic translation.
new "## Ein Übergang, der verwendet wird, nachdem ein Spiel geladen wurde."
# options.rpy:86
old "## Used when entering the main menu after the game has ended."
new "## Used when entering the main menu after the game has ended."
# Automatic translation.
new "## Wird verwendet, wenn das Hauptmenü nach Beendigung des Spiels aufgerufen wird."
# options.rpy:91
old "## A variable to set the transition used when the game starts does not exist. Instead, use a with statement after showing the initial scene."
new "## A variable to set the transition used when the game starts does not exist. Instead, use a with statement after showing the initial scene."
new "## Eine Variable zum Festlegen des Übergangs, der beim Start des Spiels verwendet wird, existiert nicht. Verwende stattdessen eine with-Anweisung, nachdem Du die Anfangsszene gezeigt hast."
# options.rpy:96
old "## Window management"
new "## Window management"
# Automatic translation.
new "## Fensterverwaltung"
# options.rpy:98
old "## This controls when the dialogue window is displayed. If \"show\", it is always displayed. If \"hide\", it is only displayed when dialogue is present. If \"auto\", the window is hidden before scene statements and shown again once dialogue is displayed."
new "## This controls when the dialogue window is displayed. If \"show\", it is always displayed. If \"hide\", it is only displayed when dialogue is present. If \"auto\", the window is hidden before scene statements and shown again once dialogue is displayed."
# Automatic translation.
new "## Dies steuert, wann das Dialogfenster angezeigt wird. Wenn \"show\", wird es immer angezeigt. Wenn \"hide\", wird es nur angezeigt, wenn ein Dialog vorhanden ist. Bei \"auto\" wird das Fenster vor Szenenanweisungen ausgeblendet und wieder eingeblendet, sobald der Dialog angezeigt wird."
# options.rpy:103
old "## After the game has started, this can be changed with the \"window show\", \"window hide\", and \"window auto\" statements."
new "## After the game has started, this can be changed with the \"window show\", \"window hide\", and \"window auto\" statements."
# Automatic translation.
new "## Nachdem das Spiel gestartet wurde, kann dies mit den Anweisungen \"window show\", \"window hide\" und \"window auto\" geändert werden."
# options.rpy:109
old "## Transitions used to show and hide the dialogue window"
new "## Transitions used to show and hide the dialogue window"
# Automatic translation.
new "## Übergänge zum Ein- und Ausblenden des Dialogfensters"
# options.rpy:115
old "## Preference defaults"
new "## Preference defaults"
new "## Standardwerte für Einstellungen"
# options.rpy:117
old "## Controls the default text speed. The default, 0, is infinite, while any other number is the number of characters per second to type out."
new "## Controls the default text speed. The default, 0, is infinite, while any other number is the number of characters per second to type out."
# Automatic translation.
new "## Steuert die Standard-Textgeschwindigkeit. Die Vorgabe 0 ist unendlich, während jede andere Zahl die Anzahl der zu tippenden Zeichen pro Sekunde angibt."
# options.rpy:123
old "## The default auto-forward delay. Larger numbers lead to longer waits, with 0 to 30 being the valid range."
new "## The default auto-forward delay. Larger numbers lead to longer waits, with 0 to 30 being the valid range."
# Automatic translation.
new "## Die Standardverzögerung für das automatische Blättern. Größere Zahlen führen zu längeren Wartezeiten, wobei 0 bis 30 der gültige Bereich ist."
# options.rpy:129
old "## Save directory"
new "## Save directory"
# Automatic translation.
new "## Verzeichnis speichern"
# options.rpy:131
old "## Controls the platform-specific place Ren'Py will place the save files for this game. The save files will be placed in:"
new "## Controls the platform-specific place Ren'Py will place the save files for this game. The save files will be placed in:"
# Automatic translation.
new "## Legt den plattformspezifischen Ort fest, an dem Ren'Py die Speicherdateien für dieses Spiel ablegt. Die Speicherdateien werden in platziert:"
# options.rpy:134
old "## Windows: %APPDATA\\RenPy\\<config.save_directory>"
@@ -131,7 +153,8 @@ translate german strings:
# options.rpy:140
old "## This generally should not be changed, and if it is, should always be a literal string, not an expression."
new "## This generally should not be changed, and if it is, should always be a literal string, not an expression."
# Automatic translation.
new "## Dies sollte in der Regel nicht geändert werden, und wenn doch, dann sollte es sich immer um eine Zeichenkette und nicht um einen Ausdruck handeln."
# options.rpy:146
old "## Icon ########################################################################'"
@@ -139,57 +162,83 @@ translate german strings:
# options.rpy:148
old "## The icon displayed on the taskbar or dock."
new "## The icon displayed on the taskbar or dock."
# Automatic translation.
new "## Das Symbol, das in der Taskleiste oder im Dock angezeigt wird."
# options.rpy:153
old "## Build configuration"
new "## Build configuration"
# Automatic translation.
new "## Konfiguration erstellen"
# options.rpy:155
old "## This section controls how Ren'Py turns your project into distribution files."
new "## This section controls how Ren'Py turns your project into distribution files."
new "## Dieser Abschnitt steuert, wie Ren'Py Dein Projekt in Distributionsdateien umwandelt."
# options.rpy:160
old "## The following functions take file patterns. File patterns are case- insensitive, and matched against the path relative to the base directory, with and without a leading /. If multiple patterns match, the first is used."
new "## The following functions take file patterns. File patterns are case- insensitive, and matched against the path relative to the base directory, with and without a leading /. If multiple patterns match, the first is used."
# Automatic translation.
new "## Die folgenden Funktionen nehmen Dateimuster an. Die Dateimuster unterscheiden nicht zwischen Groß- und Kleinschreibung und werden mit dem Pfad relativ zum Basisverzeichnis abgeglichen, mit oder ohne führendem /. Wenn mehrere Muster übereinstimmen, wird das erste verwendet."
# options.rpy:165
old "## In a pattern:"
new "## In a pattern:"
# Automatic translation.
new "## In einem Muster:"
# options.rpy:167
old "## / is the directory separator."
new "## / is the directory separator."
# Automatic translation.
new "## / ist das Verzeichnis-Trennzeichen."
# options.rpy:169
old "## * matches all characters, except the directory separator."
new "## * matches all characters, except the directory separator."
# Automatic translation.
new "## * trifft auf alle Zeichen zu, außer auf das Verzeichnistrennzeichen."
# options.rpy:171
old "## ** matches all characters, including the directory separator."
new "## ** matches all characters, including the directory separator."
# options.rpy:173
old "## For example, \"*.txt\" matches txt files in the base directory, \"game/**.ogg\" matches ogg files in the game directory or any of its subdirectories, and \"**.psd\" matches psd files anywhere in the project."
new "## For example, \"*.txt\" matches txt files in the base directory, \"game/**.ogg\" matches ogg files in the game directory or any of its subdirectories, and \"**.psd\" matches psd files anywhere in the project."
# Automatic translation.
new "## ** passt auf alle Zeichen, auch auf das Verzeichnis-Trennzeichen."
# options.rpy:177
old "## Classify files as None to exclude them from the built distributions."
new "## Classify files as None to exclude them from the built distributions."
new "## Klassifiziere Dateien als None, um sie von den erstellten Distributionen auszuschließen."
# options.rpy:185
old "## To archive files, classify them as 'archive'."
new "## To archive files, classify them as 'archive'."
new "## Um Dateien zu archivieren, klassifiziere sie als \"archive\"."
# options.rpy:190
old "## Files matching documentation patterns are duplicated in a mac app build, so they appear in both the app and the zip file."
new "## Files matching documentation patterns are duplicated in a mac app build, so they appear in both the app and the zip file."
# Automatic translation.
new "## Dateien, die den Dokumentationsmustern entsprechen, werden in einem Mac-App-Build dupliziert, sodass sie sowohl in der App als auch in der Zip-Datei erscheinen."
# options.rpy:196
old "## A Google Play license key is required to download expansion files and perform in-app purchases. It can be found on the \"Services & APIs\" page of the Google Play developer console."
new "## A Google Play license key is required to download expansion files and perform in-app purchases. It can be found on the \"Services & APIs\" page of the Google Play developer console."
new "## Ein Google Play-Lizenzschlüssel ist erforderlich, um Erweiterungsdateien herunterzuladen und In-App-Käufe durchzuführen. Du findest ihn auf der Seite \"Services & APIs\" in der Google Play-Entwicklerkonsole."
# options.rpy:203
old "## The username and project name associated with an itch.io project, separated by a slash."
new "## The username and project name associated with an itch.io project, separated by a slash."
# Automatic translation.
new "## Der mit einem itch.io-Projekt verbundene Benutzername und Projektname, getrennt durch einen Schrägstrich."
# gui/game/options.rpy:31
old "## Text that is placed on the game's about screen. Place the text between the triple-quotes, and leave a blank line between paragraphs."
new "## Text, der auf dem Info-Bildschirm des Spiels erscheint. Setz den Text zwischen dreifache Anführungszeichen und lass eine Leerzeile zwischen den Absätzen."
# gui/game/options.rpy:47
old "## These three variables control, among other things, which mixers are shown to the player by default. Setting one of these to False will hide the appropriate mixer."
# Automatic translation.
new "## Diese drei Variablen steuern unter anderem, welche Mixer dem Spieler standardmäßig angezeigt werden. Wird eine dieser Variablen auf False gesetzt, wird der entsprechende Mischer ausgeblendet."
# gui/game/options.rpy:82
old "## Between screens of the game menu."
# Automatic translation.
new "## Zwischen den Bildschirmen des Spielmenüs."
# gui/game/options.rpy:152
old "## Icon"
new "## Icon"
# gui/game/options.rpy:203
old "## A Google Play license key is required to perform in-app purchases. It can be found in the Google Play developer console, under \"Monetize\" > \"Monetization Setup\" > \"Licensing\"."
new "## Für In-App-Käufe ist ein Google Play-Lizenzschlüssel erforderlich. Du findest ihn in der Google Play-Entwicklerkonsole unter \"Monetize\" > \"Monetization Setup\" > \"Licensing\"."
+324 -123
View File
@@ -3,23 +3,26 @@ translate german strings:
# screens.rpy:9
old "## Styles"
new "## Styles"
# Automatic translation.
new "## Stile"
# screens.rpy:87
old "## In-game screens"
new "## In-game screens"
new "## Spielinterne Bildschirme (Screens)"
# screens.rpy:91
old "## Say screen"
new "## Say screen"
new "## Dialog-Bildschirm"
# screens.rpy:93
old "## The say screen is used to display dialogue to the player. It takes two parameters, who and what, which are the name of the speaking character and the text to be displayed, respectively. (The who parameter can be None if no name is given.)"
new "## The say screen is used to display dialogue to the player. It takes two parameters, who and what, which are the name of the speaking character and the text to be displayed, respectively. (The who parameter can be None if no name is given.)"
# Automatic translation.
new "## Der say-Bildschirm wird verwendet, um dem Spieler einen Dialog anzuzeigen. Er benötigt zwei Parameter, who und what, die den Namen des sprechenden Charakters bzw. den anzuzeigenden Text darstellen. (Der who-Parameter kann None sein, wenn kein Name angegeben wird.)"
# screens.rpy:98
old "## This screen must create a text displayable with id \"what\", as Ren'Py uses this to manage text display. It can also create displayables with id \"who\" and id \"window\" to apply style properties."
new "## This screen must create a text displayable with id \"what\", as Ren'Py uses this to manage text display. It can also create displayables with id \"who\" and id \"window\" to apply style properties."
# Automatic translation.
new "## Dieser Bildschirm muss ein Text-Displayable mit der id \"what\" erstellen, da Ren'Py dieses zur Verwaltung der Textanzeige verwendet. Es kann auch Displayables mit der id \"who\" und id \"window\" erstellen, um Stileigenschaften anzuwenden."
# screens.rpy:102
old "## https://www.renpy.org/doc/html/screen_special.html#say"
@@ -27,15 +30,17 @@ translate german strings:
# screens.rpy:169
old "## Input screen"
new "## Input screen"
new "## Eingabe-Bildschirm"
# screens.rpy:171
old "## This screen is used to display renpy.input. The prompt parameter is used to pass a text prompt in."
new "## This screen is used to display renpy.input. The prompt parameter is used to pass a text prompt in."
# Automatic translation.
new "## Dieser Bildschirm wird zur Anzeige von renpy.input verwendet. Der Prompt-Parameter wird verwendet, um eine Text-Eingabeaufforderung zu übergeben."
# screens.rpy:174
old "## This screen must create an input displayable with id \"input\" to accept the various input parameters."
new "## This screen must create an input displayable with id \"input\" to accept the various input parameters."
# Automatic translation.
new "## Dieser Bildschirm muss eine anzeigbare Eingabe mit der ID \"input\" erstellen, um die verschiedenen Eingabeparameter zu akzeptieren."
# screens.rpy:177
old "## http://www.renpy.org/doc/html/screen_special.html#input"
@@ -43,11 +48,11 @@ translate german strings:
# screens.rpy:205
old "## Choice screen"
new "## Choice screen"
new "## Auswahl- oder Entscheidungs-Bildschirm"
# screens.rpy:207
old "## This screen is used to display the in-game choices presented by the menu statement. The one parameter, items, is a list of objects, each with caption and action fields."
new "## This screen is used to display the in-game choices presented by the menu statement. The one parameter, items, is a list of objects, each with caption and action fields."
new "## Dieser Bildschirm wird verwendet, um die Auswahlmöglichkeiten im Spiel anzuzeigen, die von der Menüanweisung präsentiert werden. Der Parameter \"items\" ist eine Liste von Objekten, jedes mit Beschriftung und Aktionsfeldern."
# screens.rpy:211
old "## http://www.renpy.org/doc/html/screen_special.html#choice"
@@ -55,15 +60,16 @@ translate german strings:
# screens.rpy:221
old "## When this is true, menu captions will be spoken by the narrator. When false, menu captions will be displayed as empty buttons."
new "## When this is true, menu captions will be spoken by the narrator. When false, menu captions will be displayed as empty buttons."
new "## Bei \"True\" werden die Menübeschriftungen vom Erzähler gesprochen. Bei \"False\" werden die Menübeschriftungen als leere Schaltflächen angezeigt."
# screens.rpy:244
old "## Quick Menu screen"
new "## Quick Menu screen"
new "## Schnellmenü-Bildschirm"
# screens.rpy:246
old "## The quick menu is displayed in-game to provide easy access to the out-of-game menus."
new "## The quick menu is displayed in-game to provide easy access to the out-of-game menus."
# Automatic translation.
new "## Das Schnellmenü wird im Spiel angezeigt, um einen einfachen Zugriff auf die Menüs außerhalb des Spiels zu ermöglichen."
# screens.rpy:261
old "Back"
@@ -71,11 +77,11 @@ translate german strings:
# screens.rpy:262
old "History"
new "History"
new "Dialogverlauf"
# screens.rpy:263
old "Skip"
new "Spulen"
new "Vorspulen"
# screens.rpy:264
old "Auto"
@@ -91,7 +97,7 @@ translate german strings:
# screens.rpy:267
old "Q.Load"
new "S. Laden"
new "S.Laden"
# screens.rpy:268
old "Prefs"
@@ -99,15 +105,18 @@ translate german strings:
# screens.rpy:271
old "## This code ensures that the quick_menu screen is displayed in-game, whenever the player has not explicitly hidden the interface."
new "## This code ensures that the quick_menu screen is displayed in-game, whenever the player has not explicitly hidden the interface."
# Automatic translation.
new "## Dieser Code stellt sicher, dass der quick_menu-Bildschirm im Spiel angezeigt wird, wenn der Spieler die Benutzeroberfläche nicht explizit ausgeblendet hat."
# screens.rpy:291
old "## Navigation screen"
new "## Navigation screen"
# Automatic translation.
new "## Navigationsbildschirm"
# screens.rpy:293
old "## This screen is included in the main and game menus, and provides navigation to other menus, and to start the game."
new "## This screen is included in the main and game menus, and provides navigation to other menus, and to start the game."
# Automatic translation.
new "## Dieser Bildschirm ist im Haupt- und Spielmenü enthalten und ermöglicht die Navigation zu anderen Menüs und den Start des Spiels."
# screens.rpy:308
old "Start"
@@ -115,7 +124,8 @@ translate german strings:
# screens.rpy:316
old "Load"
new "Load"
# Automatic translation.
new "Laden"
# screens.rpy:318
old "Preferences"
@@ -123,7 +133,8 @@ translate german strings:
# screens.rpy:322
old "End Replay"
new "End Replay"
# Automatic translation.
new "Wiederholung beenden"
# screens.rpy:326
old "Main Menu"
@@ -135,7 +146,8 @@ translate german strings:
# screens.rpy:332
old "## Help isn't necessary or relevant to mobile devices."
new "## Help isn't necessary or relevant to mobile devices."
# Automatic translation.
new "## Hilfe ist für mobile Geräte nicht notwendig oder relevant."
# screens.rpy:333
old "Help"
@@ -143,7 +155,8 @@ translate german strings:
# screens.rpy:335
old "## The quit button is banned on iOS and unnecessary on Android."
new "## The quit button is banned on iOS and unnecessary on Android."
# Automatic translation.
new "## Die Beenden-Schaltfläche ist auf iOS verboten und auf Android unnötig."
# screens.rpy:336
old "Quit"
@@ -151,11 +164,13 @@ translate german strings:
# screens.rpy:350
old "## Main Menu screen"
new "## Main Menu screen"
# Automatic translation.
new "## Hauptmenü-Bildschirm"
# screens.rpy:352
old "## Used to display the main menu when Ren'Py starts."
new "## Used to display the main menu when Ren'Py starts."
# Automatic translation.
new "## Wird verwendet, um das Hauptmenü beim Start von Ren'Py anzuzeigen."
# screens.rpy:354
old "## http://www.renpy.org/doc/html/screen_special.html#main-menu"
@@ -163,19 +178,18 @@ translate german strings:
# screens.rpy:369
old "## The use statement includes another screen inside this one. The actual contents of the main menu are in the navigation screen."
new "## The use statement includes another screen inside this one. The actual contents of the main menu are in the navigation screen."
# Automatic translation.
new "## Die Anweisung use enthält einen weiteren Bildschirm innerhalb dieses Bildschirms. Der eigentliche Inhalt des Hauptmenüs befindet sich auf dem Navigationsbildschirm."
# screens.rpy:413
old "## Game Menu screen"
new "## Game Menu screen"
# Automatic translation.
new "## Bildschirm Spielmenü"
# screens.rpy:415
old "## This lays out the basic common structure of a game menu screen. It's called with the screen title, and displays the background, title, and navigation."
new "## This lays out the basic common structure of a game menu screen. It's called with the screen title, and displays the background, title, and navigation."
# screens.rpy:418
old "## The scroll parameter can be None, or one of \"viewport\" or \"vpgrid\". When this screen is intended to be used with one or more children, which are transcluded (placed) inside it."
new "## The scroll parameter can be None, or one of \"viewport\" or \"vpgrid\". When this screen is intended to be used with one or more children, which are transcluded (placed) inside it."
# Automatic translation.
new "## Hier wird die allgemeine Grundstruktur eines Spielmenübildschirms festgelegt. Es wird mit dem Bildschirmtitel aufgerufen und zeigt den Hintergrund, den Titel und die Navigation an."
# screens.rpy:476
old "Return"
@@ -183,19 +197,20 @@ translate german strings:
# screens.rpy:539
old "## About screen"
new "## About screen"
new "## Info-Bildschirm"
# screens.rpy:541
old "## This screen gives credit and copyright information about the game and Ren'Py."
new "## This screen gives credit and copyright information about the game and Ren'Py."
new "## Dieser Bildschirm enthält Würdigungen und Copyright-Informationen über das Spiel und Ren'Py."
# screens.rpy:544
old "## There's nothing special about this screen, and hence it also serves as an example of how to make a custom screen."
new "## There's nothing special about this screen, and hence it also serves as an example of how to make a custom screen."
# Automatic translation.
new "## Dieser Bildschirm ist nichts Besonderes und dient daher auch als Beispiel für die Erstellung eines benutzerdefinierten Bildschirms."
# screens.rpy:551
old "## This use statement includes the game_menu screen inside this one. The vbox child is then included inside the viewport inside the game_menu screen."
new "## This use statement includes the game_menu screen inside this one. The vbox child is then included inside the viewport inside the game_menu screen."
new "## Diese Anweisung schließt den Bildschirm game_menu in diesen Bildschirm ein. Das vbox-Kind wird dann in das Viewport innerhalb des game_menu-Bildschirms aufgenommen."
# screens.rpy:561
old "Version [config.version!t]\n"
@@ -203,23 +218,25 @@ translate german strings:
# screens.rpy:563
old "## gui.about is usually set in options.rpy."
new "## gui.about is usually set in options.rpy."
# Automatic translation.
new "## gui.about wird normalerweise in options.rpy eingestellt."
# screens.rpy:567
old "Made with {a=https://www.renpy.org/}Ren'Py{/a} [renpy.version_only].\n\n[renpy.license!t]"
new "Made with {a=https://www.renpy.org/}Ren'Py{/a} [renpy.version_only].\n\n[renpy.license!t]"
new "Erstellt mit {a=https://www.renpy.org/}Ren'Py{/a} [renpy.version_only].\n\n[renpy.license!t]"
# screens.rpy:570
old "## This is redefined in options.rpy to add text to the about screen."
new "## This is redefined in options.rpy to add text to the about screen."
new "## Dies wird in options.rpy neu definiert, um dem Info-Bildschirm Text hinzuzufügen."
# screens.rpy:582
old "## Load and Save screens"
new "## Load and Save screens"
new "## Spielstände-Bildschirm"
# screens.rpy:584
old "## These screens are responsible for letting the player save the game and load it again. Since they share nearly everything in common, both are implemented in terms of a third screen, file_slots."
new "## These screens are responsible for letting the player save the game and load it again. Since they share nearly everything in common, both are implemented in terms of a third screen, file_slots."
# Automatic translation.
new "## Der load and save Bildschirm sind dafür verantwortlich, dass der Spieler das Spiel speichern und wieder laden kann. Da sie fast alles gemeinsam haben, sind beide in Form eines dritten Bildschirms, file_slots, implementiert."
# screens.rpy:588
old "## https://www.renpy.org/doc/html/screen_special.html#save https://www.renpy.org/doc/html/screen_special.html#load"
@@ -227,35 +244,39 @@ translate german strings:
# screens.rpy:607
old "Page {}"
new "Page {}"
# Automatic translation.
new "Seite {}"
# screens.rpy:607
old "Automatic saves"
new "Automatic saves"
new "Automatische Speicherstände"
# screens.rpy:607
old "Quick saves"
new "Quick saves"
new "Schnellspeicherstände"
# screens.rpy:613
old "## This ensures the input will get the enter event before any of the buttons do."
new "## This ensures the input will get the enter event before any of the buttons do."
# Automatic translation.
new "## Dies stellt sicher, dass die Eingabe das Enter-Ereignis erhält, bevor es eine der Schaltflächen tut."
# screens.rpy:629
old "## The grid of file slots."
new "## The grid of file slots."
# Automatic translation.
new "## Das Raster der Dateislots."
# screens.rpy:649
old "{#file_time}%A, %B %d %Y, %H:%M"
new "{#file_time}%A, %B %d %Y, %H:%M"
new "{#file_time}%A, %d. %B %Y, %H:%M"
# screens.rpy:649
old "empty slot"
new "empty slot"
new "leerer Speicherplatz"
# screens.rpy:657
old "## Buttons to access other pages."
new "## Buttons to access other pages."
# Automatic translation.
new "## Schaltflächen für den Zugriff auf andere Seiten."
# screens.rpy:666
old "<"
@@ -267,7 +288,7 @@ translate german strings:
# screens.rpy:670
old "{#quick_page}Q"
new "{#quick_page}Q"
new "{#quick_page}S"
# screens.rpy:676
old ">"
@@ -275,11 +296,13 @@ translate german strings:
# screens.rpy:711
old "## Preferences screen"
new "## Preferences screen"
# Automatic translation.
new "## Einstellungs-Bildschirm"
# screens.rpy:713
old "## The preferences screen allows the player to configure the game to better suit themselves."
new "## The preferences screen allows the player to configure the game to better suit themselves."
# Automatic translation.
new "## Der Einstellungs-Bildschirm ermöglicht es dem Spieler, das Spiel so zu konfigurieren, dass es besser zu ihm passt."
# screens.rpy:716
old "## https://www.renpy.org/doc/html/screen_special.html#preferences"
@@ -299,27 +322,31 @@ translate german strings:
# screens.rpy:744
old "Rollback Side"
new "Rollback Side"
# Automatic translation.
new "Rollback Seite"
# screens.rpy:745
old "Disable"
new "Disable"
# Automatic translation.
new "Deaktivieren"
# screens.rpy:746
old "Left"
new "Left"
# Automatic translation.
new "Links"
# screens.rpy:747
old "Right"
new "Right"
# Automatic translation.
new "Rechts"
# screens.rpy:752
old "Unseen Text"
new "Unseen Text"
new "Ungesehener Text"
# screens.rpy:753
old "After Choices"
new "Nach Auswahl"
new "Nach Entscheidungen"
# screens.rpy:754
old "Transitions"
@@ -327,7 +354,8 @@ translate german strings:
# screens.rpy:756
old "## Additional vboxes of type \"radio_pref\" or \"check_pref\" can be added here, to add additional creator-defined preferences."
new "## Additional vboxes of type \"radio_pref\" or \"check_pref\" can be added here, to add additional creator-defined preferences."
# Automatic translation.
new "## Hier können zusätzliche vboxes vom Typ \"radio_pref\" oder \"check_pref\" hinzugefügt werden, um weitere vom Ersteller definierte Einstellungen hinzuzufügen."
# screens.rpy:767
old "Text Speed"
@@ -343,7 +371,7 @@ translate german strings:
# screens.rpy:785
old "Sound Volume"
new "Soundlautstärke"
new "Geräuschlautstärke"
# screens.rpy:791
old "Test"
@@ -355,15 +383,17 @@ translate german strings:
# screens.rpy:806
old "Mute All"
new "Mute All"
# Automatic translation.
new "Alle stummschalten"
# screens.rpy:882
old "## History screen"
new "## History screen"
new "## Dialogverlauf-Bildschirm"
# screens.rpy:884
old "## This is a screen that displays the dialogue history to the player. While there isn't anything special about this screen, it does have to access the dialogue history stored in _history_list."
new "## This is a screen that displays the dialogue history to the player. While there isn't anything special about this screen, it does have to access the dialogue history stored in _history_list."
# Automatic translation.
new "## Dies ist ein Bildschirm, der dem Spieler den Dialogverlauf anzeigt. Es gibt zwar nichts Besonderes an diesem Bildschirm, aber er muss auf den Dialogverlauf zugreifen, der in _history_list gespeichert ist."
# screens.rpy:888
old "## https://www.renpy.org/doc/html/history.html"
@@ -371,35 +401,41 @@ translate german strings:
# screens.rpy:894
old "## Avoid predicting this screen, as it can be very large."
new "## Avoid predicting this screen, as it can be very large."
new "## Vermeide es, diesen Bildschirm via \"predict\" vorberechnen zu lassen, da er sehr groß sein kann."
# screens.rpy:905
old "## This lays things out properly if history_height is None."
new "## This lays things out properly if history_height is None."
# Automatic translation.
new "## Dies legt die Dinge richtig aus, wenn history_height None ist."
# screens.rpy:914
old "## Take the color of the who text from the Character, if set."
new "## Take the color of the who text from the Character, if set."
new "## Übernimmt die Farbe des who-Textes des Charakters, falls vorhanden."
# screens.rpy:921
old "The dialogue history is empty."
new "The dialogue history is empty."
# Automatic translation.
new "Der Dialogverlauf ist leer."
# screens.rpy:965
old "## Help screen"
new "## Help screen"
# Automatic translation.
new "## Hilfe-Bildschirm"
# screens.rpy:967
old "## A screen that gives information about key and mouse bindings. It uses other screens (keyboard_help, mouse_help, and gamepad_help) to display the actual help."
new "## A screen that gives information about key and mouse bindings. It uses other screens (keyboard_help, mouse_help, and gamepad_help) to display the actual help."
# Automatic translation.
new "## Ein Bildschirm, der Informationen über Tasten- und Mausbelegungen liefert. Er verwendet andere Bildschirme (keyboard_help, mouse_help und gamepad_help), um die eigentliche Hilfe anzuzeigen."
# screens.rpy:986
old "Keyboard"
new "Keyboard"
# Automatic translation.
new "Tastatur"
# screens.rpy:987
old "Mouse"
new "Mouse"
# Automatic translation.
new "Maus"
# screens.rpy:990
old "Gamepad"
@@ -407,43 +443,52 @@ translate german strings:
# screens.rpy:1003
old "Enter"
new "Enter"
# Automatic translation.
new "Eingabe"
# screens.rpy:1004
old "Advances dialogue and activates the interface."
new "Advances dialogue and activates the interface."
# Automatic translation.
new "Bringt den Dialog voran und aktiviert die Schnittstelle."
# screens.rpy:1007
old "Space"
new "Space"
# Automatic translation.
new "Leertaste"
# screens.rpy:1008
old "Advances dialogue without selecting choices."
new "Advances dialogue without selecting choices."
# Automatic translation.
new "Bringt den Dialog voran ohne eine Auswahl zu treffen."
# screens.rpy:1011
old "Arrow Keys"
new "Arrow Keys"
# Automatic translation.
new "Pfeil-Tasten"
# screens.rpy:1012
old "Navigate the interface."
new "Navigate the interface."
# Automatic translation.
new "Navigiert durch die Schnittstelle."
# screens.rpy:1015
old "Escape"
new "Escape"
# Automatic translation.
new "ESC"
# screens.rpy:1016
old "Accesses the game menu."
new "Accesses the game menu."
# Automatic translation.
new "Ruft das Spielmenü auf."
# screens.rpy:1019
old "Ctrl"
new "Ctrl"
# Automatic translation.
new "Strg"
# screens.rpy:1020
old "Skips dialogue while held down."
new "Skips dialogue while held down."
new "Überspringt Dialoge, wenn Du die Taste gedrückt hältst."
# screens.rpy:1023
old "Tab"
@@ -451,75 +496,91 @@ translate german strings:
# screens.rpy:1024
old "Toggles dialogue skipping."
new "Toggles dialogue skipping."
# Automatic translation.
new "Schaltet das Überspringen von Dialogen ein/aus."
# screens.rpy:1027
old "Page Up"
new "Page Up"
# Automatic translation.
new "Seite hoch"
# screens.rpy:1028
old "Rolls back to earlier dialogue."
new "Rolls back to earlier dialogue."
# Automatic translation.
new "Springt zu einem früheren Dialog zurück."
# screens.rpy:1031
old "Page Down"
new "Page Down"
# Automatic translation.
new "Seite runter"
# screens.rpy:1032
old "Rolls forward to later dialogue."
new "Rolls forward to later dialogue."
# Automatic translation.
new "Springt zu einem späteren Dialog vor."
# screens.rpy:1036
old "Hides the user interface."
new "Hides the user interface."
# Automatic translation.
new "Blendet die Benutzeroberfläche aus."
# screens.rpy:1040
old "Takes a screenshot."
new "Takes a screenshot."
# Automatic translation.
new "Nimmt einen Screenshot auf."
# screens.rpy:1044
old "Toggles assistive {a=https://www.renpy.org/l/voicing}self-voicing{/a}."
new "Toggles assistive {a=https://www.renpy.org/l/voicing}self-voicing{/a}."
# Automatic translation.
new "Schaltet unterstützende {a=https://www.renpy.org/l/voicing}Automatische Spracherzeugung{/a} ein/aus."
# screens.rpy:1050
old "Left Click"
new "Left Click"
# Automatic translation.
new "Linksklick"
# screens.rpy:1054
old "Middle Click"
new "Middle Click"
# Automatic translation.
new "Mittlerer Klick"
# screens.rpy:1058
old "Right Click"
new "Right Click"
# Automatic translation.
new "Rechtsklick"
# screens.rpy:1062
old "Mouse Wheel Up\nClick Rollback Side"
new "Mouse Wheel Up\nClick Rollback Side"
old "Mouse Wheel Up"
new "Mausrad nach oben\nKlicke auf Rollback Seite"
# screens.rpy:1066
old "Mouse Wheel Down"
new "Mouse Wheel Down"
# Automatic translation.
new "Mausrad nach unten"
# screens.rpy:1073
old "Right Trigger\nA/Bottom Button"
new "Right Trigger\nA/Bottom Button"
# Automatic translation.
new "Rechter Auslöser\nA/Unterer Knopf"
# screens.rpy:1074
old "Advance dialogue and activates the interface."
new "Advance dialogue and activates the interface."
# Automatic translation.
new "Springt zu einem späteren Dialog vor und aktiviert die Schnittstelle."
# screens.rpy:1078
old "Roll back to earlier dialogue."
new "Roll back to earlier dialogue."
# Automatic translation.
new "Springt zu einem früheren Dialog zurück."
# screens.rpy:1081
old "Right Shoulder"
new "Right Shoulder"
# Automatic translation.
new "Rechte Schulter"
# screens.rpy:1082
old "Roll forward to later dialogue."
new "Roll forward to later dialogue."
new "Spult zu einem späteren Dialog vor."
# screens.rpy:1085
old "D-Pad, Sticks"
@@ -527,31 +588,36 @@ translate german strings:
# screens.rpy:1089
old "Start, Guide"
new "Start, Guide"
# Automatic translation.
new "Start, Leitfaden"
# screens.rpy:1090
old "Access the game menu."
new "Access the game menu."
new "Ruft das Spielmenü auf."
# screens.rpy:1093
old "Y/Top Button"
new "Y/Top Button"
# Automatic translation.
new "Y/Top-Taste"
# screens.rpy:1096
old "Calibrate"
new "Calibrate"
# Automatic translation.
new "Kalibrieren"
# screens.rpy:1124
old "## Additional screens"
new "## Additional screens"
# Automatic translation.
new "## Zusätzliche Bildschirme"
# screens.rpy:1128
old "## Confirm screen"
new "## Confirm screen"
new "## Bestätigungs-Bildschirm"
# screens.rpy:1130
old "## The confirm screen is called when Ren'Py wants to ask the player a yes or no question."
new "## The confirm screen is called when Ren'Py wants to ask the player a yes or no question."
# Automatic translation.
new "## Der Bestätigungsbildschirm wird aufgerufen, wenn Ren'Py dem Spieler eine Ja- oder Nein-Frage stellen will."
# screens.rpy:1133
old "## http://www.renpy.org/doc/html/screen_special.html#confirm"
@@ -559,7 +625,8 @@ translate german strings:
# screens.rpy:1137
old "## Ensure other screens do not get input while this screen is displayed."
new "## Ensure other screens do not get input while this screen is displayed."
# Automatic translation.
new "## Stell sicher, dass andere Bildschirme keine Eingaben erhalten, während dieser Bildschirm angezeigt wird."
# screens.rpy:1161
old "Yes"
@@ -571,15 +638,17 @@ translate german strings:
# screens.rpy:1164
old "## Right-click and escape answer \"no\"."
new "## Right-click and escape answer \"no\"."
new "## Ein Rechtsklick oder [ESC] beantworten jeweils mit \"Nein\"."
# screens.rpy:1191
old "## Skip indicator screen"
new "## Skip indicator screen"
# Automatic translation.
new "## Vorspul-Symbol Bildschirm"
# screens.rpy:1193
old "## The skip_indicator screen is displayed to indicate that skipping is in progress."
new "## The skip_indicator screen is displayed to indicate that skipping is in progress."
# Automatic translation.
new "## Der Bildschirm skip_indicator wird angezeigt, um zu signalisieren, dass das Überspringen im Gange ist."
# screens.rpy:1196
old "## https://www.renpy.org/doc/html/screen_special.html#skip-indicator"
@@ -587,19 +656,21 @@ translate german strings:
# screens.rpy:1208
old "Skipping"
new "Skipping"
new "Vorspulen"
# screens.rpy:1215
old "## This transform is used to blink the arrows one after another."
new "## This transform is used to blink the arrows one after another."
new "## Dieses Transform wird verwendet, um die Pfeile nacheinander blinken zu lassen."
# screens.rpy:1247
old "## Notify screen"
new "## Notify screen"
# Automatic translation.
new "## Benachrichtigungsbildschirm"
# screens.rpy:1249
old "## The notify screen is used to show the player a message. (For example, when the game is quicksaved or a screenshot has been taken.)"
new "## The notify screen is used to show the player a message. (For example, when the game is quicksaved or a screenshot has been taken.)"
# Automatic translation.
new "## Der Benachrichtigungsbildschirm wird verwendet, um dem Spieler eine Nachricht anzuzeigen. (Zum Beispiel, wenn das Spiel schnell gespeichert wird oder ein Screenshot gemacht wurde)."
# screens.rpy:1252
old "## https://www.renpy.org/doc/html/screen_special.html#notify-screen"
@@ -607,11 +678,13 @@ translate german strings:
# screens.rpy:1286
old "## NVL screen"
new "## NVL screen"
# Automatic translation.
new "## NVL-Bildschirm"
# screens.rpy:1288
old "## This screen is used for NVL-mode dialogue and menus."
new "## This screen is used for NVL-mode dialogue and menus."
# Automatic translation.
new "## Dieser Bildschirm wird für den Dialog und die Menüs im NVL-Modus verwendet."
# screens.rpy:1290
old "## http://www.renpy.org/doc/html/screen_special.html#nvl"
@@ -619,25 +692,153 @@ translate german strings:
# screens.rpy:1301
old "## Displays dialogue in either a vpgrid or the vbox."
new "## Displays dialogue in either a vpgrid or the vbox."
# Automatic translation.
new "## Zeigt den Dialog entweder in einem vpgrid oder in der vbox an."
# screens.rpy:1314
old "## Displays the menu, if given. The menu may be displayed incorrectly if config.narrator_menu is set to True, as it is above."
new "## Displays the menu, if given. The menu may be displayed incorrectly if config.narrator_menu is set to True, as it is above."
# Automatic translation.
new "## Zeigt das Menü an, falls vorhanden. Das Menü kann falsch angezeigt werden, wenn config.narrator_menu auf True gesetzt ist, wie es oben der Fall ist."
# screens.rpy:1344
old "## This controls the maximum number of NVL-mode entries that can be displayed at once."
new "## This controls the maximum number of NVL-mode entries that can be displayed at once."
# Automatic translation.
new "## Dies steuert die maximale Anzahl der Einträge im NVL-Modus, die gleichzeitig angezeigt werden können."
# screens.rpy:1406
old "## Mobile Variants"
new "## Mobile Variants"
new "## Varianten für Mobilgeräte"
# screens.rpy:1413
old "## Since a mouse may not be present, we replace the quick menu with a version that uses fewer and bigger buttons that are easier to touch."
new "## Since a mouse may not be present, we replace the quick menu with a version that uses fewer and bigger buttons that are easier to touch."
# Automatic translation.
new "## Da eine Maus möglicherweise nicht vorhanden ist, ersetzen wir das Schnellmenü durch eine Version mit weniger und größeren Tasten, die leichter zu berühren sind."
# screens.rpy:1429
old "Menu"
new "Menu"
# Automatic translation.
new "Menü"
translate german strings:
# gui/game/screens.rpy:114
old "## If there's a side image, display it above the text. Do not display on the phone variant - there's no room."
# Automatic translation.
new "## Wenn es ein Seitenbild gibt, wird es über dem Text angezeigt. Allerdings nicht auf der Smartphone-Variante - dort ist kein Platz."
# gui/game/screens.rpy:120
old "## Make the namebox available for styling through the Character object."
new "## Macht das Namensfeld für die Gestaltung durch das Character-Objekt verfügbar."
# gui/game/screens.rpy:173
old "## https://www.renpy.org/doc/html/screen_special.html#input"
new "## https://www.renpy.org/doc/html/screen_special.html#input"
# gui/game/screens.rpy:206
old "## https://www.renpy.org/doc/html/screen_special.html#choice"
new "## https://www.renpy.org/doc/html/screen_special.html#choice"
# gui/game/screens.rpy:241
old "## Ensure this appears on top of other screens."
new "## Stellt sicher, dass dies vor allen anderen Bildschirmen erscheint."
# gui/game/screens.rpy:280
old "## Main and Game Menu Screens"
# Automatic translation.
new "## Haupt- und Spielmenü-Bildschirme"
# gui/game/screens.rpy:329
old "## The quit button is banned on iOS and unnecessary on Android and Web."
# Automatic translation.
new "## Die Beenden-Schaltfläche ist auf iOS verboten und auf Android und Web unnötig."
# gui/game/screens.rpy:348
old "## https://www.renpy.org/doc/html/screen_special.html#main-menu"
new "## https://www.renpy.org/doc/html/screen_special.html#main-menu"
# gui/game/screens.rpy:352
old "## This ensures that any other menu screen is replaced."
# Automatic translation.
new "## Dadurch wird sichergestellt, dass jeder andere Menübildschirm ersetzt wird."
# gui/game/screens.rpy:357
old "## This empty frame darkens the main menu."
# Automatic translation.
new "## Dieser leere Rahmen verdunkelt das Hauptmenü."
# gui/game/screens.rpy:429
old "## Reserve space for the navigation section."
new "## Reserviert Platz für den Navigationsbereich."
# gui/game/screens.rpy:608
old "## The page name, which can be edited by clicking on a button."
# Automatic translation.
new "## Der Seitenname, der durch Klicken auf eine Schaltfläche bearbeitet werden kann."
# gui/game/screens.rpy:668
old "## range(1, 10) gives the numbers from 1 to 9."
# Automatic translation.
new "## range(1, 10) liefert die Zahlen von 1 bis 9."
# gui/game/screens.rpy:676
old "Upload Sync"
# Automatic translation.
new "Sync hochladen"
# gui/game/screens.rpy:680
old "Download Sync"
# Automatic translation.
new "Sync herunterladen"
# gui/game/screens.rpy:921
old "## This determines what tags are allowed to be displayed on the history screen."
new "## Hier wird festgelegt, welche Tags auf dem Verlaufsbildschirm angezeigt werden dürfen."
# gui/game/screens.rpy:1049
old "Opens the accessibility menu."
# Automatic translation.
new "Öffnet das Menü Barrierefreiheit."
# gui/game/screens.rpy:1082
old "Left Trigger\nLeft Shoulder"
# Automatic translation.
new "Linker Auslöser\nLinke Schulter"
# gui/game/screens.rpy:1139
old "## https://www.renpy.org/doc/html/screen_special.html#confirm"
new "## https://www.renpy.org/doc/html/screen_special.html#confirm"
# gui/game/screens.rpy:1248
old "## We have to use a font that has the BLACK RIGHT-POINTING SMALL TRIANGLE glyph in it."
new "## Wir müssen eine Schriftart verwenden, die die Glyphe BLACK RIGHT-POINTING SMALL TRIANGLE enthält."
# gui/game/screens.rpy:1296
old "## https://www.renpy.org/doc/html/screen_special.html#nvl"
new "## https://www.renpy.org/doc/html/screen_special.html#nvl"
# gui/game/screens.rpy:1320
old "## Displays the menu, if given. The menu may be displayed incorrectly if config.narrator_menu is set to True."
# Automatic translation.
new "## Zeigt das Menü an, falls vorhanden. Das Menü wird möglicherweise nicht korrekt angezeigt, wenn config.narrator_menu auf True gesetzt ist."
# gui/game/screens.rpy:1410
old "## Bubble screen"
new "## Sprechblasen-Bildschirm"
# gui/game/screens.rpy:1412
old "## The bubble screen is used to display dialogue to the player when using speech bubbles. The bubble screen takes the same parameters as the say screen, must create a displayable with the id of \"what\", and can create displayables with the \"namebox\", \"who\", and \"window\" ids."
# Automatic translation.
new "## Der Sprechblasenbildschirm wird verwendet, um dem Spieler einen Dialog anzuzeigen, wenn Sprechblasen verwendet werden. Er benötigt die gleichen Parameter wie der Dialog-Bildschirm, muss ein Displayable mit der Id \"what\" erstellen und kann Displayables mit den Ids \"namebox\", \"who\" und \"window\" erstellen."
# gui/game/screens.rpy:1417
old "## https://www.renpy.org/doc/html/bubble.html#bubble-screen"
new "## https://www.renpy.org/doc/html/bubble.html#bubble-screen"
translate german strings:
# gui/game/screens.rpy:411
old "## The scroll parameter can be None, or one of \"viewport\" or \"vpgrid\". This screen is intended to be used with one or more children, which are transcluded (placed) inside it."
new "## Der Parameter scroll kann None oder einer der Parameter \"viewport\" oder \"vpgrid\" sein. Dieser Bildschirm sollte mit einem oder mehreren Unterobjekten verwendet werden, die in ihn eingeschlossen (platziert) werden."
+4 -5
View File
@@ -1,17 +1,16 @@
# Sie können das Skript Ihres Spiels in dieser Datei platzieren.
# Du kannst das Skript für Dein Spiel in diese Datei schreiben.
# Bestimmen Sie Grafiken unterhalb dieser Zeile, indem Sie die "Image-Statements" verwenden.
# Unterhalb dieser Zeile kannst Du Bilder definieren, indem Du das Wort "image" verwendest
# z. B. image eileen happy = "eileen_happy.png"
# Bestimmen Sie Charaktere, die in diesem Spiel verwendet werden.
# Erstelle hier Charaktere, die in Deinem Spiel auftauchen werden
define e = Character('Eileen', color="#c8ffc8")
# Hier beginnt das Spiel.
label start:
e "Du hast ein neues Ren'Py Spiel erstellt."
e "Sobald du eine Geschichte, Bilder und Musik hinzufügst, kannst du es für alle veröffentlichen!"
e "Sobald Du eine Geschichte, Bilder und Musik hinzufügst, kannst Du es für alle veröffentlichen!"
return
+654 -3
View File
@@ -199,7 +199,8 @@ translate greek strings:
# 00gui.rpy:236
old "Are you sure you want to skip unseen dialogue to the next choice?"
new "Are you sure you want to skip unseen dialogue to the next choice?"
# Automatic translation.
new "Είστε σίγουροι ότι θέλετε να παραλείψετε τον αθέατο διάλογο για την επόμενη επιλογή;"
# 00keymap.rpy:250
old "Saved screenshot as %s."
@@ -223,7 +224,8 @@ translate greek strings:
# 00library.rpy:262
old "This program contains free software under a number of licenses, including the MIT License and GNU Lesser General Public License. A complete list of software, including links to full source code, can be found {a=https://www.renpy.org/l/license}here{/a}."
new "This program contains free software under a number of licenses, including the MIT License and GNU Lesser General Public License. A complete list of software, including links to full source code, can be found {a=https://www.renpy.org/l/license}here{/a}."
# Automatic translation.
new "Αυτό το πρόγραμμα περιέχει ελεύθερο λογισμικό υπό διάφορες άδειες χρήσης, συμπεριλαμβανομένης της Άδειας MIT και της Άδειας GNU Lesser General Public License. Ένας πλήρης κατάλογος του λογισμικού, συμπεριλαμβανομένων των συνδέσμων προς τον πλήρη πηγαίο κώδικα, μπορεί να βρεθεί {a=https://www.renpy.org/l/license}εδώ{/a}."
# 00preferences.rpy:422
old "Clipboard voicing enabled. Press 'shift+C' to disable."
@@ -239,7 +241,8 @@ translate greek strings:
# 00iap.rpy:217
old "Contacting App Store\nPlease Wait..."
new "Contacting App Store\nPlease Wait..."
# Automatic translation.
new "Επικοινωνία με το App Store\nΠαρακαλώ περιμένετε..."
# 00updater.rpy:367
old "The Ren'Py Updater is not supported on mobile devices."
@@ -333,3 +336,651 @@ translate greek strings:
old "return"
new "επιστροφή"
translate greek strings:
# renpy/common/00accessibility.rpy:32
old "bar"
# Automatic translation.
new "μπαρ"
# renpy/common/00accessibility.rpy:33
old "selected"
# Automatic translation.
new "επιλεγμένο"
# renpy/common/00accessibility.rpy:34
old "viewport"
# Automatic translation.
new "παράθυρο προβολής"
# renpy/common/00accessibility.rpy:35
old "horizontal scroll"
# Automatic translation.
new "οριζόντια κύλιση"
# renpy/common/00accessibility.rpy:36
old "vertical scroll"
# Automatic translation.
new "κατακόρυφη κύλιση"
# renpy/common/00accessibility.rpy:37
old "activate"
# Automatic translation.
new "ενεργοποιήστε το"
# renpy/common/00accessibility.rpy:38
old "deactivate"
# Automatic translation.
new "απενεργοποίηση"
# renpy/common/00accessibility.rpy:39
old "increase"
# Automatic translation.
new "αύξηση"
# renpy/common/00accessibility.rpy:40
old "decrease"
# Automatic translation.
new "μείωση"
# renpy/common/00accessibility.rpy:138
old "Font Override"
# Automatic translation.
new "Παράκαμψη γραμματοσειράς"
# renpy/common/00accessibility.rpy:142
old "Default"
# Automatic translation.
new "Προεπιλογή"
# renpy/common/00accessibility.rpy:146
old "DejaVu Sans"
new "DejaVu Sans"
# renpy/common/00accessibility.rpy:150
old "Opendyslexic"
new "Opendyslexic"
# renpy/common/00accessibility.rpy:156
old "Text Size Scaling"
# Automatic translation.
new "Κλιμάκωση μεγέθους κειμένου"
# renpy/common/00accessibility.rpy:162
old "Reset"
# Automatic translation.
new "Επαναφορά"
# renpy/common/00accessibility.rpy:168
old "Line Spacing Scaling"
# Automatic translation.
new "Απόσταση γραμμής Κλιμάκωση"
# renpy/common/00accessibility.rpy:180
old "High Contrast Text"
# Automatic translation.
new "Κείμενο υψηλής αντίθεσης"
# renpy/common/00accessibility.rpy:193
old "Self-Voicing"
# Automatic translation.
new "Αυτο-ομιλία"
# renpy/common/00accessibility.rpy:197
old "Off"
new "Off"
# renpy/common/00accessibility.rpy:201
old "Text-to-speech"
# Automatic translation.
new "Μετατροπή κειμένου σε ομιλία"
# renpy/common/00accessibility.rpy:205
old "Clipboard"
# Automatic translation.
new "Πρόχειρο"
# renpy/common/00accessibility.rpy:209
old "Debug"
# Automatic translation.
new "Αποσφαλμάτωση"
# renpy/common/00accessibility.rpy:223
old "Self-Voicing Volume Drop"
# Automatic translation.
new "Πτώση όγκου αυτο-ομιλίας"
# renpy/common/00accessibility.rpy:234
old "The options on this menu are intended to improve accessibility. They may not work with all games, and some combinations of options may render the game unplayable. This is not an issue with the game or engine. For the best results when changing fonts, try to keep the text size the same as it originally was."
# Automatic translation.
new "Οι επιλογές σε αυτό το μενού αποσκοπούν στη βελτίωση της προσβασιμότητας. Ενδέχεται να μην λειτουργούν με όλα τα παιχνίδια και ορισμένοι συνδυασμοί επιλογών ενδέχεται να καταστήσουν το παιχνίδι μη αναπαραγώγιμο. Αυτό δεν αποτελεί πρόβλημα με το παιχνίδι ή τη μηχανή. Για καλύτερα αποτελέσματα κατά την αλλαγή των γραμματοσειρών, προσπαθήστε να διατηρήσετε το μέγεθος του κειμένου στο ίδιο μέγεθος με το αρχικό."
# renpy/common/00action_file.rpy:378
old "Save slot %s: [text]"
# Automatic translation.
new "Αποθήκευση υποδοχής %s: [text]"
# renpy/common/00action_file.rpy:461
old "Load slot %s: [text]"
# Automatic translation.
new "Φορτώστε την υποδοχή %s: [text]"
# renpy/common/00action_file.rpy:514
old "Delete slot [text]"
# Automatic translation.
new "Διαγραφή υποδοχής [text]"
# renpy/common/00action_file.rpy:593
old "File page auto"
# Automatic translation.
new "Αυτόματη σελίδα αρχείου"
# renpy/common/00action_file.rpy:595
old "File page quick"
# Automatic translation.
new "Σελίδα αρχείου γρήγορη"
# renpy/common/00action_file.rpy:597
old "File page [text]"
# Automatic translation.
new "Σελίδα αρχείου [text]"
# renpy/common/00action_file.rpy:796
old "Next file page."
# Automatic translation.
new "Επόμενη σελίδα αρχείου."
# renpy/common/00action_file.rpy:868
old "Previous file page."
# Automatic translation.
new "Προηγούμενη σελίδα αρχείου."
# renpy/common/00action_file.rpy:944
old "Quick save."
# Automatic translation.
new "Γρήγορη αποθήκευση."
# renpy/common/00action_file.rpy:963
old "Quick load."
# Automatic translation.
new "Γρήγορη φόρτωση."
# renpy/common/00action_other.rpy:381
old "Language [text]"
# Automatic translation.
new "Γλώσσα [text]"
# renpy/common/00director.rpy:705
old "The interactive director is not enabled here."
# Automatic translation.
new "Ο διαδραστικός σκηνοθέτης δεν είναι ενεργοποιημένος εδώ."
# renpy/common/00director.rpy:1504
old "⬆"
new "⬆"
# renpy/common/00director.rpy:1510
old "⬇"
new "⬇"
# renpy/common/00director.rpy:1574
old "Done"
# Automatic translation.
new "Έγινε"
# renpy/common/00director.rpy:1584
old "(statement)"
# Automatic translation.
new "(δήλωση)"
# renpy/common/00director.rpy:1585
old "(tag)"
# Automatic translation.
new "(ετικέτα)"
# renpy/common/00director.rpy:1586
old "(attributes)"
# Automatic translation.
new "(χαρακτηριστικά)"
# renpy/common/00director.rpy:1587
old "(transform)"
new "(transform)"
# renpy/common/00director.rpy:1612
old "(transition)"
new "(transition)"
# renpy/common/00director.rpy:1624
old "(channel)"
# Automatic translation.
new "(κανάλι)"
# renpy/common/00director.rpy:1625
old "(filename)"
# Automatic translation.
new "(όνομα αρχείου)"
# renpy/common/00director.rpy:1654
old "Change"
# Automatic translation.
new "Αλλαγή"
# renpy/common/00director.rpy:1656
old "Add"
# Automatic translation.
new "Προσθέστε"
# renpy/common/00director.rpy:1662
old "Remove"
# Automatic translation.
new "Αφαιρέστε το"
# renpy/common/00director.rpy:1697
old "Statement:"
# Automatic translation.
new "Δήλωση:"
# renpy/common/00director.rpy:1718
old "Tag:"
# Automatic translation.
new "Ετικέτα:"
# renpy/common/00director.rpy:1734
old "Attributes:"
# Automatic translation.
new "Χαρακτηριστικά:"
# renpy/common/00director.rpy:1745
old "Click to toggle attribute, right click to toggle negative attribute."
# Automatic translation.
new "Κάντε κλικ για εναλλαγή χαρακτηριστικών, δεξί κλικ για εναλλαγή αρνητικών χαρακτηριστικών."
# renpy/common/00director.rpy:1757
old "Transforms:"
# Automatic translation.
new "Μετασχηματισμοί:"
# renpy/common/00director.rpy:1768
old "Click to set transform, right click to add to transform list."
# Automatic translation.
new "Κάντε κλικ για να ορίσετε μετασχηματισμό, κάντε δεξί κλικ για να προσθέσετε στη λίστα μετασχηματισμών."
# renpy/common/00director.rpy:1780
old "Behind:"
# Automatic translation.
new "Πίσω:"
# renpy/common/00director.rpy:1789
old "Click to set, right click to add to behind list."
# Automatic translation.
new "Κάντε κλικ για να ορίσετε, κάντε δεξί κλικ για να προσθέσετε στη λίστα πίσω."
# renpy/common/00director.rpy:1801
old "Transition:"
# Automatic translation.
new "Μετάβαση:"
# renpy/common/00director.rpy:1819
old "Channel:"
# Automatic translation.
new "Κανάλι:"
# renpy/common/00director.rpy:1837
old "Audio Filename:"
# Automatic translation.
new "Όνομα αρχείου ήχου:"
# renpy/common/00gui.rpy:456
old "This save was created on a different device. Maliciously constructed save files can harm your computer. Do you trust this save's creator and everyone who could have changed the file?"
# Automatic translation.
new "Αυτή η αποθήκευση δημιουργήθηκε σε διαφορετική συσκευή. Τα κακόβουλα κατασκευασμένα αρχεία αποθήκευσης μπορούν να βλάψουν τον υπολογιστή σας. Εμπιστεύεστε τον δημιουργό αυτής της αποθήκευσης και όλους όσους θα μπορούσαν να έχουν αλλάξει το αρχείο;"
# renpy/common/00gui.rpy:457
old "Do you trust the device the save was created on? You should only choose yes if you are the device's sole user."
# Automatic translation.
new "Εμπιστεύεστε τη συσκευή στην οποία δημιουργήθηκε η αποθήκευση; Θα πρέπει να επιλέξετε ναι μόνο αν είστε ο μοναδικός χρήστης της συσκευής."
# renpy/common/00keymap.rpy:322
old "Failed to save screenshot as %s."
# Automatic translation.
new "Απέτυχε η αποθήκευση στιγμιότυπου οθόνης ως %s."
# renpy/common/00preferences.rpy:271
old "display"
# Automatic translation.
new "οθόνη"
# renpy/common/00preferences.rpy:283
old "transitions"
# Automatic translation.
new "μεταβάσεις"
# renpy/common/00preferences.rpy:292
old "skip transitions"
# Automatic translation.
new "παράλειψη μεταβάσεων"
# renpy/common/00preferences.rpy:294
old "video sprites"
# Automatic translation.
new "sprites βίντεο"
# renpy/common/00preferences.rpy:303
old "show empty window"
# Automatic translation.
new "Εμφάνιση κενού παραθύρου"
# renpy/common/00preferences.rpy:312
old "text speed"
# Automatic translation.
new "ταχύτητα κειμένου"
# renpy/common/00preferences.rpy:320
old "joystick"
new "joystick"
# renpy/common/00preferences.rpy:320
old "joystick..."
new "joystick..."
# renpy/common/00preferences.rpy:327
old "skip"
# Automatic translation.
new "παράλειψη"
# renpy/common/00preferences.rpy:330
old "skip unseen [text]"
new "skip unseen [text]"
# renpy/common/00preferences.rpy:335
old "skip unseen text"
# Automatic translation.
new "παράλειψη αθέατου κειμένου"
# renpy/common/00preferences.rpy:337
old "begin skipping"
# Automatic translation.
new "αρχίστε να παραλείπετε"
# renpy/common/00preferences.rpy:341
old "after choices"
# Automatic translation.
new "μετά από επιλογές"
# renpy/common/00preferences.rpy:348
old "skip after choices"
# Automatic translation.
new "skip μετά από επιλογές"
# renpy/common/00preferences.rpy:350
old "auto-forward time"
# Automatic translation.
new "χρόνος αυτόματης προώθησης"
# renpy/common/00preferences.rpy:364
old "auto-forward"
# Automatic translation.
new "αυτόματη προώθηση"
# renpy/common/00preferences.rpy:371
old "Auto forward"
# Automatic translation.
new "Αυτόματη προώθηση"
# renpy/common/00preferences.rpy:374
old "auto-forward after click"
# Automatic translation.
new "αυτόματη προώθηση μετά από κλικ"
# renpy/common/00preferences.rpy:383
old "automatic move"
# Automatic translation.
new "αυτόματη κίνηση"
# renpy/common/00preferences.rpy:392
old "wait for voice"
# Automatic translation.
new "περιμένετε τη φωνή"
# renpy/common/00preferences.rpy:401
old "voice sustain"
# Automatic translation.
new "διατήρηση της φωνής"
# renpy/common/00preferences.rpy:410
old "self voicing"
# Automatic translation.
new "αυτοφωνητική"
# renpy/common/00preferences.rpy:419
old "self voicing volume drop"
# Automatic translation.
new "πτώση όγκου αυτοφωνήματος"
# renpy/common/00preferences.rpy:427
old "clipboard voicing"
# Automatic translation.
new "εκφώνηση με πρόχειρο"
# renpy/common/00preferences.rpy:436
old "debug voicing"
new "debug voicing"
# renpy/common/00preferences.rpy:445
old "emphasize audio"
# Automatic translation.
new "δώστε έμφαση στον ήχο"
# renpy/common/00preferences.rpy:454
old "rollback side"
# Automatic translation.
new "πλευρά επαναφοράς"
# renpy/common/00preferences.rpy:464
old "gl powersave"
new "gl powersave"
# renpy/common/00preferences.rpy:470
old "gl framerate"
new "gl framerate"
# renpy/common/00preferences.rpy:473
old "gl tearing"
new "gl tearing"
# renpy/common/00preferences.rpy:476
old "font transform"
# Automatic translation.
new "μετασχηματισμός γραμματοσειράς"
# renpy/common/00preferences.rpy:479
old "font size"
# Automatic translation.
new "μέγεθος γραμματοσειράς"
# renpy/common/00preferences.rpy:487
old "font line spacing"
# Automatic translation.
new "απόσταση γραμμών γραμματοσειράς"
# renpy/common/00preferences.rpy:495
old "system cursor"
# Automatic translation.
new "δρομέας συστήματος"
# renpy/common/00preferences.rpy:504
old "renderer menu"
# Automatic translation.
new "μενού renderer"
# renpy/common/00preferences.rpy:507
old "accessibility menu"
# Automatic translation.
new "μενού προσβασιμότητας"
# renpy/common/00preferences.rpy:510
old "high contrast text"
# Automatic translation.
new "κείμενο υψηλής αντίθεσης"
# renpy/common/00preferences.rpy:519
old "audio when minimized"
# Automatic translation.
new "ήχος όταν ελαχιστοποιείται"
# renpy/common/00preferences.rpy:528
old "audio when unfocused"
# Automatic translation.
new "ήχος όταν δεν είναι εστιασμένος"
# renpy/common/00preferences.rpy:537
old "web cache preload"
# Automatic translation.
new "προφόρτωση της προσωρινής μνήμης web"
# renpy/common/00preferences.rpy:552
old "voice after game menu"
# Automatic translation.
new "φωνή μετά το μενού του παιχνιδιού"
# renpy/common/00preferences.rpy:571
old "main volume"
# Automatic translation.
new "κύριος όγκος"
# renpy/common/00preferences.rpy:572
old "music volume"
# Automatic translation.
new "ένταση της μουσικής"
# renpy/common/00preferences.rpy:573
old "sound volume"
# Automatic translation.
new "ένταση ήχου"
# renpy/common/00preferences.rpy:574
old "voice volume"
# Automatic translation.
new "ένταση φωνής"
# renpy/common/00preferences.rpy:575
old "mute main"
new "mute main"
# renpy/common/00preferences.rpy:576
old "mute music"
# Automatic translation.
new "σίγαση μουσικής"
# renpy/common/00preferences.rpy:577
old "mute sound"
# Automatic translation.
new "σίγαση ήχου"
# renpy/common/00preferences.rpy:578
old "mute voice"
# Automatic translation.
new "σίγαση φωνής"
# renpy/common/00preferences.rpy:579
old "mute all"
# Automatic translation.
new "σίγαση όλων"
# renpy/common/00speechbubble.rpy:344
old "Speech Bubble Editor"
# Automatic translation.
new "Επεξεργαστής φυσαλίδων ομιλίας"
# renpy/common/00speechbubble.rpy:349
old "(hide)"
# Automatic translation.
new "(απόκρυψη)"
# renpy/common/00sync.rpy:70
old "Sync downloaded."
# Automatic translation.
new "Συγχρονισμός κατεβάσει."
# renpy/common/00sync.rpy:190
old "Could not connect to the Ren'Py Sync server."
# Automatic translation.
new "Δεν ήταν δυνατή η σύνδεση με τον διακομιστή Ren'Py Sync."
# renpy/common/00sync.rpy:192
old "The Ren'Py Sync server timed out."
# Automatic translation.
new "Ο διακομιστής Ren'Py Sync έπαψε να λειτουργεί."
# renpy/common/00sync.rpy:194
old "An unknown error occurred while connecting to the Ren'Py Sync server."
# Automatic translation.
new "Προέκυψε άγνωστο σφάλμα κατά τη σύνδεση με τον διακομιστή Ren'Py Sync."
# renpy/common/00sync.rpy:267
old "The Ren'Py Sync server does not have a copy of this sync. The sync ID may be invalid, or it may have timed out."
# Automatic translation.
new "Ο διακομιστής Ren'Py Sync δεν έχει αντίγραφο αυτού του συγχρονισμού. Το αναγνωριστικό συγχρονισμού μπορεί να είναι άκυρο ή να έχει λήξει."
# renpy/common/00sync.rpy:409
old "Please enter the sync ID you generated.\nNever enter a sync ID you didn't create yourself."
# Automatic translation.
new "Εισάγετε το αναγνωριστικό συγχρονισμού που δημιουργήσατε.\nΠοτέ μην εισάγετε ένα αναγνωριστικό συγχρονισμού που δεν έχετε δημιουργήσει εσείς."
# renpy/common/00sync.rpy:428
old "The sync ID is not in the correct format."
# Automatic translation.
new "Το αναγνωριστικό συγχρονισμού δεν έχει τη σωστή μορφή."
# renpy/common/00sync.rpy:448
old "The sync could not be decrypted."
# Automatic translation.
new "Ο συγχρονισμός δεν μπόρεσε να αποκρυπτογραφηθεί."
# renpy/common/00sync.rpy:471
old "The sync belongs to a different game."
# Automatic translation.
new "Ο συγχρονισμός ανήκει σε διαφορετικό παιχνίδι."
# renpy/common/00sync.rpy:476
old "The sync contains a file with an invalid name."
# Automatic translation.
new "Ο συγχρονισμός περιέχει ένα αρχείο με μη έγκυρο όνομα."
# renpy/common/00sync.rpy:529
old "This will upload your saves to the {a=https://sync.renpy.org}Ren'Py Sync Server{/a}.\nDo you want to continue?"
# Automatic translation.
new "Αυτό θα μεταφορτώσει τις αποθηκεύσεις σας στον {a=https://sync.renpy.org}Ren'Py Sync Server{/a}.\nΘέλετε να συνεχίσετε;"
# renpy/common/00sync.rpy:558
old "Enter Sync ID"
# Automatic translation.
new "Εισάγετε το αναγνωριστικό συγχρονισμού"
# renpy/common/00sync.rpy:569
old "This will contact the {a=https://sync.renpy.org}Ren'Py Sync Server{/a}."
# Automatic translation.
new "Αυτό θα επικοινωνήσει με τον διακομιστή συγχρονισμού {a=https://sync.renpy.org}Ren'Py{/a}."
# renpy/common/00sync.rpy:596
old "Sync Success"
# Automatic translation.
new "Επιτυχία συγχρονισμού"
# renpy/common/00sync.rpy:599
old "The Sync ID is:"
# Automatic translation.
new "Το αναγνωριστικό συγχρονισμού είναι:"
# renpy/common/00sync.rpy:605
old "You can use this ID to download your save on another device.\nThis sync will expire in an hour.\nRen'Py Sync is supported by {a=https://www.renpy.org/sponsors.html}Ren'Py's Sponsors{/a}."
# Automatic translation.
new "Μπορείτε να χρησιμοποιήσετε αυτό το αναγνωριστικό για να κατεβάσετε την αποθήκευσή σας σε άλλη συσκευή.\nΑυτός ο συγχρονισμός θα λήξει σε μία ώρα.\nΤο Ren'Py Sync υποστηρίζεται από το {a=https://www.renpy.org/sponsors.html}Ren'Py's Sponsors{/a}."
# renpy/common/00sync.rpy:631
old "Sync Error"
# Automatic translation.
new "Σφάλμα συγχρονισμού"
+109 -1
View File
@@ -75,7 +75,8 @@ translate greek strings:
# _developer/developer.rpym:532
old "\n{color=#cfc}✔ predicted image (good){/color}\n{color=#fcc}✘ unpredicted image (bad){/color}\n{color=#fff}Drag to move.{/color}"
new "\n{color=#cfc}✔ predicted image (good){/color}\n{color=#fcc}✘ unpredicted image (bad){/color}\n{color=#fff}Drag to move.{/color}"
# Automatic translation.
new "\n{color=#cfc}✔ προβλεπόμενη εικόνα (καλή){/color}\n{color=#fcc}✘ απρόβλεπτη εικόνα (κακή){/color}\n{color=#fff}Σύρετε για να μετακινηθείτε.{/color}"
# _developer/inspector.rpym:38
old "Displayable Inspector"
@@ -177,3 +178,110 @@ translate greek strings:
old "jump <label>: jumps to label"
new "jump <label>: μεταπηδάει την εκτέλεση κώδικα στην ετικέτα label"
translate greek strings:
# renpy/common/_developer/developer.rpym:43
old "Interactive Director (D)"
# Automatic translation.
new "Διευθυντής διαδραστικότητας (D)"
# renpy/common/_developer/developer.rpym:51
old "Persistent Viewer"
# Automatic translation.
new "Επίμονη προβολή"
# renpy/common/_developer/developer.rpym:59
old "Show Image Load Log (F4)"
# Automatic translation.
new "Εμφάνιση αρχείου καταγραφής φόρτωσης εικόνας (F4)"
# renpy/common/_developer/developer.rpym:62
old "Hide Image Load Log (F4)"
# Automatic translation.
new "Απόκρυψη αρχείου καταγραφής φόρτωσης εικόνας (F4)"
# renpy/common/_developer/developer.rpym:65
old "Image Attributes"
# Automatic translation.
new "Χαρακτηριστικά εικόνας"
# renpy/common/_developer/developer.rpym:70
old "Speech Bubble Editor (Shift+B)"
# Automatic translation.
new "Επεξεργαστής φυσαλίδων ομιλίας (Shift+B)"
# renpy/common/_developer/developer.rpym:97
old "[name] [attributes] (hidden)"
# Automatic translation.
new "[name] [attributes] (κρυφό)"
# renpy/common/_developer/developer.rpym:101
old "[name] [attributes]"
new "[name] [attributes]"
# renpy/common/_developer/developer.rpym:162
old "Hide deleted"
# Automatic translation.
new "Απόκρυψη διαγράφεται"
# renpy/common/_developer/developer.rpym:162
old "Show deleted"
# Automatic translation.
new "Εμφάνιση διαγράφεται"
# renpy/common/_developer/developer.rpym:389
old "Type to filter: "
# Automatic translation.
new "Τύπος για φιλτράρισμα: "
# renpy/common/_developer/developer.rpym:507
old "Textures: [tex_count] ([tex_size_mb:.1f] MB)"
# Automatic translation.
new "Υφές: [tex_count] ([tex_size_mb:.1f] MB)"
# renpy/common/_developer/developer.rpym:511
old "Image cache: [cache_pct:.1f]% ([cache_size_mb:.1f] MB)"
# Automatic translation.
new "Κρυφή μνήμη εικόνων: [cache_pct:.1f]% ([cache_size_mb:.1f] MB)"
# renpy/common/00console.rpy:789
old "help: show this help\n help <expr>: show signature and documentation of <expr>"
# Automatic translation.
new "help: δείξτε αυτή τη βοήθεια\n help <expr>: Εμφάνιση της υπογραφής και της τεκμηρίωσης της <expr>"
# renpy/common/00console.rpy:813
old "Help may display undocumented functions. Please check that the function or\nclass you want to use is documented.\n\n"
# Automatic translation.
new "Η βοήθεια μπορεί να εμφανίζει μη τεκμηριωμένες λειτουργίες. Ελέγξτε ότι η λειτουργία ή η\nκλάση που θέλετε να χρησιμοποιήσετε είναι τεκμηριωμένη.\n\n"
# renpy/common/00console.rpy:854
old "stack: print the return stack"
# Automatic translation.
new "stack: εκτύπωση της στοίβας επιστροφής"
# renpy/common/00console.rpy:908
old "watch <expression>: watch a python expression\n watch short: makes the representation of traced expressions short (default)\n watch long: makes the representation of traced expressions as is"
# Automatic translation.
new "watch <expression>: παρακολουθήστε μια έκφραση python\n watch short: κάνει την αναπαράσταση των ανιχνευόμενων εκφράσεων σύντομη (προεπιλογή)\n watch long: κάνει την αναπαράσταση των ιχνηλατημένων εκφράσεων όπως είναι"
# renpy/common/00console.rpy:1028
old "short: Shorten the representation of objects on the console (default)."
# Automatic translation.
new "short: Συντομεύει την αναπαράσταση των αντικειμένων στην κονσόλα (προεπιλογή)."
# renpy/common/00console.rpy:1032
old "long: Print the full representation of objects on the console."
# Automatic translation.
new "long: Εκτύπωση της πλήρους αναπαράστασης των αντικειμένων στην κονσόλα."
# renpy/common/00console.rpy:1036
old "escape: Enables escaping of unicode symbols in unicode strings."
# Automatic translation.
new "escape: Ενεργοποιεί τη διαφυγή συμβόλων unicode σε συμβολοσειρές unicode."
# renpy/common/00console.rpy:1040
old "unescape: Disables escaping of unicode symbols in unicode strings and print it as is (default)."
# Automatic translation.
new "unescape: Απενεργοποιεί τη διαφυγή των συμβόλων unicode σε συμβολοσειρές unicode και την εκτύπωση ως έχει (προεπιλογή)."
+130
View File
@@ -177,3 +177,133 @@ translate greek strings:
old "Copies the errors.txt file to the clipboard."
new "Αντιγράφει το errors.txt στο clipboard."
translate greek strings:
# renpy/common/00gltest.rpy:89
old "Renderer"
new "Renderer"
# renpy/common/00gltest.rpy:100
old "Force GL Renderer"
new "Force GL Renderer"
# renpy/common/00gltest.rpy:105
old "Force ANGLE Renderer"
new "Force ANGLE Renderer"
# renpy/common/00gltest.rpy:110
old "Force GLES Renderer"
# Automatic translation.
new "Εξαναγκασμός GLES Renderer"
# renpy/common/00gltest.rpy:116
old "Force GL2 Renderer"
new "Force GL2 Renderer"
# renpy/common/00gltest.rpy:121
old "Force ANGLE2 Renderer"
# Automatic translation.
new "Δύναμη ANGLE2 Renderer"
# renpy/common/00gltest.rpy:126
old "Force GLES2 Renderer"
# Automatic translation.
new "Εξαναγκασμός GLES2 Renderer"
# renpy/common/00gltest.rpy:136
old "Enable (No Blocklist)"
# Automatic translation.
new "Ενεργοποίηση (Χωρίς λίστα αποκλεισμού)"
# renpy/common/00gltest.rpy:159
old "Powersave"
new "Powersave"
# renpy/common/00gltest.rpy:173
old "Framerate"
# Automatic translation.
new "Ταχύτητα καρέ"
# renpy/common/00gltest.rpy:177
old "Screen"
# Automatic translation.
new "Οθόνη"
# renpy/common/00gltest.rpy:181
old "60"
new "60"
# renpy/common/00gltest.rpy:185
old "30"
new "30"
# renpy/common/00gltest.rpy:191
old "Tearing"
new "Tearing"
# renpy/common/00gltest.rpy:249
old "This game requires use of GL2 that can't be initialised."
# Automatic translation.
new "Αυτό το παιχνίδι απαιτεί τη χρήση του GL2 που δεν μπορεί να αρχικοποιηθεί."
# renpy/common/00gltest.rpy:259
old "The {a=edit:1:log.txt}log.txt{/a} file may contain information to help you determine what is wrong with your computer."
# Automatic translation.
new "Το αρχείο {a=edit:1:log.txt}log.txt{/a} μπορεί να περιέχει πληροφορίες που θα σας βοηθήσουν να προσδιορίσετε τι συμβαίνει με τον υπολογιστή σας."
# renpy/common/00gltest.rpy:264
old "More details on how to fix this can be found in the {a=[url]}documentation{/a}."
# Automatic translation.
new "Περισσότερες λεπτομέρειες για το πώς να το διορθώσετε αυτό μπορείτε να βρείτε στην τεκμηρίωση {a=[url]}{/a} ."
# renpy/common/00gltest.rpy:281
old "Change render options"
# Automatic translation.
new "Αλλαγή επιλογών απόδοσης"
# renpy/common/00gamepad.rpy:58
old "Press or move the '[control!s]' [kind]."
# Automatic translation.
new "Πατήστε ή μετακινήστε το '[control!s]' [kind]."
# renpy/common/_errorhandling.rpym:555
old "Open"
# Automatic translation.
new "Ανοίξτε το"
# renpy/common/_errorhandling.rpym:559
old "Copy BBCode"
# Automatic translation.
new "Αντιγραφή κώδικα BBCode"
# renpy/common/_errorhandling.rpym:561
old "Copies the traceback.txt file to the clipboard as BBcode for forums like https://lemmasoft.renai.us/."
# Automatic translation.
new "Αντιγράφει το αρχείο traceback.txt στο πρόχειρο ως BBcode για φόρουμ όπως το https://lemmasoft.renai.us/."
# renpy/common/_errorhandling.rpym:563
old "Copy Markdown"
# Automatic translation.
new "Αντιγραφή Markdown"
# renpy/common/_errorhandling.rpym:565
old "Copies the traceback.txt file to the clipboard as Markdown for Discord."
# Automatic translation.
new "Αντιγράφει το αρχείο traceback.txt στο πρόχειρο ως Markdown για το Discord."
# renpy/common/_errorhandling.rpym:626
old "Ignores the exception, allowing you to continue."
# Automatic translation.
new "Αγνοεί την εξαίρεση, επιτρέποντάς σας να συνεχίσετε."
# renpy/common/_errorhandling.rpym:637
old "Console"
# Automatic translation.
new "Κονσόλα"
# renpy/common/_errorhandling.rpym:639
old "Opens a console to allow debugging the problem."
# Automatic translation.
new "Ανοίγει μια κονσόλα για να επιτρέψει την αποσφαλμάτωση του προβλήματος."
+268 -100
View File
@@ -3,267 +3,333 @@ translate greek strings:
# gui.rpy:2
old "## Initialization"
new "## Initialization"
# Automatic translation.
new "## Αρχικοποίηση"
# gui.rpy:5
old "## The init offset statement causes the init code in this file to run before init code in any other file."
new "## The init offset statement causes the init code in this file to run before init code in any other file."
# Automatic translation.
new "## Η εντολή offset init προκαλεί την εκτέλεση του κώδικα init αυτού του αρχείου πριν από τον κώδικα init οποιουδήποτε άλλου αρχείου."
# gui.rpy:9
old "## Calling gui.init resets the styles to sensible default values, and sets the width and height of the game."
new "## Calling gui.init resets the styles to sensible default values, and sets the width and height of the game."
# Automatic translation.
new "## Η κλήση του gui.init επαναφέρει τα στυλ στις λογικές προεπιλεγμένες τιμές και ορίζει το πλάτος και το ύψος του παιχνιδιού."
# gui.rpy:21
old "## Colors"
new "## Colors"
# Automatic translation.
new "## Χρώματα"
# gui.rpy:23
old "## The colors of text in the interface."
new "## The colors of text in the interface."
# Automatic translation.
new "## Τα χρώματα του κειμένου στη διεπαφή."
# gui.rpy:25
old "## An accent color used throughout the interface to label and highlight text."
new "## An accent color used throughout the interface to label and highlight text."
# Automatic translation.
new "## Ένα χρώμα έμφασης που χρησιμοποιείται σε όλη τη διασύνδεση για την επισήμανση και την υπογράμμιση του κειμένου."
# gui.rpy:29
old "## The color used for a text button when it is neither selected nor hovered."
new "## The color used for a text button when it is neither selected nor hovered."
# Automatic translation.
new "## Το χρώμα που χρησιμοποιείται για ένα κουμπί κειμένου όταν αυτό δεν είναι επιλεγμένο ούτε αιωρείται."
# gui.rpy:32
old "## The small color is used for small text, which needs to be brighter/darker to achieve the same effect."
new "## The small color is used for small text, which needs to be brighter/darker to achieve the same effect."
# Automatic translation.
new "## Το μικρό χρώμα χρησιμοποιείται για μικρό κείμενο, το οποίο πρέπει να είναι πιο φωτεινό/σκούρο για να επιτευχθεί το ίδιο αποτέλεσμα."
# gui.rpy:36
old "## The color that is used for buttons and bars that are hovered."
new "## The color that is used for buttons and bars that are hovered."
# Automatic translation.
new "## Το χρώμα που χρησιμοποιείται για τα κουμπιά και τις μπάρες που αιωρούνται."
# gui.rpy:39
old "## The color used for a text button when it is selected but not focused. A button is selected if it is the current screen or preference value."
new "## The color used for a text button when it is selected but not focused. A button is selected if it is the current screen or preference value."
# Automatic translation.
new "## Το χρώμα που χρησιμοποιείται για ένα κουμπί κειμένου όταν είναι επιλεγμένο αλλά όχι εστιασμένο. Ένα κουμπί είναι επιλεγμένο εάν είναι η τρέχουσα οθόνη ή η τιμή προτίμησης."
# gui.rpy:43
old "## The color used for a text button when it cannot be selected."
new "## The color used for a text button when it cannot be selected."
# Automatic translation.
new "## Το χρώμα που χρησιμοποιείται για ένα κουμπί κειμένου όταν αυτό δεν μπορεί να επιλεγεί."
# gui.rpy:46
old "## Colors used for the portions of bars that are not filled in. These are not used directly, but are used when re-generating bar image files."
new "## Colors used for the portions of bars that are not filled in. These are not used directly, but are used when re-generating bar image files."
# Automatic translation.
new "## Χρώματα που χρησιμοποιούνται για τα τμήματα των ράβδων που δεν είναι συμπληρωμένα. Αυτά δεν χρησιμοποιούνται άμεσα, αλλά χρησιμοποιούνται κατά την επαναδημιουργία αρχείων εικόνας ράβδων."
# gui.rpy:51
old "## The colors used for dialogue and menu choice text."
new "## The colors used for dialogue and menu choice text."
# Automatic translation.
new "## Τα χρώματα που χρησιμοποιούνται για το κείμενο των διαλόγων και των επιλογών μενού."
# gui.rpy:56
old "## Fonts and Font Sizes"
new "## Fonts and Font Sizes"
# Automatic translation.
new "## Γραμματοσειρές και μεγέθη γραμματοσειρών"
# gui.rpy:58
old "## The font used for in-game text."
new "## The font used for in-game text."
# Automatic translation.
new "## Η γραμματοσειρά που χρησιμοποιείται για το κείμενο στο παιχνίδι."
# gui.rpy:61
old "## The font used for character names."
new "## The font used for character names."
# Automatic translation.
new "## Η γραμματοσειρά που χρησιμοποιείται για τα ονόματα των χαρακτήρων."
# gui.rpy:64
old "## The font used for out-of-game text."
new "## The font used for out-of-game text."
# Automatic translation.
new "## Η γραμματοσειρά που χρησιμοποιείται για το κείμενο εκτός παιχνιδιού."
# gui.rpy:67
old "## The size of normal dialogue text."
new "## The size of normal dialogue text."
# Automatic translation.
new "## Το μέγεθος του κανονικού κειμένου διαλόγου."
# gui.rpy:70
old "## The size of character names."
new "## The size of character names."
# Automatic translation.
new "## Το μέγεθος των ονομάτων χαρακτήρων."
# gui.rpy:73
old "## The size of text in the game's user interface."
new "## The size of text in the game's user interface."
# Automatic translation.
new "## Το μέγεθος του κειμένου στη διεπαφή χρήστη του παιχνιδιού."
# gui.rpy:76
old "## The size of labels in the game's user interface."
new "## The size of labels in the game's user interface."
# Automatic translation.
new "## Το μέγεθος των ετικετών στη διεπαφή χρήστη του παιχνιδιού."
# gui.rpy:79
old "## The size of text on the notify screen."
new "## The size of text on the notify screen."
# Automatic translation.
new "## Το μέγεθος του κειμένου στην οθόνη ειδοποίησης."
# gui.rpy:82
old "## The size of the game's title."
new "## The size of the game's title."
# Automatic translation.
new "## Το μέγεθος του τίτλου του παιχνιδιού."
# gui.rpy:86
old "## Main and Game Menus"
new "## Main and Game Menus"
# Automatic translation.
new "## Κύριο μενού και μενού παιχνιδιού"
# gui.rpy:88
old "## The images used for the main and game menus."
new "## The images used for the main and game menus."
# Automatic translation.
new "## Οι εικόνες που χρησιμοποιούνται για το κύριο μενού και το μενού του παιχνιδιού."
# gui.rpy:92
old "## Should we show the name and version of the game?"
new "## Should we show the name and version of the game?"
# Automatic translation.
new "## Θα πρέπει να δείξουμε το όνομα και την έκδοση του παιχνιδιού;"
# gui.rpy:96
old "## Dialogue"
new "## Dialogue"
# Automatic translation.
new "## Διάλογος"
# gui.rpy:98
old "## These variables control how dialogue is displayed on the screen one line at a time."
new "## These variables control how dialogue is displayed on the screen one line at a time."
# Automatic translation.
new "## Αυτές οι μεταβλητές ελέγχουν τον τρόπο με τον οποίο ο διάλογος εμφανίζεται στην οθόνη μία γραμμή κάθε φορά."
# gui.rpy:101
old "## The height of the textbox containing dialogue."
new "## The height of the textbox containing dialogue."
# Automatic translation.
new "## Το ύψος του πλαισίου κειμένου που περιέχει το διάλογο."
# gui.rpy:104
old "## The placement of the textbox vertically on the screen. 0.0 is the top, 0.5 is center, and 1.0 is the bottom."
new "## The placement of the textbox vertically on the screen. 0.0 is the top, 0.5 is center, and 1.0 is the bottom."
# Automatic translation.
new "## Η τοποθέτηση του πλαισίου κειμένου κάθετα στην οθόνη. Το 0.0 είναι το πάνω μέρος, το 0.5 είναι το κέντρο και το 1.0 είναι το κάτω μέρος."
# gui.rpy:109
old "## The placement of the speaking character's name, relative to the textbox. These can be a whole number of pixels from the left or top, or 0.5 to center."
new "## The placement of the speaking character's name, relative to the textbox. These can be a whole number of pixels from the left or top, or 0.5 to center."
# Automatic translation.
new "## Η τοποθέτηση του ονόματος του χαρακτήρα που μιλάει, σε σχέση με το πλαίσιο κειμένου. Αυτά μπορεί να είναι ένας ακέραιος αριθμός εικονοστοιχείων από τα αριστερά ή την κορυφή ή 0,5 προς το κέντρο."
# gui.rpy:114
old "## The horizontal alignment of the character's name. This can be 0.0 for left-aligned, 0.5 for centered, and 1.0 for right-aligned."
new "## The horizontal alignment of the character's name. This can be 0.0 for left-aligned, 0.5 for centered, and 1.0 for right-aligned."
# Automatic translation.
new "## Η οριζόντια στοίχιση του ονόματος του χαρακτήρα. Αυτή μπορεί να είναι 0.0 για αριστερή στοίχιση, 0.5 για κεντραρισμένη και 1.0 για δεξιά στοίχιση."
# gui.rpy:118
old "## The width, height, and borders of the box containing the character's name, or None to automatically size it."
new "## The width, height, and borders of the box containing the character's name, or None to automatically size it."
# Automatic translation.
new "## Το πλάτος, το ύψος και τα περιθώρια του πλαισίου που περιέχει το όνομα του χαρακτήρα, ή Κανένα για αυτόματο μέγεθος."
# gui.rpy:123
old "## The borders of the box containing the character's name, in left, top, right, bottom order."
new "## The borders of the box containing the character's name, in left, top, right, bottom order."
# Automatic translation.
new "## Τα όρια του πλαισίου που περιέχει το όνομα του χαρακτήρα, με τη σειρά αριστερά, πάνω, δεξιά, κάτω."
# gui.rpy:127
old "## If True, the background of the namebox will be tiled, if False, the background of the namebox will be scaled."
new "## If True, the background of the namebox will be tiled, if False, the background of the namebox will be scaled."
# Automatic translation.
new "## Αν είναι True, το φόντο του πλαισίου ονόματος θα είναι τοποθετημένο σε πλακάκια, αν είναι False, το φόντο του πλαισίου ονόματος θα είναι κλιμακωτό."
# gui.rpy:132
old "## The placement of dialogue relative to the textbox. These can be a whole number of pixels relative to the left or top side of the textbox, or 0.5 to center."
new "## The placement of dialogue relative to the textbox. These can be a whole number of pixels relative to the left or top side of the textbox, or 0.5 to center."
# Automatic translation.
new "## Η τοποθέτηση του διαλόγου σε σχέση με το πλαίσιο κειμένου. Αυτά μπορεί να είναι ένας ακέραιος αριθμός εικονοστοιχείων σε σχέση με την αριστερή ή την επάνω πλευρά του πλαισίου κειμένου ή 0,5 στο κέντρο."
# gui.rpy:138
old "## The maximum width of dialogue text, in pixels."
new "## The maximum width of dialogue text, in pixels."
# Automatic translation.
new "## Το μέγιστο πλάτος του κειμένου διαλόγου, σε pixels."
# gui.rpy:141
old "## The horizontal alignment of the dialogue text. This can be 0.0 for left-aligned, 0.5 for centered, and 1.0 for right-aligned."
new "## The horizontal alignment of the dialogue text. This can be 0.0 for left-aligned, 0.5 for centered, and 1.0 for right-aligned."
# Automatic translation.
new "## Η οριζόντια στοίχιση του κειμένου διαλόγου. Μπορεί να είναι 0.0 για αριστερή στοίχιση, 0.5 για κεντραρισμένη και 1.0 για δεξιά στοίχιση."
# gui.rpy:146
old "## Buttons"
new "## Buttons"
# Automatic translation.
new "## Κουμπιά"
# gui.rpy:148
old "## These variables, along with the image files in gui/button, control aspects of how buttons are displayed."
new "## These variables, along with the image files in gui/button, control aspects of how buttons are displayed."
# Automatic translation.
new "## Αυτές οι μεταβλητές, μαζί με τα αρχεία εικόνας στο gui/button, ελέγχουν πτυχές του τρόπου εμφάνισης των κουμπιών."
# gui.rpy:151
old "## The width and height of a button, in pixels. If None, Ren'Py computes a size."
new "## The width and height of a button, in pixels. If None, Ren'Py computes a size."
# Automatic translation.
new "## Το πλάτος και το ύψος ενός κουμπιού, σε pixels. Αν δεν υπάρχει, η Ren'Py υπολογίζει ένα μέγεθος."
# gui.rpy:155
old "## The borders on each side of the button, in left, top, right, bottom order."
new "## The borders on each side of the button, in left, top, right, bottom order."
# Automatic translation.
new "## Τα περιθώρια σε κάθε πλευρά του κουμπιού, με τη σειρά αριστερά, πάνω, δεξιά, κάτω."
# gui.rpy:158
old "## If True, the background image will be tiled. If False, the background image will be linearly scaled."
new "## If True, the background image will be tiled. If False, the background image will be linearly scaled."
# Automatic translation.
new "## Αν είναι True, η εικόνα φόντου θα είναι σε μορφή πλακιδίων. Αν False, η εικόνα φόντου θα κλιμακώνεται γραμμικά."
# gui.rpy:162
old "## The font used by the button."
new "## The font used by the button."
# Automatic translation.
new "## Η γραμματοσειρά που χρησιμοποιείται από το κουμπί."
# gui.rpy:165
old "## The size of the text used by the button."
new "## The size of the text used by the button."
# Automatic translation.
new "## Το μέγεθος του κειμένου που χρησιμοποιείται από το κουμπί."
# gui.rpy:179
old "## These variables override settings for different kinds of buttons. Please see the gui documentation for the kinds of buttons available, and what each is used for."
new "## These variables override settings for different kinds of buttons. Please see the gui documentation for the kinds of buttons available, and what each is used for."
# Automatic translation.
new "## Αυτές οι μεταβλητές παρακάμπτουν τις ρυθμίσεις για διαφορετικά είδη κουμπιών. Ανατρέξτε στην τεκμηρίωση του gui για τα είδη των διαθέσιμων κουμπιών και για τι χρησιμοποιείται το καθένα."
# gui.rpy:183
old "## These customizations are used by the default interface:"
new "## These customizations are used by the default interface:"
# Automatic translation.
new "## Αυτές οι προσαρμογές χρησιμοποιούνται από την προεπιλεγμένη διασύνδεση:"
# gui.rpy:198
old "## You can also add your own customizations, by adding properly-named variables. For example, you can uncomment the following line to set the width of a navigation button."
new "## You can also add your own customizations, by adding properly-named variables. For example, you can uncomment the following line to set the width of a navigation button."
# Automatic translation.
new "## Μπορείτε επίσης να προσθέσετε τις δικές σας προσαρμογές, προσθέτοντας μεταβλητές με τα κατάλληλα ονόματα. Για παράδειγμα, μπορείτε να ξεσχολιάσετε την ακόλουθη γραμμή για να ορίσετε το πλάτος ενός κουμπιού πλοήγησης."
# gui.rpy:205
old "## Choice Buttons"
new "## Choice Buttons"
# Automatic translation.
new "## Κουμπιά επιλογής"
# gui.rpy:207
old "## Choice buttons are used in the in-game menus."
new "## Choice buttons are used in the in-game menus."
# Automatic translation.
new "## Τα κουμπιά επιλογής χρησιμοποιούνται στα μενού του παιχνιδιού."
# gui.rpy:220
old "## File Slot Buttons"
new "## File Slot Buttons"
# Automatic translation.
new "## Κουμπιά υποδοχής αρχείων"
# gui.rpy:222
old "## A file slot button is a special kind of button. It contains a thumbnail image, and text describing the contents of the save slot. A save slot uses image files in gui/button, like the other kinds of buttons."
new "## A file slot button is a special kind of button. It contains a thumbnail image, and text describing the contents of the save slot. A save slot uses image files in gui/button, like the other kinds of buttons."
# Automatic translation.
new "## Το κουμπί υποδοχής αρχείων είναι ένα ειδικό είδος κουμπιού. Περιέχει μια εικόνα μικρογραφίας και κείμενο που περιγράφει τα περιεχόμενα της θυρίδας αποθήκευσης. Ένα save slot χρησιμοποιεί αρχεία εικόνας στο gui/button, όπως και τα άλλα είδη κουμπιών."
# gui.rpy:226
old "## The save slot button."
new "## The save slot button."
# Automatic translation.
new "## Το κουμπί save slot."
# gui.rpy:234
old "## The width and height of thumbnails used by the save slots."
new "## The width and height of thumbnails used by the save slots."
# Automatic translation.
new "## Το πλάτος και το ύψος των μικρογραφιών που χρησιμοποιούνται από τις υποδοχές αποθήκευσης."
# gui.rpy:238
old "## The number of columns and rows in the grid of save slots."
new "## The number of columns and rows in the grid of save slots."
# Automatic translation.
new "## Ο αριθμός των στηλών και των γραμμών στο πλέγμα των θέσεων αποθήκευσης."
# gui.rpy:243
old "## Positioning and Spacing"
new "## Positioning and Spacing"
# Automatic translation.
new "## Τοποθέτηση και απόσταση"
# gui.rpy:245
old "## These variables control the positioning and spacing of various user interface elements."
new "## These variables control the positioning and spacing of various user interface elements."
# Automatic translation.
new "## Αυτές οι μεταβλητές ελέγχουν την τοποθέτηση και την απόσταση μεταξύ των διαφόρων στοιχείων διεπαφής χρήστη."
# gui.rpy:248
old "## The position of the left side of the navigation buttons, relative to the left side of the screen."
new "## The position of the left side of the navigation buttons, relative to the left side of the screen."
# Automatic translation.
new "## Η θέση της αριστερής πλευράς των κουμπιών πλοήγησης, σε σχέση με την αριστερή πλευρά της οθόνης."
# gui.rpy:252
old "## The vertical position of the skip indicator."
new "## The vertical position of the skip indicator."
# Automatic translation.
new "## Η κατακόρυφη θέση της ένδειξης παράλειψης."
# gui.rpy:255
old "## The vertical position of the notify screen."
new "## The vertical position of the notify screen."
# Automatic translation.
new "## Η κάθετη θέση της οθόνης ειδοποίησης."
# gui.rpy:258
old "## The spacing between menu choices."
new "## The spacing between menu choices."
# Automatic translation.
new "## Η απόσταση μεταξύ των επιλογών του μενού."
# gui.rpy:261
old "## Buttons in the navigation section of the main and game menus."
new "## Buttons in the navigation section of the main and game menus."
# Automatic translation.
new "## Κουμπιά στην ενότητα πλοήγησης του κύριου μενού και του μενού παιχνιδιού."
# gui.rpy:264
old "## Controls the amount of spacing between preferences."
new "## Controls the amount of spacing between preferences."
# Automatic translation.
new "## Ελέγχει την απόσταση μεταξύ των προτιμήσεων."
# gui.rpy:267
old "## Controls the amount of spacing between preference buttons."
new "## Controls the amount of spacing between preference buttons."
# Automatic translation.
new "## Ελέγχει την απόσταση μεταξύ των κουμπιών προτίμησης."
# gui.rpy:270
old "## The spacing between file page buttons."
new "## The spacing between file page buttons."
# Automatic translation.
new "## Η απόσταση μεταξύ των κουμπιών σελίδας αρχείων."
# gui.rpy:273
old "## The spacing between file slots."
new "## The spacing between file slots."
# Automatic translation.
new "## Η απόσταση μεταξύ των θυρίδων αρχείων."
# gui.rpy:277
old "## Frames"
@@ -271,135 +337,168 @@ translate greek strings:
# gui.rpy:279
old "## These variables control the look of frames that can contain user interface components when an overlay or window is not present."
new "## These variables control the look of frames that can contain user interface components when an overlay or window is not present."
# Automatic translation.
new "## Αυτές οι μεταβλητές ελέγχουν την εμφάνιση των πλαισίων που μπορούν να περιέχουν στοιχεία διεπαφής χρήστη όταν δεν υπάρχει επικάλυψη ή παράθυρο."
# gui.rpy:282
old "## Generic frames that are introduced by player code."
new "## Generic frames that are introduced by player code."
# Automatic translation.
new "## Γενικά πλαίσια που εισάγονται από τον κώδικα του παίκτη."
# gui.rpy:285
old "## The frame that is used as part of the confirm screen."
new "## The frame that is used as part of the confirm screen."
# Automatic translation.
new "## Το πλαίσιο που χρησιμοποιείται ως μέρος της οθόνης επιβεβαίωσης."
# gui.rpy:288
old "## The frame that is used as part of the skip screen."
new "## The frame that is used as part of the skip screen."
# Automatic translation.
new "## Το πλαίσιο που χρησιμοποιείται ως μέρος της οθόνης παράλειψης."
# gui.rpy:291
old "## The frame that is used as part of the notify screen."
new "## The frame that is used as part of the notify screen."
# Automatic translation.
new "## Το πλαίσιο που χρησιμοποιείται ως μέρος της οθόνης ειδοποίησης."
# gui.rpy:294
old "## Should frame backgrounds be tiled?"
new "## Should frame backgrounds be tiled?"
# Automatic translation.
new "## Θα πρέπει τα φόντα των πλαισίων να τοποθετούνται σε κεραμίδια;"
# gui.rpy:298
old "## Bars, Scrollbars, and Sliders"
new "## Bars, Scrollbars, and Sliders"
# Automatic translation.
new "## Μπάρες, μπάρες κύλισης και ρυθμιστικά"
# gui.rpy:300
old "## These control the look and size of bars, scrollbars, and sliders."
new "## These control the look and size of bars, scrollbars, and sliders."
# Automatic translation.
new "## Αυτές ελέγχουν την εμφάνιση και το μέγεθος των ράβδων, των ράβδων κύλισης και των ρυθμιστικών."
# gui.rpy:302
old "## The default GUI only uses sliders and vertical scrollbars. All of the other bars are only used in creator-written code."
new "## The default GUI only uses sliders and vertical scrollbars. All of the other bars are only used in creator-written code."
# Automatic translation.
new "## Το προεπιλεγμένο γραφικό περιβάλλον χρησιμοποιεί μόνο ρυθμιστικά και κάθετες γραμμές κύλισης. Όλες οι άλλες μπάρες χρησιμοποιούνται μόνο στον κώδικα που γράφει ο δημιουργός."
# gui.rpy:305
old "## The height of horizontal bars, scrollbars, and sliders. The width of vertical bars, scrollbars, and sliders."
new "## The height of horizontal bars, scrollbars, and sliders. The width of vertical bars, scrollbars, and sliders."
# Automatic translation.
new "## Το ύψος των οριζόντιων ράβδων, των ράβδων κύλισης και των ρυθμιστικών. Το πλάτος των κατακόρυφων ράβδων, των ράβδων κύλισης και των ρυθμιστικών."
# gui.rpy:311
old "## True if bar images should be tiled. False if they should be linearly scaled."
new "## True if bar images should be tiled. False if they should be linearly scaled."
# Automatic translation.
new "## True αν οι εικόνες της μπάρας θα πρέπει να είναι σε κεραμίδια. False αν πρέπει να κλιμακώνονται γραμμικά."
# gui.rpy:316
old "## Horizontal borders."
new "## Horizontal borders."
# Automatic translation.
new "## Οριζόντια όρια."
# gui.rpy:321
old "## Vertical borders."
new "## Vertical borders."
# Automatic translation.
new "## Κατακόρυφα σύνορα."
# gui.rpy:326
old "## What to do with unscrollable scrollbars in the gui. \"hide\" hides them, while None shows them."
new "## What to do with unscrollable scrollbars in the gui. \"hide\" hides them, while None shows them."
# Automatic translation.
new "## Τι να κάνετε με μη κυλιόμενες γραμμές κύλισης στο gui. Το \"hide\" τις κρύβει, ενώ το \"None\" τις εμφανίζει."
# gui.rpy:331
old "## History"
new "## History"
# Automatic translation.
new "## Ιστορία"
# gui.rpy:333
old "## The history screen displays dialogue that the player has already dismissed."
new "## The history screen displays dialogue that the player has already dismissed."
# Automatic translation.
new "## Η οθόνη ιστορικού εμφανίζει διαλόγους που ο παίκτης έχει ήδη απορρίψει."
# gui.rpy:335
old "## The number of blocks of dialogue history Ren'Py will keep."
new "## The number of blocks of dialogue history Ren'Py will keep."
# Automatic translation.
new "## Ο αριθμός των μπλοκ ιστορικού διαλόγου που θα κρατήσει η Ren'Py."
# gui.rpy:338
old "## The height of a history screen entry, or None to make the height variable at the cost of performance."
new "## The height of a history screen entry, or None to make the height variable at the cost of performance."
# Automatic translation.
new "## Το ύψος μιας καταχώρησης στην οθόνη ιστορικού, ή Κανένα για να κάνετε το ύψος μεταβλητό με κόστος την απόδοση."
# gui.rpy:342
old "## The position, width, and alignment of the label giving the name of the speaking character."
new "## The position, width, and alignment of the label giving the name of the speaking character."
# Automatic translation.
new "## Η θέση, το πλάτος και η στοίχιση της ετικέτας που δίνει το όνομα του χαρακτήρα που μιλάει."
# gui.rpy:349
old "## The position, width, and alignment of the dialogue text."
new "## The position, width, and alignment of the dialogue text."
# Automatic translation.
new "## Η θέση, το πλάτος και η στοίχιση του κειμένου διαλόγου."
# gui.rpy:356
old "## NVL-Mode"
new "## NVL-Mode"
# Automatic translation.
new "## Λειτουργία NVL"
# gui.rpy:358
old "## The NVL-mode screen displays the dialogue spoken by NVL-mode characters."
new "## The NVL-mode screen displays the dialogue spoken by NVL-mode characters."
# Automatic translation.
new "## Η οθόνη της λειτουργίας NVL εμφανίζει τον διάλογο που μιλούν οι χαρακτήρες της λειτουργίας NVL."
# gui.rpy:360
old "## The borders of the background of the NVL-mode background window."
new "## The borders of the background of the NVL-mode background window."
# Automatic translation.
new "## Τα όρια του φόντου του παραθύρου φόντου της λειτουργίας NVL."
# gui.rpy:363
old "## The height of an NVL-mode entry. Set this to None to have the entries dynamically adjust height."
new "## The height of an NVL-mode entry. Set this to None to have the entries dynamically adjust height."
# Automatic translation.
new "## Το ύψος μιας καταχώρησης σε κατάσταση λειτουργίας NVL. Ορίστε την τιμή None για να ρυθμίζετε δυναμικά το ύψος των καταχωρήσεων."
# gui.rpy:367
old "## The spacing between NVL-mode entries when gui.nvl_height is None, and between NVL-mode entries and an NVL-mode menu."
new "## The spacing between NVL-mode entries when gui.nvl_height is None, and between NVL-mode entries and an NVL-mode menu."
# Automatic translation.
new "## Η απόσταση μεταξύ των καταχωρήσεων της λειτουργίας NVL όταν το gui.nvl_height είναι None, καθώς και μεταξύ των καταχωρήσεων της λειτουργίας NVL και ενός μενού της λειτουργίας NVL."
# gui.rpy:384
old "## The position, width, and alignment of nvl_thought text (the text said by the nvl_narrator character.)"
new "## The position, width, and alignment of nvl_thought text (the text said by the nvl_narrator character.)"
# Automatic translation.
new "## Η θέση, το πλάτος και η στοίχιση του κειμένου nvl_thought (το κείμενο που λέει ο χαρακτήρας nvl_narrator)."
# gui.rpy:391
old "## The position of nvl menu_buttons."
new "## The position of nvl menu_buttons."
# Automatic translation.
new "## Η θέση των nvl menu_buttons."
# gui.rpy:403
old "## This increases the size of the quick buttons to make them easier to touch on tablets and phones."
new "## This increases the size of the quick buttons to make them easier to touch on tablets and phones."
# Automatic translation.
new "## Αυτό αυξάνει το μέγεθος των γρήγορων κουμπιών για να είναι πιο εύκολο να τα αγγίξετε σε tablet και τηλέφωνα."
# gui.rpy:409
old "## This changes the size and spacing of various GUI elements to ensure they are easily visible on phones."
new "## This changes the size and spacing of various GUI elements to ensure they are easily visible on phones."
# Automatic translation.
new "## Αυτό αλλάζει το μέγεθος και την απόσταση μεταξύ των διαφόρων στοιχείων του γραφικού περιβάλλοντος για να διασφαλίσει ότι είναι εύκολα ορατά στα τηλέφωνα."
# gui.rpy:413
old "## Font sizes."
new "## Font sizes."
# Automatic translation.
new "## Μεγέθη γραμματοσειράς."
# gui.rpy:421
old "## Adjust the location of the textbox."
new "## Adjust the location of the textbox."
# Automatic translation.
new "## Προσαρμόστε τη θέση του πλαισίου κειμένου."
# gui.rpy:427
old "## Change the size and spacing of items in the game menu."
new "## Change the size and spacing of items in the game menu."
# Automatic translation.
new "## Αλλαγή του μεγέθους και της απόστασης των στοιχείων στο μενού του παιχνιδιού."
# gui.rpy:436
old "## File button layout."
new "## File button layout."
# Automatic translation.
new "## Διάταξη κουμπιών αρχείων."
# gui.rpy:440
old "## NVL-mode."
@@ -407,5 +506,74 @@ translate greek strings:
# gui.rpy:456
old "## Quick buttons."
new "## Quick buttons."
# Automatic translation.
new "## Γρήγορα κουμπιά."
translate greek strings:
# gui/game/gui.rpy:5
old "## The init offset statement causes the initialization statements in this file to run before init statements in any other file."
# Automatic translation.
new "## Η εντολή init offset προκαλεί την εκτέλεση των εντολών αρχικοποίησης σε αυτό το αρχείο πριν από τις εντολές init σε οποιοδήποτε άλλο αρχείο."
# gui/game/gui.rpy:14
old "## Enable checks for invalid or unstable properties in screens or transforms"
# Automatic translation.
new "## Ενεργοποίηση ελέγχων για άκυρες ή ασταθείς ιδιότητες σε οθόνες ή μετασχηματισμούς"
# gui/game/gui.rpy:19
old "## GUI Configuration Variables"
# Automatic translation.
new "## Μεταβλητές παραμέτρων GUI"
# gui/game/gui.rpy:167
old "## The color of button text in various states."
# Automatic translation.
new "## Το χρώμα του κειμένου του κουμπιού σε διάφορες καταστάσεις."
# gui/game/gui.rpy:173
old "## The horizontal alignment of the button text. (0.0 is left, 0.5 is center, 1.0 is right)."
# Automatic translation.
new "## Η οριζόντια στοίχιση του κειμένου του κουμπιού. (0.0 είναι αριστερά, 0.5 είναι κέντρο, 1.0 είναι δεξιά)."
# gui/game/gui.rpy:278
old "## The position of the main menu text."
# Automatic translation.
new "## Η θέση του κειμένου του κύριου μενού."
# gui/game/gui.rpy:287
old "## Generic frames."
# Automatic translation.
new "## Γενικά πλαίσια."
# gui/game/gui.rpy:307
old "## The default GUI only uses sliders and vertical scrollbars. All of the other bars are only used in creator-written screens."
# Automatic translation.
new "## Το προεπιλεγμένο γραφικό περιβάλλον χρησιμοποιεί μόνο ρυθμιστικά και κάθετες γραμμές κύλισης. Όλες οι άλλες μπάρες χρησιμοποιούνται μόνο σε οθόνες που έχουν γραφτεί από τον δημιουργό."
# gui/game/gui.rpy:368
old "## The maximum number of NVL-mode entries Ren'Py will display. When more entries than this are to be show, the oldest entry will be removed."
# Automatic translation.
new "## Ο μέγιστος αριθμός καταχωρήσεων λειτουργίας NVL που θα εμφανίζει η Ren'Py. Όταν πρόκειται να εμφανιστούν περισσότερες εγγραφές από αυτό το όριο, η παλαιότερη εγγραφή θα αφαιρεθεί."
# gui/game/gui.rpy:405
old "## Localization"
# Automatic translation.
new "## Εντοπισμός"
# gui/game/gui.rpy:407
old "## This controls where a line break is permitted. The default is suitable for most languages. A list of available values can be found at https://www.renpy.org/doc/html/style_properties.html#style-property-language"
# Automatic translation.
new "## Αυτό ελέγχει πού επιτρέπεται η αλλαγή γραμμής. Η προεπιλογή είναι κατάλληλη για τις περισσότερες γλώσσες. Μια λίστα με τις διαθέσιμες τιμές μπορείτε να βρείτε στη διεύθυνση https://www.renpy.org/doc/html/style_properties.html#style-property-language."
# gui/game/gui.rpy:415
old "## Mobile devices"
# Automatic translation.
new "## Κινητές συσκευές"
# gui/game/gui.rpy:446
old "## Change the size and spacing of various things."
# Automatic translation.
new "## Αλλαγή του μεγέθους και του διαστήματος διαφόρων πραγμάτων."
File diff suppressed because it is too large Load Diff
+115 -44
View File
@@ -3,59 +3,73 @@ translate greek strings:
# options.rpy:1
old "## This file contains options that can be changed to customize your game."
new "## This file contains options that can be changed to customize your game."
# Automatic translation.
new "## Αυτό το αρχείο περιέχει επιλογές που μπορείτε να αλλάξετε για να προσαρμόσετε το παιχνίδι σας."
# options.rpy:4
old "## Lines beginning with two '#' marks are comments, and you shouldn't uncomment them. Lines beginning with a single '#' mark are commented-out code, and you may want to uncomment them when appropriate."
new "## Lines beginning with two '#' marks are comments, and you shouldn't uncomment them. Lines beginning with a single '#' mark are commented-out code, and you may want to uncomment them when appropriate."
# Automatic translation.
new "## Οι γραμμές που αρχίζουν με δύο σημάδια '#' είναι σχόλια, και δεν πρέπει να τις ξεσχολιάσετε. Οι γραμμές που αρχίζουν με ένα μόνο σημάδι '#' είναι σχολιασμένος κώδικας, και μπορεί να θέλετε να τις ξεσχολιάσετε όταν χρειάζεται."
# options.rpy:10
old "## Basics"
new "## Basics"
# Automatic translation.
new "## Βασικά"
# options.rpy:12
old "## A human-readable name of the game. This is used to set the default window title, and shows up in the interface and error reports."
new "## A human-readable name of the game. This is used to set the default window title, and shows up in the interface and error reports."
# Automatic translation.
new "## Ένα όνομα του παιχνιδιού που μπορεί να διαβαστεί από τον άνθρωπο. Αυτό χρησιμοποιείται για να ορίσει τον προεπιλεγμένο τίτλο του παραθύρου και εμφανίζεται στη διεπαφή και στις αναφορές σφαλμάτων."
# options.rpy:15
old "## The _() surrounding the string marks it as eligible for translation."
new "## The _() surrounding the string marks it as eligible for translation."
# Automatic translation.
new "## Το _() που περιβάλλει το αλφαριθμητικό το χαρακτηρίζει ως επιλέξιμο για μετάφραση."
# options.rpy:17
old "Ren'Py 7 Default GUI"
new "Ren'Py 7 Default GUI"
# Automatic translation.
new "Ren'Py 7 Προεπιλεγμένο GUI"
# options.rpy:20
old "## Determines if the title given above is shown on the main menu screen. Set this to False to hide the title."
new "## Determines if the title given above is shown on the main menu screen. Set this to False to hide the title."
# Automatic translation.
new "## Καθορίζει αν ο τίτλος που δόθηκε παραπάνω εμφανίζεται στην οθόνη του κύριου μενού. Ορίστε την τιμή False για να αποκρύψετε τον τίτλο."
# options.rpy:26
old "## The version of the game."
new "## The version of the game."
# Automatic translation.
new "## Η έκδοση του παιχνιδιού."
# options.rpy:31
old "## Text that is placed on the game's about screen. To insert a blank line between paragraphs, write \\n\\n."
new "## Text that is placed on the game's about screen. To insert a blank line between paragraphs, write \\n\\n."
# Automatic translation.
new "## Κείμενο που τοποθετείται στην οθόνη πληροφοριών του παιχνιδιού. Για να εισαγάγετε μια κενή γραμμή μεταξύ των παραγράφων, γράψτε \\n\\n."
# options.rpy:37
old "## A short name for the game used for executables and directories in the built distribution. This must be ASCII-only, and must not contain spaces, colons, or semicolons."
new "## A short name for the game used for executables and directories in the built distribution. This must be ASCII-only, and must not contain spaces, colons, or semicolons."
# Automatic translation.
new "## Ένα σύντομο όνομα για το παιχνίδι που χρησιμοποιείται για τα εκτελέσιμα αρχεία και τους καταλόγους στην ενσωματωμένη διανομή. Αυτό πρέπει να είναι μόνο ASCII και δεν πρέπει να περιέχει κενά, άνω και κάτω τελεία ή άνω τελεία."
# options.rpy:44
old "## Sounds and music"
new "## Sounds and music"
# Automatic translation.
new "## Ήχοι και μουσική"
# options.rpy:46
old "## These three variables control which mixers are shown to the player by default. Setting one of these to False will hide the appropriate mixer."
new "## These three variables control which mixers are shown to the player by default. Setting one of these to False will hide the appropriate mixer."
# Automatic translation.
new "## Αυτές οι τρεις μεταβλητές ελέγχουν ποιοι μείκτες εμφανίζονται στον παίκτη από προεπιλογή. Αν θέσετε μία από αυτές σε False, θα αποκρύψετε τον αντίστοιχο μίκτη."
# options.rpy:55
old "## To allow the user to play a test sound on the sound or voice channel, uncomment a line below and use it to set a sample sound to play."
new "## To allow the user to play a test sound on the sound or voice channel, uncomment a line below and use it to set a sample sound to play."
# Automatic translation.
new "## Για να επιτρέψετε στο χρήστη να αναπαράγει έναν δοκιμαστικό ήχο στο κανάλι ήχου ή φωνής, αποσυμπληρώστε την παρακάτω γραμμή και χρησιμοποιήστε την για να ορίσετε έναν δοκιμαστικό ήχο προς αναπαραγωγή."
# options.rpy:62
old "## Uncomment the following line to set an audio file that will be played while the player is at the main menu. This file will continue playing into the game, until it is stopped or another file is played."
new "## Uncomment the following line to set an audio file that will be played while the player is at the main menu. This file will continue playing into the game, until it is stopped or another file is played."
# Automatic translation.
new "## Ξεσχολιάστε την ακόλουθη γραμμή για να ορίσετε ένα αρχείο ήχου που θα αναπαράγεται όταν ο παίκτης βρίσκεται στο κύριο μενού. Αυτό το αρχείο θα συνεχίσει να παίζει κατά τη διάρκεια του παιχνιδιού, μέχρι να σταματήσει ή να αναπαραχθεί άλλο αρχείο."
# options.rpy:69
old "## Transitions"
@@ -63,59 +77,73 @@ translate greek strings:
# options.rpy:71
old "## These variables set transitions that are used when certain events occur. Each variable should be set to a transition, or None to indicate that no transition should be used."
new "## These variables set transitions that are used when certain events occur. Each variable should be set to a transition, or None to indicate that no transition should be used."
# Automatic translation.
new "## Αυτές οι μεταβλητές ορίζουν τις μεταβάσεις που χρησιμοποιούνται όταν συμβαίνουν ορισμένα γεγονότα. Κάθε μεταβλητή θα πρέπει να οριστεί σε μια μετάβαση ή σε None για να υποδείξει ότι δεν πρέπει να χρησιμοποιηθεί καμία μετάβαση."
# options.rpy:75
old "## Entering or exiting the game menu."
new "## Entering or exiting the game menu."
# Automatic translation.
new "## Είσοδος ή έξοδος από το μενού του παιχνιδιού."
# options.rpy:81
old "## A transition that is used after a game has been loaded."
new "## A transition that is used after a game has been loaded."
# Automatic translation.
new "## Μια μετάβαση που χρησιμοποιείται μετά τη φόρτωση ενός παιχνιδιού."
# options.rpy:86
old "## Used when entering the main menu after the game has ended."
new "## Used when entering the main menu after the game has ended."
# Automatic translation.
new "## Χρησιμοποιείται κατά την είσοδο στο κύριο μενού μετά το τέλος του παιχνιδιού."
# options.rpy:91
old "## A variable to set the transition used when the game starts does not exist. Instead, use a with statement after showing the initial scene."
new "## A variable to set the transition used when the game starts does not exist. Instead, use a with statement after showing the initial scene."
# Automatic translation.
new "## Δεν υπάρχει μεταβλητή για τον καθορισμό της μετάβασης που χρησιμοποιείται κατά την έναρξη του παιχνιδιού. Αντ' αυτού, χρησιμοποιήστε μια δήλωση with μετά την εμφάνιση της αρχικής σκηνής."
# options.rpy:96
old "## Window management"
new "## Window management"
# Automatic translation.
new "## Διαχείριση παραθύρων"
# options.rpy:98
old "## This controls when the dialogue window is displayed. If \"show\", it is always displayed. If \"hide\", it is only displayed when dialogue is present. If \"auto\", the window is hidden before scene statements and shown again once dialogue is displayed."
new "## This controls when the dialogue window is displayed. If \"show\", it is always displayed. If \"hide\", it is only displayed when dialogue is present. If \"auto\", the window is hidden before scene statements and shown again once dialogue is displayed."
# Automatic translation.
new "## Αυτό ελέγχει πότε εμφανίζεται το παράθυρο διαλόγου. Αν είναι \"show\", εμφανίζεται πάντα. Αν \"hide\", εμφανίζεται μόνο όταν υπάρχει διάλογος. Αν \"auto\", το παράθυρο αποκρύπτεται πριν από τις δηλώσεις σκηνής και εμφανίζεται ξανά μόλις εμφανιστεί ο διάλογος."
# options.rpy:103
old "## After the game has started, this can be changed with the \"window show\", \"window hide\", and \"window auto\" statements."
new "## After the game has started, this can be changed with the \"window show\", \"window hide\", and \"window auto\" statements."
# Automatic translation.
new "## Αφού ξεκινήσει το παιχνίδι, αυτό μπορεί να αλλάξει με τις εντολές \"window show\", \"window hide\" και \"window auto\"."
# options.rpy:109
old "## Transitions used to show and hide the dialogue window"
new "## Transitions used to show and hide the dialogue window"
# Automatic translation.
new "## Μεταβάσεις που χρησιμοποιούνται για την εμφάνιση και απόκρυψη του παραθύρου διαλόγου"
# options.rpy:115
old "## Preference defaults"
new "## Preference defaults"
# Automatic translation.
new "## Προεπιλογές προεπιλογής"
# options.rpy:117
old "## Controls the default text speed. The default, 0, is infinite, while any other number is the number of characters per second to type out."
new "## Controls the default text speed. The default, 0, is infinite, while any other number is the number of characters per second to type out."
# Automatic translation.
new "## Ελέγχει την προεπιλεγμένη ταχύτητα κειμένου. Η προεπιλογή, 0, είναι άπειρη, ενώ οποιοσδήποτε άλλος αριθμός είναι ο αριθμός των χαρακτήρων ανά δευτερόλεπτο που θα πληκτρολογούνται."
# options.rpy:123
old "## The default auto-forward delay. Larger numbers lead to longer waits, with 0 to 30 being the valid range."
new "## The default auto-forward delay. Larger numbers lead to longer waits, with 0 to 30 being the valid range."
# Automatic translation.
new "## Η προεπιλεγμένη καθυστέρηση αυτόματης προώθησης. Μεγαλύτεροι αριθμοί οδηγούν σε μεγαλύτερες αναμονές, με το 0 έως 30 να είναι το έγκυρο εύρος."
# options.rpy:129
old "## Save directory"
new "## Save directory"
# Automatic translation.
new "## Αποθήκευση καταλόγου"
# options.rpy:131
old "## Controls the platform-specific place Ren'Py will place the save files for this game. The save files will be placed in:"
new "## Controls the platform-specific place Ren'Py will place the save files for this game. The save files will be placed in:"
# Automatic translation.
new "## Ελέγχει το συγκεκριμένο για την πλατφόρμα μέρος στο οποίο το Ren'Py θα τοποθετεί τα αρχεία αποθήκευσης για αυτό το παιχνίδι. Τα αρχεία αποθήκευσης θα τοποθετούνται στο:"
# options.rpy:134
old "## Windows: %APPDATA\\RenPy\\<config.save_directory>"
@@ -131,65 +159,108 @@ translate greek strings:
# options.rpy:140
old "## This generally should not be changed, and if it is, should always be a literal string, not an expression."
new "## This generally should not be changed, and if it is, should always be a literal string, not an expression."
# Automatic translation.
new "## Αυτό γενικά δεν θα πρέπει να αλλάζει, και αν αλλάξει, θα πρέπει πάντα να είναι μια κυριολεκτική συμβολοσειρά, όχι μια έκφραση."
# options.rpy:146
old "## Icon ########################################################################'"
new "## Icon ########################################################################'"
# Automatic translation.
new "## Εικονίδιο ########################################################################'"
# options.rpy:148
old "## The icon displayed on the taskbar or dock."
new "## The icon displayed on the taskbar or dock."
# Automatic translation.
new "## Το εικονίδιο που εμφανίζεται στη γραμμή εργασιών ή στο dock."
# options.rpy:153
old "## Build configuration"
new "## Build configuration"
# Automatic translation.
new "## Παραμετροποίηση κατασκευής"
# options.rpy:155
old "## This section controls how Ren'Py turns your project into distribution files."
new "## This section controls how Ren'Py turns your project into distribution files."
# Automatic translation.
new "## Αυτή η ενότητα ελέγχει τον τρόπο με τον οποίο η Ren'Py μετατρέπει το έργο σας σε αρχεία διανομής."
# options.rpy:160
old "## The following functions take file patterns. File patterns are case- insensitive, and matched against the path relative to the base directory, with and without a leading /. If multiple patterns match, the first is used."
new "## The following functions take file patterns. File patterns are case- insensitive, and matched against the path relative to the base directory, with and without a leading /. If multiple patterns match, the first is used."
# Automatic translation.
new "## Οι ακόλουθες συναρτήσεις δέχονται πρότυπα αρχείων. Τα μοτίβα αρχείων δεν διαχωρίζουν την πεζότητα και αντιστοιχίζονται με τη διαδρομή σχετικά με τον βασικό κατάλογο, με και χωρίς ένα αρχικό /. Αν ταιριάζουν πολλά μοτίβα, χρησιμοποιείται το πρώτο."
# options.rpy:165
old "## In a pattern:"
new "## In a pattern:"
# Automatic translation.
new "## Σε ένα μοτίβο:"
# options.rpy:167
old "## / is the directory separator."
new "## / is the directory separator."
# Automatic translation.
new "## Το / είναι το διαχωριστικό του καταλόγου."
# options.rpy:169
old "## * matches all characters, except the directory separator."
new "## * matches all characters, except the directory separator."
# Automatic translation.
new "## * ταιριάζει με όλους τους χαρακτήρες, εκτός από το διαχωριστικό καταλόγου."
# options.rpy:171
old "## ** matches all characters, including the directory separator."
new "## ** matches all characters, including the directory separator."
# Automatic translation.
new "## ** ταιριάζει με όλους τους χαρακτήρες, συμπεριλαμβανομένου του διαχωριστικού καταλόγου."
# options.rpy:173
old "## For example, \"*.txt\" matches txt files in the base directory, \"game/**.ogg\" matches ogg files in the game directory or any of its subdirectories, and \"**.psd\" matches psd files anywhere in the project."
new "## For example, \"*.txt\" matches txt files in the base directory, \"game/**.ogg\" matches ogg files in the game directory or any of its subdirectories, and \"**.psd\" matches psd files anywhere in the project."
# Automatic translation.
new "## Για παράδειγμα, το \"*.txt\" ταιριάζει με αρχεία txt στον βασικό κατάλογο, το \"game/**.ogg\" ταιριάζει με αρχεία ogg στον κατάλογο game ή σε οποιονδήποτε υποκατάλογό του και το \"**.psd\" ταιριάζει με αρχεία psd οπουδήποτε στο έργο."
# options.rpy:177
old "## Classify files as None to exclude them from the built distributions."
new "## Classify files as None to exclude them from the built distributions."
# Automatic translation.
new "## Ταξινομήστε τα αρχεία ως None για να τα αποκλείσετε από τις ενσωματωμένες διανομές."
# options.rpy:185
old "## To archive files, classify them as 'archive'."
new "## To archive files, classify them as 'archive'."
# Automatic translation.
new "## Για να αρχειοθετήσετε αρχεία, ταξινομήστε τα ως 'archive'."
# options.rpy:190
old "## Files matching documentation patterns are duplicated in a mac app build, so they appear in both the app and the zip file."
new "## Files matching documentation patterns are duplicated in a mac app build, so they appear in both the app and the zip file."
# Automatic translation.
new "## Τα αρχεία που ταιριάζουν με τα μοτίβα τεκμηρίωσης διπλασιάζονται στην κατασκευή μιας εφαρμογής mac, ώστε να εμφανίζονται τόσο στην εφαρμογή όσο και στο αρχείο zip."
# options.rpy:196
old "## A Google Play license key is required to download expansion files and perform in-app purchases. It can be found on the \"Services & APIs\" page of the Google Play developer console."
new "## A Google Play license key is required to download expansion files and perform in-app purchases. It can be found on the \"Services & APIs\" page of the Google Play developer console."
# Automatic translation.
new "## Για τη λήψη αρχείων επέκτασης και την πραγματοποίηση αγορών εντός της εφαρμογής απαιτείται κλειδί άδειας χρήσης του Google Play. Μπορείτε να το βρείτε στη σελίδα \"Services & APIs\" της κονσόλας προγραμματιστών του Google Play."
# options.rpy:203
old "## The username and project name associated with an itch.io project, separated by a slash."
new "## The username and project name associated with an itch.io project, separated by a slash."
# Automatic translation.
new "## Το όνομα χρήστη και το όνομα έργου που σχετίζονται με ένα έργο itch.io, χωρισμένα με κάθετο."
translate greek strings:
# gui/game/options.rpy:31
old "## Text that is placed on the game's about screen. Place the text between the triple-quotes, and leave a blank line between paragraphs."
# Automatic translation.
new "## Κείμενο που τοποθετείται στην οθόνη πληροφοριών του παιχνιδιού. Τοποθετήστε το κείμενο μεταξύ των τριπλών εισαγωγικών και αφήστε μια κενή γραμμή μεταξύ των παραγράφων."
# gui/game/options.rpy:47
old "## These three variables control, among other things, which mixers are shown to the player by default. Setting one of these to False will hide the appropriate mixer."
# Automatic translation.
new "## Αυτές οι τρεις μεταβλητές ελέγχουν, μεταξύ άλλων, ποιοι μείκτες εμφανίζονται στον παίκτη από προεπιλογή. Η ρύθμιση μιας από αυτές σε False θα αποκρύψει τον αντίστοιχο μίκτη."
# gui/game/options.rpy:82
old "## Between screens of the game menu."
# Automatic translation.
new "## Μεταξύ των οθονών του μενού του παιχνιδιού."
# gui/game/options.rpy:152
old "## Icon"
new "## Icon"
# gui/game/options.rpy:203
old "## A Google Play license key is required to perform in-app purchases. It can be found in the Google Play developer console, under \"Monetize\" > \"Monetization Setup\" > \"Licensing\"."
# Automatic translation.
new "## Για την πραγματοποίηση αγορών εντός εφαρμογής απαιτείται κλειδί άδειας χρήσης του Google Play. Μπορείτε να το βρείτε στην κονσόλα προγραμματιστών του Google Play, στην ενότητα \"Monetize\" > \"Monetization Setup\" > \"Licensing\"."
+376 -128
View File
@@ -7,7 +7,8 @@ translate greek strings:
# screens.rpy:87
old "## In-game screens"
new "## In-game screens"
# Automatic translation.
new "## Οθόνες στο παιχνίδι"
# screens.rpy:91
old "## Say screen"
@@ -15,11 +16,13 @@ translate greek strings:
# screens.rpy:93
old "## The say screen is used to display dialogue to the player. It takes two parameters, who and what, which are the name of the speaking character and the text to be displayed, respectively. (The who parameter can be None if no name is given.)"
new "## The say screen is used to display dialogue to the player. It takes two parameters, who and what, which are the name of the speaking character and the text to be displayed, respectively. (The who parameter can be None if no name is given.)"
# Automatic translation.
new "## Η οθόνη say χρησιμοποιείται για την εμφάνιση διαλόγου στον παίκτη. Λαμβάνει δύο παραμέτρους, who και what, οι οποίες είναι το όνομα του χαρακτήρα που μιλάει και το κείμενο που θα εμφανιστεί, αντίστοιχα. (Η παράμετρος who μπορεί να είναι None αν δεν έχει δοθεί όνομα)."
# screens.rpy:98
old "## This screen must create a text displayable with id \"what\", as Ren'Py uses this to manage text display. It can also create displayables with id \"who\" and id \"window\" to apply style properties."
new "## This screen must create a text displayable with id \"what\", as Ren'Py uses this to manage text display. It can also create displayables with id \"who\" and id \"window\" to apply style properties."
# Automatic translation.
new "## Αυτή η οθόνη πρέπει να δημιουργήσει ένα text displayable με id \"what\", καθώς η Ren'Py το χρησιμοποιεί για να διαχειρίζεται την εμφάνιση κειμένου. Μπορεί επίσης να δημιουργήσει displayables με id \"who\" και id \"window\" για να εφαρμόσει ιδιότητες στυλ."
# screens.rpy:102
old "## https://www.renpy.org/doc/html/screen_special.html#say"
@@ -27,15 +30,18 @@ translate greek strings:
# screens.rpy:169
old "## Input screen"
new "## Input screen"
# Automatic translation.
new "## Οθόνη εισόδου"
# screens.rpy:171
old "## This screen is used to display renpy.input. The prompt parameter is used to pass a text prompt in."
new "## This screen is used to display renpy.input. The prompt parameter is used to pass a text prompt in."
# Automatic translation.
new "## Αυτή η οθόνη χρησιμοποιείται για την εμφάνιση του renpy.input. Η παράμετρος prompt χρησιμοποιείται για να περάσετε μια προτροπή κειμένου."
# screens.rpy:174
old "## This screen must create an input displayable with id \"input\" to accept the various input parameters."
new "## This screen must create an input displayable with id \"input\" to accept the various input parameters."
# Automatic translation.
new "## Αυτή η οθόνη πρέπει να δημιουργήσει ένα displayable εισόδου με id \"input\" για να δέχεται τις διάφορες παραμέτρους εισόδου."
# screens.rpy:177
old "## http://www.renpy.org/doc/html/screen_special.html#input"
@@ -43,11 +49,13 @@ translate greek strings:
# screens.rpy:205
old "## Choice screen"
new "## Choice screen"
# Automatic translation.
new "## Οθόνη επιλογής"
# screens.rpy:207
old "## This screen is used to display the in-game choices presented by the menu statement. The one parameter, items, is a list of objects, each with caption and action fields."
new "## This screen is used to display the in-game choices presented by the menu statement. The one parameter, items, is a list of objects, each with caption and action fields."
# Automatic translation.
new "## Αυτή η οθόνη χρησιμοποιείται για την εμφάνιση των επιλογών εντός του παιχνιδιού που παρουσιάζονται από τη δήλωση του μενού. Η μία παράμετρος, τα αντικείμενα, είναι μια λίστα αντικειμένων, το καθένα με πεδία λεζάντας και δράσης."
# screens.rpy:211
old "## http://www.renpy.org/doc/html/screen_special.html#choice"
@@ -55,15 +63,18 @@ translate greek strings:
# screens.rpy:221
old "## When this is true, menu captions will be spoken by the narrator. When false, menu captions will be displayed as empty buttons."
new "## When this is true, menu captions will be spoken by the narrator. When false, menu captions will be displayed as empty buttons."
# Automatic translation.
new "## Όταν αυτό είναι αληθές, οι λεζάντες του μενού θα εκφωνούνται από τον αφηγητή. Όταν είναι false, οι λεζάντες μενού θα εμφανίζονται ως κενά κουμπιά."
# screens.rpy:244
old "## Quick Menu screen"
new "## Quick Menu screen"
# Automatic translation.
new "## Οθόνη γρήγορου μενού"
# screens.rpy:246
old "## The quick menu is displayed in-game to provide easy access to the out-of-game menus."
new "## The quick menu is displayed in-game to provide easy access to the out-of-game menus."
# Automatic translation.
new "## Το γρήγορο μενού εμφανίζεται στο παιχνίδι για να παρέχει εύκολη πρόσβαση στα μενού εκτός παιχνιδιού."
# screens.rpy:261
old "Back"
@@ -71,11 +82,13 @@ translate greek strings:
# screens.rpy:262
old "History"
new "History"
# Automatic translation.
new "Ιστορία"
# screens.rpy:263
old "Skip"
new "Skip"
# Automatic translation.
new "Παράλειψη"
# screens.rpy:264
old "Auto"
@@ -83,7 +96,8 @@ translate greek strings:
# screens.rpy:265
old "Save"
new "Save"
# Automatic translation.
new "Αποθήκευση"
# screens.rpy:266
old "Q.Save"
@@ -95,39 +109,48 @@ translate greek strings:
# screens.rpy:268
old "Prefs"
new "Prefs"
# Automatic translation.
new "Προτιμήσεις"
# screens.rpy:271
old "## This code ensures that the quick_menu screen is displayed in-game, whenever the player has not explicitly hidden the interface."
new "## This code ensures that the quick_menu screen is displayed in-game, whenever the player has not explicitly hidden the interface."
# Automatic translation.
new "## Αυτός ο κώδικας διασφαλίζει ότι η οθόνη quick_menu εμφανίζεται στο παιχνίδι, όποτε ο παίκτης δεν έχει αποκρύψει ρητά τη διεπαφή."
# screens.rpy:291
old "## Navigation screen"
new "## Navigation screen"
# Automatic translation.
new "## Οθόνη πλοήγησης"
# screens.rpy:293
old "## This screen is included in the main and game menus, and provides navigation to other menus, and to start the game."
new "## This screen is included in the main and game menus, and provides navigation to other menus, and to start the game."
# Automatic translation.
new "## Αυτή η οθόνη περιλαμβάνεται στο κύριο μενού και στο μενού του παιχνιδιού και παρέχει πλοήγηση σε άλλα μενού και για την εκκίνηση του παιχνιδιού."
# screens.rpy:308
old "Start"
new "Start"
# Automatic translation.
new "Έναρξη"
# screens.rpy:316
old "Load"
new "Load"
# Automatic translation.
new "Φορτίο"
# screens.rpy:318
old "Preferences"
new "Preferences"
# Automatic translation.
new "Προτιμήσεις"
# screens.rpy:322
old "End Replay"
new "End Replay"
# Automatic translation.
new "Τέλος επανάληψης"
# screens.rpy:326
old "Main Menu"
new "Main Menu"
# Automatic translation.
new "Κύριο μενού"
# screens.rpy:328
old "About"
@@ -135,15 +158,18 @@ translate greek strings:
# screens.rpy:332
old "## Help isn't necessary or relevant to mobile devices."
new "## Help isn't necessary or relevant to mobile devices."
# Automatic translation.
new "## Η βοήθεια δεν είναι απαραίτητη ή σχετική με τις κινητές συσκευές."
# screens.rpy:333
old "Help"
new "Help"
# Automatic translation.
new "Βοήθεια"
# screens.rpy:335
old "## The quit button is banned on iOS and unnecessary on Android."
new "## The quit button is banned on iOS and unnecessary on Android."
# Automatic translation.
new "## Το κουμπί quit είναι απαγορευμένο στο iOS και περιττό στο Android."
# screens.rpy:336
old "Quit"
@@ -151,11 +177,13 @@ translate greek strings:
# screens.rpy:350
old "## Main Menu screen"
new "## Main Menu screen"
# Automatic translation.
new "## Οθόνη κύριου μενού"
# screens.rpy:352
old "## Used to display the main menu when Ren'Py starts."
new "## Used to display the main menu when Ren'Py starts."
# Automatic translation.
new "## Χρησιμοποιείται για την εμφάνιση του κύριου μενού κατά την εκκίνηση του Ren'Py."
# screens.rpy:354
old "## http://www.renpy.org/doc/html/screen_special.html#main-menu"
@@ -163,19 +191,18 @@ translate greek strings:
# screens.rpy:369
old "## The use statement includes another screen inside this one. The actual contents of the main menu are in the navigation screen."
new "## The use statement includes another screen inside this one. The actual contents of the main menu are in the navigation screen."
# Automatic translation.
new "## Η δήλωση use περιλαμβάνει μια άλλη οθόνη μέσα σε αυτήν εδώ. Τα πραγματικά περιεχόμενα του κύριου μενού βρίσκονται στην οθόνη πλοήγησης."
# screens.rpy:413
old "## Game Menu screen"
new "## Game Menu screen"
# Automatic translation.
new "## Οθόνη μενού παιχνιδιού"
# screens.rpy:415
old "## This lays out the basic common structure of a game menu screen. It's called with the screen title, and displays the background, title, and navigation."
new "## This lays out the basic common structure of a game menu screen. It's called with the screen title, and displays the background, title, and navigation."
# screens.rpy:418
old "## The scroll parameter can be None, or one of \"viewport\" or \"vpgrid\". When this screen is intended to be used with one or more children, which are transcluded (placed) inside it."
new "## The scroll parameter can be None, or one of \"viewport\" or \"vpgrid\". When this screen is intended to be used with one or more children, which are transcluded (placed) inside it."
# Automatic translation.
new "## Εδώ παρουσιάζεται η βασική κοινή δομή της οθόνης του μενού ενός παιχνιδιού. Καλείται με τον τίτλο της οθόνης και εμφανίζει το φόντο, τον τίτλο και την πλοήγηση."
# screens.rpy:476
old "Return"
@@ -183,43 +210,53 @@ translate greek strings:
# screens.rpy:539
old "## About screen"
new "## About screen"
# Automatic translation.
new "## Σχετικά με την οθόνη"
# screens.rpy:541
old "## This screen gives credit and copyright information about the game and Ren'Py."
new "## This screen gives credit and copyright information about the game and Ren'Py."
# Automatic translation.
new "## Αυτή η οθόνη δίνει πληροφορίες για τα πιστωτικά και τα πνευματικά δικαιώματα του παιχνιδιού και του Ren'Py."
# screens.rpy:544
old "## There's nothing special about this screen, and hence it also serves as an example of how to make a custom screen."
new "## There's nothing special about this screen, and hence it also serves as an example of how to make a custom screen."
# Automatic translation.
new "## Δεν υπάρχει τίποτα το ιδιαίτερο σε αυτή την οθόνη, και ως εκ τούτου χρησιμεύει επίσης ως παράδειγμα για το πώς να φτιάξετε μια προσαρμοσμένη οθόνη."
# screens.rpy:551
old "## This use statement includes the game_menu screen inside this one. The vbox child is then included inside the viewport inside the game_menu screen."
new "## This use statement includes the game_menu screen inside this one. The vbox child is then included inside the viewport inside the game_menu screen."
# Automatic translation.
new "## Αυτή η δήλωση χρήσης περιλαμβάνει την οθόνη game_menu μέσα σε αυτήν. Το παιδί vbox περιλαμβάνεται στη συνέχεια μέσα στο παράθυρο προβολής μέσα στην οθόνη game_menu."
# screens.rpy:561
old "Version [config.version!t]\n"
new "Version [config.version!t]\n"
# Automatic translation.
new "Έκδοση [config.version!t]\n"
# screens.rpy:563
old "## gui.about is usually set in options.rpy."
new "## gui.about is usually set in options.rpy."
# Automatic translation.
new "## Το gui.about συνήθως ορίζεται στο options.rpy."
# screens.rpy:567
old "Made with {a=https://www.renpy.org/}Ren'Py{/a} [renpy.version_only].\n\n[renpy.license!t]"
new "Made with {a=https://www.renpy.org/}Ren'Py{/a} [renpy.version_only].\n\n[renpy.license!t]"
# Automatic translation.
new "Φτιαγμένο με {a=https://www.renpy.org/}Ren'Py{/a} [renpy.version_only] .\n\n[renpy.license!t]"
# screens.rpy:570
old "## This is redefined in options.rpy to add text to the about screen."
new "## This is redefined in options.rpy to add text to the about screen."
# Automatic translation.
new "## Αυτό επαναπροσδιορίζεται στο options.rpy για να προσθέσει κείμενο στην οθόνη about."
# screens.rpy:582
old "## Load and Save screens"
new "## Load and Save screens"
# Automatic translation.
new "## Οθόνες φόρτωσης και αποθήκευσης"
# screens.rpy:584
old "## These screens are responsible for letting the player save the game and load it again. Since they share nearly everything in common, both are implemented in terms of a third screen, file_slots."
new "## These screens are responsible for letting the player save the game and load it again. Since they share nearly everything in common, both are implemented in terms of a third screen, file_slots."
# Automatic translation.
new "## Αυτές οι οθόνες είναι υπεύθυνες για να επιτρέπουν στον παίκτη να αποθηκεύει το παιχνίδι και να το φορτώνει ξανά. Δεδομένου ότι μοιράζονται σχεδόν τα πάντα από κοινού, και οι δύο υλοποιούνται με όρους μιας τρίτης οθόνης, της file_slots."
# screens.rpy:588
old "## https://www.renpy.org/doc/html/screen_special.html#save https://www.renpy.org/doc/html/screen_special.html#load"
@@ -227,23 +264,28 @@ translate greek strings:
# screens.rpy:607
old "Page {}"
new "Page {}"
# Automatic translation.
new "Σελίδα {}"
# screens.rpy:607
old "Automatic saves"
new "Automatic saves"
# Automatic translation.
new "Αυτόματη αποθήκευση"
# screens.rpy:607
old "Quick saves"
new "Quick saves"
# Automatic translation.
new "Γρήγορες αποταμιεύσεις"
# screens.rpy:613
old "## This ensures the input will get the enter event before any of the buttons do."
new "## This ensures the input will get the enter event before any of the buttons do."
# Automatic translation.
new "## Αυτό εξασφαλίζει ότι η είσοδος θα λάβει το συμβάν enter πριν από οποιοδήποτε από τα κουμπιά."
# screens.rpy:629
old "## The grid of file slots."
new "## The grid of file slots."
# Automatic translation.
new "## Το πλέγμα των υποδοχών αρχείων."
# screens.rpy:649
old "{#file_time}%A, %B %d %Y, %H:%M"
@@ -251,11 +293,13 @@ translate greek strings:
# screens.rpy:649
old "empty slot"
new "empty slot"
# Automatic translation.
new "κενή υποδοχή"
# screens.rpy:657
old "## Buttons to access other pages."
new "## Buttons to access other pages."
# Automatic translation.
new "## Κουμπιά για πρόσβαση σε άλλες σελίδες."
# screens.rpy:666
old "<"
@@ -275,11 +319,13 @@ translate greek strings:
# screens.rpy:711
old "## Preferences screen"
new "## Preferences screen"
# Automatic translation.
new "## Οθόνη προτιμήσεων"
# screens.rpy:713
old "## The preferences screen allows the player to configure the game to better suit themselves."
new "## The preferences screen allows the player to configure the game to better suit themselves."
# Automatic translation.
new "## Η οθόνη προτιμήσεων επιτρέπει στον παίκτη να ρυθμίσει το παιχνίδι ώστε να ταιριάζει καλύτερα στον εαυτό του."
# screens.rpy:716
old "## https://www.renpy.org/doc/html/screen_special.html#preferences"
@@ -299,7 +345,8 @@ translate greek strings:
# screens.rpy:744
old "Rollback Side"
new "Rollback Side"
# Automatic translation.
new "Πλευρά Rollback"
# screens.rpy:745
old "Disable"
@@ -307,39 +354,48 @@ translate greek strings:
# screens.rpy:746
old "Left"
new "Left"
# Automatic translation.
new "Αριστερά"
# screens.rpy:747
old "Right"
new "Right"
# Automatic translation.
new "Δεξιά"
# screens.rpy:752
old "Unseen Text"
new "Unseen Text"
# Automatic translation.
new "Αθέατο κείμενο"
# screens.rpy:753
old "After Choices"
new "After Choices"
# Automatic translation.
new "Μετά τις επιλογές"
# screens.rpy:754
old "Transitions"
new "Transitions"
# Automatic translation.
new "Μεταβάσεις"
# screens.rpy:756
old "## Additional vboxes of type \"radio_pref\" or \"check_pref\" can be added here, to add additional creator-defined preferences."
new "## Additional vboxes of type \"radio_pref\" or \"check_pref\" can be added here, to add additional creator-defined preferences."
# Automatic translation.
new "## Εδώ μπορούν να προστεθούν επιπλέον vboxes τύπου \"radio_pref\" ή \"check_pref\", για να προσθέσετε επιπλέον προτιμήσεις που καθορίζονται από τον δημιουργό."
# screens.rpy:767
old "Text Speed"
new "Text Speed"
# Automatic translation.
new "Ταχύτητα κειμένου"
# screens.rpy:771
old "Auto-Forward Time"
new "Auto-Forward Time"
# Automatic translation.
new "Χρόνος αυτόματης προώθησης"
# screens.rpy:778
old "Music Volume"
new "Music Volume"
# Automatic translation.
new "Ένταση μουσικής"
# screens.rpy:785
old "Sound Volume"
@@ -347,23 +403,28 @@ translate greek strings:
# screens.rpy:791
old "Test"
new "Test"
# Automatic translation.
new "Δοκιμή"
# screens.rpy:795
old "Voice Volume"
new "Voice Volume"
# Automatic translation.
new "Ένταση φωνής"
# screens.rpy:806
old "Mute All"
new "Mute All"
# Automatic translation.
new "Σίγαση όλων"
# screens.rpy:882
old "## History screen"
new "## History screen"
# Automatic translation.
new "## Οθόνη ιστορίας"
# screens.rpy:884
old "## This is a screen that displays the dialogue history to the player. While there isn't anything special about this screen, it does have to access the dialogue history stored in _history_list."
new "## This is a screen that displays the dialogue history to the player. While there isn't anything special about this screen, it does have to access the dialogue history stored in _history_list."
# Automatic translation.
new "## Αυτή είναι μια οθόνη που εμφανίζει το ιστορικό των διαλόγων στον παίκτη. Αν και δεν υπάρχει κάτι ιδιαίτερο σε αυτή την οθόνη, πρέπει να έχει πρόσβαση στο ιστορικό διαλόγων που είναι αποθηκευμένο στην _history_list."
# screens.rpy:888
old "## https://www.renpy.org/doc/html/history.html"
@@ -371,35 +432,43 @@ translate greek strings:
# screens.rpy:894
old "## Avoid predicting this screen, as it can be very large."
new "## Avoid predicting this screen, as it can be very large."
# Automatic translation.
new "## Αποφύγετε την πρόβλεψη αυτής της οθόνης, καθώς μπορεί να είναι πολύ μεγάλη."
# screens.rpy:905
old "## This lays things out properly if history_height is None."
new "## This lays things out properly if history_height is None."
# Automatic translation.
new "## Αυτό τοποθετεί τα πράγματα σωστά αν το ύψος ιστορίας δεν είναι None."
# screens.rpy:914
old "## Take the color of the who text from the Character, if set."
new "## Take the color of the who text from the Character, if set."
# Automatic translation.
new "## Πάρτε το χρώμα του κειμένου who από το Character, αν έχει οριστεί."
# screens.rpy:921
old "The dialogue history is empty."
new "The dialogue history is empty."
# Automatic translation.
new "Το ιστορικό διαλόγου είναι κενό."
# screens.rpy:965
old "## Help screen"
new "## Help screen"
# Automatic translation.
new "## Οθόνη βοήθειας"
# screens.rpy:967
old "## A screen that gives information about key and mouse bindings. It uses other screens (keyboard_help, mouse_help, and gamepad_help) to display the actual help."
new "## A screen that gives information about key and mouse bindings. It uses other screens (keyboard_help, mouse_help, and gamepad_help) to display the actual help."
# Automatic translation.
new "## Μια οθόνη που δίνει πληροφορίες σχετικά με τις δεσμεύσεις πλήκτρων και ποντικιού. Χρησιμοποιεί άλλες οθόνες (keyboard_help, mouse_help και gamepad_help) για να εμφανίσει την πραγματική βοήθεια."
# screens.rpy:986
old "Keyboard"
new "Keyboard"
# Automatic translation.
new "Πληκτρολόγιο"
# screens.rpy:987
old "Mouse"
new "Mouse"
# Automatic translation.
new "Ποντίκι"
# screens.rpy:990
old "Gamepad"
@@ -407,35 +476,43 @@ translate greek strings:
# screens.rpy:1003
old "Enter"
new "Enter"
# Automatic translation.
new "Εισάγετε το"
# screens.rpy:1004
old "Advances dialogue and activates the interface."
new "Advances dialogue and activates the interface."
# Automatic translation.
new "Προωθεί το διάλογο και ενεργοποιεί τη διεπαφή."
# screens.rpy:1007
old "Space"
new "Space"
# Automatic translation.
new "Διάστημα"
# screens.rpy:1008
old "Advances dialogue without selecting choices."
new "Advances dialogue without selecting choices."
# Automatic translation.
new "Προχωράει το διάλογο χωρίς να επιλέγει επιλογές."
# screens.rpy:1011
old "Arrow Keys"
new "Arrow Keys"
# Automatic translation.
new "Πλήκτρα βέλους"
# screens.rpy:1012
old "Navigate the interface."
new "Navigate the interface."
# Automatic translation.
new "Πλοηγηθείτε στη διεπαφή."
# screens.rpy:1015
old "Escape"
new "Escape"
# Automatic translation.
new "Απόδραση"
# screens.rpy:1016
old "Accesses the game menu."
new "Accesses the game menu."
# Automatic translation.
new "Πρόσβαση στο μενού του παιχνιδιού."
# screens.rpy:1019
old "Ctrl"
@@ -443,7 +520,8 @@ translate greek strings:
# screens.rpy:1020
old "Skips dialogue while held down."
new "Skips dialogue while held down."
# Automatic translation.
new "Παραλείπει το διάλογο όσο το κρατάτε πατημένο."
# screens.rpy:1023
old "Tab"
@@ -451,91 +529,113 @@ translate greek strings:
# screens.rpy:1024
old "Toggles dialogue skipping."
new "Toggles dialogue skipping."
# Automatic translation.
new "Ενεργοποιεί την παράλειψη διαλόγου."
# screens.rpy:1027
old "Page Up"
new "Page Up"
# Automatic translation.
new "Σελίδα επάνω"
# screens.rpy:1028
old "Rolls back to earlier dialogue."
new "Rolls back to earlier dialogue."
# Automatic translation.
new "Επιστρέφει σε προηγούμενο διάλογο."
# screens.rpy:1031
old "Page Down"
new "Page Down"
# Automatic translation.
new "Σελίδα κάτω"
# screens.rpy:1032
old "Rolls forward to later dialogue."
new "Rolls forward to later dialogue."
# Automatic translation.
new "Προχωράει προς τα εμπρός για τον μετέπειτα διάλογο."
# screens.rpy:1036
old "Hides the user interface."
new "Hides the user interface."
# Automatic translation.
new "Κρύβει το περιβάλλον εργασίας χρήστη."
# screens.rpy:1040
old "Takes a screenshot."
new "Takes a screenshot."
# Automatic translation.
new "Τραβάει ένα στιγμιότυπο οθόνης."
# screens.rpy:1044
old "Toggles assistive {a=https://www.renpy.org/l/voicing}self-voicing{/a}."
new "Toggles assistive {a=https://www.renpy.org/l/voicing}self-voicing{/a}."
# Automatic translation.
new "Εναλλαγή βοηθητικών {a=https://www.renpy.org/l/voicing}αυτοφωνημάτων{/a}."
# screens.rpy:1050
old "Left Click"
new "Left Click"
# Automatic translation.
new "Αριστερό κλικ"
# screens.rpy:1054
old "Middle Click"
new "Middle Click"
# Automatic translation.
new "Μεσαίο κλικ"
# screens.rpy:1058
old "Right Click"
new "Right Click"
# Automatic translation.
new "Δεξί κλικ"
# screens.rpy:1062
old "Mouse Wheel Up\nClick Rollback Side"
new "Mouse Wheel Up\nClick Rollback Side"
old "Mouse Wheel Up"
# Automatic translation.
new "Τροχός ποντικιού επάνω\nΚάντε κλικ στο Rollback Side"
# screens.rpy:1066
old "Mouse Wheel Down"
new "Mouse Wheel Down"
# Automatic translation.
new "Τροχός του ποντικιού προς τα κάτω"
# screens.rpy:1073
old "Right Trigger\nA/Bottom Button"
new "Right Trigger\nA/Bottom Button"
# Automatic translation.
new "Δεξί σκανδάλη\nA/κάτω κουμπί"
# screens.rpy:1074
old "Advance dialogue and activates the interface."
new "Advance dialogue and activates the interface."
# Automatic translation.
new "Προώθηση διαλόγου και ενεργοποίηση της διεπαφής."
# screens.rpy:1078
old "Roll back to earlier dialogue."
new "Roll back to earlier dialogue."
# Automatic translation.
new "Επιστροφή σε προηγούμενο διάλογο."
# screens.rpy:1081
old "Right Shoulder"
new "Right Shoulder"
# Automatic translation.
new "Δεξιός ώμος"
# screens.rpy:1082
old "Roll forward to later dialogue."
new "Roll forward to later dialogue."
# Automatic translation.
new "Προχωρήστε σε μεταγενέστερο διάλογο."
# screens.rpy:1085
old "D-Pad, Sticks"
new "D-Pad, Sticks"
# Automatic translation.
new "D-Pad, μπαστούνια"
# screens.rpy:1089
old "Start, Guide"
new "Start, Guide"
# Automatic translation.
new "Έναρξη, Οδηγός"
# screens.rpy:1090
old "Access the game menu."
new "Access the game menu."
# Automatic translation.
new "Πρόσβαση στο μενού του παιχνιδιού."
# screens.rpy:1093
old "Y/Top Button"
new "Y/Top Button"
# Automatic translation.
new "Y/Πάνω κουμπί"
# screens.rpy:1096
old "Calibrate"
@@ -543,15 +643,18 @@ translate greek strings:
# screens.rpy:1124
old "## Additional screens"
new "## Additional screens"
# Automatic translation.
new "## Πρόσθετες οθόνες"
# screens.rpy:1128
old "## Confirm screen"
new "## Confirm screen"
# Automatic translation.
new "## Επιβεβαίωση οθόνης"
# screens.rpy:1130
old "## The confirm screen is called when Ren'Py wants to ask the player a yes or no question."
new "## The confirm screen is called when Ren'Py wants to ask the player a yes or no question."
# Automatic translation.
new "## Η οθόνη επιβεβαίωσης καλείται όταν ο Ren'Py θέλει να κάνει στον παίκτη μια ερώτηση ναι ή όχι."
# screens.rpy:1133
old "## http://www.renpy.org/doc/html/screen_special.html#confirm"
@@ -559,7 +662,8 @@ translate greek strings:
# screens.rpy:1137
old "## Ensure other screens do not get input while this screen is displayed."
new "## Ensure other screens do not get input while this screen is displayed."
# Automatic translation.
new "## Βεβαιωθείτε ότι άλλες οθόνες δεν λαμβάνουν δεδομένα ενώ εμφανίζεται αυτή η οθόνη."
# screens.rpy:1161
old "Yes"
@@ -571,15 +675,18 @@ translate greek strings:
# screens.rpy:1164
old "## Right-click and escape answer \"no\"."
new "## Right-click and escape answer \"no\"."
# Automatic translation.
new "## Κάντε δεξί κλικ και αποφύγετε την απάντηση \"όχι\"."
# screens.rpy:1191
old "## Skip indicator screen"
new "## Skip indicator screen"
# Automatic translation.
new "## Οθόνη ένδειξης παράλειψης"
# screens.rpy:1193
old "## The skip_indicator screen is displayed to indicate that skipping is in progress."
new "## The skip_indicator screen is displayed to indicate that skipping is in progress."
# Automatic translation.
new "## Εμφανίζεται η οθόνη skip_indicator για να υποδείξει ότι η παράλειψη βρίσκεται σε εξέλιξη."
# screens.rpy:1196
old "## https://www.renpy.org/doc/html/screen_special.html#skip-indicator"
@@ -587,19 +694,23 @@ translate greek strings:
# screens.rpy:1208
old "Skipping"
new "Skipping"
# Automatic translation.
new "Παράλειψη"
# screens.rpy:1215
old "## This transform is used to blink the arrows one after another."
new "## This transform is used to blink the arrows one after another."
# Automatic translation.
new "## Αυτός ο μετασχηματισμός χρησιμοποιείται για να αναβοσβήνουν τα βέλη το ένα μετά το άλλο."
# screens.rpy:1247
old "## Notify screen"
new "## Notify screen"
# Automatic translation.
new "## Ειδοποίηση οθόνης"
# screens.rpy:1249
old "## The notify screen is used to show the player a message. (For example, when the game is quicksaved or a screenshot has been taken.)"
new "## The notify screen is used to show the player a message. (For example, when the game is quicksaved or a screenshot has been taken.)"
# Automatic translation.
new "## Η οθόνη ειδοποίησης χρησιμοποιείται για να δείξει στον παίκτη ένα μήνυμα. (Για παράδειγμα, όταν το παιχνίδι έχει αποθηκευτεί ή έχει ληφθεί ένα στιγμιότυπο οθόνης)."
# screens.rpy:1252
old "## https://www.renpy.org/doc/html/screen_special.html#notify-screen"
@@ -607,11 +718,13 @@ translate greek strings:
# screens.rpy:1286
old "## NVL screen"
new "## NVL screen"
# Automatic translation.
new "## Οθόνη NVL"
# screens.rpy:1288
old "## This screen is used for NVL-mode dialogue and menus."
new "## This screen is used for NVL-mode dialogue and menus."
# Automatic translation.
new "## Αυτή η οθόνη χρησιμοποιείται για τον διάλογο και τα μενού της λειτουργίας NVL."
# screens.rpy:1290
old "## http://www.renpy.org/doc/html/screen_special.html#nvl"
@@ -619,25 +732,160 @@ translate greek strings:
# screens.rpy:1301
old "## Displays dialogue in either a vpgrid or the vbox."
new "## Displays dialogue in either a vpgrid or the vbox."
# Automatic translation.
new "## Εμφανίζει το διάλογο είτε σε ένα vpgrid είτε στο vbox."
# screens.rpy:1314
old "## Displays the menu, if given. The menu may be displayed incorrectly if config.narrator_menu is set to True, as it is above."
new "## Displays the menu, if given. The menu may be displayed incorrectly if config.narrator_menu is set to True, as it is above."
# Automatic translation.
new "## Εμφανίζει το μενού, αν υπάρχει. Το μενού μπορεί να εμφανιστεί εσφαλμένα αν το config.narrator_menu έχει οριστεί σε True, όπως είναι παραπάνω."
# screens.rpy:1344
old "## This controls the maximum number of NVL-mode entries that can be displayed at once."
new "## This controls the maximum number of NVL-mode entries that can be displayed at once."
# Automatic translation.
new "## Ελέγχει τον μέγιστο αριθμό καταχωρήσεων της λειτουργίας NVL που μπορούν να εμφανιστούν ταυτόχρονα."
# screens.rpy:1406
old "## Mobile Variants"
new "## Mobile Variants"
# Automatic translation.
new "## Παραλλαγές κινητού"
# screens.rpy:1413
old "## Since a mouse may not be present, we replace the quick menu with a version that uses fewer and bigger buttons that are easier to touch."
new "## Since a mouse may not be present, we replace the quick menu with a version that uses fewer and bigger buttons that are easier to touch."
# Automatic translation.
new "## Δεδομένου ότι μπορεί να μην υπάρχει ποντίκι, αντικαθιστούμε το γρήγορο μενού με μια έκδοση που χρησιμοποιεί λιγότερα και μεγαλύτερα κουμπιά που είναι πιο εύκολο να αγγίξετε."
# screens.rpy:1429
old "Menu"
new "Menu"
# Automatic translation.
new "Μενού"
translate greek strings:
# gui/game/screens.rpy:114
old "## If there's a side image, display it above the text. Do not display on the phone variant - there's no room."
# Automatic translation.
new "## Αν υπάρχει εικόνα στο πλάι, εμφανίστε την πάνω από το κείμενο. Μην την εμφανίζετε στην παραλλαγή του τηλεφώνου - δεν υπάρχει χώρος."
# gui/game/screens.rpy:120
old "## Make the namebox available for styling through the Character object."
# Automatic translation.
new "## Κάντε το πλαίσιο ονόματος διαθέσιμο για διαμόρφωση μέσω του αντικειμένου Character."
# gui/game/screens.rpy:173
old "## https://www.renpy.org/doc/html/screen_special.html#input"
new "## https://www.renpy.org/doc/html/screen_special.html#input"
# gui/game/screens.rpy:206
old "## https://www.renpy.org/doc/html/screen_special.html#choice"
new "## https://www.renpy.org/doc/html/screen_special.html#choice"
# gui/game/screens.rpy:241
old "## Ensure this appears on top of other screens."
# Automatic translation.
new "## Βεβαιωθείτε ότι αυτό εμφανίζεται πάνω από άλλες οθόνες."
# gui/game/screens.rpy:280
old "## Main and Game Menu Screens"
# Automatic translation.
new "## Οθόνες κύριου μενού και μενού παιχνιδιού"
# gui/game/screens.rpy:329
old "## The quit button is banned on iOS and unnecessary on Android and Web."
# Automatic translation.
new "## Το κουμπί quit είναι απαγορευμένο στο iOS και περιττό στο Android και το Web."
# gui/game/screens.rpy:348
old "## https://www.renpy.org/doc/html/screen_special.html#main-menu"
new "## https://www.renpy.org/doc/html/screen_special.html#main-menu"
# gui/game/screens.rpy:352
old "## This ensures that any other menu screen is replaced."
# Automatic translation.
new "## Αυτό εξασφαλίζει ότι οποιαδήποτε άλλη οθόνη μενού αντικαθίσταται."
# gui/game/screens.rpy:357
old "## This empty frame darkens the main menu."
# Automatic translation.
new "## Αυτό το κενό πλαίσιο σκουραίνει το κύριο μενού."
# gui/game/screens.rpy:429
old "## Reserve space for the navigation section."
# Automatic translation.
new "## Κρατήστε χώρο για το τμήμα πλοήγησης."
# gui/game/screens.rpy:608
old "## The page name, which can be edited by clicking on a button."
# Automatic translation.
new "## Το όνομα της σελίδας, το οποίο μπορεί να επεξεργαστεί κάνοντας κλικ σε ένα κουμπί."
# gui/game/screens.rpy:668
old "## range(1, 10) gives the numbers from 1 to 9."
# Automatic translation.
new "## range(1, 10) δίνει τους αριθμούς από το 1 έως το 9."
# gui/game/screens.rpy:676
old "Upload Sync"
# Automatic translation.
new "Συγχρονισμός φόρτωσης"
# gui/game/screens.rpy:680
old "Download Sync"
# Automatic translation.
new "Λήψη Sync"
# gui/game/screens.rpy:921
old "## This determines what tags are allowed to be displayed on the history screen."
# Automatic translation.
new "## Αυτό καθορίζει ποιες ετικέτες επιτρέπεται να εμφανίζονται στην οθόνη ιστορικού."
# gui/game/screens.rpy:1049
old "Opens the accessibility menu."
# Automatic translation.
new "Ανοίγει το μενού προσβασιμότητας."
# gui/game/screens.rpy:1082
old "Left Trigger\nLeft Shoulder"
# Automatic translation.
new "Αριστερό σκανδάλη\nΑριστερός ώμος"
# gui/game/screens.rpy:1139
old "## https://www.renpy.org/doc/html/screen_special.html#confirm"
new "## https://www.renpy.org/doc/html/screen_special.html#confirm"
# gui/game/screens.rpy:1248
old "## We have to use a font that has the BLACK RIGHT-POINTING SMALL TRIANGLE glyph in it."
# Automatic translation.
new "## Πρέπει να χρησιμοποιήσουμε μια γραμματοσειρά που να έχει τη γλυφή BLACK RIGHT-POINTING SMALL TRIANGLE."
# gui/game/screens.rpy:1296
old "## https://www.renpy.org/doc/html/screen_special.html#nvl"
new "## https://www.renpy.org/doc/html/screen_special.html#nvl"
# gui/game/screens.rpy:1320
old "## Displays the menu, if given. The menu may be displayed incorrectly if config.narrator_menu is set to True."
# Automatic translation.
new "## Εμφανίζει το μενού, αν υπάρχει. Το μενού μπορεί να εμφανιστεί εσφαλμένα αν το config.narrator_menu έχει οριστεί σε True."
# gui/game/screens.rpy:1410
old "## Bubble screen"
# Automatic translation.
new "## Οθόνη φυσαλίδων"
# gui/game/screens.rpy:1412
old "## The bubble screen is used to display dialogue to the player when using speech bubbles. The bubble screen takes the same parameters as the say screen, must create a displayable with the id of \"what\", and can create displayables with the \"namebox\", \"who\", and \"window\" ids."
# Automatic translation.
new "## Η οθόνη φυσαλίδων χρησιμοποιείται για την εμφάνιση διαλόγου στον παίκτη όταν χρησιμοποιούνται φυσαλίδες ομιλίας. Η οθόνη φυσαλίδων λαμβάνει τις ίδιες παραμέτρους με την οθόνη say, πρέπει να δημιουργήσει ένα displayable με το id \"what\" και μπορεί να δημιουργήσει displayables με τα ids \"namebox\", \"who\" και \"window\"."
# gui/game/screens.rpy:1417
old "## https://www.renpy.org/doc/html/bubble.html#bubble-screen"
new "## https://www.renpy.org/doc/html/bubble.html#bubble-screen"
translate greek strings:
# gui/game/screens.rpy:411
old "## The scroll parameter can be None, or one of \"viewport\" or \"vpgrid\". This screen is intended to be used with one or more children, which are transcluded (placed) inside it."
# Automatic translation.
new "## Η παράμετρος κύλισης μπορεί να είναι None ή ένα από τα \"viewport\" ή \"vpgrid\". Αυτή η οθόνη προορίζεται να χρησιμοποιηθεί με ένα ή περισσότερα παιδιά, τα οποία μεταφέρονται (τοποθετούνται) μέσα σε αυτήν."

Some files were not shown because too many files have changed in this diff Show More