Compare commits

...

2534 Commits

Author SHA1 Message Date
Tom Rothamel ea86a27cf0 Add missing variables. 2021-01-31 01:13:06 -05:00
Tom Rothamel c7bc7aa2f9 Add config.change_icons_i686.
This is a lesser form of config.include_i686, the idea being that
the Ren'Py launcher will be whitelisted. (If it works, then we
can remove the Ren'Py icon from the launcher in the next
release.)
2021-01-30 21:35:43 -05:00
Tom Rothamel 625d0acbfa Ensure that focus changes always wind up on the grabbed displayable.
Per the secondary issue reported in #2633.
2021-01-30 19:24:06 -05:00
Tom Rothamel 3c173f073e Tweak the wording of the android warning. 2021-01-30 19:22:35 -05:00
Tom Rothamel 259639db0b Documentation clarifications.
- Explain how subpixel handles edges.
- Further clarify supported wav files.
2021-01-30 16:36:18 -05:00
Tom Rothamel 7abeaed7ec Improve how we scan for motion and expression files in live2d. 2021-01-29 21:53:23 -05:00
Tom Rothamel 1df06eeae3 Add config.context_fadeout_music and config.context_fadein_music.
These variables control how music is faded on context changes
like loads and replay ends.
2021-01-29 21:12:07 -05:00
Tom Rothamel e1702c53a1 Update the changelog. 2021-01-29 20:16:25 -05:00
Tom Rothamel 4ded91be04 Change the name. 2021-01-29 19:16:15 -05:00
Tom Rothamel 07006c7b47 Ensure the winding of both polygons when intersecting polygons.
Fixes #2628.
2021-01-28 23:59:40 -05:00
Tom Rothamel 731460b9ea Fix borders in the gl1 renderer.
Fixes #2625, which was reported with a patch by mgambrell.
2021-01-28 23:36:40 -05:00
Tom Rothamel 9ef37d27c3 Add build.include_i686.
This determines whether the 32-bit intel platform is included.
2021-01-27 23:04:54 -05:00
Tom Rothamel 9f34c7bdd4 Fix an error reporting bad flips. 2021-01-26 21:12:28 -05:00
Tom Rothamel 7beb499937 Point to AdoptOpenJDK. 2021-01-26 18:03:22 -05:00
Tom Rothamel 87b6c0f562 Use pygame_sdl2 to determine if the screensaver is active.
SDL2 only seems to check the hint once, at init time. However,
the Enable/Disable functions can be called at any time.

Fixes #2626, hopefully for good this time.
2021-01-26 01:02:57 -05:00
Tom Rothamel 2fae5f7591 Repeat the icon data in the .exe.
This yields marginally better antivirus behavior by giving the .exe
a normal amount of entropy.
2021-01-26 01:02:57 -05:00
Tom Rothamel 3aafa9d608 Merge pull request #2595 from Gouvernathor/patch-1
Add a getter for the achievement progress
2021-01-25 21:08:46 -05:00
Tom Rothamel e747c38f37 Update sponsor docs. 2021-01-24 21:25:55 -05:00
Tom Rothamel 3530434c51 sw: Remove the obsolete scale_fast field.
Addresses #2619.
2021-01-23 23:33:34 -05:00
Tom Rothamel 3593b6410a Monkeypatch the updates to deal with 7.4.1 missing zsync on mac. 2021-01-23 23:21:23 -05:00
Tom Rothamel 4788f3162f Bump version. 2021-01-23 18:54:22 -05:00
Tom Rothamel cea83dd5cb Merge pull request #2616 from midgethetree/bug-focus-extreme
Update focus.py
2021-01-22 21:30:20 -05:00
midgethetree 4ad0397578 Update focus.py
Made it so the focus_extreme function (used when arrow key is pressed if self voicing is off and no displayable on screen is currently focused) ignores displayables with keyboard_focus set to False.
2021-01-22 01:50:31 -05:00
Tom Rothamel a854b63b96 Check in more changes. 2021-01-21 22:51:22 -05:00
Tom Rothamel 8e2e0f3e6d Change the name of the release. 2021-01-21 22:07:03 -05:00
Tom Rothamel b87a816526 Update the changelog. 2021-01-21 22:06:12 -05:00
Tom Rothamel 00252500fd Move all the other mipmap usage to the style system. 2021-01-21 21:59:30 -05:00
Tom Rothamel 9aebcd4746 Fix mipmap default. 2021-01-21 21:46:44 -05:00
Tom Rothamel 5f831b995f Add a style property that determines if text is mipmapped. 2021-01-21 21:46:14 -05:00
Andy_kl 21ce89a9eb Fix encoding issue in traceback ending text 2021-01-22 03:40:13 +02:00
Andy_kl 5d84076ff1 Add name and version of the game to early config names 2021-01-22 03:40:13 +02:00
Tom Rothamel 8a9364a836 gl2: Convert all surfaces into Textures.
This makes sure the Surface is loaded before it needs to be
rendered.

Fixes #2615.
2021-01-21 20:12:59 -05:00
Tom Rothamel 2b95b8ad7a Allow pause/renpy.pause to end during a modal screen.
Another attempt at this. It's really only the pause statment not
ending when a modal screen is up that is confusing, so we fix this
by allowing just pauses to avoid modal.
2021-01-21 08:41:51 -05:00
Tom Rothamel 700a8b8a91 Revert "Pass timeevent through modal screens."
This is too dangerous of a solution for the underlying problem.

This reverts commit d6228c994a.
2021-01-21 08:17:54 -05:00
Tom Rothamel 24eabf8b78 gl2: Allow minimal functionality when gl2 isn't functioning.
This might be the case when the EGL context is lost because an
Android app went to sleep.
2021-01-21 01:15:22 -05:00
Tom Rothamel 98682d9e19 Ensure that events are processed even if the display resets.
A common cause of display resets seems to be Androuid devices that
lose the egl context when going to sleep. This ensures we make
progress to actually going to sleep when this happens.
2021-01-21 01:15:22 -05:00
Tom Rothamel 08a7fb8c89 Allow config.log_to_stdout to be set from the game script. 2021-01-21 01:15:22 -05:00
Andykl 7fca9e99db Merge pull request #2612 from Gouvernathor/patch-2
Typo in the changelog
2021-01-21 05:00:44 +02:00
Tom Rothamel dffa3fa4d1 gl1: Try again if things fail during shader init.
This helps things run on the Galaxy S5.
2021-01-20 21:43:33 -05:00
Gouvernathor 95a594ec88 Typo in the changelog 2021-01-21 00:29:53 +01:00
Tom Rothamel 37a61025b5 gl2: Remove the texture cache.
This isn't a performance enhancement, anymore, as surfaces aren't
used much any more. It was also causing a memory leak, as the
Texture kept a reference to the Surface, which kept the Surface
alive, which kept the Texture in the cache even if it should have
been purged.
2021-01-20 18:22:39 -05:00
Tom Rothamel 17467a21c0 Update changelog. 2021-01-20 01:59:22 -05:00
Tom Rothamel 90330c5d2b Make mipmapping of videos controllable, and default it to False. 2021-01-20 01:34:12 -05:00
Tom Rothamel 8e76941ba4 gl2: Allow properties to be passed in to influence texture loading. 2021-01-20 01:33:45 -05:00
Tom Rothamel a96a6c0ce3 Do not call pop_all_dynamic() when rolling back through invoke_in_new_context.
This is the proper fix for #2599 - the previous one caused problems when hitting
shift+R when the call stack was not empty.
2021-01-20 01:09:24 -05:00
Tom Rothamel 3e614454e9 Revert "Fix a problem with rollback and dynamic variables."
This reverts commit 57e016bec2.
2021-01-20 00:09:18 -05:00
Tom Rothamel af5978fc73 ffmedia: Use the dictionary to configure threading. 2021-01-19 19:02:12 -05:00
Tom Rothamel 05fa220dd6 Remove last deprecation in avcoded, replaving avcoded_decode_audio4/video2. 2021-01-19 09:36:20 -05:00
Tom Rothamel c5193ceb3c ffmedia: Remove some deprecated function calls. 2021-01-19 00:40:22 -05:00
Tom Rothamel 5042f7e6cc Allow frames to be delivered a little early.
This fixes a jitter problem that happens when the framerate is an
integer multiple of the movie rate. You might skip a frame because
it's a small fraction of a second early, only to have to wait for
the next frame to show it.
2021-01-18 22:51:08 -05:00
Tom Rothamel d0bc9232ad Wait a little longer for the signature. 2021-01-17 22:15:57 -05:00
Tom Rothamel d0e5cc9052 Clear the dismiss keysym when dismiss_unfocused is used.
During a transition pause. Fixes the interaction of _dismiss_pause
and transition pauses.
2021-01-17 21:35:20 -05:00
Tom Rothamel a21b7a7dc8 doc: Fix wrong role. 2021-01-17 02:32:48 -05:00
Tom Rothamel 4640424ccc Changelog last commit. 2021-01-17 02:05:39 -05:00
Tom Rothamel 557fa6f408 Fix the sort of statements in lint, so translation counts work.
Fixes #2605.
2021-01-17 01:59:02 -05:00
Tom Rothamel f1393be74b Fix typo. 2021-01-17 01:27:47 -05:00
Tom Rothamel 5ca0e2789c Update the changelog. 2021-01-17 01:13:55 -05:00
Tom Rothamel 4c310521ac Update credits. 2021-01-17 00:36:16 -05:00
Tom Rothamel 3824795f67 Change the actions used to toggle self-voicing.
Per https://lemmasoft.renai.us/forums/viewtopic.php?p=538253#p538253
2021-01-17 00:33:32 -05:00
Tom Rothamel f2b896c092 Document the controller blocklist. 2021-01-17 00:14:10 -05:00
Tom Rothamel 9e9efac966 Add greater control of mipmapping for dissolves.
These can be performance critical, and involve a render to texture.
This change adds the ability to determine if the new textures have
mipmaps generated.
2021-01-17 00:08:15 -05:00
Tom Rothamel d8b371a29d Improved fix for interaction between xfill, yfill, and box_wrap.
Putting fill everywhere didn't work. So instead, we revert fully
to the 7.3.5 behavior, plus a special case for box_wrap.

Addresses #2589 and #2081.
2021-01-16 23:46:53 -05:00
Tom Rothamel 20dd6f33c9 Revert the change to set xfill/yfill by default when a size is present.
It's too disruptive.
2021-01-16 22:10:45 -05:00
Tom Rothamel b160beabd0 Pass the render properties into the render to texture system.
This will make it possible to use properties to better control
render-to-texture.
2021-01-16 22:09:43 -05:00
Tom Rothamel 57e016bec2 Fix a problem with rollback and dynamic variables.
... which was that dynamic variables wouldn't get reset after a
rollback happened. This wasn't a huge problem, since dynamic
variables mostly were used in contexts, and contexts rarely
cause rollback.

However, we offer rollback as an option when an error in a context
occurs, which could trigger this issue.

Fixes #2599.
2021-01-16 21:39:49 -05:00
Tom Rothamel 3a42e790fd Fix the interaction between xfill, yfill, and box_wrap.
First off, it makes sense that if a size is being forced on a
displayable, it should fill to fit that size in possible. So
now xsize, ysize, and xysize force xfill and/or yfill in the
appropriate dimensions.

If box_wrap is true, however, fill is turned off for the last
line. This prevents it from being expanded unnaturally.

Fixes #2589, while preserving the fix for #2081.
2021-01-16 20:31:15 -05:00
Tom Rothamel d31d27b093 Better documentation for the expansion APK license.
Fixes #2593.
2021-01-16 14:29:22 -05:00
Tom Rothamel 350ce8978d Add a controller blocklist for the Switch pro controller.
This controller doesn't work without some other software to send
the init to it. Trying to use hidapi to initialize the controller
didn't work, and led to problems with other software that uses
USB. (And fundamentally, I don't think Ren'Py should use direct USB
access.)

So, instead, we detect the pro controller and ignore it.
2021-01-16 14:20:51 -05:00
Tom Rothamel beea27db8c Set the hint to allow the screensaver.
Fixes #2602, a regression introduced by SDL2.
2021-01-16 13:16:16 -05:00
Tom Rothamel c72638b7aa Ensure glfunctions remains reported after reload. 2021-01-16 11:14:09 -05:00
Tom Rothamel 4c75b3db14 Exclude the presplash from archives. 2021-01-16 11:12:19 -05:00
Tom Rothamel 06c5f83ce6 Add id to the last commit, meaning no translation is required. 2021-01-14 21:54:17 -05:00
Tom Rothamel 2fd87aff65 Merge pull request #2597 from ajkhan96/atl-tutorial-typo
Fix typo in ATL tutorial
2021-01-14 21:24:58 -05:00
Tom Rothamel 39e3600e00 Add an id clause to the say statement.
This makes it possible to specify the transation id, making it
possible to correct a typo without forcing a retranslation.
2021-01-14 21:20:36 -05:00
Tom Rothamel ffef475dce Fix set_projects and friends. 2021-01-14 19:15:46 -05:00
ajkhan96 c483c82781 Fix typo in ATL tutorial 2021-01-14 01:55:59 -08:00
Tom Rothamel 4587e9b901 Use pyobjus to choose the directory on macOS, if it's available.
This works around problems with Big Sur.

Fixes #2576.
2021-01-14 01:11:35 -05:00
Tom Rothamel 0aaf668b10 Rollback timer state when a new timer object is created.
The TimerState object expects to roll back, but there's an edge
case, since usually an object doesn't roll back to the start of
the interaction period when it was first created. However, due
to being reachable through a displayable that doesn't roll back,
the TimerState needs to roll back to its initial state.

Fixes #2596.
2021-01-13 22:22:44 -05:00
Gouvernathor fb4ce32fb0 Add a getter for the achievement progress...
...in addition to the setter already in place (the progress function).
2021-01-14 00:58:11 +01:00
Tom Rothamel d449adb8c2 Fix encodings in renpy.exports.log.
Fixes #2590.
2021-01-11 23:33:19 -05:00
Tom Rothamel 8f369fa978 Add missing header to the changelog. 2021-01-10 22:53:42 -05:00
Tom Rothamel 74b38afeb2 Link to log.txt if GL fails to start. 2021-01-10 22:53:14 -05:00
Tom Rothamel ca356e7d17 Allow the software renderer to activate if explicity selected. 2021-01-10 22:51:59 -05:00
Tom Rothamel bc06529e9d gl, gl2: Check that all required functions have been dynamically loaded.
If a function fails to load, log the error and error out early, rather
than heading for a potential crash when the function is called.

Per #2584.
2021-01-10 22:33:06 -05:00
Tom Rothamel cc3dfd5ea5 mac: Include the mac build scripts with Ren'Py.
This means it's not necessary to have a mounted directory on the
mac used for code signing, which should improve the reliability
of nightly builds.
2021-01-09 21:26:13 -05:00
Tom Rothamel de07ab2c3f Changelog. 2021-01-09 02:25:07 -05:00
Tom Rothamel 717242aa00 Update the sponsor doc. 2021-01-09 02:23:58 -05:00
Tom Rothamel f72b7d6125 Update the changelog. 2021-01-09 02:17:03 -05:00
Tom Rothamel 9c71146079 Update copyright. 2021-01-08 21:08:22 -05:00
Tom Rothamel 9638dc7c48 Use dpi_scale to update the physical_size preference.
This should bring back high dpi mode on Windows.

Fixes #2581.
2021-01-08 00:30:51 -05:00
Tom Rothamel c23195e4f1 Revert "Remove the setting of dpi_scale."
This reverts commit 5a7e82f881.
2021-01-07 22:40:52 -05:00
Tom Rothamel 853e0fb4f2 lint: Fixes.
- Ignore _confirm_quit being redefined.
- Report Unicode dialogue problems in unicode, not repr.
2021-01-07 21:32:15 -05:00
Tom Rothamel 27f4494ecb Add config.gl_set_attributes for test purposes.
As a way to make #2574 potentially something we can debug.
2021-01-06 19:33:46 -05:00
Tom Rothamel 3138d6985f Merge pull request #2562 from morganwillcock/normalize-path-parser
Normalize game filename for unelide
2021-01-06 09:59:17 -05:00
Tom Rothamel 01d99fb016 Merge pull request #2554 from Moshibit/master
update Spanish translation
2021-01-06 09:59:03 -05:00
Tom Rothamel 3edd99a3d7 Use python2 to display the tk file picker on Mac.
Tkinter is broken on Python 3 on Big Sur, hence it's necessary
to use Python 3 on that platform to display the file picker.

Fixes #2575.
2021-01-06 02:07:26 -05:00
Tom Rothamel 31894be3dc Enable ffmpeg autothreading. 2021-01-06 01:31:30 -05:00
Tom Rothamel ff58a13938 More work on windows movie playback.
- Go back to using SDL_calloc on Windows, as it can be freed properly.
- Go back to 16 byte alignment, now that we patch ffmpeg to handle
  alignment properly.
2021-01-05 23:06:37 -05:00
Tom Rothamel ab07dc9215 Fix typo. 2021-01-05 22:33:14 -05:00
Andy_kl b1b2d7a3be Fix selection of renderers to better include gl2. 2021-01-05 17:08:20 +02:00
Tom Rothamel 00543bcb4c Prefer opening a help file to a help screen, if Help has one give.
This fixes a use case where Help("whatever.html") was used to
launch arbitrary html files.
2021-01-05 09:30:53 -05:00
Tom Rothamel 3b5a9eec12 Fix selection of renderers to better include gl2.
Fixes a regression introduced by 63769aa8fd.
2021-01-05 09:30:53 -05:00
Andy_kl a899a7dead Added log message about renderer trying to init 2021-01-05 07:33:00 +02:00
Tom Rothamel 4e3d951d26 Avoid uncondtionally resetting say_attributes and temporary_attributes.
The main place we want to reset them is when showing an empty_window,
and so we move the reset there.

This addresses the first test case at https://lemmasoft.renai.us/forums/viewtopic.php?p=537851#p537851 .
2021-01-04 23:01:06 -05:00
Tom Rothamel a2dd40035d live2d: Add a default_fade parameter.
This lets a creator change the amount of time Live2D spends fading,
per the discussion at #2552.

This also changes the motion semantics to be inclusive of the
segment end time, which means the last segment of the motion will
continue forever if not faded out.
2021-01-03 21:00:17 -05:00
Tom Rothamel 4367140ec9 Coerce archive members to unicode before processing them.
Fixes #2567.
2021-01-03 19:59:06 -05:00
Tom Rothamel 1bdecc1c3a Make the search for a multipersistent file always occur as bytes.
This is expected to address #2548.
2021-01-03 19:42:49 -05:00
Tom Rothamel 5a7e82f881 Remove the setting of dpi_scale.
This is no longer needed, now that SDL2 supports dpi scaling the
same way it does the highdpi support on other platforms.

Fixes #2547.
2021-01-03 19:36:03 -05:00
Tom Rothamel 8689050f3c Fix compat. 2021-01-03 15:29:03 -05:00
Tom Rothamel adc0b5ac62 Fix build on mac. 2021-01-03 14:57:41 -05:00
Tom Rothamel d6228c994a Pass timeevent through modal screens.
This means that a timeout (like a pause) keeps running even if a
modal screen is on top of it.
2021-01-03 13:12:27 -05:00
Tom Rothamel 7225980edf Force a 32-byte alignment for each row of pixels in a movie.
This works around the issue fixed by ffmpeg/ffmpeg@ba3e771a42
on sse3 systems, and prepares Ren'Py for other platforms that might want 32-byte alignment.

This may also help crashes (which have never been reported) with movies that have a row
length that is not a multiple of 4 pixels.
2021-01-03 12:54:47 -05:00
Morgan Willcock 3bcacf2747 Normalize game filename for unelide
Fixes paths on Windows being returned with mixed separators.
Resolves relative paths in filename before joining to base directory.
2021-01-03 11:52:12 +00:00
Tom Rothamel 216e5ed950 Base the py3 compiler flags off of new_python_flags, not old_python_flags.
This does a better job of giving python3 semantics.
2021-01-02 17:25:45 -05:00
Tom Rothamel 50d7486606 Bump the minimum macos version to 10.10+.
This seems to be the minimum SDL2 will compile with, so that's
a good target.
2021-01-02 16:28:58 -05:00
Tom Rothamel 63769aa8fd Avoid using renderers that aren't allowed.
This fixes a performance warning when going from the GL renderer
to a GL2 game.
2021-01-02 00:58:18 -05:00
Tom Rothamel ca34e092db Use a more complicated quote_escape mechanism.
This is actually pretty rarely used, basically just for things
like:

   label foo(a=1
             + 2):
       ...

Where an expression is inside parenthesis that exist in Python but
not Ren'Py. This inserts \ before each newline, but with the change
that it doesn't do it when inside a string, where newlines can
be meaningful.

Fixes #2549.
2021-01-02 00:23:23 -05:00
Andy_kl 3cb6d38d54 live2d: Fix attributes coercion
Fix #2553
2021-01-02 03:36:45 +02:00
Tom Rothamel 9d076ae91b Fix compatibility. 2021-01-01 17:27:54 -05:00
Moshibit 734751143f update Spanish translation 2021-01-01 14:41:17 -06:00
Moshibit 5c1c394dce update Spanish translation 2021-01-01 14:40:07 -06:00
Moshibit a3792955f3 Merge pull request #1 from renpy/master
Update from renpy master
2021-01-01 14:37:20 -06:00
Tom Rothamel 830f761eee Change the pause statement to use renpy.pause, and not with Pause().
This would remove an area of repeated confusion, where a click
dismisses multiple pauses.
2021-01-01 00:38:08 -05:00
Tom Rothamel 2692392d8a Remove editra from the itch upload script. 2021-01-01 00:31:54 -05:00
Tom Rothamel 3b96cfa419 Bump version. 2021-01-01 00:01:18 -05:00
Tom Rothamel 3106ea66cb Adjust existing translations for d86b008b3d. 2020-12-30 22:46:13 -05:00
Andy_kl 5b42e5c448 Revert dot changed by mistake 2020-12-31 05:40:29 +02:00
Tom Rothamel d86b008b3d Fix broken translation. 2020-12-30 22:39:22 -05:00
Andy_kl 2dba268d78 Update Russian translation 2020-12-31 05:34:42 +02:00
Tom Rothamel a7788207d9 Merge pull request #2538 from Gouvernathor/patch-1
Doc minor fixes
2020-12-30 21:55:24 -05:00
Tom Rothamel 72f5652db0 Merge 'Delete duplicate Chinese'. 2020-12-30 21:53:41 -05:00
Tom Rothamel 884638f90a Fix documentation. 2020-12-29 21:10:40 -05:00
Tom Rothamel ddda008007 Fix line endings, hide cursor. 2020-12-29 20:19:44 -05:00
Tom Rothamel f9be6d79b5 Fix typo. 2020-12-29 20:10:52 -05:00
Andy_kl d8d48fa2e0 Allow expensive_predict_callbacks return True to be called again
This allows to use objects that iterate some game variable and return True
per value instead of appending expensive_predict_callbacks in runtime.
2020-12-30 03:02:59 +02:00
Tom Rothamel 7ef2fcdc52 Expand the bounds around images with alpha.
This helps with mipmap construction, as it means that a 1px line on
the edge can blend into transparency as well as other colors.

Fixes #2541, at least when scalling down to > 12.5%.
2020-12-29 19:35:31 -05:00
Tom Rothamel 53d94f1c3e Remove debug print. 2020-12-29 15:09:57 -05:00
Tom Rothamel f1a836a231 Add compatibility file open to the store.
This will determine if the calling script was compiled in python 2
or python 3 mode, and invoke the python 2 or python 3 open function,
as appropriate.

Intended to address #2543.
2020-12-29 01:35:06 -05:00
Tom Rothamel aa9cc4326d Properly premultiply alpha in OpacityMatrix. 2020-12-29 01:24:26 -05:00
Tom Rothamel 0e58052f90 Use multiple passes when finding objects reachable from rollback.
Fixes #2539.

What happened is that the object was changed and then became
unreachable. Since purge_unreachable occured in change order,
the object was purged, and was restored in the new, rather than old
version.
2020-12-28 21:38:41 -05:00
Tom Rothamel 1a90a521e6 Fixes to LayeredImageProxy and SideImage
- LayeredImageProxy now filters out child attributes.
- get_side_image now respects renpy.config.side_image_only_not_showing.
2020-12-27 22:29:56 -05:00
Tom Rothamel ae3fa76055 Ensure use expression works with copy_on_change/transitions.
Fixes #2537.
2020-12-27 21:33:40 -05:00
Gouvernathor 26cc6c2e47 typos 2020-12-28 00:11:21 +01:00
zedraxlo 8f0e9bb10c Delete duplicate Chinese 2020-12-28 02:31:09 +08:00
Tom Rothamel ce07a871e4 Update pig latin translation. 2020-12-27 13:17:18 -05:00
Gouvernathor 0e786e453e typo 2020-12-27 18:38:58 +01:00
Gouvernathor 6805cdaf41 typo 2020-12-27 17:26:45 +01:00
Gouvernathor 6c9d3ba556 :doc: The exceptions are not listed below anymore
and a filename without its extention still works to define an image
2020-12-27 17:21:57 +01:00
Tom Rothamel c632170508 Fix translations changed by 7e0c101f55. 2020-12-27 08:21:31 -05:00
Tom Rothamel 69c338621b doc: Update changelog and credits. 2020-12-26 22:20:53 -05:00
Tom Rothamel 8e64226db1 Merge pull request #2480 from pauljmartinez/update-show-documentation
Update show statement documentation
2020-12-26 22:12:33 -05:00
Tom Rothamel 7e0c101f55 Fix the look of the gamepad configurator. 2020-12-26 22:09:29 -05:00
Tom Rothamel 1fb96e1ed4 Distinguish repeating and non-repeating gamepad bindings. 2020-12-26 22:01:44 -05:00
Tom Rothamel 309a3f5082 Fix dangling link. 2020-12-26 21:44:44 -05:00
Tom Rothamel f0848c03da Avoid converting multipersistent filename to unicode.
Fixes #2536.
2020-12-26 19:24:23 -05:00
Tom Rothamel e4c4b66d1d Project the drawing used byt is_pixel_opaque.
This fixes a problem that only occured on AMD GPUs, where buttons
with a focus_mask would not be focused, probably because the
picel was being drawn in the wrong place, at least when anisotropy
is taken into account.
2020-12-26 18:04:15 -05:00
Tom Rothamel b7ddbbf8e1 gl2: Allow model debugging to be enabled on a per-context basis. 2020-12-26 17:48:59 -05:00
Andy_kl b99c34a5ff Make fix for 34d53e74 more correct 2020-12-25 23:06:14 +02:00
Tom Rothamel 16fdc17781 Check that all image attributes are required or optional before choose_attributes.
This is intended to address #2528, by ensuring every non-chosen
attribute really does exist.
2020-12-25 15:16:39 -05:00
Andy_kl 34d53e7427 Fix RuntimeError in im.Cache.get_current_size 2020-12-25 21:39:09 +02:00
Tom Rothamel 89a661c42f Merge pull request #2530 from lee-yunseok/master
Update Korean strings
2020-12-25 14:05:50 -05:00
Tom Rothamel 4e729baff7 Merge branch 'master' of github.com:renpy/renpy 2020-12-25 14:05:28 -05:00
Tom Rothamel 29a406f167 Allow the queueing of audio before PCM is fully initialized.
Fixes #2522, and maybe #2468.
2020-12-25 13:42:08 -05:00
Andy_kl fed7df84c1 Fix arguments order use for shown.predict_hide 2020-12-25 19:33:06 +02:00
Tom Rothamel ca98d9444e Merge pull request #2531 from morganwillcock/delete-bak
Remove screens.rpy.bak from schinese translation
2020-12-25 11:55:19 -05:00
Morgan Willcock 7e7800174f Remove screens.rpy.bak from schinese translation 2020-12-25 16:22:10 +00:00
lee-yunseok 85c4973d31 Update Korean strings 2020-12-25 21:42:15 +09:00
Tom Rothamel cae93790d9 Remove chinese .rpyc files.
These shouldn't be checked in.
2020-12-25 02:04:41 -05:00
Tom Rothamel 1a9a651a4a Update android strings. 2020-12-25 02:04:41 -05:00
Tom Rothamel 535977b492 Merge pull request #2524 from Gouvernathor/patch-1
Fix for choose_image ambiguity
2020-12-24 19:43:13 -05:00
Tom Rothamel 6caeefb5a2 Merge pull request #2527 from morganwillcock/normalize_path
Normalize project filename for unelide
2020-12-24 18:51:48 -05:00
Morgan Willcock 9389e97cf8 Normalize project filename for unelide
Fixes paths on Windows being returned with mixed separators.
Resolves relative paths in filename before joining to base directory.
2020-12-24 23:05:36 +00:00
Tom Rothamel e99777074f Merge pull request #2499 from zedraxlo/patch-1
Update Chinese
2020-12-24 16:18:34 -05:00
kyouryuukunn cd03ed7a52 Merge pull request #2525 from kyouryuukunn/Japanese_update_201225
Japanese_update
2020-12-25 01:24:41 +09:00
kyouryuukunn 7e5599136b Japanese_update 2020-12-25 00:59:54 +09:00
Gouvernathor 43d4361619 choose_image : avoid exception raising...
...using a tally of the number of optional attributes, in the case where more than one match was found.
fixes #2520
2020-12-24 13:23:20 +01:00
Tom Rothamel 2f670de1e3 doc: Fix the sidebar size. 2020-12-23 19:46:15 -05:00
Tom Rothamel eb6b4a6749 doc: Fix building. 2020-12-23 19:28:43 -05:00
Tom Rothamel d437288014 Merge branch 'master' of github.com:renpy/renpy 2020-12-22 21:38:03 -05:00
Tom Rothamel a054270c03 Merge pull request #2512 from Gouvernathor/docfix-2
Random fixes in the doc - 2
2020-12-22 21:36:38 -05:00
Gouvernathor 2628afcb4c Change attribute image into layeredimage 2020-12-22 09:24:23 +01:00
Tom Rothamel 331c9b99a4 gl2: Use round when computing the rtt size.
This is because it's possible for very small rounding errors to
cause a  computed size to be infitesimally smaller than it should
be, and hence the texture to be a full pixels smaller.
2020-12-21 21:45:46 -05:00
Asriel Senna 58a3a39eb0 fix typo 2020-12-21 09:17:09 +01:00
Asriel Senna 49f7509b2c Add a foreach example with a renpy-while loop 2020-12-21 09:16:48 +01:00
Asriel Senna 67f57d9376 Remove reference to unused web service 2020-12-21 09:15:50 +01:00
Tom Rothamel 1a52941fc0 Merge pull request #2497 from lee-yunseok/master
Update Korean translations
2020-12-21 02:03:55 -05:00
Tom Rothamel 2c3251298e controller: Support repeating. 2020-12-20 23:24:33 -05:00
Tom Rothamel 06004f1b57 doc: Documentation.
- Move Image Manipulators out of the display documentation.
- Show config.mouse as an incompatible changes.
2020-12-20 22:50:14 -05:00
Tom Rothamel b59764b8ad Make it easier to use default_mouse to pick a custom mouse cursor. 2020-12-19 14:36:09 -05:00
Tom Rothamel b1b2f90dd9 Prevent Ren'Py from crashing if config.mouse is set. 2020-12-19 14:36:09 -05:00
kyouryuukunn 5236aac816 Merge pull request #2508 from kyouryuukunn/Japanese_Update_201219
Update Japanese translations
2020-12-19 16:25:06 +09:00
kyouryuukunn 58b403d51c Update Japanese translations 2020-12-19 16:21:51 +09:00
Tom Rothamel 888dcd736e Consider sizes below 256x256 to be spurious.
This is here to prevent bugs where a minimized or otherwise not
present window cause a divide by zero, like #2506.
2020-12-18 22:49:30 -05:00
Beuc b85a35ba50 webserver: fix empty response on root URL 2020-12-18 15:39:09 +01:00
Andykl 64f0f78635 Merge pull request #2505 from Moshibit/master
Fix '\n\n'
2020-12-18 15:59:19 +02:00
Moshibit f7949aabc0 fixes 2020-12-18 07:04:29 -06:00
Moshibit ede3343d6c Fix '\n\n' 2020-12-18 06:52:13 -06:00
Tom Rothamel 3fc95821b4 steam: Disable the Steam overlay in the launcher. 2020-12-17 23:41:03 -05:00
Tom Rothamel 5bf649cb1f doc: libusb as a dependency. 2020-12-17 23:29:09 -05:00
Andy_kl dad9c24ee9 Remove duplicate of mine in credits. 2020-12-18 00:34:38 +02:00
Andy_kl f2470edaf4 Make the first attribute (real image tag) for side images required instead of optional
Fix #2500
2020-12-18 00:25:18 +02:00
Tom Rothamel af004af20a doc: Remove duplicate credit. 2020-12-17 17:13:08 -05:00
zedraxlo 4d254dcd83 Change language identifier 2020-12-17 23:51:59 +08:00
zedraxlo 3fe30c393b Change language identifier 2020-12-17 23:51:06 +08:00
zedraxlo 58b9d8cb5a Change "traditional_chinese" to "tchinese" 2020-12-17 23:34:11 +08:00
zedraxlo fe1b3c8082 Delete obsolete.rpy 2020-12-17 23:31:26 +08:00
zedraxlo 9d44683044 Update translations 2020-12-17 23:29:45 +08:00
zedraxlo 724f9f6f64 Change "simplified_chinese" to "schinese" 2020-12-17 22:38:34 +08:00
zedraxlo 12e33e9d5b Keeps the language list displayed after changing the language identifier. 2020-12-17 22:31:48 +08:00
Tom Rothamel 7bad158476 doc: Sponsors and credits. 2020-12-16 20:01:00 -05:00
Tom Rothamel 2c7b8bb14f Update and fix translations. 2020-12-16 19:56:02 -05:00
Tom Rothamel cab71b9d13 doc: Steam support. 2020-12-16 19:54:37 -05:00
Andy_kl ece87ec4a2 Fix NameError in changing projects directory 2020-12-16 18:07:02 +02:00
lee-yunseok 7776e08119 clear 2020-12-17 00:26:12 +09:00
lee-yunseok 5a453e0665 Update Korean translations 2020-12-17 00:17:49 +09:00
Tom Rothamel 0c305a43e7 Merge pull request #2485 from Andykl/quit-callbacks
Implement config.quit_callbacks
2020-12-16 09:33:05 -05:00
Tom Rothamel 0df7edbe30 Merge branch 'master' into quit-callbacks 2020-12-16 09:32:54 -05:00
Tom Rothamel 61587543c0 Merge pull request #2496 from Moshibit/master
Update Spanish translation
2020-12-16 09:31:38 -05:00
Andykl a0731ec9b6 Merge pull request #2490 from Andykl/docs
Doc fixes
2020-12-16 08:50:44 +02:00
Andy_kl 32c8fc4fbd Document attribute_filter in rst 2020-12-16 08:47:15 +02:00
Andy_kl f47010ac69 Merge remote-tracking branch 'upstream/master' into docs 2020-12-16 08:45:41 +02:00
Andy_kl cea1271f89 Add aliases to expressions to all_expressions 2020-12-16 08:30:09 +02:00
Andy_kl 677147d9f8 Fix misspelled attribute name 2020-12-16 08:22:20 +02:00
Tom Rothamel 744cd2a7b9 live2d: Add attribute_filter to allow conflicting attributes to be expressed. 2020-12-16 00:53:55 -05:00
Tom Rothamel 140c9e97d9 live2d: Add the attribute_function parameter.
This allows the attributes to be filtered and replace, as with
layeredimage.
2020-12-15 22:54:14 -05:00
Andy_kl 927e1fd7ee Update Russian translation 2020-12-16 03:49:27 +02:00
Moshibit de7304b90d Update Spanish translation 2020-12-15 10:24:21 -06:00
Moshibit 139fe130f1 Update Spanish translation 2020-12-15 10:20:41 -06:00
Moshibit b006c1d259 Merge pull request #2 from renpy/master
Update from renpy Master
2020-12-15 10:18:19 -06:00
Tom Rothamel e4ffd6f74f doc: The licensing page moved. 2020-12-15 00:02:54 -05:00
Tom Rothamel 42dacb4c22 steam: Add config.steam_appid.
This writes steam_appid.txt before initializing Steam, meaning it's
no longer necessary to do that by hand when changing games.
2020-12-14 22:15:08 -05:00
Tom Rothamel 4f0a39ee0b steam: Convert steam support to DLC. 2020-12-14 20:55:28 -05:00
Tom Rothamel de2e51bbb9 Distribute the steam files separately. 2020-12-14 01:31:14 -05:00
Tom Rothamel f973a4f6f0 steam: Add some new functions.
* get_app_build_id (Steam build id.)
* get_game_badge_level (Badge level.)
* get_subscribed_items (Get list of UGC.)
* get_subscribed_item_path (Get path to UGC.)
2020-12-13 18:25:01 -05:00
Tom Rothamel cb68be04ec live2d: A mask's alpha shouldn't apply to layers the mask is applied to.
Fixes #2492.
2020-12-11 22:52:37 -05:00
Tom Rothamel b116aad133 doc: Update changelog. 2020-12-11 22:49:58 -05:00
Tom Rothamel fe8044cae6 Raise the minimum supported version to Windows Vista. 2020-12-10 23:09:36 -05:00
Tom Rothamel 040ec21294 live2d: Support sustaining motions.
This takes place automatically. If the list of motions isn't changed,
we enable sustain mode, which does not restart the motions.
2020-12-09 01:07:46 -05:00
Tom Rothamel fcf379496b Revert "Allow config.exception_handler to be False."
Doesn't seem to work with a debugger, so back it out.
2020-12-08 19:08:48 -05:00
Tom Rothamel 5e997138c5 Allow config.exception_handler to be False.
This allows exceptions to be handled by a debugger or other tool.
2020-12-08 17:54:11 -05:00
Tom Rothamel cfb2ef1fd5 live2d: Support fading expressions. 2020-12-07 22:41:48 -05:00
Gouvernathor c8fdec4ee6 Update translation.rst 2020-12-07 22:33:21 +01:00
Andy_kl c3df28ac6c Doc fixes 2020-12-07 05:04:52 +02:00
Tom Rothamel 98243a5110 Make the updater write \r\n. 2020-12-05 19:00:36 -05:00
Tom Rothamel 5771e1f322 live2d: Fix drawing multi masks. 2020-12-05 18:24:20 -05:00
Tom Rothamel 6a4d13c674 live2d: WIP create multimask textures. 2020-12-04 23:00:02 -05:00
Tom Rothamel 3abf249824 live2d: Add mask shaders in a way that fixes alpha shaders.
Per point 2 of #2486.
2020-12-03 23:08:06 -05:00
Tom Rothamel 6d45437cc9 Clear the line cache on startup.
This ensures that error messages are always accurate.
2020-12-03 02:13:14 -05:00
Andy_kl fdac6e10e2 Implement config.quit_callbacks 2020-12-03 02:40:22 +02:00
Andy_kl ab5698d57f Fix warp
https://lemmasoft.renai.us/forums/viewtopic.php?p=536868#p536868
2020-12-02 18:40:42 +02:00
Tom Rothamel f40dce8367 Use a different statement name for characters with a false condition.
Fixes #2483.
2020-12-01 01:37:11 -05:00
Tom Rothamel 44646f27bd Fix regression in window auto. 2020-12-01 01:29:31 -05:00
Tom Rothamel 32ede9f928 Disable config.hw_video by default.
It probably isn't enough of a performance improvement to be worth
the pain of dealing with it.
2020-11-30 22:27:45 -05:00
Andy_kl eb54143fc9 Blacklist added WeakSet to backup 2020-11-29 21:30:15 +02:00
Andy_kl 33ac3e05a7 Document config.profile_init 2020-11-29 21:19:05 +02:00
Andykl 17c55b6a6d Update docs about MultiPersistent limitations on mobile 2020-11-29 20:55:41 +02:00
Andy_kl 54d7fd2c6f Add MultiPersistent save_on_quit feature 2020-11-29 20:20:54 +02:00
Tom Rothamel 4dc613990e Fix use of set operations on a list:
https://lemmasoft.renai.us/forums/viewtopic.php?p=536757#p536757
2020-11-29 12:10:05 -05:00
Andy_kl a302a14aa8 Report MultiPersistent unpickle errors 2020-11-28 12:34:44 +02:00
Tom Rothamel b90ead1dba Store the projects directory in multipersistent.
As a hedge against it being lost if Ren'Py upgrades.
2020-11-27 18:24:22 -05:00
kyouryuukunn 0a68c05fdc Merge pull request #2482 from kyouryuukunn/Japanese_201115
Japanese 201115
2020-11-27 15:11:14 +09:00
kyouryuukunn 2cd7054645 fix conflict 2020-11-27 15:06:57 +09:00
Paul J. Martinez f3b0dbba3b Update show statement documentation 2020-11-26 12:12:30 -08:00
Tom Rothamel bacaf5629a Fix fsencoding for the json dump. 2020-11-26 02:24:00 -05:00
Tom Rothamel db991e2400 Automatic cleanup of translations. 2020-11-25 22:10:45 -05:00
Tom Rothamel 0fad59626b doc: Update changelog. 2020-11-25 22:05:02 -05:00
Tom Rothamel e080cd3eab Merge pull request #2471 from Neoteus/master
Translate tutorial game into simplified Chinese
2020-11-25 21:55:04 -05:00
Tom Rothamel fcf85a59b7 Change _choose_attributes to take lists of attributes.
This preserves the order of attributes that the creator gave, which
is important for something like live2d, where this order matters.

Fixes #2477.
2020-11-25 21:47:04 -05:00
Tom Rothamel f25ab898c6 doc: Fix typo. 2020-11-25 21:47:04 -05:00
Andy_kl 433721e0c9 Fix interface of NullMotion 2020-11-25 10:44:09 +02:00
Tom Rothamel 4a1a3e13ba gl2: Ensure that a polygon's winding is correct before it's used.
Ren'Py requires that polygons used for clipping meshes or other
polygons all have the same winding order. (Counterclockwise,
in the usual Ren'Py coordinate system.) Certain matrix
multiplications can change winding order, and hence prevent
intersection from working.

This adds a pass that checks and fixes winding orders before
an intersection can occur.

Fixes #2472.
2020-11-25 02:13:15 -05:00
Tom Rothamel ab3ac5c308 Add the optimize_bounds argument to image.
This provides a way to avoid optimizing image bounds when a
transparent image is used as part of a texture.
2020-11-24 23:42:18 -05:00
Andykl 73190423cd Merge pull request #2476 from RenpyRemix/patch-2
Correct Live2D aliases example
2020-11-24 21:53:28 +02:00
Remix 613ea8d865 Correct Live2D aliases example
Parameter name was slightly wrong
2020-11-24 19:26:14 +00:00
Tom Rothamel 9f74bf00a0 Give appropriate styles to textbutton and mousearea.
Fixes #2475.
2020-11-23 22:11:41 -05:00
Tom Rothamel 157921a738 doc: Fix confusing language. 2020-11-23 20:17:13 -05:00
Tom Rothamel 2fe861ddde Remove a debug print. 2020-11-23 20:16:47 -05:00
Tom Rothamel 77c96aec88 compat: Add the python_strict codec error handler.
This is the strict handler built into Python, and it's used for
finding errors in Ren'Py script files. (This works around the
patch to Python 2.7 that makes surrogateescape the de-facto
default.)
2020-11-22 23:03:29 -05:00
Tom Rothamel dfd43a5232 Avoid using replace error handling when surrogateescape will work. 2020-11-22 21:06:01 -05:00
Andy_kl d0dba4d2a7 Fix doc typo 2020-11-22 12:40:43 +02:00
Andy_kl b448d7d373 Fix regression of a9d2510f 2020-11-22 05:54:44 +02:00
Tom Rothamel 32655acbf4 Allow Ren'Py to start with more path encoding problems. 2020-11-21 21:03:40 -05:00
Tom Rothamel afcb5c3bc3 Update hardware accelerated video playback. 2020-11-20 21:45:58 -05:00
Tom Rothamel c2f1d7af1d doc: Fix a bad copy in RemoveFromSet. 2020-11-20 20:57:06 -05:00
Tom Rothamel af02a36b80 doc: Fix minor issues. 2020-11-19 00:35:51 -05:00
Tom Rothamel 2428c116f6 transform: Create meshes in their own render.
This prevents the creation of a mesh with an offset, which is easy
to do with rotate. This might be something I want to revisit for
performance reasons, but this is required to fix:

   https://lemmasoft.renai.us/forums/viewtopic.php?p=535958#p535958
2020-11-18 23:44:12 -05:00
Neoteus 8f4c65ad91 master 2020-11-19 10:32:27 +08:00
Tom Rothamel ddfac9f43d Terminate the TTS process when quitting Ren'Py.
Fixes #2470.
2020-11-18 17:37:44 -05:00
Andy_kl d4e9c54eb8 Newer mark FileDelete as selected
Fixes #2120
2020-11-18 12:07:34 +02:00
Tom Rothamel d65cccc804 Add a temporary custom mouse cursor.
This is to get testing feedback from users of 7.4 prereleases.
2020-11-18 02:45:21 -05:00
Tom Rothamel 1d9109289d Propagate Render.over to subsurfaces.
Fixes #2451.
2020-11-18 00:40:31 -05:00
Tom Rothamel a62c1a57db Merge pull request #2462 from Gouvernathor/fitWithNoSize
Enable the fit mechanism whenever the fit property is set
2020-11-17 22:46:07 -05:00
Andy_kl 090ca5f8dc Add preference to use system cursor forcefully. 2020-11-17 03:56:58 +02:00
Tom Rothamel ac0dd6e361 Rewrite mouses with a new version based on SDL_CreateColorCursor.
This should be hardware accelerated, and simplifies a lot of
things.
2020-11-15 22:45:28 -05:00
kyouryuukunn 8e267b86bb Japanese Update 201115 2020-11-16 00:43:41 +09:00
Tom Rothamel a7a0df9139 layeredimage: Fix last commit. 2020-11-14 21:08:30 -05:00
Tom Rothamel a9d2510ff3 layeredimage: Only create the transform if it's needed. 2020-11-13 23:00:49 -05:00
Tom Rothamel 73217df243 Merge pull request #2460 from Gouvernathor/layeredTPropFix
fix layeredimages to take any transform property
2020-11-13 22:51:10 -05:00
Tom Rothamel 9d2ce44082 Use the correct layer in renpy.predict_show. 2020-11-13 02:14:26 -05:00
Tom Rothamel 1ad6149e28 Predict temporary attributes. 2020-11-12 23:24:01 -05:00
Tom Rothamel 2c1c1e7a45 Predict character attributes with renpy.exports.predict_show.
This predicts the displayables, not just the attributes as
images.predict_show does.
2020-11-12 22:35:49 -05:00
Tom Rothamel 36a17a7075 Add renpy.set_tag_attributes.
This is intended to be able to set the attributes associated with
a tag for side image purposes.
2020-11-11 23:17:19 -05:00
Tom Rothamel 6c00ea8dc2 sl2: Compile properties with py2 or py3 flags, as appropriate.
This fixes an error that was caused by:

   screen test():
       text "Test" xalign 1/1

   Which is on the left in py2, but on the right in py3.
2020-11-11 00:09:20 -05:00
Tom Rothamel 32b48e4c01 Merge pull request #2461 from Moshibit/master
Update Spanish translation
2020-11-10 22:41:09 -05:00
Gouvernathor 8612367069 Enable the Fit mechanism when fit is set
if `fit` is set but not `xsize` nor `ysize`, execute the fit algorithm but with the available size instead
2020-11-11 04:00:29 +01:00
Moshibit 9d4556ad2e Update launcher.rpy 2020-11-10 06:14:07 -06:00
Moshibit abca57a368 Update spanish translation 2020-11-10 06:07:34 -06:00
Moshibit bfc1d11b5d Merge pull request #1 from renpy/master
update from renpy master
2020-11-10 06:03:18 -06:00
Tom Rothamel c224293073 live2d: Add seamless looping of live2d motions.
This allows the creator to chose if a motion is faded out between
loops, or continues without fadeouts.
2020-11-09 21:33:03 -05:00
Asriel Senna 271f0274e8 fix layeredimages to take any transform property 2020-11-09 23:36:01 +01:00
Tom Rothamel 66be396d16 live2d: Add platform support disclaimers. 2020-11-09 00:30:13 -05:00
Tom Rothamel 89fa40d2ef live2d: Install android libraries. 2020-11-08 23:39:04 -05:00
Tom Rothamel 2d9b1971f9 gl2: Fix the interaction of config.gl2 and error handling.
* Once a rendererer is selected, keep using it even if Ren'Py is restarted.
* Store config.gl2 in persistent._gl2, and restore it if an error happens.

This should work well except for an autreload where config.gl2 is changed,
which ideally shouldn't happen.

Fixes #2457.
2020-11-08 15:02:21 -05:00
Tom Rothamel 0046d7059e Add ADVCharacter.has_character_arguments.
This can be used to determine if ADVCharacter.__call__ will create
a second Character to process the call.

Fixes #2454.
2020-11-07 23:20:30 -05:00
Tom Rothamel 2acdcfec77 compat: Replace the strict encoding with surrogateescape.
This is designed to fix a number of problems caused when running
on a filesystem in which a path is not representable in utf-8.
There are functions, like os.getcwdu that will attempt to decode
these paths, but fail. This ensures that paths can always round-trip
to and from unicode, which should help things work.
2020-11-07 11:19:12 -05:00
Tom Rothamel 9d9f151c08 Merge pull request #2439 from uyjulian/exports_free_memory_do_gc
Add garbage collection to renpy.exports.free_memory
2020-11-06 19:57:29 -05:00
Tom Rothamel 542c38a6d9 live2d: Render mask textures at drawable size.
This improves performance by never making a texture many times larger
than will be actually drawn on the screen.

Fixes #2449.
2020-11-05 22:39:55 -05:00
Tom Rothamel 1ace0c51db live2d: Only reset the live2d common data after init. 2020-11-04 21:07:10 -05:00
Tom Rothamel f6e71e9800 Merge pull request #2435 from Gouvernathor/imdocadvice
Adding im and im.MatrixColor workarounds in documentation
2020-11-03 19:37:27 -05:00
Gouvernathor 794803a05c Added warning about matrix multiplying orders 2020-11-03 23:53:36 +01:00
Andykl 808e29e1f1 live2d: Make default fadein and fadeout equal 1 second.
This corresponds to the source code of the Cubism SDK for Native.
2020-11-03 22:27:13 +02:00
Tom Rothamel e613ee334a Update the licenses to include requests. 2020-11-02 23:18:12 -05:00
Tom Rothamel cf0ab07936 Update the changelog. 2020-11-02 22:46:34 -05:00
kyouryuukunn b2b605e631 Merge pull request #2447 from kyouryuukunn/Japanese_translation_update_201103
Update Japanese translation
2020-11-03 10:27:10 +09:00
kyouryuukunn bd5beb5d78 Update Japanese translation 2020-11-03 10:24:08 +09:00
Tom Rothamel 6f6fc15e7e gl2: Limit the range of u_time to [0, 86400).
This prevents errors caused by it overflowing the range of a
single precision float.
2020-11-01 23:39:39 -05:00
Tom Rothamel 8f9e072c37 macOS build improvements
* Make CFBundleVersion more readable.
* Add build.mac_info_plist, to provide a more straightforward way
  of customizing Info.plist, which lets the about screen be customized.

Fixes #2443.
2020-11-01 10:43:08 -05:00
Tom Rothamel 67b8ec26fe launcher: Move to using certifi for web certificates. 2020-11-01 09:39:38 -05:00
Tom Rothamel e1b45708d1 Include the script in dialogue.tab.
Fixes #2441.
2020-10-31 23:15:03 -04:00
Andykl cd833707ce Fix attribute typo 2020-11-01 01:37:41 +02:00
Andykl e28442e37b Do not use config window size to calculate max_window_size.
Fix #2108
2020-10-31 22:44:31 +02:00
Andykl f7a09712d2 Fix #2406 also for gl1 2020-10-31 22:01:33 +02:00
Tom Rothamel 21085ab1b1 gl2: Remove debug prints. 2020-10-30 20:48:26 -04:00
Tom Rothamel ec853941c8 Defer gui init until the first frame is ready to be shown.
This makes it possible to run commands like lint
and distribute without needing a gui and sound card.

Fixes #2436.
2020-10-30 20:42:09 -04:00
uyjulian a8dbeae1e4 Add garbage collection to renpy.exports.free_memory 2020-10-30 17:56:20 -05:00
Andykl 4afd2d022b Update Russian translation 2020-10-30 21:12:04 +02:00
Andykl 1de1402452 Show game_menu_screen as transient
Without it on "hide" doesn't work for this screen.
2020-10-30 20:22:28 +02:00
Gouvernathor 9c4a579a3a fixed :ref: into :tpref:
because that's how it works
2020-10-30 13:38:14 +01:00
Andykl 6354f5cf68 Merge pull request #2434 from xavi-mat/master
Typos in Spanish translation
2020-10-30 14:03:33 +02:00
Asriel Senna 76e03b3c36 added workarounds (except for Data and AlphaMask) 2020-10-30 12:29:26 +01:00
xavi-mat b00b3e4cbc Typo
"dilogo" -> "diálogo"
2020-10-30 10:06:43 +01:00
xavi-mat 255883d418 Typo
"dilogo" -> "diálogo"
2020-10-30 10:05:59 +01:00
xavi-mat 211e7387de Typo in Spanish translation
"dilogo" -> "diálogo"
2020-10-30 10:05:14 +01:00
Tom Rothamel a71e42adf6 Merge pull request #2430 from zedraxlo/patch-1
Localization updates for Chinese, Oct 2020
2020-10-29 21:27:29 -04:00
Tom Rothamel eba2135f92 Merge pull request #2431 from zedraxlo/patch-2
Update Translations for The Question
2020-10-29 21:27:09 -04:00
Tom Rothamel f3698fd1c3 Merge pull request #2432 from Gratusfr/patch-1
fix typo +remove double space +fix error in french
2020-10-29 21:26:43 -04:00
Gratusfr a866be7601 fix typo +remove double space +fix error in french 2020-10-29 21:24:50 -04:00
zedraxlo fdfba28528 Update script.rpy 2020-10-29 20:21:43 +08:00
zedraxlo 81a50341a2 Add some missing required characters and remove some useless ones. 2020-10-29 19:27:42 +08:00
zedraxlo 40caecf6b1 Update developer.rpy 2020-10-29 19:25:32 +08:00
zedraxlo d77868b40a Update error.rpy 2020-10-29 19:25:08 +08:00
zedraxlo f15088d64e Update error.rpy 2020-10-29 19:22:46 +08:00
zedraxlo 17613b92f2 Update launcher.rpy 2020-10-29 19:20:35 +08:00
Tom Rothamel 32e1871083 doc: Fixes. 2020-10-28 19:54:41 -04:00
Tom Rothamel b66f2add13 doc: License/Credits/Sponsors. 2020-10-28 19:38:44 -04:00
Tom Rothamel c274389926 dist: Change what is checked in. 2020-10-28 19:27:33 -04:00
Tom Rothamel 3d87900bb9 doc: windows -> Windows. 2020-10-28 19:12:42 -04:00
Tom Rothamel 7e0ec7cc1f doc: Various fixes. 2020-10-28 18:52:57 -04:00
Tom Rothamel a1c9b7d2c0 Document the changes to define. 2020-10-28 18:08:52 -04:00
Tom Rothamel 251d4a06e9 Update the Chrome OS documentation. 2020-10-27 23:57:44 -04:00
Tom Rothamel db08119e3a emscripten: Avoid sleeping outside of emscripten.sleep.
Sleeping inside Ren'Py or Pygame_SDL2 has been proving to be
problematic. I'm not 100% sure why, though it seems Asyncify is
involved. It may have something to do with the names generated
by cython not being stable, though that's just a guess.

This avoids this problem by preventing Ren'Py from putting
SDL2 into a mode where it can block, and then explicitly
calling emscripten.sleep to emulate the original behavior.
2020-10-26 01:52:33 -04:00
Tom Rothamel 5310ea546a gl2: Avoid trying to create mipmaps for a texture with zero width or height. 2020-10-26 01:52:33 -04:00
Tom Rothamel 90ef8bfe29 Merge pull request #2417 from Andykl/allow_underfull
Allow underfull grids
2020-10-23 20:30:36 -04:00
Tom Rothamel 3e3492108a Fix typo in tkaskdir.
Fixes #2416.
2020-10-22 22:11:15 -04:00
Tom Rothamel 10d1c66ee7 Only offer to let the player select renderers that are likely to work. 2020-10-22 00:58:27 -04:00
Tom Rothamel 7113e04b00 Update the display problems documentation. 2020-10-21 23:36:02 -04:00
Tom Rothamel edb06a3d54 Remove the disclaimer, as it's not needed. 2020-10-21 23:33:51 -04:00
Andykl 19ac9353f2 Allow underfull grid with config variable. 2020-10-21 17:58:44 +02:00
Tom Rothamel c8e45d6ce1 gl2: Disable anisotropic rendering for Pixellate.
This works around a bug that appears to manifest in the angle2
renderer when running on my radeon on Windows. When that bug
happens:

* GL_NEAREST_MIPMAP_* does not work when ANISOTROPY is non-zero.
* Setting the texture anisotropy to zero doesn't work when it has
  been set to non-zero.

Hence, there's a new gl property that, when set, prevents anisotropy
from being added to newly-created textures.
2020-10-21 01:40:54 -04:00
Tom Rothamel ced93140af ffmedia: Fix a mutex issue. 2020-10-20 23:59:34 -04:00
Tom Rothamel 5945fd6854 Autobuild sphinx. 2020-10-20 22:34:06 -04:00
Tom Rothamel fcb931bf0e Merge pull request #2414 from Moshibit/master
update spanish translation for launcher
2020-10-19 19:22:08 -04:00
Moshibit 3f34fc06e4 Update launcher.rpy 2020-10-19 16:40:03 -05:00
Moshibit bab03e4633 update spanish translation for launcher 2020-10-19 16:33:11 -05:00
shawna-p b6924da5f8 Pull Request #2411: Allow grids to be underfull 2020-10-18 20:41:20 -04:00
shawna-p 22a4898a43 Add documentation on allow_underfull 2020-10-18 20:41:20 -04:00
shawna-p 2b3892d1c6 Include renpy. before config 2020-10-18 20:28:14 -04:00
shawna-p b40e090a8f Allow underfull grid with config variable. 2020-10-18 20:26:26 -04:00
Tom Rothamel 4b0849723b ffmedia: Wait for threads and deallocate memory in the main thread.
This is per #2400, see the discussion on that thread.
2020-10-18 18:55:39 -04:00
Tom Rothamel 806b081080 Merge pull request #2409 from joshua-stone/gtk-filepicker-support
Add Gtk support for project directory chooser
2020-10-18 16:50:10 -04:00
Tom Rothamel 8090186df5 Merge pull request #2397 from uyjulian/garbage_collection_related_changes
Garbage collection related changes
2020-10-18 16:49:22 -04:00
Joshua Stone 3c43cfdcb4 Revert "Add mention of PyGObject in error dialog for English version of directory chooser."
This reverts commit 5a11ff8c3a.
2020-10-18 16:48:00 -04:00
Tom Rothamel b4a56f9cce Merge pull request #2399 from uyjulian/realloc_check_null
Check return value of realloc
2020-10-18 16:04:36 -04:00
Tom Rothamel 5cd7387128 Merge pull request #2408 from jackmcbarn/patch-2
Make the module-building instructions more portable
2020-10-18 15:54:43 -04:00
Tom Rothamel dc27b2281d Merge pull request #2410 from jsfehler/patch-2
Fix incorrect docstring for Screen class in ast.py
2020-10-18 15:52:31 -04:00
Joshua Fehler 1c5fcd440f Fixup 2020-10-18 15:51:38 -04:00
Joshua Fehler 856663b9d7 Fix incorrect docstring for Screen class in ast.py 2020-10-18 15:38:08 -04:00
Joshua Stone 5a11ff8c3a Add mention of PyGObject in error dialog for English version of directory chooser. 2020-10-17 22:44:08 -04:00
Joshua Stone 9709bec1fb Add Gtk backend to project directory picker
Despite Tkinter being Python's de-facto GUI library, it's often not
installed by default on Linux distributions. PyGObject has very good
support on the other hand, and has the benefit of accessing the native
file picker available on a desktop through Gtk.FileChooserNative. This
commit will have the directory picker attempt to use the Gtk directory
picker first, or else fall back to the tkinter backend.
2020-10-17 22:10:24 -04:00
Tom Rothamel 9620fd9cf6 doc: Screen caveats.
Per #2404.
2020-10-17 21:58:15 -04:00
Tom Rothamel e98d7cb0db doc: Cautions about layeredimage. 2020-10-17 21:53:08 -04:00
jackmcbarn fdf92229ea Make the module-building instructions more portable
Some systems don't have libjpeg-turbo8-dev, and need libjpeg62-turbo-dev instead. Use the libjpeg-dev metapackage like https://github.com/renpy/pygame_sdl2/blob/master/README.rst does, which seems to work everywhere. Also, use `$(uname -m)` instead of hardcoding `x86_64` so the same instructions work on ARM systems too.
2020-10-17 16:30:06 -04:00
Tom Rothamel be542024a0 Merge pull request #2407 from Mason-Chou/master
added linking to the nighly build renpy.sh in after_checkout.sh
2020-10-16 18:00:59 -04:00
Mason Chou 16d14f7daa added linking to the nighly build renpy.sh 2020-10-16 10:51:30 -07:00
Tom Rothamel 72b13fdf47 Fix crash when physical size not set.
Fixes #2406.
2020-10-15 17:44:26 -04:00
Tom Rothamel c8fc9f31e6 gl2: Ensure textures are at least 1x1 virtual pixels.
Fixes a divide by zero.
2020-10-14 22:01:54 -04:00
Tom Rothamel cf5c7e2244 doc: Fixes for save/load. 2020-10-14 21:59:40 -04:00
Tom Rothamel c8f1f20b51 gl2: Subsurface meshes using the clipping method.
This fixes #2403, but also opens up some new space for shaders.
Peviously, we'd subsurface the children of a Render with mesh=True,
which would change the coordinates.

Now, the children are not cropped, which allows a shader to look up
value in a second child, if needed.
2020-10-13 23:07:01 -04:00
Tom Rothamel ddf6e0ca82 Remove obsolete code. 2020-10-13 22:07:03 -04:00
Tom Rothamel b5c6685a1e gl2: Ensure loaded textures are at least 1px in size.
Fixes #2392.
2020-10-12 20:25:32 -04:00
Andykl 03b0d8a2e3 Merge pull request #2402 from jsfehler/jsfehler-ach-doc
Fix variable formatting in achievement.rst
2020-10-12 03:05:38 +02:00
Andykl 1ee4b25137 Merge pull request #2401 from jackmcbarn/patch-2
Link to how the default transform can be redefined
2020-10-12 03:04:58 +02:00
Joshua Fehler c28b68f6e8 Fix styling error in achievement.rst 2020-10-11 19:40:50 -04:00
Tom Rothamel 723d6d85ae Fix issues with distributing mac apps. 2020-10-11 18:17:37 -04:00
jackmcbarn c873ea2a74 Link to how the default transform can be redefined 2020-10-11 13:53:58 -04:00
uyjulian 57291f6050 Check return value of realloc 2020-10-11 10:48:00 -05:00
uyjulian 941c1f092c Add more instances of gc.garbage list cleanup after gc.collect call 2020-10-11 09:14:13 -05:00
uyjulian 87eee813d5 Delete items in gc.garbage instead of assigning empty lists 2020-10-11 09:02:36 -05:00
Tom Rothamel ee911b356a doc: Add Python types to GLSL types. 2020-10-11 02:38:28 -04:00
Tom Rothamel 919edc454e doc: Integrate Live2D documentation. 2020-10-11 02:34:51 -04:00
Tom Rothamel 9c51711a61 doc: Matrixcolor/ColorMatrix. 2020-10-11 02:26:31 -04:00
Tom Rothamel bf017fd311 doc: The Matrix type. 2020-10-11 01:45:51 -04:00
Tom Rothamel 34e9d96aeb atl: Do not interpolate Matrix. 2020-10-11 01:44:26 -04:00
Tom Rothamel c7365598cc doc: Run with the dev Ren'Py, to get docstrings. 2020-10-11 01:43:31 -04:00
Tom Rothamel 2a1114f4f2 doc: Fix various problems. 2020-10-11 00:21:17 -04:00
Tom Rothamel 9b3417d26a doc: Model-based rendering. 2020-10-11 00:09:07 -04:00
Tom Rothamel 2a4e6a8cbc gl2: Make u_model_size available. 2020-10-10 23:18:04 -04:00
Tom Rothamel 048cd10234 doc: Improve shader generation. 2020-10-10 23:13:49 -04:00
Tom Rothamel ab4083b9fe Allow ATL to interpolate ATL tuples. 2020-10-10 23:04:41 -04:00
Tom Rothamel 40aeb21fa8 doc: Generate shader source code. 2020-10-10 18:50:40 -04:00
Tom Rothamel 9d1129c6b8 Set sys.executable to allow for a launch. 2020-10-10 00:42:53 -04:00
Tom Rothamel 4dc7f7446c Remove a use of the ssl module. 2020-10-10 00:34:39 -04:00
Tom Rothamel c21ba83c95 Make all downloads use a certificate-based TLS context. 2020-10-09 20:11:46 -04:00
Tom Rothamel aaf9398a77 Update cacert.pem. 2020-10-09 20:09:11 -04:00
Tom Rothamel 3005173aba Merge pull request #2393 from shawna-p/master
Relocate order_reverse property to Box Style Properties
2020-10-09 19:54:02 -04:00
Tom Rothamel df9049ce10 Merge pull request #2395 from cheriesdavidson/patch/#2394
Resolves #2394 Itch.io butler download 403 failure
2020-10-09 19:53:45 -04:00
Andykl 5fbcd47d79 Pass SpriteManager to Particles.visit
This fix #2211
2020-10-10 00:55:06 +02:00
Cherie Davidson d8130812ce Resolves #2394 Itch.io butler download 403 failure by adding User-Agent header 2020-10-09 17:40:50 +11:00
Tom Rothamel 88459be31b Add the color_mask gl property.
This exposes glColorMask to the world.
2020-10-08 23:29:42 -04:00
Tom Rothamel 455a940f96 gl2: Infrastructure for ATL GL properties. 2020-10-08 23:29:42 -04:00
Andykl 1fbcd7e682 Fix exe distributing 2020-10-09 04:36:34 +02:00
shawna-p 046ffcd3ca Relocate order_reverse property to Box Style 2020-10-08 13:16:15 -04:00
Tom Rothamel d2e033e828 Make {who,what}_prefix translatable.
Fixes #2387.
2020-10-06 23:21:12 -04:00
Tom Rothamel 0c9dc1dcf5 Allow translation names to include numbers.
Making it possible to generate rot13 from the launcher.
2020-10-06 23:14:16 -04:00
Tom Rothamel b11ce51bae Fix updater regression introduced by #2375.
In 2.7, TarFile.extractfile doesn't seem to return an object that
can manage contexts.
2020-10-05 23:14:46 -04:00
Tom Rothamel d67eee36ae Write tracebacks into binary files.
This prevents a crash when a str is used instead of unicode.
2020-10-05 23:02:47 -04:00
Tom Rothamel 4677ce1bec Display the renderer name on the _performance screen. 2020-10-04 23:01:27 -04:00
Tom Rothamel 0da3312ae4 gl2: Use glGenerateMipmap to generate mipmaps.
This should be present everywhere Ren'Py runs, and experiments show
it is much faster than RTT on the Intel Iris graphics present in my
Mac Mini.
2020-10-04 22:45:52 -04:00
Andykl c048483216 Added pretty repr for traced expressions 2020-10-05 03:43:25 +02:00
Andykl 51718558e5 Add pretty repr of Matrix into console 2020-10-05 02:01:35 +02:00
Andykl 02387f9986 Fix name typos in TintMatrix 2020-10-05 01:21:06 +02:00
Tom Rothamel 1abf877daf Merge pull request #2384 from kobaltcore/fix-tertiary-volume
Fix a bug that would cause the secondary volume to reset in some cases
2020-10-04 18:38:02 -04:00
CobaltCore 359f38d37e Compute actual volume on-demand instead of introducing a new field 2020-10-05 00:25:13 +02:00
CobaltCore 712b92b98e Fix a bug that would cause the secondary volume to reset in some cases
Fixes #2383
2020-10-04 23:49:12 +02:00
Tom Rothamel 58c02c9a39 Preserve the quoting of text tags in renpy.filter_text_tags.
Fixes #2379.
2020-10-03 18:51:14 -04:00
Andykl 8834730831 Merge pull request #2382 from shawna-p/master
History entries properly identify kind as nvl
2020-10-03 19:39:38 +02:00
shawna-p 3edc87c678 History entries properly identify kind as nvl 2020-10-03 11:02:00 -04:00
Tom Rothamel 5b92e525eb Merge pull request #2381 from Andykl/l2d-fix
Fixes for Live2D
2020-10-03 10:55:22 -04:00
Andykl 4ac1875ebd Fixes for Live2D 2020-10-03 16:08:41 +02:00
Tom Rothamel 682a052ac9 id: Only consider nodes that participate in rollback. 2020-10-03 01:07:36 -04:00
Tom Rothamel fb105e2561 live2d: Properly handle nonexclusive. 2020-10-02 21:56:49 -04:00
Andykl 1b68fec94b Don't lose transform crop when rotate is 0
This fix #2099
2020-10-03 03:52:58 +02:00
Tom Rothamel bdc3c8b67a Merge pull request #2376 from GiovanH/master
Option to specify transition in ShowMenu (for #2194)
2020-10-01 21:42:37 -04:00
Gio c430318af4 Polished documentation 2020-10-01 20:37:38 -05:00
Gio 576489e63a Much less breaking 2020-10-01 20:31:19 -05:00
Gio 7fb42306a5 Be slightly less breaking? 2020-10-01 20:17:11 -05:00
Gio 9a74b6b2dc Implement #2194 2020-10-01 20:03:59 -05:00
Tom Rothamel 9133584b50 Compat for window functions setting auto. 2020-09-30 23:55:34 -04:00
Tom Rothamel b66cf5d623 Provide Python eqivalents of window auto show and window auto hide. 2020-09-30 22:36:23 -04:00
Sylvain Beucler 489b7fb98b doc: fix and expand RenPyWeb changelog 2020-09-30 17:17:00 +02:00
Tom Rothamel d7f520a5c0 Do not create a mesh if blur is 0. 2020-09-29 23:52:01 -04:00
Andykl b1154a29ef Store MultiPersistent data on Android and iOS in savedir 2020-09-29 03:27:14 +02:00
Tom Rothamel 3b12463198 Merge pull request #2375 from uyjulian/renpy_file_context_manager
Refactor to use context manager
2020-09-28 20:38:54 -04:00
Tom Rothamel bf87bd6ed1 Merge pull request #2373 from kobaltcore/doc-presplash-progress-bar
Document presplash progress bar
2020-09-28 20:33:57 -04:00
Tom Rothamel be9485d2ca Merge pull request #2374 from kobaltcore/gitignore-additions
GitIgnore: Ignore several undesirable system files on macOS and Windows
2020-09-28 20:33:23 -04:00
Andykl 152c56841b Add proxy of matrixcolor transform property 2020-09-28 23:12:39 +02:00
Tom Rothamel c1a628d7fa Dismiss transitions even when focus is blocked. 2020-09-28 12:45:46 -04:00
Tom Rothamel d7ae1a96cc Fix the dismiss_unfocused argument to SayBehavior. 2020-09-28 12:45:46 -04:00
uyjulian afd4a7a0e9 Refactor to use context manager 2020-09-27 18:58:10 -05:00
CobaltCore 86610c0ac7 Ignore several undesirable system files on macOS and Windows 2020-09-27 19:57:01 +02:00
CobaltCore 3589b63523 Document presplash progress bar 2020-09-27 19:49:53 +02:00
Andykl aa55ea744e Merge pull request #2372 from uyjulian/archive_extensions_listfind_opt
Optimization for checking archive extension
2020-09-27 18:15:56 +02:00
uyjulian c296c63b45 Optimization for checking archive extension 2020-09-27 04:49:33 -05:00
Andykl 9f412cb811 Do not leak reference to presplash surface
And small code cleanup
2020-09-27 00:35:16 +02:00
Tom Rothamel 1ba50f11da Allow ! to appear multiple times in a substitution.
For compatibility with older Ren'Py versions.
2020-09-26 16:46:24 -04:00
Tom Rothamel 84e95cce98 Remove debug prints. 2020-09-26 16:01:45 -04:00
Andykl ba874f59df Do not report defines with index or operator as duplicates 2020-09-26 12:39:32 +02:00
Tom Rothamel cf6409bf71 Merge pull request #1102 from jsfehler/master
Replace 'open()' with 'with open()'
2020-09-25 23:03:48 -04:00
Tom Rothamel c573d971cd Update loadsave.py
Tweak spacing.
2020-09-25 23:00:48 -04:00
Tom Rothamel 62c1eb80bf Merge branch 'master' into master 2020-09-25 22:59:05 -04:00
Tom Rothamel 24cc05d350 Remove raises found in #2601
Fixes #2601.
2020-09-25 22:47:00 -04:00
Tom Rothamel f8aee1f349 Merge pull request #2095 from Andykl/fix-slfor
Fix the problem when SL for index refers to tuple member
2020-09-25 22:44:12 -04:00
Tom Rothamel 479940302e Merge pull request #2092 from Andykl/fix-rpyc
Print exception which caused on write_rpyc
2020-09-25 22:40:29 -04:00
Tom Rothamel 99b9537321 Merge pull request #2094 from Andykl/recursive-substitution
Recursive substitution
2020-09-25 22:40:12 -04:00
Tom Rothamel 0ee0f5115c Merge pull request #2096 from Andykl/copypaste-encoding
Encode and decode the text during copypaste
2020-09-25 22:39:20 -04:00
Tom Rothamel eac2b9d6a9 Merge pull request #2107 from jsfehler/nvl_typo_fix
Fix typo in nvl_mode.rst
2020-09-25 22:38:13 -04:00
Tom Rothamel ec1cd63711 Merge pull request #2123 from kobaltcore/presplash-progress-bar
Add ability to show progress bar instead of static presplash
2020-09-25 22:37:53 -04:00
Tom Rothamel 5042706e1f Merge pull request #2103 from RenpyRemix/master
Catmull-Rom from ATL knots
2020-09-25 22:35:54 -04:00
Tom Rothamel fce5ccef34 Fix problems with define/default linting in default games. 2020-09-25 22:26:07 -04:00
Tom Rothamel 091b0115e5 Add config.lint_ignore_redefine. 2020-09-25 22:24:47 -04:00
Tom Rothamel 7c14d20914 Fix incorrect use of strip in #2127. 2020-09-25 22:05:45 -04:00
Tom Rothamel c04d188f81 Merge pull request #2127 from jsfehler/lint_redefine
Add linting for redefined define/default statements
2020-09-25 22:00:59 -04:00
Tom Rothamel d15384e091 Merge pull request #2124 from jsfehler/patch-2
Use or operator instead of if statement
2020-09-25 21:56:38 -04:00
Tom Rothamel b93102932a Merge pull request #2115 from GimmiRuski/master
Add splashscreen and presplash documentation
2020-09-25 21:55:00 -04:00
Tom Rothamel bf19eedde5 Merge pull request #2278 from dogtopus/handle-vs
Handle variation sequences (VS1-256 and FVS1-3)
2020-09-25 21:51:15 -04:00
Tom Rothamel f9fd77b70d Merge pull request #2304 from uyjulian/improve_file_handling
Refactor of renpy.loader
2020-09-25 21:47:23 -04:00
Tom Rothamel 2f52e4a62e Merge branch 'master' into improve_file_handling 2020-09-25 21:47:07 -04:00
Tom Rothamel 281104d1a9 Merge pull request #2327 from uyjulian/filename_unicode_normalization
Normalize unicode to NFC
2020-09-25 21:41:59 -04:00
Tom Rothamel 24ed8bb7cf Merge pull request #2360 from Andykl/update-performance-test
Update performance test
2020-09-25 21:38:46 -04:00
Tom Rothamel 73d76fb260 Merge pull request #2362 from kobaltcore/auto-flush-log
Flush log after write
2020-09-25 21:37:52 -04:00
Tom Rothamel e68d95750e Merge pull request #2370 from Andykl/py3-exceptions
Py3 exceptions form
2020-09-24 18:17:47 -04:00
Andykl d88a324e76 Py3 exceptions form 2020-09-24 23:41:40 +02:00
Sylvain Beucler af3495ca84 web: fix silent audio 2020-09-24 22:39:13 +02:00
Tom Rothamel 9e67d43daa Merge pull request #2258 from Daniihh/master
Python3 Readiness
2020-09-24 12:02:37 -04:00
Tom Rothamel a8e2cc0db8 gl2: Include the texture resolution as an optional shader variable. 2020-09-24 00:45:53 -04:00
Tom Rothamel 74d66712db gl2: Raise the size of the fbo to 4096, and make it configurable.
This should be supported on all devices, though it will shrink the
size if it's not.

Fixes #2357.
2020-09-23 23:40:57 -04:00
Tom Rothamel b61f1c6b3e live2d: Support nonexclusive expressions.
These need to be declared, but once they are they may be used
in conjunction with a normal expression. This can be used to
model clothing, pose changes, etc in conjunction with a normal
expression.

Fixes #2358.
2020-09-23 22:01:38 -04:00
Tom Rothamel 08c51b7c6a Make it clear the minimum iOS version is 11.0. 2020-09-23 18:37:35 -04:00
Tom Rothamel 0fa3f62ebf Merge pull request #2368 from Andykl/fix-blur
Fix int-float type in blur shader
2020-09-22 19:00:48 -04:00
Andykl c203dd3c58 Fix int-float type in blur shader 2020-09-22 23:15:32 +02:00
Tom Rothamel 68ed973bc5 gl2: Enable the maximum level of anisotropy the hardware supports.
Fixes #2365.
2020-09-20 21:49:20 -04:00
Tom Rothamel 6d2a550ba2 Merge pull request #2361 from Andykl/improve-dynamic-image
Improve dynamic image
2020-09-20 02:02:03 -04:00
Tom Rothamel b091f1e933 Merge pull request #2363 from Andykl/wrap-mutations
Do not lost `__name__` and `__doc__` of mutated method
2020-09-20 02:00:43 -04:00
Tom Rothamel c663d6a865 gl2: Ensure that the size used for RTT matches the size used for normal rendering. 2020-09-20 01:30:07 -04:00
Andykl 48c8b0bf8a Do not lost __name__ and __doc__ of method mutation 2020-09-19 22:57:56 +02:00
CobaltCore 4567011132 Flush log after write 2020-09-19 22:50:20 +02:00
Tom Rothamel 99cf7ed07e Add the blur transform property. 2020-09-19 16:13:40 -04:00
Tom Rothamel 1e62e1e9d1 atl: Report uniform problems that aren't working. 2020-09-19 03:50:40 -04:00
Tom Rothamel 83eded0697 gl2: Better reporting for bad shader variables. 2020-09-18 23:54:48 -04:00
Tom Rothamel 986e996282 gl2: Avoid modifying the original clipping polygon during clipping.
Fixes #2359.
2020-09-18 03:42:37 -04:00
Andykl 1b59f64a0c Improve dynamic image 2020-09-18 04:54:54 +02:00
Andykl dadc1eb08f Remove config.gl_enable from the documentation 2020-09-18 04:44:16 +02:00
Andykl 4d611b897f Update performance test 2020-09-18 04:42:56 +02:00
Tom Rothamel 7f26540252 Make elide_filename os-agnostic. 2020-09-17 19:38:33 -04:00
Tom Rothamel be5db83bd6 doc: Fixes to changelog and docs.
Based on conversations with Mal.
2020-09-16 22:36:06 -04:00
Tom Rothamel e71957863b gl2: Intersect the new clip polygon with the old clip polygon, if needed.
Fixes #2353.
2020-09-15 22:30:34 -04:00
Tom Rothamel b00a1afd3e Allow Live2D to be duplicated with None. 2020-09-14 22:36:55 -04:00
Tom Rothamel 322657e009 Default transform to "fill" mode all the time.
This restores the behavior that Ren'Py had before #2241 was
merged.
2020-09-14 22:12:47 -04:00
Tom Rothamel e2e35fb937 doc: Update changelog. 2020-09-13 13:00:00 -04:00
Tom Rothamel d97d378619 docs: More changelog. 2020-09-13 00:02:31 -04:00
Tom Rothamel 108d943439 doc: Initial work on changelog. 2020-09-12 18:13:43 -04:00
Tom Rothamel 48a4d4543f Merge pull request #2350 from Andykl/ignore-32
Ignore renpy-32.exe
2020-09-11 21:07:13 -04:00
Tom Rothamel bf2a8b4e8c Merge pull request #2352 from Andykl/hotfix
Hotfix
2020-09-10 19:57:07 -04:00
Andykl c424566868 Hotfix 2020-09-11 01:56:05 +02:00
Tom Rothamel 088da5357b Merge pull request #2210 from Andykl/SL-fixes
Sl fixes
2020-09-10 17:54:06 -04:00
Tom Rothamel b39365ecfc gl2: Use gl2 shading on GLES 3.
This prevents us from having to rewrite shaders for GLES 3,
and keeps them working on webgl 1.
2020-09-09 22:23:40 -04:00
Tom Rothamel dcc10c84cd gl2: Log shader text to log.txt. 2020-09-09 21:32:49 -04:00
Tom Rothamel 062c18d6db gl2: Use GLSL 3.00 ES for gles.
This allows textures to take lod bias.

This also avoids mixing ints and floats, which is an error.
2020-09-09 03:28:29 -04:00
Tom Rothamel f2d67621a2 live2d: Add support for expressions. 2020-09-09 03:13:12 -04:00
Tom Rothamel bc375377eb live2d: Load expression files. 2020-09-08 23:35:24 -04:00
Andykl ed16b42483 Ignore renpy-32.exe 2020-09-09 04:28:26 +02:00
Tom Rothamel 2663b852c0 live2d: Do not apply alpha to hidden masks.
This fixes a problem with the Haru sample model, where the masks
for her eyes were hidden and at 0 alpha, which mean that the masks
were not rendered, and hence couldn't be used.
2020-09-07 22:05:33 -04:00
Tom Rothamel 106e447a5e live2d: Add aliases. 2020-09-06 22:57:02 -04:00
Tom Rothamel 9a83bdf7a2 Remove debugging exception. 2020-09-06 19:57:42 -04:00
Tom Rothamel 00e1546cba Merge pull request #2334 from Andykl/hotkeys-fix
Add K_key keysyms to default Ren'Py keymap
2020-09-06 19:36:30 -04:00
Tom Rothamel dd2e25f8ae Flatten and increase the opacity of the touch keyboard.
Giving mesh True causes a flatten operation, which means that
the outline and top textures of the text become a single layer
before alpha is applied to it. Since alpha is applied once,
the colors are less murky, and we can raise the transparency
without reducing the amount of the background that shows through.
2020-09-06 00:02:24 -04:00
Tom Rothamel e8682a432b sl2: Fix an issue with changing the child of multiple Transforms.
Previously, only the outermost transform would be considered, and
inner transforms would go away. With this change, the child of
the innermost transform is changed, while the outermost transform
is placed in the displayable tree.
2020-09-05 23:48:51 -04:00
Sylvain Beucler e9bbbdb4d0 touch_keyboard: fix typo and alignment 2020-09-05 11:50:22 +02:00
Sylvain Beucler 2fb99f696d touch_keyboard: fix key injection on mobile browsers 2020-09-05 11:49:04 +02:00
Tom Rothamel 2b62b201cb Merge pull request 2336, Add built in simple virtual keyboard. 2020-09-05 03:05:04 -04:00
Tom Rothamel 51bc4c78e7 Make the buttons 10% bigger, and scaling with game size. 2020-09-04 23:39:27 -04:00
Tom Rothamel 2e7fad6c69 Reorgnize the keyboard using 7x7 grids.
This widens the keyboard out some, and will let us use slightly
bigger buttons.

This also adds ., and removes {, }, [, and ], which Ren'Py doesn't
like as part of input.
2020-09-04 23:10:12 -04:00
Tom Rothamel 1d8e2fe640 Rename touchwebkeyboard to TouchKeyboard and touch_keyboard. 2020-09-04 22:20:00 -04:00
Tom Rothamel c15649e7be Rename the _touchwebkeyboard to _touch_keyboard, add config variable to control it. 2020-09-04 21:41:23 -04:00
Tom Rothamel ab8c1bb4b0 Raise the GC threshold to 25,000 objects (from 700) during startup. 2020-09-03 21:14:03 -04:00
Tom Rothamel 7e8c2f2910 Merge pull request #2346 from lee-yunseok/master
Update tutorial Ko-tl
2020-09-03 20:49:11 -04:00
lee-yunseok 560af53741 Update tutorial Ko-tl 2020-09-03 21:54:01 +09:00
Tom Rothamel 3e8a3ee368 Merge pull request #2338 from jsfehler/patch-4
Don't allow toggle skip when skip is disabled
2020-09-03 01:08:43 -04:00
Tom Rothamel 2e13994a1b gl2: Increase the precision of intersectLines.
This fixes #2342, which would cause points on a line to be treaded
as outside it, due to numerical error.
2020-09-02 02:05:02 -04:00
Tom Rothamel c8a2929734 gl2: Avoid creating a Model for renders that have been cropped into nothing. 2020-09-01 22:04:29 -04:00
Tom Rothamel 06696c86dd gl1: Deal with subsurfacing causing an empty Render. 2020-09-01 20:59:28 -04:00
Tom Rothamel fa5eb321db Use binary IO when adding from to calls.
Fixes #2340.
2020-09-01 02:05:45 -04:00
Tom Rothamel eb6c7cdb2e Remove references to Editra in the tutorial.
Fixes #2339.
2020-08-31 21:59:35 -04:00
Tom Rothamel e2edd01d62 Update the piglatin translation. 2020-08-31 21:38:59 -04:00
Tom Rothamel 182bc927e0 Expose renpy.bits.
A way of letting the script determine if this is a 32-bit or 64-bit
platform.
2020-08-30 22:02:32 -04:00
Tom Rothamel 7ce6d55365 Distribute 64-bit windows games. 2020-08-29 17:59:42 -04:00
Joshua Fehler 49a81285fc Don't allow toggle skip when skip is disabled 2020-08-29 10:19:19 -04:00
Sylvain Beucler 2b00838352 web: mobile: add built-in simple virtual keyboard 2020-08-28 20:59:11 +02:00
Tom Rothamel abe41b41a1 Drop support for Editra.
It hasn't been developed sinced 2013, as far as I can tell, and
the website has been down since 2019. Atom has basically replaced
it.

Editra, thank you for being part of Ren'Py.
2020-08-28 00:09:34 -04:00
Tom Rothamel 3b9a025202 Pan was off by 180 degrees, fix that. 2020-08-27 20:54:36 -04:00
Tom Rothamel 2a3fa65b9b atl: Implement xpan/ypan in terms of .subsurface.
This simplifies things and fixes visual glitches.
2020-08-26 22:58:29 -04:00
Tom Rothamel 3af4480c78 Merge pull request #2335 from jsfehler/patch-4
Fix incorrect docs for pushup/down transitions
2020-08-26 18:31:45 -04:00
Joshua Fehler 6e1b190e6b Fix incorrect docs for pushup/down transitions
pushup and pushdown were called pushtop and pushbottom.
2020-08-26 18:25:05 -04:00
Andykl 205feb4eef Add K_key keysyms to default Ren'Py keymap 2020-08-26 23:05:19 +02:00
Tom Rothamel 1c1b2f1301 Merge pull request #2332 from Andykl/parser-fix
Allow use raw strings in simple_expression
2020-08-26 00:11:59 -04:00
Andykl 9a9b6a735a Lexer.name should also respect raw Unicode strings 2020-08-26 04:18:08 +02:00
Tom Rothamel 56da70dfcb Change how xpan and ypan work.
Rather than doing weird things with offset, these now work by using
crop to crop the image to its original size. This should make pans
work better with other ATL properties.

Fixes #2320.
2020-08-25 02:40:11 -04:00
Tom Rothamel 4ed8a9953a Use plaform GL headers on iOS/Android, to get ES3. 2020-08-23 21:36:58 -04:00
Tom Rothamel 7ce0505f8c gl2: Tweak Pixellate bias to match gl. 2020-08-22 22:20:23 -04:00
Andykl 3107c2b051 Allow use raw strings in simple_expression 2020-08-23 02:20:24 +02:00
Tom Rothamel 4ceb0b08c8 Allow the user to resize the launcher window.
Fixes #2295.
2020-08-22 17:38:50 -04:00
Tom Rothamel 2a9f206700 gl2: Add renpy.config.max_mipmap_level. 2020-08-22 01:35:22 -04:00
Tom Rothamel 14598ded7e gl2: Fix regression in the renpy.dissolve shader.
Added u_lod_bias in the wrong place. Whoops.
2020-08-22 01:03:49 -04:00
Tom Rothamel c289be0e58 gl2: Generate mipmaps for loaded textures. 2020-08-22 00:27:13 -04:00
Tom Rothamel 4e7fc55210 gl2: Use GL_UNPACK_ROW_LENGTH for zero-copy image loading.
Now that we've moved to ES 3.0, it's available on all platforms.
2020-08-21 23:33:53 -04:00
Tom Rothamel 21d369d7f6 gl2: Various cleanups and documentation for RTT mipmap generation. 2020-08-21 03:05:10 -04:00
Tom Rothamel f7bbfddf32 gl2: Ask for GLES 3.0. 2020-08-21 01:38:10 -04:00
Tom Rothamel 99d0c277a5 gl2: Target UGUU at GLES 3.0. 2020-08-21 01:36:11 -04:00
Tom Rothamel 9f0b6d2f26 gl2: Checkpoint progress in rendering textures on the GPU. 2020-08-20 23:08:09 -04:00
Tom Rothamel 9f52c462c3 gl2: Fix a typo. 2020-08-19 17:03:30 -04:00
Tom Rothamel a9701b2768 gl2: Fix issues with previous commits.
Turns out testing with the right renderer is important.
2020-08-18 22:25:29 -04:00
Tom Rothamel 50588a37fb gl2: Add Render.add_property.
This is a method that makes it conventient to set a render
property.
2020-08-18 22:00:57 -04:00
Tom Rothamel 9116c0fec8 gl2: Improvements related to properties and LOD.
LOD is now controlled by u_lod_bias.

There is now a dictionary that is passed around through the gl2
renderer, properties. It's intended as the place to store
information that controls the fixed-function portions of
the GL pipeline. Right now, it controls the texture_scaling
mode (used to implement nearest neighbor rendering), and
pixel_perfect rendering, but it can be used for other things
in the future.

The full set of texture_scaling modes are now available.
2020-08-18 21:03:21 -04:00
uyjulian c091edacbb Normalize unicode to NFC 2020-08-18 03:06:07 -05:00
Tom Rothamel 8747c544d7 gl2: Add a LOD adjustment, to prefer scaling down to scaling up. 2020-08-18 02:22:10 -04:00
Tom Rothamel 4f307fd01c gl2: Create and use mipmaps. 2020-08-17 23:48:46 -04:00
Tom Rothamel 4d1f2a3d93 Merge pull request #2285 from Andykl/translate_string-alias
Add alias for `__` in Ren'Py exports as renpy.translate_string
2020-08-17 21:57:52 -04:00
Tom Rothamel a295a499fc Ensure that the argument to log2vis is unicode.
Fixes #2298.
2020-08-16 18:55:43 -04:00
Tom Rothamel 2e17065971 Merge pull request #2317 from lee-yunseok/master
Update translations.
2020-08-16 18:53:18 -04:00
Tom Rothamel 7025438250 Merge pull request #2324 from kapilgain/dev
Fixes #2292: Use utf-8 encoding when writing to lint file output
2020-08-16 18:52:56 -04:00
Kapil Gain 26d8f2609f Fixes #2292: Use utf-8 encoding when writing to lint file output 2020-08-16 18:54:54 +05:30
Tom Rothamel 4d3c1c5f49 Set a hint to not bypass the window compositor.
This prevents Ren'Py games from changing the compositor mode.

This attempts to fix #2303.
2020-08-15 14:01:31 -04:00
Tom Rothamel dbb14cc1a3 ios: Update the launcher to match the r-b version.
The big change is that storyboards are used instead of launch
images, so we no longer generate launch images.
2020-08-13 22:09:22 -04:00
Tom Rothamel 35b5d3f679 Update most modules to use renpy.compat.pickle.
This should generally speed up pickling and unpickling.
2020-08-13 22:06:42 -04:00
Tom Rothamel f30d7587d6 Add the renpy.compat.pickle module.
This pulls in the contents of the "fast" pickle module - pickle
on py3, and cPickle on py2.
2020-08-12 21:38:03 -04:00
Tom Rothamel 91045713c1 Support loading matrices from save files. 2020-08-12 20:55:44 -04:00
lee-yunseok ca23ea4b40 Fix typo. 2020-08-12 15:50:30 +09:00
Tom Rothamel abcfcb0b13 gl2: Switch matrix from row major to column major order.
GLES doesn't support the transpose argument to glUniformMatrix, so
store the matrix in transposed order instead.

Fixes #2309.
2020-08-11 22:15:46 -04:00
Tom Rothamel 26aaf86e8a Allow gles2 to run on Android.
It doesn't work yet, but it initializes to a black screen.
2020-08-10 23:51:58 -04:00
Tom Rothamel f9d295846a Add a way to disable shaders.
The syntax is to add a negative shader name, like '-renpy.geometry'.

Fixes #2301.
2020-08-10 23:02:24 -04:00
lee-yunseok ce52a27a2e Follow #9d4ae7b 2020-08-10 08:16:03 +09:00
lee-yunseok cc56b043c2 Follow #9d4ae7b 2020-08-10 08:12:16 +09:00
Tom Rothamel a085b5b32b Merge pull request #2316 from lee-yunseok/master
Fix Ko strings for launcher.
2020-08-09 14:27:54 -04:00
lee-yunseok 49ce721166 Grammatically correct 2020-08-10 03:26:42 +09:00
lee-yunseok be92e277d1 Fix Ko typos. 2020-08-10 03:24:10 +09:00
lee-yunseok dbcde35bf7 Update Ko strings for launcher. 2020-08-09 17:21:15 +09:00
Tom Rothamel 03e3dd36e0 Merge pull request #2281 from lee-yunseok/master
Fix Korean typo in launcher
2020-08-08 20:40:18 -04:00
Tom Rothamel d70f2d1555 Merge pull request #2283 from lee-yunseok/master
Apply SourceHanSansLite to Korean.
2020-08-08 20:39:55 -04:00
Tom Rothamel 39a3d0b689 Merge pull request #2306 from uyjulian/ffmedia_more_pointer_validation
More pointer validation in ffmedia and renpysound_core
2020-08-08 20:39:34 -04:00
lee-yunseok af0bdc1272 Update Ko string 2020-08-06 03:53:06 +09:00
lee-yunseok 206d23a3e6 Fix korean typo 2020-08-06 01:44:19 +09:00
lee-yunseok 51558dc83b update android string tr 2020-08-06 01:42:10 +09:00
Tom Rothamel 9d4ae7b9bf Update android string translations. 2020-08-03 23:57:38 -04:00
Tom Rothamel 1ac9e557d1 Create the directory containing the screenshot, if it doesn't exist.
Fixes #2308.
2020-08-03 01:09:17 -04:00
Tom Rothamel 845da7593b Allow K_PAUSE to bring the player to the game menu.
Just so this key has a function.
2020-08-03 00:36:06 -04:00
Tom Rothamel a547ea00eb Document preferences.language.
It's useful as a way of knowing the current language.
2020-08-03 00:29:36 -04:00
Tom Rothamel 2281ae9268 Only display a side image if at least one attribute is known. 2020-08-02 23:24:40 -04:00
uyjulian 084ed4970b More pointer validation in ffmedia and renpysound_core
Prevents data aborts on memory allocation error and media open error
2020-08-02 01:51:39 -05:00
uyjulian e929156f97 Refactor renpy.loader.index_archives into multiple callbacks 2020-08-02 01:14:10 -05:00
uyjulian 24b1a7c522 Refactor renpy.loader.{load_core,scandirfiles} into multiple callbacks 2020-08-02 00:22:19 -05:00
Tom Rothamel 2153cc80a2 Tweak one of the static cython regexes.
It could trigger in a case where a C function in the module had the
same name as the module itself. (Like the render function in
renpy.display.render.) This causes functions that import it to
report an error.
2020-07-30 19:17:01 -04:00
Tom Rothamel fee5500fb4 Use __attribute__((constructor)) to add static modules to inittab. 2020-07-30 03:16:16 -04:00
Tom Rothamel 39a35270ef Document that six is a dependency. 2020-07-26 22:34:55 -04:00
Tom Rothamel b0f238ef0d Merge pull request #2290 from Andykl/fix-force-step
Make sure Adjustment._value always have type that was inited
2020-07-24 21:03:24 -04:00
Tom Rothamel 9997eeb5da Fix lint warning in tutorial. 2020-07-23 22:11:35 -04:00
Tom Rothamel 5095677c2c Revert "Merge pull request #2287 from Beuc/web-virtual-keyboard"
This reverts commit c655a6d830, reversing
changes made to ee21bfa2ae.
2020-07-22 21:12:44 -04:00
Tom Rothamel e3d9516f2e Open JSON files in binary mode.
Fixes #2289.
2020-07-22 01:28:28 -04:00
Andykl 34e3e25fea Make sure Adjustment._value always have type that was inited 2020-07-22 00:51:15 +02:00
Andykl 7b6d8cc162 Fix misstype for force_step feature 2020-07-22 00:45:55 +02:00
Tom Rothamel 109590f7c0 Update an android string to match a change in rapt. 2020-07-20 22:41:59 -04:00
Tom Rothamel c655a6d830 Merge pull request #2287 from Beuc/web-virtual-keyboard
web: mobile: browser virtual keyboard support
2020-07-19 22:23:02 -04:00
Sylvain Beucler 2a1c91d8b2 web: mobile: browser virtual keyboard support 2020-07-18 18:03:03 +02:00
Tom Rothamel ee21bfa2ae live2d: Use the renpy.alpha shader to adjust opacity.
Fixes #2284.
2020-07-17 17:39:42 -04:00
Tom Rothamel 64c931c511 live2d: Fix the Linear and InvStep functions.
Per discussion on #2284.
2020-07-17 17:37:52 -04:00
Tom Rothamel 719ed80fa6 gl2: Take the size of the viewport into GL2DrawingContext, so
alignment works everywhere.
2020-07-17 00:36:45 -04:00
Tom Rothamel c0ac8e92c5 Fix bad matrices - thanks to Renall. 2020-07-16 21:02:45 -04:00
Tom Rothamel a6cfc52312 gl2: Replace the drawable_align shader with pixel perfect rendering.
The drawable align shader has a number of problems, most notably
that it could be triggered by accident - for example, the corners
of a Frame would trigger it. It could also move the diferent corners
of a texture differently, which would lead to blurring.

This replaces it with the concept of pixel perfect rendering. A
Render can be rendered in a pixel perfect manner if the only
transforms it has undergone are shifts by an integer number of
pixels. After a Render opts in (right now, Text is the only Render
that does so), each Model that it draws is shifted until (0, 0) is
located on an integer pixel on the screen.

Compared to drawable_align, pixel perfect rendering is simpler - by
actually transforming a point, it's easy to determine the nearest
pixel, and then move the draw by up to 1/2 of a pixel in each
axis.
2020-07-16 03:03:23 -04:00
Tom Rothamel 3218108135 gl2: Rewrite the draw function to use arguments rather than fields.
This simplifies it, and should make it faster.
2020-07-16 01:00:26 -04:00
Tom Rothamel 9faf07f664 gl2: Add methods to access the first point in the mesh. 2020-07-15 22:42:27 -04:00
Andykl 32502e1c84 Add alias for __ 2020-07-16 04:14:30 +02:00
Tom Rothamel 786b025c26 gl2: Add the bounding box to geometry debug. 2020-07-15 01:40:26 -04:00
Tom Rothamel 2f1c72826c Do not include renpy.geometry when renpy.ftl is present.
Fixes #2282.
2020-07-14 21:37:16 -04:00
lee-yunseok b0c29dca41 Update 2020-07-15 05:21:00 +09:00
lee-yunseok 10f95ba85b Compatible with new font 2020-07-15 05:18:07 +09:00
lee-yunseok 329f68e6e2 Add Korean 2020-07-15 04:53:18 +09:00
lee-yunseok 68418ceeb5 Naturally 2020-07-15 04:48:02 +09:00
lee-yunseok b90b13d911 remove mistake 2020-07-15 04:46:32 +09:00
lee-yunseok 9782c3aeae Change Korean font 2020-07-15 04:44:03 +09:00
lee-yunseok c5a3fc1f2f More naturally, remove nanum 2020-07-15 04:41:54 +09:00
lee-yunseok 46b696fac3 More naturally, remove Nanum 2020-07-15 04:40:34 +09:00
lee-yunseok 2f74b0f3aa Remove NanumFont 2020-07-15 04:33:24 +09:00
lee-yunseok f66aaad63a Fix typo 2020-07-14 17:05:33 +09:00
lee-yunseok e2c0cc6075 Fix typo 2020-07-14 16:54:41 +09:00
Tom Rothamel 8b0d3dd498 Merge pull request #2280 from Andykl/fix-start-interact
Set start_interact before call start_interact_callbacks
2020-07-14 01:36:09 -04:00
Tom Rothamel b6e223fdbe Fix typo in download.rpy. 2020-07-13 22:23:06 -04:00
Tom Rothamel 2001ca26f6 gl2: Fix matrix multiplication of clip polygons. 2020-07-13 22:15:19 -04:00
Tom Rothamel 81114e5e76 Default to using Python3 to choose a directory. 2020-07-12 17:54:46 -04:00
Tom Rothamel 85190014db gl2: Add a way to debug mesh geometry. 2020-07-11 23:34:03 -04:00
Andykl a819deb8a9 Set start_interact before call start_interact_callbacks 2020-07-12 04:53:29 +02:00
Tom Rothamel 4ac70c590c gl2: Add accessor functions to get the points and triangles in a mesh. 2020-07-11 18:59:47 -04:00
Tom Rothamel 45dfa2c980 Merge pull request #2270 from mal/vpgrid-margin
Add support for margin to grids
2020-07-10 21:23:41 -04:00
dogtopus 0665000c34 Handle variation sequences (VS1-256 and FVS1-3) 2020-07-10 00:03:09 -03:00
Tom Rothamel 094c0c0add Merge pull request #2277 from zedraxlo/patch-1
SourceHanSansLite.ttf update
2020-07-09 22:24:56 -04:00
Mal Graty 3e9c1f25a5 Update style docs for grid margins 2020-07-09 21:32:20 +01:00
Mal Graty ac1b88eea2 Minor fixes to style-property docs 2020-07-09 21:29:04 +01:00
zedraxlo e99fe890c4 Update screens.rpy 2020-07-09 18:37:12 +08:00
zedraxlo 3a0ff7876e Update screens.rpy 2020-07-09 18:35:01 +08:00
zedraxlo 8faf94f413 New SourceHanSansLite.ttf July 2020
After compared with the below code table, added some lacked characters.
GB 2312-80 (China)
Big 5 (Taiwan) + frequency table
JIS X 0208 (Japan) + joyo kanji
2020-07-09 18:31:23 +08:00
zedraxlo 5d627df6cb Update developer.rpy 2020-07-09 18:25:33 +08:00
Tom Rothamel a1c30e0ec6 Merge pull request #2044 from Lezalith/master
Input parameters "allow" and "exclude" can take regex
2020-07-08 21:38:33 -04:00
Tom Rothamel 03ccecaeca Merge pull request #2159 from hsandt/fix-parse-stop-music
Fix #2158 by checking arguments in a loop in parse_stop_music
2020-07-08 21:37:48 -04:00
Tom Rothamel c1f329618e Merge branch 'master' into fix-parse-stop-music 2020-07-08 21:37:31 -04:00
Tom Rothamel 5adf696ae1 Merge pull request #2232 from kyouryuukunn/combine_japanese_and_chinese_font
Combine japanese and chinese font
2020-07-08 21:35:34 -04:00
Tom Rothamel 07d837be44 Check in missing files, and a general cleanup. 2020-07-08 19:29:23 -04:00
Tom Rothamel 434c100ae5 Fix regression in Transform.set_child.
Fixes #2273.
2020-07-07 20:21:08 -04:00
Beuc b143e9e7f1 web: clarify audio placeholder's role 2020-07-07 12:22:20 +02:00
Tom Rothamel 0057b8f0d6 live2d: Properly handle the case where fadeout=0.
It should be treated as an immediate fadeout, not as not fading
out at all.
2020-07-07 00:00:46 -04:00
Tom Rothamel fd5163b577 live2d: Control when Live2D can be duplicated. 2020-07-06 22:46:12 -04:00
Tom Rothamel 4d54fa8c96 Add support for live2d to run.sh, if the files are present. 2020-07-06 22:33:47 -04:00
Tom Rothamel b62fb01b77 Merge pull request #2271 from Andykl/fix-shader-typos
Fix typos in live2d shaders
2020-07-05 23:22:21 -04:00
Tom Rothamel 07f2fdf7f1 gl2: Add the mesh transform property.
This replaces the flatten property, and explicitly flattens into
a mesh, if possible. Optionally, this takes a tuple, that
defines the number of points in the horizontal and vertical
directions that make up the mesh. (The idea being that a
vertex shader can then distort the mesh.)
2020-07-05 23:16:12 -04:00
Andykl 8fe34ded43 Fix typos in live2d shaders 2020-07-05 23:51:54 +02:00
Mal Graty 8f5dc494f1 Add support for margin to grids 2020-07-05 18:45:35 +01:00
Tom Rothamel ae2def4013 Add a flatten transform property.
This is designed to simplify the writing of shader-based transforms.
2020-07-04 15:37:37 -04:00
Tom Rothamel d2bf194114 gl2: More shader work.
The different shader variables now get prefixed with the GLSL
type - u_ for uniform, a_ for attribute, v_ for varying. This
makes sure that we're good if OpenGL adds new functions.

There are two new uniforms - u_time is the frame time, and u_random
is a vec4 with 4 random values in it.

Uniforms beginning with u_renpy and the standard uniforms (u_transform,
u_time, and u_random) are not exposed to ATL. (Since Ren'Py would just
overwrite them, anyway.)
2020-07-04 01:44:20 -04:00
Tom Rothamel 9c2ecbeebb gl2: Add support for custom shaders and uniforms to ATL. 2020-07-04 00:54:21 -04:00
Tom Rothamel 5fe400d433 gl2: Persist the shader cache. 2020-07-03 20:32:15 -04:00
Tom Rothamel e4e256a49d gl2: Remove hungarian notation from shader variables.
If these variables are going to be around forever, they should be
Ren'Py-like.
2020-07-03 01:15:34 -04:00
Tom Rothamel eb676de30c gl2: Alpha, Over, and Matrixcolor use uniforms.
Instead of special-casing these uniforms, they're updated by the
displayables that change them, and then config.merge_uniforms
makes sure that things like nested color matrixes and nested
alpha combine properly.
2020-07-02 22:35:16 -04:00
Tom Rothamel e12175123d gl2: Add config.merge_uniforms.
This is a dictionary that explains how to merge together uniforms
that are provided by the same shader in multiple places. For example,
the alpha should me multiplied, not replaced.
2020-07-02 22:33:26 -04:00
Tom Rothamel 7ce97ed23a gl2: Add Render.add_shader and Render.add_uniform.
These provide a standard and simple way to add shaders and uniforms
to Renders.
2020-07-02 22:31:55 -04:00
Tom Rothamel fd062ef089 matrixcolor: Add SepiaMatrix, a convenient shortcut to sepiatone things. 2020-07-02 19:09:25 -04:00
Tom Rothamel 15941dfac0 matrixcolor: Add equality methods to ColorMatrix.
These are used by ATL.
2020-07-01 22:21:54 -04:00
Tom Rothamel 9b819d563a matrixcolor: Untested conversion of im.matrix to ColorMatrix
ColorMatrix is the new base class for objects that can be called
to return a Matrix. ATL can interpolate between different instances
of the same ColorMatrix subclass, and ColorMatrixes can be multiplied
together, in which case the relevant Matrixes wil be multipled
together.
2020-07-01 22:05:57 -04:00
Tom Rothamel b139fc492d matrixcolor: Move interpolation into a base class. 2020-06-30 23:58:04 -04:00
Tom Rothamel 8772d753d9 matrixcolor: Start redesign.
Thinking about Patreon + #2255, I've realized that reusing im.matrix
is probably a bad idea. The 5x5 matrices don't make sense with
premultiplied alpha, and ATL really wants function-like objects
that help animated things.

In the redesign, matrixcolor takes either a 4x4 Matrix, or a
function-like object (a ColorMatrix object) that takes an old
object to interpolate from, a completion amount, and returns
a Matrix.
2020-06-30 01:56:21 -04:00
Tom Rothamel 474f1499cd Export Matrix into the default store. 2020-06-30 00:45:14 -04:00
Tom Rothamel 62ba7f2a9d doc: Improve documentation of config.missing_label_callback.
Fixes #2261.
2020-06-29 21:01:58 -04:00
Tom Rothamel 1923a40304 Merge pull request #2262 from Andykl/fix-2191
Fix misspelled value for #2191
2020-06-29 13:56:25 -04:00
Andykl 6d56f148da Fix misspelled value for #2191 2020-06-29 19:53:13 +02:00
Tom Rothamel e9aa32407e Remove all MMX-based rendering.
These were mostly used by the software renderer, which is no longer
performance-critical. The MMX-based stuff appears to be broken on
i686 on recent GCCs (it had been disabled on Linux for years), so
it's easy to justify removing it.
2020-06-28 21:29:48 -04:00
Tom Rothamel baaf56c866 Disable ANGLE when switching to swdraw.
This is necessary ANGLE isn't working for some reason. GLES and
ANGLE mode is still enabled, so swdraw would fail creating the
window.
2020-06-27 20:21:09 -04:00
Tom Rothamel aa0a5f1194 Ignore angle2 on other platforms. 2020-06-27 19:55:49 -04:00
Tom Rothamel 5682e70942 Merge pull request #2156 from Beuc/progressive_download.txt
web: add progressive download configuration for demos
2020-06-27 16:44:04 -04:00
Tom Rothamel 4a226666b6 Merge pull request #2106 from Beuc/back_to_float
Revert "web: Avoid the use of float arguments."
2020-06-27 16:43:47 -04:00
Tom Rothamel 043f7d07c4 Only recreate the gl context on mobile platforms.
On windows with ANGLE, re-creating the context does not work. It
also isn't necessary on other PC platforms.
2020-06-27 16:22:44 -04:00
Tom Rothamel 33dd91e9d0 doc: Fix typo. 2020-06-27 15:55:36 -04:00
Tom Rothamel 8833466201 gl2: Do not use es in the gl2es shader version directive. 2020-06-26 23:41:52 -04:00
Daniel Conley 9851f8c391 Python3 Readiness: Use in Instead Of has_key
Changes all instances of `<dict>.has_key(<key>)` to `<key> in <dict>` across all Python and RenPy files, as Python 3 has removed the `has_key` method.
Excuse my grammar and missing backtick quoted content in my last commit... how embarassing.
The last commit was supposed to say: "Changed all instances of `except <type>, <var>` to `except <type> as <var>`"...
2020-06-26 16:50:21 -04:00
Daniel Conley 2de5d427a4 Python3 Readyness: Use As In Except
Changed all instances of  to , across all Python and RenPy files, as Python 3 does not accepts the former.
2020-06-26 16:15:47 -04:00
Tom Rothamel 44fe51d53b Merge pull request #2109 from Andykl/console-prettyprint
Console prettyprint
2020-06-25 22:36:47 -04:00
Tom Rothamel 33f9359b28 Merge pull request #2165 from Andykl/fix-screens-predict
Various fixes of predict machinery
2020-06-25 22:30:52 -04:00
Tom Rothamel b0cf9da302 Merge pull request #2242 from Andykl/fix-log-line-ending
Remove `\n` replacement in log files, because `io.open` is dealing with it
2020-06-25 22:27:46 -04:00
Tom Rothamel fc81ae78c3 Merge pull request #2252 from dogtopus/gl2draw-typo
Fix typo (draw -> gl2draw)
2020-06-25 22:26:09 -04:00
Tom Rothamel 3eec6085f7 r-b: Set executable bits for the new files.
Fixes #2254.
2020-06-23 21:48:25 -04:00
Tom Rothamel bf1bee5214 Add a length field to the test input example.
Fixes #2204.
2020-06-23 01:10:20 -04:00
Tom Rothamel 05f66df36b Quote butler terminal commands.
Fixes #2199.
2020-06-23 00:41:39 -04:00
Tom Rothamel 51f120646b gl2: Restore AlphaMask and AlphaDissolve.
Fixes #2251.
2020-06-22 23:00:00 -04:00
dogtopus a262f29c56 Fix typo (draw -> gl2draw) 2020-06-22 13:14:30 -03:00
Tom Rothamel 7468b56459 Start documenting matrixcolor. 2020-06-22 01:47:36 -04:00
Tom Rothamel 3ac0f39348 Add support for the use of functions to interpolate matrixcolors. 2020-06-21 15:39:26 -04:00
Tom Rothamel c35b3759e8 gl2: Add the matrixcolor implementation. 2020-06-21 11:39:25 -04:00
Tom Rothamel b98890220f gl2: Add the matrixcolor transform property.
Which hasn't been hooked up yet.
2020-06-20 20:30:48 -04:00
Tom Rothamel 0e3b850a22 Merge pull request #2241 from mal/size-type
Bounds-based size transforms
2020-06-20 17:49:55 -04:00
Mal Graty 6664dc19e6 Document new sizing properties 2020-06-20 20:12:06 +01:00
Tom Rothamel 60399dcdd8 gl2: Update the recolor shader. 2020-06-19 21:04:34 -04:00
Tom Rothamel 6541259a56 Hide and ToggleScreen now take the _layer parameter.
Fixes #2227.
2020-06-19 00:42:05 -04:00
Tom Rothamel e4144bbc08 Switch to VS code. 2020-06-19 00:25:15 -04:00
Tom Rothamel a98539b611 Merge pull request #2155 from RenpyRemix/patch-1
Update 00gallery.rpy
2020-06-18 23:21:16 -04:00
Tom Rothamel becb99216b Merge pull request #2248 from lee-yunseok/master
Add missing Korean translation for launcher.
2020-06-18 23:20:02 -04:00
Tom Rothamel 76dc25cb74 Convert exception_info to str before reporting.
Fixes #2244.
2020-06-18 21:28:27 -04:00
Tom Rothamel 929106910a Convert strings in .pyx to unicode. 2020-06-18 21:23:08 -04:00
lee-yunseok a73e35ac22 Add missing tl 2020-06-19 00:46:35 +09:00
Tom Rothamel d7d2b5440d Do not reset history or nvl_list for a non-language-change.
Fixes #2245.
2020-06-17 23:21:54 -04:00
Tom Rothamel 2f069739d2 Allow the game continue if nvl_list gets cleared.
This can happen when changing language.

This is part of the fix for #2245.
2020-06-17 23:18:24 -04:00
Tom Rothamel 60d81a953c live2d: Call with __stdcall.
This fixes a crash on 32-bit win32.
2020-06-16 02:03:09 -04:00
Tom Rothamel 1c2e732490 Preserve sys.executable across reload(sys). 2020-06-15 03:13:20 -04:00
Mal Graty 03512ed2e9 Avoid using size None going forward 2020-06-14 21:03:17 +01:00
Mal Graty b278fc842d Handle size None in transforms
Setting size to None is used reset and few other places so we need to
keep support for clearing size in that way rather than requiring code to
be ported to explicitly setting xsize and ysize to None.
2020-06-14 21:03:17 +01:00
Mal Graty 0f070cb5ae Make transform_render use xsize, ysize and fit
fixup! Update transform_render to handle xsize, ysize
2020-06-14 21:03:17 +01:00
Mal Graty 9133dc798f Split size into xsize and ysize and add size_type
Size remains available and supported, implemented in the same way as
other x/y tuples with component parts.
2020-06-14 21:03:17 +01:00
Andykl b78a84f016 Remove \n replacement, because io.open is dealing with it 2020-06-13 20:45:23 +02:00
Tom Rothamel b0af3b31b3 live2d: Only install into directories that exist.
Fixes #2225.
2020-06-13 03:05:36 -04:00
Tom Rothamel 9680958b96 live2d: Use the full path to the dll.
This is required to load the dylib on macOS, and shouldn't hurt
for the other platforms.

Fixes #2233.
2020-06-13 02:37:00 -04:00
Tom Rothamel 530b29fbc3 Only handle VIDEOEXPOSE for the software renderer. 2020-06-11 21:44:57 -04:00
Andykl a14e38a830 Remove unnesesary import 2020-06-11 12:50:30 +02:00
kyouryuukunn bcd738085b Update CJK font 2020-06-11 16:58:02 +09:00
kyouryuukunn 75d21278cf Change Japanese font name 2020-06-11 16:52:41 +09:00
kyouryuukunn 36516ecebc Merge branch 'master' into combine_japanese_and_chinese_font 2020-06-11 16:45:57 +09:00
Tom Rothamel d45a30cd1c gl2: Do not use the geometry shader for ftl.
This attempts to deal with #2228.
2020-06-11 01:40:45 -04:00
Tom Rothamel 84cdb6dc50 Merge pull request #2169 from uyjulian/gl2_explicit_attributes
gl2draw: Explicitly specify profile and version when using desktop GL
2020-06-11 00:22:31 -04:00
uyjulian 73443cd0af gl2draw: Explicitly specify profile and version when using desktop GL 2020-06-10 23:20:19 -05:00
Tom Rothamel ec8eaf08f0 Merge pull request #2230 from Gouvernathor/patch-minsize
add minsize transform property
2020-06-10 22:09:40 -04:00
Gouvernathor dc4bdc7775 Changed mul from False to None
As requested, changed the default, "unspecified" value of mul from False to None to avoid integer-interpretation issues
2020-06-11 04:08:52 +02:00
Tom Rothamel 55ba62ea58 Merge pull request #2129 from Andykl/improve-pure
Improved renpy.pure function.
2020-06-10 22:08:32 -04:00
Gouvernathor 95bac9a589 added minsize to the last needed places
added wherever maxsize was mentioned : in the constructor, with the default value (of None),...
2020-06-11 02:27:01 +02:00
Gouvernathor cbf458f514 Programmed the actual behavior of minsize
If maxsize is specified, minsize is ignored.
If not None, minsize causes the displayable to be scaled so that it fills a box of this size, while preserving aspect ratio. (Note that this means that one of the dimensions may be greater than the size of this box.)
2020-06-11 02:19:49 +02:00
Gouvernathor fb409e3764 added minsize to the list of properties 2020-06-11 02:18:06 +02:00
Tom Rothamel eb6977c0f8 Merge pull request #2229 from zedraxlo/master
Chinese, June 2020
2020-06-10 01:47:47 -04:00
Tom Rothamel ff31d4039b live2d: Scan the disk for motions that aren't in the model3 file. 2020-06-10 01:47:22 -04:00
zedraxlo 1c74791ebe Update screens.rpy 2020-06-10 13:23:22 +08:00
zedraxlo ce94ab3f21 Update script.rpy 2020-06-10 13:22:03 +08:00
zedraxlo 2e922fd97c Update options.rpy 2020-06-10 13:21:47 +08:00
zedraxlo eaca94c196 Add files via upload 2020-06-10 13:21:21 +08:00
zedraxlo bf808138d2 Update script.rpy 2020-06-10 13:20:25 +08:00
zedraxlo ddb36b1145 Update screens.rpy 2020-06-10 13:20:05 +08:00
zedraxlo 67f53456ee Update options.rpy 2020-06-10 13:19:45 +08:00
zedraxlo 1e2862cbf8 Add files via upload 2020-06-10 13:19:10 +08:00
zedraxlo 74dcebb714 Update style.rpy 2020-06-10 13:15:59 +08:00
zedraxlo 43624ded97 Update style.rpy 2020-06-10 13:15:31 +08:00
zedraxlo adf62e4776 Update screens.rpy 2020-06-10 13:14:45 +08:00
zedraxlo 790dd4c113 Update options.rpy 2020-06-10 13:14:28 +08:00
zedraxlo 7e2efef33c Update launcher.rpy 2020-06-10 13:14:03 +08:00
zedraxlo 7f59d8bd43 Update gui.rpy 2020-06-10 13:13:42 +08:00
zedraxlo 1fbe974306 Update error.rpy 2020-06-10 13:13:26 +08:00
zedraxlo a4b265c66c Update developer.rpy 2020-06-10 13:13:09 +08:00
zedraxlo 687f3d929d Update common.rpy 2020-06-10 13:11:21 +08:00
zedraxlo aa3f4ab491 Add files via upload 2020-06-10 12:42:47 +08:00
zedraxlo 7652e06950 Delete SourceHanSans-Light-Lite.ttf 2020-06-10 12:41:41 +08:00
Tom Rothamel 0d56d7d59c Merge pull request #2180 from Beuc/update_gamecontrollerdb
Sync gamecontrollerdb.txt
2020-06-10 00:28:34 -04:00
Tom Rothamel 28238804d6 Merge pull request #2170 from uyjulian/mouse_touch_autoconv
Set SDL2 hint to convert touch events to mouse events
2020-06-10 00:27:48 -04:00
Tom Rothamel 04d593daaf Merge pull request #2179 from oxr463/patch-2
Add renpyweb to license repositories
2020-06-10 00:27:34 -04:00
Tom Rothamel 9336d64369 Merge pull request #2176 from oxr463/patch-1
Clarify licensing in README
2020-06-10 00:27:20 -04:00
Tom Rothamel f5466dcf5a Merge pull request #2189 from capntrips/ios-mobile-variant
add "mobile" screen variant to iOS builds
2020-06-09 20:54:27 -04:00
Tom Rothamel b24091ba11 Merge pull request #2191 from kobaltcore/individual-volume
Allow specification of per-play/per-queue volume
2020-06-09 20:53:31 -04:00
Tom Rothamel 634cbe7aab Merge pull request #2195 from Andykl/fix-scache
Also use the location of screen as key of screen in SL2 cache
2020-06-09 20:53:02 -04:00
Tom Rothamel 9c46898771 Merge pull request #2197 from Andykl/fix-quit
Do not call label "quit" in command startups
2020-06-09 20:52:22 -04:00
Tom Rothamel 0a3104af8e gl2: Fix arguments when drawing in is_pixel_opaque. 2020-06-08 20:35:09 -04:00
Tom Rothamel 884e02cc6b Document the alt and noalt text tags. 2020-06-08 01:19:22 -04:00
Tom Rothamel 387c93c311 Add the noalt tag.
This is the opposite of the alt tag, allowing one to have text
that will not be spoken when TTS is enabled.

Fixes #2221.
2020-06-07 22:37:09 -04:00
Tom Rothamel fbf6be8928 live2d: Add the still motion. 2020-06-06 22:59:32 -04:00
Tom Rothamel d07ed14a96 Improve placeholder error handling, especially for attribute errors. 2020-06-06 20:36:25 -04:00
Tom Rothamel 678d8d2dab live2d: Read the pause times from the motion file. 2020-06-06 19:46:02 -04:00
Tom Rothamel e8c6e2d198 live2d: Reset parameters, adjust by factor. 2020-06-04 19:55:54 -04:00
Tom Rothamel d2dc56e01f live2d: Restore motion fade. 2020-06-03 23:23:52 -04:00
Tom Rothamel 159ad0e0f2 Revert "live2d: Remove incorrect usage of fade factors in motion."
This reverts commit cf0d05b6eb.
2020-06-03 01:54:45 -04:00
Tom Rothamel d256d27e28 live2d: Track the state for fading. 2020-06-02 23:29:34 -04:00
Tom Rothamel df721cb27e live2d: Change the size of the Render to the player-selected size.
This is needed to make things work with the standard transforms,
which use yalign 1.0 and hence override yanchor.
2020-05-31 22:50:19 -04:00
Tom Rothamel bf5030dff2 live2d: New features.
- loop: controls if the animations loop.
- alias: aliases animations.
- height: controls the scaling height.
2020-05-29 02:54:28 -04:00
Tom Rothamel a9f26274fe live2d: Support a queue of motions, with the last repeating. 2020-05-28 02:26:51 -04:00
Tom Rothamel e10b88eca4 Provide a way for Ren'Py to query the screen lists for children.
This is used by the Live2D code to find the displayables that
are currently being shown, to figure out what should be displayed
on them.
2020-05-28 01:03:29 -04:00
Tom Rothamel f27def4f78 live2d: Do not double-duplicate. 2020-05-27 20:58:43 -04:00
Tom Rothamel cf0d05b6eb live2d: Remove incorrect usage of fade factors in motion. 2020-05-26 23:00:13 -04:00
uyjulian 0de85380cd Set SDL2 hint to convert touch events to mouse events 2020-05-25 22:25:02 -05:00
Tom Rothamel 992353b719 live2d: Switch between traditional sprite changes and interpolating. 2020-05-25 22:48:25 -04:00
Tom Rothamel 6ec27266df live2d: Figure out old and new motions, if needed. 2020-05-24 21:57:06 -04:00
Andykl 4ce146bd67 Do not leak constantness for constant not_const_ast 2020-05-25 03:52:04 +02:00
Andykl aa435a95cd Document a hint about **properties in SD SLS 2020-05-25 03:07:41 +02:00
Tom Rothamel da522a6373 live2d: Import renpy, to gain access to functions in it. 2020-05-24 15:44:01 -04:00
Andykl 1edb6d0a92 Raise an error if some property follow after last_keyword child 2020-05-24 21:05:40 +02:00
Andykl 40e5eb4742 Skip expressions in screens cycle finder. 2020-05-24 19:35:35 +02:00
Andykl c0a926c3b3 Predict the first true block exactly first in SLIf. 2020-05-24 19:25:43 +02:00
Andykl bc7b0514e5 Check arguments and id properties even if they in SLIf children. 2020-05-24 17:45:16 +02:00
Tom Rothamel 031231e343 live2d: Allow Ren'Py to start without a compiled Live2D.
This means that Live2D headers won't be required to build Ren'Py.
2020-05-24 11:40:13 -04:00
Andykl 12914d08e3 Get the at keyword after applying properties keyword 2020-05-24 03:41:12 +02:00
Andykl f627d2f1f8 Make a link of atl_transform in copy of SLBlock 2020-05-24 03:39:17 +02:00
Andykl 429b679170 Make a separate class for CD SLS 2020-05-24 03:37:48 +02:00
Tom Rothamel 8bce879a96 live2d: Add checks and renpy.has_live2d. 2020-05-23 18:01:07 -04:00
Tom Rothamel b50c74b156 live2d: Use the Ren'Py functions rather than renpy.exports. 2020-05-23 03:18:38 -04:00
Tom Rothamel 049d44a981 gl2, live2d: Import renpy.gl2 all the time.
Since there's no direct linking to OpenGL anymore, there's no reason
to delay this import, and doing so makes the Live2D API available
in the standard manner.
2020-05-22 23:31:15 -04:00
Tom Rothamel 560e6bdbc5 Merge pull request #2130 from Andykl/improve-key
Improve SL key statement
2020-05-22 10:17:12 -04:00
Tom Rothamel 04edaf13ce live2d: Fix various issues with install. 2020-05-21 02:56:46 -04:00
Tom Rothamel 2da388b718 live2d: Do not distribute with Ren'Py itself. 2020-05-21 02:24:49 -04:00
Tom Rothamel ff2bcc2d7f Raise the profile_init threshold to .25s. 2020-05-21 02:19:52 -04:00
Tom Rothamel 6bef058fc2 live2d: Install the Live2D dlls for desktop platforms. 2020-05-21 02:08:23 -04:00
Tom Rothamel 0c5c5bcead launcher: Add an install screen. 2020-05-20 20:56:10 -04:00
Andykl e32eb9aa4f Make get_all_screen_variants less complexity 2020-05-20 19:16:23 +02:00
Andykl 6c1333fbf6 SLUse without block should refers to target const_ast 2020-05-20 18:25:16 +02:00
Andrej 5ae947f8a6 Make docs more clear about purpose 2020-05-20 16:42:12 +02:00
Andrej 308b8a9132 Make exception message for recursive !i substitutions more useful. 2020-05-20 16:12:10 +02:00
Andy_kl 71f3c5bb10 Doc this 2020-05-20 15:39:12 +02:00
Andy_kl 584b779653 Added hint of correct symbols 2020-05-20 15:39:12 +02:00
Andy_kl 3edac1df43 Added i conversion flag for additional interpolate substituted value 2020-05-20 15:39:12 +02:00
Andy_kl 1354b2c685 Make coercion to string for all other conversion symbols 2020-05-20 15:39:12 +02:00
Andy_kl 7c4fe698b2 Raise an error if substitute conversion have unknown symbols 2020-05-20 15:39:12 +02:00
Andy_kl 2fd3345069 Raise (often) NameError again if not in predicting 2020-05-20 15:39:11 +02:00
Tom Rothamel 3ae53ce8cc Rearrange the preferences.
Moving the actions into the left column leaves more space for them,
and more space for the long list of translations.
2020-05-19 22:56:17 -04:00
Daniel Luque 351db443dd Merge pull request #2201 from Andykl/doc-typo
Fix doc typo
2020-05-18 23:44:45 +02:00
Tom Rothamel e21c90a5fc live2d: Use a thunk to load Live2D.
This ensures that live2d only loads if it is being used, which
allows it to depend on renpy.gl2.
2020-05-18 01:46:33 -04:00
Tom Rothamel a5bc6ae6a9 gl2: Add support for Live2D.
This was developed at renpytom/live2dexperiment .
2020-05-17 23:21:23 -04:00
Tom Rothamel 5613eb562d Update copyright notices to 2020. 2020-05-17 14:22:47 -04:00
Andrej cb9e66cc5e Fix 2020-05-17 17:10:36 +02:00
Tom Rothamel c5d5897cc5 gl2: Use a very slight offset on the size of a pixel.
This prevents a very slight offset in rounding from causing an aligned
render to be rendered one pixel bigger.
2020-05-15 22:54:50 -04:00
Andrej 47b927f4c9 Do not call label "quit" in command startups 2020-05-15 20:40:54 +02:00
Andrej 57b89450f5 Also use the location of screen as key of screen in SL2 cache 2020-05-14 09:18:47 +02:00
CobaltCore 0040db2fc0 Commit compatibility fix oversight 2020-05-11 20:47:58 +02:00
CobaltCore b6de915f85 Fix compatibility with existing rpyc files 2020-05-10 19:05:04 +02:00
CobaltCore b6218fdd6f Add backwards compatibility in MusicContext 2020-05-10 18:46:22 +02:00
CobaltCore 4878a59f6d Allow specification of per-file/per-queue volume 2020-05-10 18:30:14 +02:00
capntrips 6ea200eb1b add mobile screen variant to ios builds 2020-05-08 04:40:25 -05:00
Tom Rothamel 6befc8cc72 Allow Ren'Py to run if lib/mac-x86_64 does not exist.
Fixes #2188.
2020-05-08 02:07:09 -04:00
Tom Rothamel 7581d1ee34 matrix: fix abseq. 2020-05-04 19:29:08 -04:00
CobaltCore 2193628c5f Add ability to show progress bar instead of static presplash 2020-05-04 14:26:28 +02:00
Tom Rothamel 8760c3dd73 mac: Actually fix the problem. 2020-05-03 21:29:07 -04:00
Tom Rothamel a26e2a7fb8 mac: Only change sys.executable on a mac. 2020-05-03 20:51:35 -04:00
Tom Rothamel 347e4fa369 mac: Set sys.executable to lib/mac-x86_64/renpy, if it exists. 2020-05-03 03:40:06 -04:00
Tom Rothamel 794232f8ba mac: Unpack the binaries properly. 2020-05-02 20:52:47 -04:00
Tom Rothamel 3d2441c122 Merge pull request #2177 from mathrick/restore-config-use-cpickle
Make config.use_cpickle work again in Python 2.x
2020-04-30 22:21:18 -04:00
Sylvain Beucler 4f914d3625 Sync gamecontrollerdb.txt
from https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt
2020-04-29 15:28:32 +02:00
Lucas Ramage 831db00af3 Add renpyweb to license repositories
Bug: https://github.com/renpy/renpyweb/issues/4
2020-04-28 09:09:02 -04:00
Tom Rothamel 302858f1e0 r-b: New approach to changing icons.
Generally, the resource segment Ren'Py uses will be bigger than the
one used in games. If it is, keep it. Otherwise, use the delta
between section sizes everywhere.
2020-04-27 20:09:04 -04:00
Tom Rothamel c611c2c12e r-b: Include the launcher binaries in builds. 2020-04-27 20:08:45 -04:00
Tom Rothamel d7c435dff9 r-b: Re-enable icon changing. 2020-04-27 20:05:54 -04:00
Maciej Katafiasz 34ae4e785e Make config.use_cpickle work again in Python 2.x
Also document that it has no effect under Python 3
2020-04-27 12:38:37 -07:00
Lucas Ramage 556ce59f90 Clarify licensing in README 2020-04-27 08:54:32 -04:00
Tom Rothamel d0b715c2fd Add config.profile_init.
This provides a way to profile init blocks.

It's probably best used with something like:

    init -1000 python:
        config.profile_init = .2

To display any init block that takes longer than .2 seconds.
2020-04-26 20:25:15 -04:00
Tom Rothamel b5dd254da7 Add line continuations when compiling multi-line strings for eval. 2020-04-25 14:54:04 -04:00
kyouryuukunn 143f80c867 remove MTLc3m.ttf 2020-04-25 15:51:59 +09:00
kyouryuukunn 1d89786ec7 change japanese font to SourceHanSansCJLite.ttf 2020-04-25 15:43:35 +09:00
Tom Rothamel 5b492825b0 mac: Unpack macho executables if present.
The flipside of the previous commit, unpack the unsigned executables
and drop them onto the disk.
2020-04-25 01:27:57 -04:00
Tom Rothamel aa8806c4f7 mac: Avoid including macho executables in a .dmg.
Changes to Apple's notatization system make it hard to include
unsigned executables. To fix this, we'll attempt to write the
executables after the launcher starts.
2020-04-25 00:47:05 -04:00
Tom Rothamel ab90cddb5e Delete the old directory when making a directory package. 2020-04-25 00:46:30 -04:00
Tom Rothamel 5e42504770 Delete the "i" variable before user code runs.
Fixes #2172.
2020-04-24 22:18:49 -04:00
Tom Rothamel dc8ac37dec Merge pull request #2168 from Andykl/fix-MRO-typo
Fix subclass typo for exports.Container
2020-04-23 22:32:20 -04:00
Tom Rothamel cf104cfa36 gl2: Fix for statement to propertly set NEAREST. 2020-04-22 01:35:30 -04:00
Tom Rothamel a2ad38399b gl2: Propagate nearest-neighbor rendering to the shader. 2020-04-21 23:55:36 -04:00
Tom Rothamel 30352614cd gl2: Supply the correct information to the renpy.drawable_align shader.
This lets Ren'Py adapt to full or half pixel alignment, and makes
sure that text renders pixel perfect.
2020-04-20 23:09:19 -04:00
Sylvain Beucler 4e1b061271 web: tidy JavaScript snippets
In particular, fix "Expected '('" error with try/catch and MS Edge
2020-04-20 15:41:04 +02:00
Tom Rothamel aff09c8705 gl2: Use separate scaling factors for draw/virt in x and y. 2020-04-19 22:38:42 -04:00
Andy_kl 897bed0fc3 Fix subclass typo for exports.Container 2020-04-19 19:46:36 +02:00
Tom Rothamel 199d96551e gl2: Compute virtual->drawable directly.
This is helping with pixel-perfect text rendering, though we're
not completely there yet.
2020-04-18 23:42:28 -04:00
Sylvain Beucler f7d8fea29c web: support web-presplash.webp
actually display is in renpyweb/renpy-shell.html
2020-04-18 16:01:25 +02:00
Beuc f2fe516352 Only include progressive_download.txt in web builds 2020-04-18 15:30:56 +02:00
Tom Rothamel 2685c2dd00 gl2: Load the shaders early, so they can be part of error handling. 2020-04-17 21:00:03 -04:00
Tom Rothamel fca9fec458 text: Improved alignment pattern. 2020-04-16 23:17:18 -04:00
Tom Rothamel cf531103e7 Print matrices at higher precision.
This helps debugging screen transforms.
2020-04-16 23:17:18 -04:00
Tom Rothamel 30fc4fa06a Merge pull request #2160 from hsandt/fix-parse-queue-music
Fix parse error on `queue music [expr] channel [expr]`
2020-04-15 21:35:22 -04:00
Andy_kl 1c5ffb95c1 Added expensive_predict_callbacks config variable
This callbacks called one per tick of prediction_coroutine
and used to predict screens or other expensive stuff.
2020-04-15 21:34:47 +02:00
Andy_kl 03f9153b94 Do not predict screens twice if it was reached both of start_predict_screen and common way. 2020-04-15 20:53:55 +02:00
Andy_kl 1ae3fbe474 Remove screens exception reporting in prediction_coroutine due it already handled in screen.predict_screen 2020-04-15 20:46:42 +02:00
Andy_kl 66eb6f0d69 Report exceptions produced by predict_one_action 2020-04-15 20:44:53 +02:00
Andy_kl 20cd32c6c0 Fix typo in screen.cache_get 2020-04-15 20:39:10 +02:00
Andy_kl 01a2c80ebd Do not cause wrong reports for debug_image_cache by expression in calls and jumps.
Such messages arise with
label start:
    pause  # eval failed here
    $var = None
    pause  # non-existing label None here
    $var = "test"
    pause
    call expression var
    jump expression var
2020-04-15 18:56:04 +02:00
Tom Rothamel 9282e25a6a gl2: Give Text the ability to generate an alignment debug grid. 2020-04-14 23:32:19 -04:00
Tom Rothamel fad3daf3f8 Merge pull request #2163 from hsandt/fix-menu
Fix menu_kwargs restore assignment from old value
2020-04-14 22:05:47 -04:00
Andy_kl a8e71c17fa Do not broke predict_statements if developer used wrong label name. 2020-04-15 02:00:02 +02:00
Andy_kl 595f887f54 Add missed predicting flag for first screen in _predict_screen 2020-04-15 00:42:48 +02:00
Tom Rothamel 2d098ee38d gl2: Reset image cache on resize.
This fixes a problem where old-generation textures were being used.
2020-04-13 22:53:38 -04:00
Hyper Sonic dda4f8522f Fix menu_kwargs restore assignment from old value 2020-04-13 23:19:56 +01:00
Tom Rothamel 06a06525bb doc: Fix title. 2020-04-12 19:47:11 -04:00
Tom Rothamel 7d6fe876c3 Append to update/deferred.txt, rather than always overwriting. 2020-04-12 02:08:13 -04:00
Tom Rothamel b4d33569a9 gl2: Log a texture leak, but don't crash. 2020-04-12 00:08:45 -04:00
Hyper Sonic 1234df3994 Fix parse error on queue music [expr] channel [expr]
Added missing `continue` in parse_queue_music for `channel` parameter parsing
2020-04-11 17:13:13 +01:00
Tom Rothamel f16369bd8f gl2: Add drawable_align shader. 2020-04-10 22:42:40 -04:00
Hyper Sonic 8c8a8355d9 Fix #2158 by checking arguments in a loop in parse_stop_music
In addition, minor refactoring and error description change in parse_play_music to be more consistent with parse_queue_music and the new parse_stop_music
2020-04-10 22:53:53 +01:00
Sylvain Beucler b82a3366d4 web: add progressive download configuration for demos 2020-04-10 22:04:43 +02:00
Tom Rothamel e272bae995 gl2: Determine if pixel or subpixel blitting should be used. 2020-04-09 22:30:50 -04:00
Tom Rothamel d1d861ed9a gl2: Add Matrix.is_drawable_aligned.
A function that will help determine if a model is being drawn 1:1
to drawable pixels.
2020-04-08 02:52:27 -04:00
Tom Rothamel c158096f4c doc: Fix typo in ATL documentation. 2020-04-07 19:24:30 -04:00
Remix 91ce90dc89 Update 00gallery.rpy
Remove print statement
2020-04-07 22:10:57 +01:00
Tom Rothamel f0862b6eb2 gl2: Import renpy.uguu.angle explicitly. 2020-04-06 22:27:50 -04:00
Tom Rothamel 14a3cf5bac renpy.loadable should return true on files, not directories.
Fixes #2149.
2020-04-05 18:33:16 -04:00
Tom Rothamel 4916df0aff Merge pull request #2151 from Andykl/fix-kwargs-type
Fix the type of result `kwargs` value of label call.
2020-04-05 17:40:22 -04:00
Andy_kl bcefcd54da Make it more pythonic and probably faster. 2020-04-05 08:00:38 +02:00
Andy_kl 60966285b4 Fix repr of set for an exhausted level.
It could have been misinterpreted as a dictionary.
2020-04-05 07:57:46 +02:00
Andy_kl 89c292c7cc Repr empty containers as its short version even if level is over.
It gives more information about the structure at a price of nothing.
2020-04-05 07:53:09 +02:00
Tom Rothamel 0add5f8dfb done: Document the text tag. 2020-04-04 22:18:34 -04:00
Tom Rothamel d8d73a1be0 done: Do not add a {done} line to history. 2020-04-04 20:24:17 -04:00
Andy_kl 0031d321d5 Fix the type of result kwargs value of label call. 2020-04-05 01:44:16 +02:00
Tom Rothamel 071438ccb3 Merge pull request #2150 from Andykl/fix-savelocation
Fix a potential bug with duplicated path in savelocation.
2020-04-04 17:57:11 -04:00
Andy_kl cefb702f8c Fix a potential bug with duplicated path in savelocation. 2020-04-04 23:56:06 +02:00
Tom Rothamel c7f1df605f Add the {done} text tag.
Fixes #2131.
2020-04-03 22:51:20 -04:00
Sylvain Beucler f4625f4b49 progressive download: made progressive_download.txt error handling more robust, allow empty lines 2020-04-03 19:11:37 +02:00
Tom Rothamel bda5e69b30 Always uses modern logic to look up character names.
Fixes #2135.
2020-04-02 23:22:13 -04:00
Tom Rothamel 2d3427dc30 Rewrite Render.take_focuses.
This is simpler, and should be more correct.

Fixes #2146.
2020-04-02 01:51:43 -04:00
Tom Rothamel a2c5965a39 Merge pull request #2148 from Andykl/fix-typo
Fix typo with py_compile_cache
2020-04-01 22:19:02 -04:00
Andy_kl a75b5aa2bd Strip store. prefix in all cases. 2020-04-01 20:28:07 +02:00
Tom Rothamel 2ef261af14 Fix ShowingSwitch example.
Fixes #2141.
2020-03-31 22:31:40 -04:00
Tom Rothamel 65c5f38768 gl/gl2: Enable ANGLE when needed. 2020-03-28 19:32:10 -04:00
Beuc ef47381d64 Merge pull request #2114 from renpy/doc-alphamask-dup
doc: reference im.AlphaMask in AlphaMask
2020-03-28 21:30:39 +01:00
Tom Rothamel b41f74dd94 Fix typo.
Fixes #2142.
2020-03-28 02:16:14 -04:00
Tom Rothamel 2a64a0a198 uguu: Add support for switching between gl and angle. 2020-03-27 02:00:58 -04:00
Andy_kl 577822ee2d Do not mark non-simple define as pure 2020-03-27 03:00:39 +02:00
Andy_kl 8ac29a24d5 Fix typo with py_compile_cache 2020-03-27 01:30:54 +02:00
Tom Rothamel 9572b92e23 Merge pull request #2126 from Beuc/web-odrd-placeholders-master
web: progressive download
2020-03-26 00:36:14 -04:00
Tom Rothamel fc0eaef359 Fix Android and improve iOS video.
See renpy/renpy-build@98452f0d7e for
the other half of the iOS portion of things.
2020-03-25 22:52:55 -04:00
Tom Rothamel 35de85f6b1 Modal screens should keyboard and controller access to screens below them.
Fixes #2137.
2020-03-24 22:50:55 -04:00
Tom Rothamel 6ff35cff3c Check in whitespace changes. 2020-03-24 22:49:09 -04:00
Tom Rothamel 626685f018 Merge pull request #2134 from Moshibit/master
Documentation fix
2020-03-24 02:13:40 -04:00
Moshibit 7928f391cf fix typo 2020-03-22 12:43:16 -06:00
Moshibit bcc35c8ea3 documentation fix
fix example
2020-03-22 12:10:23 -06:00
Moshibit ca4d937cd2 Documentation fix
Add 'show' and 'showmenu' to a text tag documentation
2020-03-21 18:09:39 -06:00
kyouryuukunn e7732b0777 Merge pull request #2140 from kyouryuukunn/the_question_japanese_translation
added the_question japanese translation
2020-03-20 16:19:19 +09:00
kyouryuukunn c4ded1ec8b added the_question japanese translation 2020-03-20 16:17:23 +09:00
kyouryuukunn 0ffb2a96a3 Merge pull request #2138 from kyouryuukunn/tutorial_japanese_200318
Add Tutorial japanese translations and update Launcher japanese translation
2020-03-18 22:20:48 +09:00
kyouryuukunn 45af19d7c3 Update Launcher Japanese 2020-03-18 22:13:51 +09:00
kyouryuukunn fc438a395b Add tutorial Japanese translations 2020-03-18 22:09:50 +09:00
Tom Rothamel f24f004999 r-b: Detect iOS. 2020-03-16 02:21:10 -04:00
Moshibit bf31640d56 fix
the example has the 4 steps
2020-03-14 03:52:03 -06:00
Moshibit 7dbdeb9e9d small fix 2020-03-13 04:39:54 -06:00
Tom Rothamel ef53e08416 Add the ios_create and ios_populate commands.
Fixes #2125.
2020-03-13 02:28:44 -04:00
Tom Rothamel 04df67c9ba r-b: Include lib in the iOS build. 2020-03-11 23:49:22 -04:00
Tom Rothamel 979c51b8a2 Fix an encoding issue. 2020-03-11 22:27:41 -04:00
Moshibit 8bc389c536 small fix
highlight 'from' keyword
2020-03-11 19:38:58 -06:00
Moshibit 175ca26a32 Merge pull request #10 from renpy/master
update from renpy master
2020-03-11 19:34:03 -06:00
Tom Rothamel 3a90997203 py3: Fix another regression. 2020-03-10 22:56:25 -04:00
Tom Rothamel c6227254d2 py3: Fix a regression in lint. 2020-03-10 22:33:54 -04:00
Andy_kl 8b740e7e4b Make it possible to write in SL
key "z", "x" action Return()
instead of creating multiple keys or a new keymap key
2020-03-06 17:27:28 +03:00
Andy_kl a96d45586e Removed action requirement for SL key.
That fixes the exception for:
key "q" action If(False, Return())
as well as in #2066
2020-03-06 16:42:09 +03:00
Andy_kl 3016bda24d Improved renpy.pure function.
If this function is applied to a function in a module, it will be marked correctly.
2020-03-06 16:29:19 +03:00
Sylvain Beucler f1f3e74864 Merge branch 'web-odrd-placeholders' into web-odrd-placeholders-master 2020-03-05 18:57:56 +01:00
Sylvain Beucler fa3161135d Support voice progressive downloads
Introduce new 'voice' type in progressive_download.txt.
Predict 'voice' statements and pre-downloads them; removes files after 3mn to avoid consuming all memory.
Currently auto-voicing is not supported (may need prediction in "say" statement).
2020-03-05 18:52:48 +01:00
Joshua Fehler e918e5f560 Add linting for redefined define/default statements 2020-02-29 15:49:57 -05:00
Tom Rothamel a1fdf456e9 Remove the unused __GLTest displayable. 2020-02-28 01:07:10 -05:00
Tom Rothamel fe8b10b312 Revamp of Renderer selection and GL performance testing.
* Allow the player to select the model-based renderers.
* Remove the framerate test. (This was after seeing a Surface that
  reported the error, but was working fine. Plus, it's not clear
  that DX would have helped.)
* Remove the DirectX installer.
2020-02-27 23:24:11 -05:00
Sylvain Beucler 4afd551621 Merge branch 'web-odrd-placeholders' 2020-02-27 14:51:01 +01:00
Beuc bfcd757d2f Typo 2020-02-27 14:29:42 +01:00
Sylvain Beucler 444ed68f14 Code clean-up
Drop debug statements and refactor launcher integration.
Improve comments and launcher note.
2020-02-27 14:28:54 +01:00
Sylvain Beucler 7ed5656109 Remove static image placeholder (replaced by thumbnails) 2020-02-27 14:25:17 +01:00
Sylvain Beucler 8748c41aab Fix music de-dup 2020-02-27 14:25:17 +01:00
Sylvain Beucler d5f4cd6e77 Add generic include/exclude filtering for downloadable files, drop size-based filtering 2020-02-27 14:25:17 +01:00
Tom Rothamel a9d6bbfd40 r-b: Fix access to pygame.error. 2020-02-22 23:06:59 -05:00
Joshua Fehler bf6b5746b3 Use or operator instead of if statement 2020-02-22 21:51:08 -05:00
Sylvain Beucler b275ac6fe2 Handle very small images 2020-02-20 21:00:57 +01:00
Sylvain Beucler 98ee78a9e3 Use 32x32 rather than 64x64 pixellate preview, so it's less aggressive. 2020-02-20 19:35:12 +01:00
Tom Rothamel 85005a02d2 gl, gl2: Detect GL resets and reset the GL context. 2020-02-20 01:49:55 -05:00
Tom Rothamel c8c3fb1d4b no-set-mode: Remove fullscreen_video. 2020-02-20 01:40:35 -05:00
Tom Rothamel c5111012a5 no-set-mode: Remove the update_mouse function.
This is no longer used by any of the renderers, and it was only
useful in the software renderer, when it was not updating the
screen as a whole.
2020-02-19 02:06:28 -05:00
Tom Rothamel 01624ae28a no-set-mode, gl2: Update gl2 to the new Renderer api. 2020-02-18 20:22:39 -05:00
Tom Rothamel 46685bd20c Remove support for the software renderer from the graphics screen.
Since it's not intended to be used.
2020-02-17 21:10:34 -05:00
Tom Rothamel 2e6c8d66d8 Gut the software renderer.
As Ren'Py become more dependent on GL for functionality and
performance, the purpose of the software renderer is to provide
error messages to players.

As a result, support for fullscreen mode and a custom mouse has
been removed.
2020-02-17 21:09:45 -05:00
Tom Rothamel 9a38052e2c no-set-mode: Move post_init into Interface, where pygame.display.init is. 2020-02-17 21:09:45 -05:00
Tom Rothamel d2aebbeccd no-set-mode: Initialize interface.fullscreen. 2020-02-17 21:09:45 -05:00
Tom Rothamel f86c19dfe8 Merge pull request #2118 from jsfehler/patch-1
no-set-mode: Fix typos in core.py
2020-02-17 01:47:24 -05:00
Tom Rothamel dee9d1d915 no-set-mode: Implement the resize method for gl.
This is called to trigger a resize, which update then handles.
2020-02-17 01:39:00 -05:00
Tom Rothamel adbd29b218 no-set-mode: Remove uses of kill_textures_and_surfaces. 2020-02-17 01:29:56 -05:00
Joshua Fehler 9acefd5d87 Fix typos in core.py 2020-02-16 22:22:09 -05:00
Tom Rothamel 34563e8fe8 no-set-mode: Document the Renderer API.
This was an exercise in clearly expressing what the renderer API
is expected to do.
2020-02-16 21:15:22 -05:00
Tom Rothamel 1557f25505 Avoid deiniting rtt and environ. 2020-02-15 21:43:35 -05:00
Tom Rothamel 608a84cfd3 no-set-mode: Take the size from pygame_sdl2. 2020-02-15 00:31:17 -05:00
Tom Rothamel 88f35b0626 Begin moving to a world where the drawable manages fullscreen mode and size.
This is a much better fit for modern computers, as it means that Ren'Py
can use the window that has been resized for it, rather than having to
restart the video system whenever a resize occurs.
2020-02-14 23:35:05 -05:00
Tom Rothamel 7aa847828e r-b: Do not quit when APP_TERMINATE happens.
The update to the newest SDL on Androd seems to call terminate,
even when the app might come back to life. It's okay to let the
OS kill us, so we do that.
2020-02-13 23:12:29 -05:00
Sylvain Beucler c4e05b949c Match extractible filenames case-insensitively 2020-02-13 18:23:33 +01:00
GimmiRuski d0bf65314f Add splashscreen and presplash documentation 2020-02-13 18:17:58 +01:00
Beuc c85609e711 doc: reference im.AlphaMask in AlphaMask
It took me forever to spot that there are 2 functions with the same name, and the first one in the documentation (which we find through Ctrl+F) did not mention that.
2020-02-13 16:05:50 +01:00
Tom Rothamel a23d1c0c9f Merge pull request #2047 from Andykl/curry-name
Curry name
2020-02-12 22:39:11 -05:00
Tom Rothamel d7c94a14d4 Merge pull request #2111 from Andykl/li-at-list
li: Allow to type comma-separated at list without brackets
2020-02-12 22:37:44 -05:00
Tom Rothamel 045e9beddd r-b: Android wants to run in fullscreen. 2020-02-10 20:39:06 -05:00
Tom Rothamel 3a2dc707bd tq: Make the language picker conditional on fonts being available.
This makes the preferences menu available on Android.
2020-02-09 17:08:26 -05:00
Tom Rothamel 263855a574 r-d: Include the Python library with Android. 2020-02-06 02:01:58 -05:00
Tom Rothamel 3e0ad6d3ad Reduce TODO scanning from O(n^2) to O(n). 2020-02-05 22:57:23 -05:00
Tom Rothamel 8bd55a40a8 Limit how many characters are scanned for TODOs.
So that a single long line doesn't hang building a distro.

Fixes #2110.
2020-02-05 22:41:43 -05:00
Tom Rothamel d6889d52fb py3: Fix reverse iteration.
This fixes a regression introduced in 17b8f03429.
2020-02-05 22:17:51 -05:00
Andy_kl 3209856fd1 li: Allow to type comma-separated at list without brackets 2020-02-06 05:05:12 +03:00
Tom Rothamel e36a583f98 py3: Fix some encoding issues. 2020-02-05 02:53:06 -05:00
Tom Rothamel fbff752054 r-d: Make everything android-specific conditional on renpy.android.
This had mostly been true, but there were a few places where
if the android module had been importable was what mattered.
This has been fixed by moving to a unified Python library.
2020-02-04 02:47:10 -05:00
Tom Rothamel 0113d0a2dc Fix unicode issue when distributing. 2020-02-03 05:01:49 -05:00
Tom Rothamel 40e396860b Use lower-case names in the image location picker. 2020-02-02 01:31:27 -05:00
Andy_kl 0565b02301 Fix regression 2020-02-02 07:57:35 +03:00
Andy_kl 16374acda3 Added pretty repr for defaultdict and OrderedDict 2020-02-02 07:52:50 +03:00
Andy_kl c3c99eebd2 Added possibility to disable Unicode escaping in repr and add console command to toggle it. 2020-02-02 07:52:45 +03:00
Andy_kl f0feb4d7ac Use Python3-like sets repr. 2020-02-02 07:52:29 +03:00
Sylvain Beucler e51f8f1d4c Generate image placeholder previews on build 2020-01-30 21:54:41 +01:00
Joshua Fehler 35aeb61716 Fix typo in nvl_mode.rst 2020-01-30 15:07:00 -05:00
Sylvain Beucler 297c748061 Revert "web: Avoid the use of float arguments."
This work-around was specific to Emterpreter, which is obsoleted by ASYNCIFY.

This reverts commit dce59141a7.
2020-01-28 11:42:26 +01:00
RenpyRemix 95a9b9d148 Removed tuple of tuples in knots 2020-01-27 18:08:05 +00:00
Sylvain Beucler 49e4581fea Use time-based file pruning so long animations don't enter a download-flush loop 2020-01-24 20:58:05 +01:00
Sylvain Beucler 4b7e9b2bc3 Document principle of operation 2020-01-24 19:21:47 +01:00
Beuc b64e9fa0ae doc: fix config.predict_statements default value 2020-01-24 17:11:04 +01:00
Tom Rothamel d1bcbf11fd r-b: Ensure the right launcher program is distributed everywhere. 2020-01-24 00:34:57 -05:00
RenpyRemix e61cdc4f18 Catmull-Rom from ATL knots
Very basic (static elasticity) Catmull-Rom implementation to work with knots in ATL. Slight tweak to allow a knot to be a tuple of tuples and minor documentation changes.
2020-01-22 19:58:40 +00:00
Andy_kl 6b10c9b795 Encode and decode the text during copypaste 2020-01-21 08:02:36 +03:00
Andy_kl f7caa1f402 Remove copied field missed in 0b450d9a 2020-01-21 06:55:26 +03:00
Andy_kl 6dd8e92744 Fix problem with loss index_expression during copy 2020-01-21 06:51:02 +03:00
Andy_kl 9b7bfecbb8 Fix the problem when SL for index refers to tuple member 2020-01-21 06:49:35 +03:00
Tom Rothamel ba2fe63818 Fix printing the packages remaining to be built. 2020-01-19 23:14:34 -05:00
Tom Rothamel 72a8b8c686 Re-enable dmg creation. 2020-01-19 23:13:50 -05:00
Tom Rothamel 209b8d84d6 r-b: Deal with launcher.exe->renpy.exe change, fix mac build. 2020-01-19 22:52:52 -05:00
Sylvain Beucler bd4254cded Music support 2020-01-18 18:59:15 +01:00
Tom Rothamel dd22b51977 doc: Update rot13 example.
Now that rot13 isn't a codec.
2020-01-17 23:11:34 -05:00
Tom Rothamel 37a04188b0 Fix rot-13. 2020-01-15 23:08:12 -05:00
Tom Rothamel 0e649e43aa r-b: Start distributing the windows version. 2020-01-15 01:09:20 -05:00
Tom Rothamel 58592890ed r-b: Start work on distributing renpy-build Ren'Py. 2020-01-14 00:19:57 -05:00
Tom Rothamel ed39c16c4a py2: Json.dump outputs bytes on py2, str in py3. 2020-01-13 20:21:32 -05:00
Andy_kl 0d13b41c0f Print exception which caused on write_rpyc 2020-01-12 14:04:35 +03:00
Tom Rothamel 997905e714 Remove renpy.sh.
This is the start of integrating the renpy-build results into the
Ren'Py build process. As part of this, renpy.sh has been moved into
renpy-build, and is copied here as the dependences are built.
2020-01-11 16:40:58 -05:00
Sylvain Beucler 5f24680a72 Exclude video files from game.zip because porters tend not to do it 2020-01-11 13:56:20 +01:00
Sylvain Beucler 1eccf76695 Use same-size image placeholders 2020-01-11 13:05:29 +01:00
Tom Rothamel 4605113fbd Merge pull request #2084 from Moshibit/master
update old variable names in gui.rpy
2020-01-10 23:26:25 -05:00
Sylvain Beucler d8f98f3cef Decrease default minimum size 2020-01-04 17:13:59 +01:00
Sylvain Beucler 0a650d2491 DynamicImage support 2020-01-04 17:13:09 +01:00
Sylvain Beucler ebd622560b Index image downloads based on requested path; delay downloads pruning 2020-01-04 13:59:15 +01:00
Tom Rothamel 926b4aa498 Merge pull request #2069 from Andykl/doc-fix
Fix mistake in doc string
2020-01-03 20:37:58 -05:00
Tom Rothamel 4b41c44b8a gl2: Avoid multiplying by reverse twice when rendering to texture.
Multiplication by the reverse matrix is now done entirely in GL2Draw.
2020-01-01 00:50:48 -05:00
Tom Rothamel d4f0b12bec gl2: Make triangle indexes unsigned, to double the number in a mesh. 2020-01-01 00:49:58 -05:00
Tom Rothamel ee3730c65f Remove Mesh.copy.
It isn't used, and needs to be maintained - so out it goes.
2019-12-30 01:05:17 -05:00
Tom Rothamel db94e90382 gl2: Copy the # of points in a polygon. 2019-12-30 01:04:57 -05:00
Tom Rothamel f22339accd gl2: Add support for meshes allocated outside of Ren'Py.
That is, zero-copy support for live2d and other mesh frameworks.
2019-12-29 21:59:29 -05:00
Tom Rothamel c2206245ed py2: Use cPickle as pickle.
For performance reasons.
2019-12-29 15:27:04 -05:00
Tom Rothamel 05589d8c9c Boxes should not use the xfill/yfill behavior unless given.
They had been filling when given a minimum or size, which isn't
right.

Fixes #2081.
2019-12-29 15:11:58 -05:00
Tom Rothamel 5b9a630117 Only copy a MusicContext when it changes.
When a game uses a lot of Movies, it can create a ton of channels.
Copying those changes had been taking a lot of time, hence this fix.
2019-12-29 14:44:18 -05:00
Tom Rothamel d07c3e0a16 Autoreload now can handle music files without a restart. 2019-12-29 12:17:27 -05:00
Moshibit 5d22e41c7b update old variable names 2019-12-28 19:37:17 -06:00
Moshibit ed518fd8d4 update old variable names 2019-12-28 19:31:55 -06:00
Moshibit bb17d7f87b update old variable names 2019-12-28 19:20:50 -06:00
Moshibit 15c243daec update old variable names 2019-12-28 18:56:24 -06:00
Moshibit d17657c2d7 Merge pull request #9 from renpy/master
update from renpy master
2019-12-28 18:19:43 -06:00
Tom Rothamel 2e50eec6c3 Drop non-voice volumes when self-voicing is enabled.
Per #2079.

The idea here is that music may often not be mixed with the
thought of self voicing in mind, and so it makes sense to drop
the music and sound mixers when self-voicing is enabled. The
amount to drop by is controllable from the accessibility menu,
for games where this is not desired.
2019-12-28 12:30:51 -05:00
Tom Rothamel 56a4ee81bc Allow Ren'Py to reload images without having to reload everything. 2019-12-28 01:41:20 -05:00
Tom Rothamel a11b2e3977 Add renpy.flush_cache_file.
This removes a the image manipulators that depend on a file from the
image cache when one of the files that are depended on change. This
is also a first draft of the function needed to load files from the
web on the fly.
2019-12-27 21:44:43 +01:00
Tom Rothamel 1a14756ebb gl2: Add Mesh2, a 2D mesh.
Apart from being faster in some circumstances, this is close to
what other platforms (ie, Live2D) use internally, so at some point
we can avoid copying over that data.
2019-12-27 11:53:52 -05:00
Tom Rothamel 2e790dd00b gl2: Sererate out 3d meshes from the Mesh base class.
This is preparation for  a second class that handles only 2d meshes,
which are expected to be most of them.
2019-12-27 01:44:29 -05:00
Tom Rothamel 74b36c6e28 gl2: Remove crop_to_rectangle.
It wasn't used, and isn't going to be used.
2019-12-26 21:05:25 -05:00
Tom Rothamel 793488bdf8 Add renpy.flush_cache_file.
This removes a the image manipulators that depend on a file from the
image cache when one of the files that are depended on change. This
is also a first draft of the function needed to load files from the
web on the fly.
2019-12-25 14:16:34 -05:00
Tom Rothamel 2b6379694e Add the {alt} text tag, making text self-voiced.
Fixes #2074.
2019-12-25 07:44:53 -05:00
Tom Rothamel 3578438623 media: Remove unnecessary thread initialization. 2019-12-24 16:23:44 -05:00
Tom Rothamel 74464fe55d media: Redo media locking and name management.
There was a problem reported whenre Py_DECREF could cause arbitrary
pauses to occur. Now, the names stored inside renpysound are C strings,
rather than Python strings, and so they can be deallocated without
risk of triggering the garbage collector.

Locking has also been somewhat simplified - theree are now two
locks, the audio and name lock, with rules of each. The functions
now do not grab the GIL automatically, as there's no need.
2019-12-24 16:19:56 -05:00
Tom Rothamel e2c63af520 py3: Fix trace. 2019-12-24 15:30:18 -05:00
Tom Rothamel b14a932643 Check in uguu. 2019-12-23 23:52:20 -05:00
Tom Rothamel 08e798ba13 Merge pull request #2062 from Moshibit/master
fix spanish translation and fix documentation
2019-12-23 13:27:29 -05:00
Tom Rothamel 0effdebca9 Remove gl2geometry.
This has been obsoleted by gl2mesh, gl2polygon, and gl2model.
2019-12-22 18:46:40 -05:00
Tom Rothamel caae5a7856 Stop generating renpy.angle.
Now that it's been combined with renpy.gl, there's no need for the
second package.
2019-12-22 18:45:43 -05:00
Tom Rothamel 2f2f236f4a gl2: Use the renderer name to determine gl2es and angle usage. 2019-12-22 18:11:40 -05:00
Tom Rothamel 4fe63ded98 gl2: Remove gl2debug.
It wasn't being used since it caused crashes.
2019-12-22 18:07:18 -05:00
Tom Rothamel c32556c09d Remove a debug print. 2019-12-21 15:15:33 -05:00
Tom Rothamel 47098746d0 Improve Ren'Py running on windows.
Especially the modern Ren'Py that assumes a utf-8 internal encoding.
2019-12-21 01:11:09 -05:00
Tom Rothamel f775088aa3 Remove obsolete modules from Setup. 2019-12-21 01:10:48 -05:00
Beuc 1f59c54ab8 start/stop_predict_screen: fix English 2019-12-19 22:01:40 +01:00
Tom Rothamel ddb8c8c068 gl1: Remove support for OpenGL 1.x, renpy.angle, and non-SDL2 EGL.
This is part of the ongoing modernization program. OpenGL 1.x is
now hopelessly obsolete, so it's gone. SDL2 now supports creating
contexts for us, so we'll use it to manage the EGL path.
2019-12-16 00:45:00 -05:00
Tom Rothamel 9c344ca5da gl1: Remove the dependency on glew.
Now that we have uguu, we use it for the older gl versions as
well. This lets us use SDL to handle all GL contect initialization.
2019-12-15 20:55:27 -05:00
Sylvain Beucler 1ee6f9892a Exclude game/gui/ from downloads to mitigate GUI blacks on start-up (will be configurable later) 2019-12-14 20:41:14 +01:00
Sylvain Beucler 28bab6a226 Warn when image cannot be reloaded, document limitation with manipulated images 2019-12-14 20:35:35 +01:00
Sylvain Beucler b570cf8b38 Rewrite .zip filtering to avoid MemoryError with large files 2019-12-14 20:34:37 +01:00
Sylvain Beucler daa6c48df2 Fix case sensitivity 2019-12-14 20:32:34 +01:00
Sylvain Beucler 6866c21621 Improve error handling 2019-12-14 20:24:29 +01:00
Sylvain Beucler f549935cbb Handle duplicate images and avoid concurrency issues in simulation mode 2019-12-14 20:20:41 +01:00
Sylvain Beucler 7f2fc1a675 First code review
- Use \n separator in renpyweb_remote_files.txt
- Move download code to a new module
- load_core() now throws a DownloadNeeded exception which is caught by Image.load(), calling renpy.webloader.enqueue()
- renpyweb_remote_files.txt is now only processed if downloading is enabled
2019-12-14 20:14:39 +01:00
Sylvain Beucler 2273212809 Support multiple search paths 2019-12-14 20:11:19 +01:00
Sylvain Beucler b81969f1dc Rename dl.png to _dl.png for namespacing reasons
following Renpytom request
2019-12-14 20:10:42 +01:00
Sylvain Beucler a8f3a108a0 Better error handling 2019-12-14 20:03:09 +01:00
Sylvain Beucler 41ba770ecf First testable version 2019-12-14 19:59:17 +01:00
Sylvain Beucler 4c1e048efb First proof-of-concept 2019-12-14 19:56:05 +01:00
Tom Rothamel f8004957c9 uguu: Move to the renpy.uguu package.
This is in preparation for sharing uguu between gl and gl1, so the
dependency on GLEW (and perhaps the renpy.angle package) can go
away.
2019-12-14 13:28:41 -05:00
Tom Rothamel e8ddb39a98 Mark uguugl functions as __stdcall.
This should be the right calling convention for windows.
2019-12-14 12:45:23 -05:00
Tom Rothamel e2cab9b115 Build against the RENPY_BUILD fribidi. 2019-12-14 10:37:44 -05:00
Moshibit 9b5943d12f Update tutorial_video.rpy 2019-12-11 09:27:15 -06:00
Moshibit 80e3c89513 Update tutorial_video.rpy 2019-12-11 09:26:49 -06:00
Moshibit d5d6194a2b Update indepth_transitions.rpy 2019-12-11 09:24:50 -06:00
Moshibit da26b18e73 fix doc string 2019-12-11 09:21:47 -06:00
Moshibit edfb482acb Fix mistakes 2019-12-11 09:00:44 -06:00
Moshibit dec513667f fix documentation 2019-12-11 08:50:58 -06:00
Moshibit e5e5890d3c fix documentation 2019-12-11 08:40:09 -06:00
Tom Rothamel c5dc781b05 Add a Setup file that includes the source for each module.
This is used by renpy-build to compile Ren'Py statically.
2019-12-09 21:07:05 -05:00
Moshibit af467d7d8c minor fixes and quoted keywords 2019-12-08 09:02:30 -06:00
Moshibit a8c505305e quoted keywords 2019-12-08 08:27:00 -06:00
Moshibit 31ef127e98 quoted keywords 2019-12-08 08:17:55 -06:00
Moshibit 14241f5ebf minor fixes 2019-12-08 08:13:49 -06:00
Moshibit 64a55d6556 Quoted Keywords 2019-12-08 08:09:51 -06:00
Moshibit b026b49d43 Quoted Keywords 2019-12-08 07:22:02 -06:00
Moshibit 5eefa10b86 quoted keywords 2019-12-07 11:11:59 -06:00
Moshibit d86475a16a quoted keywords 2019-12-07 11:03:38 -06:00
Moshibit 17af380e31 quoted Keywords 2019-12-06 09:23:46 -06:00
Moshibit a1943bb644 quotedKeywords 2019-12-06 09:01:02 -06:00
Moshibit cffab0d9dc quoted keywords 2019-12-05 09:17:55 -06:00
Moshibit 21cd48616b minor fixes 2019-12-05 08:27:35 -06:00
Moshibit d68ca61ab7 Use of single quotes in the Keywords. 2019-12-05 07:57:15 -06:00
Tom Rothamel 9985d24aed Add a command to generate files without actually building. 2019-12-03 21:00:56 -05:00
Andy_kl 00544ab0bf Fix mistake in doc string 2019-12-03 01:14:06 +03:00
Moshibit 9fd78e4000 fixes and quoted keywords 2019-11-30 10:07:30 -06:00
Moshibit ab03e69b6b Use of single quotes in the Keywords. 2019-11-30 08:45:03 -06:00
Moshibit d00cad3d79 Merge pull request #8 from renpy/master
update from renpy master
2019-11-30 08:19:23 -06:00
Tom Rothamel 82ac0a694f Merge pull request #2066 from Andykl/if-action
Do not raise error when Timer has None as the action
2019-11-29 23:12:59 -05:00
Tom Rothamel 5d642ce01d Let renpy.dynamic take keyword arguments.
Fixes #2068.
2019-11-28 12:07:55 -05:00
Tom Rothamel 7d23dfa1de py3: Assume future exists in the pythonpath. 2019-11-27 23:52:36 -05:00
Tom Rothamel ef5f0ed5ab py3: Ensure sys.modules, __name__, and __path__ all use native str. 2019-11-26 21:56:03 -05:00
Tom Rothamel da2fa5d7ec py3: Add compatible .keys, .values, and .items methods to RevertableDict. 2019-11-26 20:25:37 -05:00
Tom Rothamel 57e16e506d py3: Add the 'rpy python 3' statement.
This compiles python in a .rpy file in a way that is more compatible
with Python 3. (It enables Python 3 division, and will enable Python3
.items(), .keys(), and .values().)
2019-11-26 19:37:49 -05:00
Andy_kl 863fab3880 Do not raise error when Timer has None as the action 2019-11-26 22:58:47 +03:00
Tom Rothamel 180cb0e4dd py3: Get the launcher starting up in Python 3. 2019-11-25 17:49:33 -05:00
Tom Rothamel be3643b9c9 gl2: Improve mesh-space clipping.
* Clip offset per-child.
* Clip render-to-texture.
2019-11-23 23:25:01 -05:00
Tom Rothamel ba6b9e223d gl2: Implement clipping in mesh coordinates.
This eliminates the need to transform the mesh back to viewport
coordiates before clipping, and hence should improve accuracy by
skipping that step.
2019-11-23 00:07:53 -05:00
Tom Rothamel 8c3809d3e2 gl2: There are 3 vertices per triangle. 2019-11-22 01:46:01 -05:00
Tom Rothamel 328a2c6b05 gl2: Get mesh-based gl2 to the point of running.
It doesn't render anything, yet - but it's at least starting up and
able to run to the point of displaying a blank window.
2019-11-21 23:36:48 -05:00
Tom Rothamel 6d8690834f gl2: Move the model methods over to gl2model. 2019-11-21 01:01:47 -05:00
Tom Rothamel 025bcd1c36 Name 7.4.0. 2019-11-18 21:35:19 -05:00
Tom Rothamel 666a24fd0b py3: Write the RPYC2_HEADER in binary. 2019-11-18 01:00:08 -05:00
Tom Rothamel 0809c9f07b py3: Pass unicode to strftime. 2019-11-18 00:58:36 -05:00
Tom Rothamel d379e0e2fe Ensure xminimum and yminimum are never None.
They always should be at least 0, and None makes some of the math
wrong.
2019-11-17 23:49:32 -05:00
Tom Rothamel eedd357fe9 py3: Add sort keys to sorts where some elements are not orderable. 2019-11-17 21:30:34 -05:00
Moshibit aed7ff7ae6 minor fix in spanish translation 2019-11-17 20:21:31 -06:00
Moshibit 2ffa24514d Merge pull request #7 from renpy/master
Update from renpy/master
2019-11-17 20:11:54 -06:00
Tom Rothamel 9d595931e2 py3: Export null from display.transform to display.motion.
This cleans up after a change in imports.
2019-11-17 20:24:24 -05:00
Tom Rothamel d810c73d81 py3: Move to using the PyGILState APIs.
These are reentrant ways of getting the GIL.
2019-11-17 20:22:13 -05:00
Tom Rothamel 32e111099e py3: Fix a sort-first issue in focus, add index0 helper for this. 2019-11-17 19:39:30 -05:00
Tom Rothamel bbb846bd3b py3: Be stricter about double-locking of threads.
Python 3.8 was producing an error when trying to swap to the
current thread, so we make sure it doesn't do that.
2019-11-17 17:41:41 -05:00
Tom Rothamel e7175509d2 py3: Remove the hex codec on Py3. 2019-11-17 12:44:10 -05:00
Tom Rothamel 1ebb3ff5ed py3: Temporarily disable Py3 const analysis.
This is because a Python3-compatible version needs to be written.
2019-11-17 12:43:21 -05:00
Tom Rothamel 193cf9a37c py3: Remove ur string prefix. 2019-11-17 12:42:45 -05:00
Tom Rothamel 957980866f py3: Remove obsolete file alias. 2019-11-17 12:42:14 -05:00
Tom Rothamel 5fecf8aa88 py3: object.__new__ does not take arguments. 2019-11-17 12:41:41 -05:00
Tom Rothamel 17b8f03429 py3: Simplify some of the use of ranges in renpy.display.core. 2019-11-17 12:40:27 -05:00
Tom Rothamel 88dee147c4 py3: Check that android is importing correctly.
A temporary thing, until I can figure out why android is being
created as an implicit namespace package.
2019-11-17 12:36:19 -05:00
Tom Rothamel dc3c21a216 py3: Remove method binding magic for Transform.render.
It wasn't working in python3, and the little performance it adds
isn't really worth the weirdness.
2019-11-17 12:32:27 -05:00
Tom Rothamel e971a7e90f py3: Support python3 in renpy.compat.
Mostly by including py3 versions of the names it exports.
2019-11-17 12:29:06 -05:00
Tom Rothamel f246611838 py3: Write the BOM directly.
Now that we're using unicode strings and unicode files, we can't
use codecs.BOM, which is a byte string.
2019-11-17 12:28:03 -05:00
Tom Rothamel f2bebb42f3 py3: Access function name through func.__name__. 2019-11-17 12:26:09 -05:00
Tom Rothamel cb15f18415 py3: Fix comprehension syntax for 00splines.rpy. 2019-11-17 12:25:20 -05:00
Tom Rothamel ce40000f77 py2: Changes required to get renpy.gl working. 2019-11-17 12:24:40 -05:00
Tom Rothamel f0465baebe py3: Ensure that comparisons used comparable types. 2019-11-17 12:23:22 -05:00
Tom Rothamel a51c9b714b py3: Use new names for modules and functions. 2019-11-17 12:21:41 -05:00
Tom Rothamel aa3979f0f9 py3: Various bytes->unicode related changes. 2019-11-17 12:17:54 -05:00
Tom Rothamel 82c2e05fe4 py3: Support Python 2 and 3 in python.py
Other than changes in methods and the removal of ur strings, this
deals with the Py2 ast using byte strings, while Py3 uses unicode
strings.
2019-11-17 12:13:13 -05:00
Tom Rothamel b3ca90f6ac py3: Use unicode to access os.environ. 2019-11-17 12:09:05 -05:00
Tom Rothamel 1d3a46beef py3: Remove uses of .iter{items,keys,values} and xrange. 2019-11-17 12:05:17 -05:00
Tom Rothamel 8fe528c531 py3: Ensure hashlib hashes are only given bytes. 2019-11-17 11:49:55 -05:00
Tom Rothamel c2beee395b py3: Futurize renpy.audio. 2019-11-17 11:38:49 -05:00
Tom Rothamel 5684b75112 Allow renpy to import even if _renpy is missing.
This makes building from scratch easier.
2019-11-17 11:38:04 -05:00
Tom Rothamel 58cf37ddf5 py3: Add support for building under and for Python 3. 2019-11-17 11:25:40 -05:00
Tom Rothamel 08388537aa py3: Futurize generate_styles. 2019-11-17 11:22:58 -05:00
Tom Rothamel 275be03abf py3: Dict iteration in pyx.
Cython implements .iteritems, .itervalues, and .iterkeys for dicts
in a way that works with Python 3 - so long as it knows that it's
dealing with a dict type. This add some annotations to help it out.
2019-11-17 00:41:32 -05:00
Tom Rothamel 25f8ac8c51 py3: Futurize renpy.translation. 2019-11-16 23:33:30 -05:00
Tom Rothamel bfdc64f78b py3: Futurize python in renpy.text. 2019-11-16 23:21:18 -05:00
Tom Rothamel 3cc1eae159 py3: Futurize python in renpy.gl, renpy.sl2, and renpy.test. 2019-11-16 23:01:25 -05:00
Tom Rothamel fd2a63be15 py3: Futurize renpy.display package. 2019-11-16 22:16:02 -05:00
Tom Rothamel 52e447f8b7 py3: Futurize the rest of the renpy package. 2019-11-16 20:42:48 -05:00
Tom Rothamel d6a9a3c2dc py3: Convert to future up to character.py 2019-11-15 01:48:07 -05:00
Tom Rothamel 4755f10ccb py3: Start moving from six to future via renpy.compat.
This is the start of a series of changes that will embrace future's
philosophy - that Python 2/3 source should be as close to Python 3
as possible - and even extended a bit, like with dictviews.

We do have to pick and choose with future - it's important that
Ren'Py remain performant over the transition period - but things
like using sys.modules to map modules to their new Python 3
locations does appeal to me.
2019-11-15 00:16:57 -05:00
Tom Rothamel 78b3bf83f0 py3: Do not reload compat modules. 2019-11-14 22:13:58 -05:00
Tom Rothamel 1ecd8c5ff0 py3: Move dictviews into renpy.compat namespace. 2019-11-14 00:51:56 -05:00
Tom Rothamel 3de8416040 py3: Trigger .items() change differently.
It now triggers on: from __future__ import with_statement, division.

This should be a bit safer, because with_statement is obsolete - even if
it is used by any Python, it can be removed without changing the
semantics of the program. (We can't trigger _just_ on it, as all
old .rpycs are compiled with that flag.)
2019-11-13 19:20:29 -05:00
Tom Rothamel dbd318587c py3: Allow .items(), .keys(), and .views() to return views.
Right now, this is opted into when "from __future__ import division"
is given, and lets us program using Python 3's dict semantics while
still working in Python 2.
2019-11-13 03:11:21 -05:00
Tom Rothamel 4e703f6fbe py3: Add a function to patch built-in types.
Probably the only way py3 Ren'Py is going to look acceptable is
to support .items(), and the only way to do that is to patch Python
2.7 to replace the method with one that returns the appropriate
proxy.

While we're at it, we can re-add iteritems() and itervalues(),
makng those accessible to older code via dict.
2019-11-12 01:34:36 -05:00
Tom Rothamel 7c030c771b gl2: Implement scaling for model.
And use it to test subsurface.
2019-11-11 22:55:24 -05:00
Tom Rothamel 33e617da15 gl2: Add the Model class. 2019-11-11 02:01:12 -05:00
Tom Rothamel e0da79fc79 Only duplicate the child of a DynamicDisplayable if it changes. 2019-11-10 12:57:33 -05:00
Tom Rothamel ed5fb83c57 matrix: Add a scale constructor. 2019-11-10 12:52:55 -05:00
Tom Rothamel 303517a6de Make the matrix constructors into methods on Matrix.
With each one having a python and cython equivalentd, since cpdef
isn't allowed for static methods.
2019-11-09 22:23:25 -05:00
Tom Rothamel 40bd76ef64 gl2: Add a mesh-rectangle intersection method.
Saves memory by not actually having to make the polygon.
2019-11-09 00:51:25 -05:00
Tom Rothamel 1636a5679c Disable autosave while at a splashscreen.
Fixes #2045.
2019-11-08 23:50:31 -05:00
Tom Rothamel b9677d28ed Add the _autosave variable.
This is a variable that determines if autosaving is allowed.
2019-11-08 23:50:17 -05:00
Tom Rothamel 52aeaf1e64 Merge pull request #2054 from Andykl/fix-2053
Wrap actions box on overlap in exception screen.
2019-11-08 22:39:43 -05:00
Tom Rothamel c2f969441c Merge pull request #2052 from Moshibit/master
Spanish translation update
2019-11-07 22:32:29 -05:00
Tom Rothamel 02bfd59c48 gl2: Extract model out into its own file. 2019-11-06 22:10:33 -05:00
Tom Rothamel 635de64568 gl2: Remove the Mesh/Data distinction.
Now a Mesh contains the geometry data, and we'll have Model to
contain the transformation and other data.
2019-11-05 22:11:13 -05:00
Tom Rothamel b085a319d2 Allow matrix multiplication of a polygon. 2019-11-05 01:42:36 -05:00
Andy_kl 94838b1054 Wrap actions box on overlap in exception screen. 2019-11-05 03:18:50 +03:00
Moshibit a7aca69514 translation update 2019-11-04 15:02:11 -06:00
Moshibit f4c2dd91f1 Merge pull request #6 from renpy/master
update
2019-11-04 14:53:55 -06:00
Tom Rothamel 071b065442 gl2: Check in gl2meshcrop. 2019-11-04 13:12:15 -05:00
Tom Rothamel 37f8f0cde5 Redo how renpy.config.return_not_found_label works.
Fixes #2051.
2019-11-04 01:48:56 -05:00
Tom Rothamel 0807d0eccc gl2: Support cropping a Mesh with a Polygon. 2019-11-03 09:57:42 -05:00
Tom Rothamel 270f958827 gl2: rename Mesh.texture_rectangle, and add @staticmethod. 2019-11-03 09:51:03 -05:00
Tom Rothamel b7f06e875e gl2: Meshcrop works with floats. 2019-11-02 21:02:53 -04:00
Tom Rothamel f8412a267e gl2: Move Polygon out into a pxd. 2019-11-02 20:58:36 -04:00
Tom Rothamel 95a2200d53 gl2: Move mesh creation to static methods.
And remove some debug code.
2019-11-02 19:45:45 -04:00
Tom Rothamel bd6ad1cafb gl2: Polygon-polygon intersection. 2019-11-02 18:17:36 -04:00
Lezalith 017f5562a7 Input parameters "allow" and "exclude" can take regex
They can either take a string to stick to the default functionality, or can take a RegEx object created by re.compile.
2019-11-02 17:30:19 +01:00
Tom Rothamel 483a732ec8 gl2: Start work on the new 2d-only Polygon class.
This is intended for use as the clip polygon, and hence it doesn't
need 3d support. (The new Mesh implermentation doesn't use this,
as it has its own polygons.)
2019-11-01 23:46:46 -04:00
Tom Rothamel 5e6c6c622e Remove 'import pygame' from _renpy.pyx. 2019-11-01 23:45:47 -04:00
Tom Rothamel bc1966919e gl2: Rename Point -> Point3
To make room for a Point2 struct that will be part of Polygon.
2019-11-01 23:03:40 -04:00
Tom Rothamel c338c413b5 Migrate the new mesh implementation in from glexperiment. 2019-11-01 22:44:05 -04:00
Tom Rothamel 95302be140 Extend the define statement to take indexing, +=, and |=.
These handle common use cases, like setting dictionary entries
and appending to keymaps.
2019-10-31 21:51:34 -04:00
Tom Rothamel 4b4b1503b0 Add config.return_not_found_label.
This provides a way of recovering from "Could not find return label."
2019-10-30 19:49:20 -04:00
Tom Rothamel 7cf5ea96ad Merge pull request #2048 from Andykl/fix-sl2-pass
Add pass parser to all SL statements
2019-10-29 18:13:07 -04:00
Andy_kl 103116dcec Add pass parser to all sl statements 2019-10-29 13:32:17 +03:00
Andy_kl 8be012945f Fix typo in __hash__ 2019-10-29 12:50:45 +03:00
Andy_kl 18992d49a7 Added __name__ field for Curry instances 2019-10-29 12:49:35 +03:00
Tom Rothamel 5201125d82 Remove debugging code. 2019-10-28 22:53:09 -04:00
Tom Rothamel 3c857c6298 Ensure that pickle can load old RevertableSets.
This fixes a regression introduced in  df88bdfd26 that
could break the loading of the persistent file, and probably also save data. Fixes #2046.
2019-10-28 22:51:32 -04:00
Beuc f443cd1d7d Typo 2019-10-28 16:53:32 +01:00
Tom Rothamel 5b72b5dc7b Stop treating renpy.image_size as pure.
It changes it behavior between the init phase and actual runtime,
by erroring out when used on the main thread.
2019-10-27 22:33:49 -04:00
Tom Rothamel 42326e42ea Create a single texture that's used to blit transparent_tile.
This is a performance increase, as it means that a single draw call
can show the entire transparent_tile image, rather than over a dozen.
2019-10-27 22:29:25 -04:00
Tom Rothamel e5ced3a637 Add memory.txt to the list of files that shouldn't be distributed. 2019-10-27 16:41:17 -04:00
Tom Rothamel 6936da7f31 gl: Avoid calling glGenTextures.
This is part of a series of performance improvements when threaded
optimizations are enabled on Nvidia cards. (__GL_THREADED_OPTIMIZATIONS=1
on Linux.)

glGenTextures was taking a long time - 3ms! - to complete. So we
avoid it entirely, and instead allocate the texture numbers
beforehand and clear the textures without deallocating the
numbers.
2019-10-27 02:03:15 -04:00
Tom Rothamel 989d419a06 py3: Fix import of six. 2019-10-26 22:03:02 -04:00
Tom Rothamel d4ca7ae770 Pressing f8 now enables frame profiling, if not enabled already. 2019-10-26 16:10:35 -04:00
Tom Rothamel e5fb4a034c Merge pull request #2042 from joaquingx/improve-documentation
Improve documentation
2019-10-24 19:36:29 -04:00
Tom Rothamel c38efabf2e Merge pull request #2043 from Andykl/namespace-minstore
Added add_to_all_stores function
2019-10-24 19:30:56 -04:00
Lezalith 7957098da8 Input parameters "allow" and "exclude" can take regex 2019-10-24 21:06:36 +02:00
Beuc c1b077ff17 Don't use emscripten.async_call while already in async mode
This particular use case appears to be safe, but I could make Ren'Py crash with more complex async_call-s.
This may also explain some irregular crashes a while ago when letting RenPyWeb run unattended.
This is somewhat similar to running Python in two threads. In doubt, let's avoid.
Moreover, however autosave is run, the browser will freeze a bit, no significant change.
2019-10-24 20:28:19 +02:00
Andy_kl df58da708d Added add_to_all_stores function 2019-10-24 07:08:14 +03:00
Tom Rothamel 6691bb020e py3: Import six from renpy.six. 2019-10-23 23:28:00 -04:00
Joaquin Garmendia Cabrera 0022da41ea make expression example explicit 2019-10-22 23:43:45 -05:00
Joaquin Garmendia Cabrera 87ad417dcc Fix typo in displaying_images 2019-10-22 23:40:39 -05:00
Joaquin Garmendia Cabrera d7cc94d791 Update python equivalents, format text in dialogue 2019-10-22 23:37:45 -05:00
Tom Rothamel a4ea368c14 Cope with the case where a displayable is invalidated during render.
This is possible for certain things like viewports that share an
adjustement, or bars that are rendered before the corresponding
viewport. This detects this case are restores the render to a
useable state.
2019-10-20 12:54:02 -04:00
Tom Rothamel 4095a55c0b py3: Modernize renpy.main to renpy.pyanalysis. 2019-10-19 19:40:57 -04:00
Tom Rothamel c97899ef1a py3: Run modernize on renpy.easy to renpy.log. 2019-10-18 21:51:15 -04:00
Tom Rothamel c400653b7d Merge pull request #2036 from Andykl/py3-revertable-list
[Py3] Updated behavior of RevertableList
2019-10-17 22:23:22 -04:00
Tom Rothamel 40cefb1db6 Manually merge #2036 into maint branch. 2019-10-17 19:34:05 -04:00
Tom Rothamel 8010128dc1 Update changelog and sponsors. 2019-10-16 22:06:58 -04:00
Tom Rothamel 3a3443ac3b Bump version. 2019-10-16 21:58:01 -04:00
Tom Rothamel e75d5d0ca2 Update changelog and sponsors. 2019-10-16 21:42:36 -04:00
Andy_kl 4a1fe5f4a1 Rework presplash processing 2019-10-15 20:37:51 -04:00
Tom Rothamel 56987e4029 lint: Fix error when adding additional information.
Fixes #2040.
2019-10-15 20:37:37 -04:00
Maxwell Paul Brickner ce71caef97 Updated URL to avoid redirect to HTTPS version
Updated URL in readme to use HTTPS instead of HTTP to avoid redirect to HTTPS version.
2019-10-15 20:37:22 -04:00
Tom Rothamel ff07cf4903 Check in entitlements.plist. 2019-10-15 20:36:04 -04:00
Tom Rothamel 93f2ec7a7d Add the audio directory to the launcher and new games. 2019-10-15 20:35:51 -04:00
Tom Rothamel 7754db33f9 Fix reference to self and not renpy.config. 2019-10-15 20:34:25 -04:00
Tom Rothamel e7a7277a91 Add config.exception_handler.
This allows creators to replace Ren'Py's exception handling with
a system of their own design.
2019-10-15 20:32:39 -04:00
Tom Rothamel fe48d45331 lint: Fix error when adding additional information.
Fixes #2040.
2019-10-15 19:57:31 -04:00
Tom Rothamel 40af08b40c py3: Run modernize on renpy.__init__ to renpy.dump 2019-10-15 18:19:43 -04:00
Tom Rothamel 66a3f97be7 Merge pull request #2039 from Andykl/fix-presplash
Rework presplash processing
2019-10-15 00:50:45 -04:00
Andy_kl 369fa14d66 Rework presplash processing 2019-10-15 04:39:04 +03:00
Tom Rothamel 3ec9628080 Reduce the .rpyc compression to 3.
This should improve write/read time in exchange for a minimal
increase in size.
2019-10-14 00:52:53 -04:00
Tom Rothamel 3f605f4c9d py3: Remove use of .encode("zlib") and .decode("zlib"). 2019-10-14 00:36:03 -04:00
Tom Rothamel 995333386b py3: Make archiver.rpy and loader.py Python 3 compatible. 2019-10-13 23:57:40 -04:00
Andy_kl 5e74207bf4 Added useful list methods from Python 3 2019-10-14 04:46:19 +03:00
Andy_kl 1f9219457a Return processing of slice-objects but only for Python 2 2019-10-14 04:39:53 +03:00
Andy_kl 1acc6efb10 Updated processing of slice-objects 2019-10-14 04:34:52 +03:00
Tom Rothamel c50226d56b doc: Fix sidebar glitch.
Fixes #2012.
2019-10-13 19:50:24 -04:00
Tom Rothamel 12ce248952 Merge pull request #2035 from mbrickn/patch-1
Updated URL to avoid redirect to HTTPS version
2019-10-12 16:43:59 -04:00
Maxwell Paul Brickner f47b4ee32e Updated URL to avoid redirect to HTTPS version
Updated URL in readme to use HTTPS instead of HTTP to avoid redirect to HTTPS version.
2019-10-12 16:43:04 -04:00
Tom Rothamel a77b7ba98f Check in entitlements.plist. 2019-10-11 20:15:56 -04:00
Tom Rothamel 28bd3d91b7 Add the audio directory to the launcher and new games. 2019-10-11 20:03:46 -04:00
Tom Rothamel 26d692714f Fix reference to self and not renpy.config. 2019-10-11 01:44:08 -04:00
Tom Rothamel c682e4f406 Add config.exception_handler.
This allows creators to replace Ren'Py's exception handling with
a system of their own design.
2019-10-11 00:13:36 -04:00
Tom Rothamel 54ec9e5c9b Import pygame_sdl2 rather than pygame, in all places. 2019-10-10 23:59:38 -04:00
Tom Rothamel f1b301efa1 Move package path updates into each package.
This is intended to make it possible to import modules on their
own, for code analysis purposes.
2019-10-10 20:54:06 -04:00
Tom Rothamel cf9d238729 Minor changes to improve code analysis. 2019-10-09 20:21:55 -04:00
Tom Rothamel 04179212a2 Bump version. 2019-10-09 20:20:16 -04:00
Tom Rothamel 5a130d4a4d Merge pull request #2020 from wchill/py3_change_file_constructor
[Py3] Use open() instead of file()
2019-10-09 19:32:08 -04:00
Tom Rothamel 2b81c2501a Merge pull request #2019 from wchill/py3_fix_1
[Py3] Import print_function, remove tuple unpacking
2019-10-09 19:31:50 -04:00
Tom Rothamel f87e17d1a7 Merge pull request #2018 from wchill/replace_exec_execfile_reload
[Py3] Replace exec, execfile, reload with Py3 compatible versions
2019-10-09 19:31:29 -04:00
Tom Rothamel f49a04468b Merge pull request #2017 from wchill/py3_ints
[Py3] Make Python 3 integer related changes
2019-10-09 19:30:49 -04:00
Tom Rothamel d337e47e1f Fix changelog. 2019-10-07 21:05:29 -04:00
Tom Rothamel d10d81647b Fix changelog typo. 2019-10-07 20:52:27 -04:00
Tom Rothamel e7708c23fb Merge pull request #2030 from Andykl/fix-dynamic-image
Fix dynamic image
2019-10-07 20:13:05 -04:00
Andy_kl cc45453f4a More correct clear target on prefix change 2019-10-08 03:11:48 +03:00
Andy_kl 4dba39c57a More correct comment 2019-10-08 00:16:09 +03:00
Andy_kl c570d96458 Remove debug print 2019-10-08 00:07:04 +03:00
Andy_kl 0888c1ae1c Set target back if changing the prefix refers to the same image. 2019-10-08 00:04:27 +03:00
Andy_kl 9222ca20c6 Do not lose target after lock 2019-10-07 23:34:11 +03:00
Andy_kl 4ad03d0f98 Set _duplicatable flag before first targeting 2019-10-07 23:31:40 +03:00
Tom Rothamel de33e805d4 Revert glGet of FBO.
This prevents having to query the GPU, which would force a thread
synchronization in a multithreaded GPU driver.
2019-10-06 13:35:04 -04:00
Tom Rothamel dab57aeec3 Update changelog ad documentation. 2019-10-05 21:45:16 -04:00
Tom Rothamel 82caa0a66a Allow "[prefix_]" to be used in non-style DynamicImages..
Fixes #2016.
2019-10-05 21:26:14 -04:00
Tom Rothamel fe3c6908ea Merge pull request #1932 from Andykl/sl2-fixes
CDSL displayables should allow 'if' statements inside self.
2019-10-04 23:26:10 -04:00
Tom Rothamel 0c39b34c79 Merge pull request #2021 from Andykl/fix-translate
Fix line in Russian translate
2019-10-04 23:24:42 -04:00
Tom Rothamel 05b35745a1 lint: Do not pass formatted text into report.
Fixes #2027.
2019-10-04 22:48:31 -04:00
Tom Rothamel 77c04ac67d Fix docstrings for DragGroup. 2019-10-04 21:47:12 -04:00
Tom Rothamel bb4154c25f Perform FLATTEN during the render-to-texture pass.
This prevents it from leaving single-frame artifacts.
2019-10-03 21:59:38 -04:00
Andy_kl d8ad65e912 Fix line 2019-10-03 13:35:00 +03:00
Tom Rothamel be678bd4ba Update changelog. 2019-10-03 01:42:01 -04:00
Tom Rothamel e12c00ee6d Merge pull request #2015 from Andykl/fix-drag-issues
Set the style prefix for dragged set even after update screen
2019-10-03 01:32:25 -04:00
Tom Rothamel b22c4c1379 Drop textures when changing fullscreen mode on windows.
Fixes a bug where obsolete textures are used, causing the wrong
texture to be displayed.
2019-10-03 00:57:39 -04:00
Tom Rothamel 3a58834de0 Fix issues caused by a double-RTT with shared resources. 2019-10-02 23:44:46 -04:00
Eric Ahn 7287bec5d1 Change file constructor to open 2019-10-02 18:39:32 -07:00
Eric Ahn e8325d852a Fix print statements again 2019-10-02 18:38:50 -07:00
Eric Ahn 85bb261af3 Remove tuple unpacking in parameter lists 2019-10-02 18:38:50 -07:00
Eric Ahn 9336778f25 Feature detect reload 2019-10-02 18:27:55 -07:00
Eric Ahn 06543a8d8d Replace reload 2019-10-02 18:23:58 -07:00
Eric Ahn 7e10b963bb Replace exec 2019-10-02 18:23:58 -07:00
Eric Ahn 4d98761abd Replace execfile 2019-10-02 18:23:58 -07:00
Tom Rothamel d2b96c0eab Bump version. 2019-10-02 20:26:12 -04:00
Eric Ahn f452540ad0 Add version check and define the long type if needed 2019-10-02 16:15:02 -07:00
Eric Ahn 2b65a69611 Import the int builtin as long 2019-10-02 15:48:04 -07:00
Eric Ahn 8c37264d84 Remove long constants and use new octal syntax 2019-10-02 15:40:53 -07:00
Eric Ahn 8ab711722c Fix integer division and remove long type 2019-10-02 15:24:42 -07:00
Andy_kl b3b4036955 Update Drag's prefix of the current dragging even after restart_interaction
Per #2014
2019-10-02 23:18:49 +03:00
Andy_kl 544dde6d5c Set the style prefix for dragged set even after update screen
Per #2014
2019-10-02 16:16:00 +03:00
Tom Rothamel 3002a1b019 Merge pull request #2011 from lunalucid/typo-fixes
Some typo fixes on config.rst and displayables.rst
2019-10-01 01:00:02 -04:00
lunalucid 08a621fdcf Some typo fixes on config.rst and displayables.rst 2019-09-30 22:53:06 -06:00
Tom Rothamel 3ba9569ace Allow character to call a function to supply its name.
Fixes #2007.
2019-09-30 22:46:25 -04:00
Tom Rothamel 166807fc76 Update credits. 2019-09-30 19:56:55 -04:00
Tom Rothamel 628a09d187 Merge pull request #2010 from lunalucid/correct-linespacing
Correct preference 'font vertical spacing' to 'font line spacing'
2019-09-30 01:58:16 -04:00
lunalucid e4348c52d6 correct preference 'font vertical spacing' to 'font line spacing' 2019-09-29 22:38:41 -06:00
Tom Rothamel 8f62aac732 Update credits. 2019-09-29 19:39:55 -04:00
Tom Rothamel 9f0a05fc6b Remove manual notarization.
It's now integrated into the app/dmg signing scripts, making it
a walk-away process.
2019-09-29 10:36:38 -04:00
Tom Rothamel d492249835 Merge pull request #2005 from Herpior/viewport-edgescroll-fix
Clear edgescroll timer when mouse moved out of bounds
2019-09-28 21:40:05 -04:00
Tom Rothamel dcfc23d2f3 Fix matrix.is_unit_aligned.
The implementation was wrong, and so it would never return true.
2019-09-28 18:43:37 -04:00
Beuc ad5e11c710 Typos 2019-09-28 10:06:54 +02:00
Tom Rothamel 5354bb0762 Fix a problem that prevents installing the android sdk. 2019-09-28 00:45:36 -04:00
Tom Rothamel f721662ef9 Merge pull request #2006 from renpy/Beuc-patch-1
config.cache_surfaces is False by default
2019-09-27 16:23:24 -04:00
Beuc c6641e53fe config.cache_surfaces is False by default 2019-09-27 22:20:04 +02:00
Roope Herpiö b97b29d894 Clear edgescroll timer when mouse moved out of bounds 2019-09-27 15:08:02 +03:00
Tom Rothamel 32eb7be5a1 Fix name. 2019-09-27 01:24:50 -04:00
Tom Rothamel 0b8bf87eaf doc: Fix changelog and update credits. 2019-09-26 20:12:56 -04:00
Tom Rothamel 857d776538 Remove information about mac signing.
It's best done with renpy/mac-notarization, rather than the
current system.
2019-09-26 18:33:29 -04:00
Tom Rothamel df51f5233f Finish notarization of Ren'Py.
This includes the notarization of the DMG that Ren'Py is
distributed with.
2019-09-24 20:50:50 -04:00
Tom Rothamel aed2625486 Merge pull request #2004 from uyjulian/avoid_spam_threading
Join previous autosave thread before spawning a new one
2019-09-24 01:58:56 -04:00
uyjulian 47271b7af9 Join previous autosave thread before spawning a new one 2019-09-24 00:53:54 -05:00
Tom Rothamel d8050e9f5d Use a tarball for notarization.
Turns out that a .zip can't really represent the extended
attributes used for signing some files properly, but the
tar format can. So we use that to ship things over, and
get a working .dmg.
2019-09-24 01:17:34 -04:00
Tom Rothamel b639171118 Scripts for notarizing Ren'Py. 2019-09-23 22:14:46 -04:00
Tom Rothamel 25e66d3150 More mac codesigning improvements.
* Do not sign the dmg.
* Fix giving the path to the entitlements.
2019-09-21 15:34:41 -04:00
Tom Rothamel dcaa97a70e Improve support for codesigning with entitlements. 2019-09-21 01:08:46 -04:00
Tom Rothamel e0fd8dc4d5 Update changelog and credits. 2019-09-20 00:08:04 -04:00
Tom Rothamel 2cc4bdd407 doc: Mention the Android version change in the changelog. 2019-09-19 23:41:09 -04:00
Tom Rothamel 8ccfb9abc7 Check in updated keywords. 2019-09-19 23:21:41 -04:00
Tom Rothamel 4734fb62f4 Merge pull request #2002 from Herpior/viewport-edgescroll-fix
Fixed bug with edgescroll in viewport
2019-09-19 22:08:25 -04:00
Tom Rothamel 8353120f55 doc: Changelog and sponsors. 2019-09-19 21:17:23 -04:00
Tom Rothamel 5a081b6dc7 doc: Web changelog, from Beuc. 2019-09-19 19:57:16 -04:00
Tom Rothamel 52cdcb699a doc: Changelog. 2019-09-19 02:25:05 -04:00
Tom Rothamel e190596f3d Add backwards compatibility for force_step. 2019-09-19 02:18:14 -04:00
Tom Rothamel 9352339f5b doc: Audio directory. 2019-09-18 01:41:58 -04:00
Tom Rothamel 5c315d02d1 doc: Fix. 2019-09-17 19:43:49 -04:00
Tom Rothamel 86a95abb60 Document AudioData. 2019-09-17 19:42:13 -04:00
Tom Rothamel cc03f54738 Allow audio data to be encapsulated in AudioData. 2019-09-16 23:56:26 -04:00
Tom Rothamel f40ff85436 Include the wave and sunau files with Ren'Py. 2019-09-16 22:25:53 -04:00
Tom Rothamel 3c6918c36f Fix crash caused by non-existent screen in save. 2019-09-15 10:40:35 -04:00
Tom Rothamel 754aec0507 Ensure that InputValue is called when an Input is shown for the first time. 2019-09-14 21:02:31 -04:00
Tom Rothamel 9f800275ad Remove spurious return. 2019-09-14 19:00:28 -04:00
Tom Rothamel cf05311158 Make the name of the screen used by renpy.input configurable. 2019-09-14 18:59:59 -04:00
Tom Rothamel 644d24dcc4 Avoid error if a a substitution doesn't exist during screen prep.
I believe that improvements to screen analysis make text more
predictable, which caused this problem.
2019-09-14 18:59:59 -04:00
Roope Herpiö 87f076e78c Mouse motion events on viewport no longer reset self.edge_last_st unless necessary 2019-09-13 21:11:35 +03:00
Tom Rothamel b0cc98cea2 Merge pull request #1998 from Andykl/missed-ignore
Minor fixes
2019-09-13 14:00:56 -04:00
Tom Rothamel 498ea82ec9 Document how arguments are passed to screens in modern Ren'Py. 2019-09-12 21:41:58 -04:00
Tom Rothamel e587790021 Move the start callbacks after the defaults.
Per #2001.
2019-09-12 01:05:57 -04:00
Tom Rothamel bbaf654ef9 Mark Ren'Py collection types as pure.
More specifically, __renpy__list__, __renpy__set__, and
__renpy__dict__.

Per #1935.
2019-09-11 22:57:29 -04:00
Tom Rothamel 44b5af95ff Merge pull request #2000 from Andykl/fix-drag-issue
Set correct style_prefix for drop object after restart interaction.
2019-09-10 19:44:40 -04:00
Andy_kl 5470f86c39 Set correct style prefix for drop object after restart interaction. 2019-09-11 02:38:44 +03:00
Tom Rothamel 8e04c766de Hide the notify screen on rollback.
Fixes #1951.
2019-09-10 01:17:32 -04:00
Tom Rothamel 82b396d424 The non-screens menu indicates that it shows the window.
Fixes #1981.
2019-09-09 23:27:27 -04:00
Tom Rothamel a0dad58dbf Ignore printable keycodes without unicode.
This should fix a race condition where that could cause unprefixed
key commands (like 'v' or 'a') to trigger if KEYDOWN is present
but the TEXTINPUT hasn't been delivered yet.
2019-09-09 22:57:33 -04:00
Tom Rothamel d28ecb39ff In a multipart statment like menu, call from should use the first part.
Fixes #1996.
2019-09-08 20:28:56 -04:00
Andy_kl 6597edcada Add vibrate to drag alternate 2019-09-09 02:03:19 +03:00
Andy_kl 5c44e738e6 Fix wrong event ignore 2019-09-09 01:49:44 +03:00
Tom Rothamel 7e295d67b5 Call renpy.shown_window from nvl_menu.
Fixes #1934.
2019-09-08 01:26:49 -04:00
Tom Rothamel 61eb81c79d Lock a button's style after _in_current_store.
Fixes #1973.
2019-09-08 01:15:05 -04:00
Tom Rothamel df32d31113 Throw a hard exception when gui.init is called outside of the init phase. 2019-09-08 00:59:07 -04:00
Tom Rothamel 59587015ba doc: Fix incomplete sentence.
Fixes #1962.
2019-09-08 00:55:27 -04:00
Tom Rothamel 312c49f194 Fix #1982. 2019-09-08 00:20:49 -04:00
Tom Rothamel 7c75a79c13 Deal with a problem when a FontGroup is replaced.
Fixes #1994.
2019-09-07 23:56:17 -04:00
Tom Rothamel e6546189eb ffmedia: Fix the mixing of mono files into stereo.
Fixes #1943.
2019-09-07 23:28:11 -04:00
Tom Rothamel 9500f658a3 Merge pull request #1889 from Andykl/change-get-layer
Receive a layer from default_layer in all exports funcs
2019-09-07 11:06:40 -04:00
Tom Rothamel 6d9bcff1f6 Merge pull request #1937 from Moshibit/master
patch - minor fixes
2019-09-07 11:05:57 -04:00
Tom Rothamel 3a352af1e5 Merge pull request #1965 from Beuc/gleshighp
gles: handle GPUs that do not support highp
2019-09-07 11:04:34 -04:00
Tom Rothamel 87b323a3d4 Tweak documentation. 2019-09-07 10:56:37 -04:00
Tom Rothamel 1bf97965b8 Merge pull request #1967 from Andykl/is_init_phase
Added is_init_phase in exports.
2019-09-07 10:55:29 -04:00
Tom Rothamel eafcbf572f Merge pull request #1997 from pionere/sound-fix
fixed sound-queue call_back
2019-09-07 10:54:45 -04:00
pionere 427a1542d8 fixed sound-queue call_back
call queue_empty_callback only if the queue is really empty
2019-09-07 16:37:50 +02:00
pionere ee53f232aa Revert: prevent crash when get_selected is called on a non-existent field 2019-09-07 16:32:17 +02:00
Tom Rothamel 7c03642cb5 Fix tyop that broke itch on mac. 2019-09-06 20:11:40 -04:00
Tom Rothamel 4347c89c15 gl2: Implement is_pixel_opaque. 2019-09-06 01:50:55 -04:00
Tom Rothamel 9783a0a733 gl2: Move the fbo into GLDraw.
This lets the same fbo be shared between the texture system and
things like screenshots and is_pixel_opaque.
2019-09-05 02:29:25 -04:00
Tom Rothamel e5252af42b Automatically voice character menu captions.
Fixes #1991.
2019-09-04 03:37:55 -04:00
Tom Rothamel 094009fa3a gl2: Replace the renderbuffer with a texture.
RGBA renderbuffers don't seem to be supported well on WebGL or
OpenGL ES, at least for the low-end platforms.
2019-09-03 00:17:10 -04:00
Tom Rothamel 6471986ea9 oldgl: Bind a texture to the framebuffer, not a renderbuffer.
Creating RGBA or RGBA8 renderbuffers doesn't seem to be supported
very well (at leeast in webgl), while texture attachments seem to work.
2019-09-02 22:28:29 -04:00
Tom Rothamel ab97732865 oldgl: Use renderbuffer copying to render textures.
This is a backport of a performance improvement from the gl2
branch, where profiling reported that rebinding the framebuffer
was very slow, and simply copying the pixels out is much
faster.
2019-09-01 22:04:49 -04:00
Tom Rothamel 4f90718eaa oldgl: Expose renderbuffer functions. 2019-09-01 22:00:57 -04:00
Tom Rothamel 2aa796d418 glold: Remove support for OpenGL ES 1
This wasn't used for anything, and it's obsolete, so out it goes.
2019-09-01 21:51:46 -04:00
Moshibit e62ee21922 translation correction 2019-08-31 22:47:17 -05:00
Moshibit 218cb677cd Delete indepth_minigame.rpyc 2019-08-31 22:46:44 -05:00
Moshibit fe0e129ad3 translation correction 2019-08-31 22:45:40 -05:00
Moshibit 630ed80eb5 translation correction 2019-08-31 22:33:55 -05:00
Moshibit 2b5d40053d translation correction 2019-08-31 21:48:12 -05:00
Moshibit 8728fd137a translation correction 2019-08-31 21:44:18 -05:00
Moshibit 7b34ec1ba3 translation correction 2019-08-31 21:04:06 -05:00
Moshibit 3f785ee366 Delete indepth_transitions.rpyc 2019-08-31 21:03:36 -05:00
Moshibit 1f9401a602 translation correction 2019-08-31 21:02:32 -05:00
Moshibit 91a0677f67 translation correction 2019-08-31 19:45:36 -05:00
Tom Rothamel 1392fb9239 gl2: Fix order of matrix operations. 2019-08-31 20:42:19 -04:00
Moshibit ac902ee733 translation correction 2019-08-31 19:06:40 -05:00
Tom Rothamel 6031917511 Fix matrix order. 2019-08-31 17:39:41 -04:00
Tom Rothamel 0e6ad371fe Merge pull request #1938 from Andykl/doc-afm_enabled
Doc afm enabled
2019-08-30 21:28:27 -04:00
Tom Rothamel ead5c63eac Merge pull request #1939 from psunbury/patch-1
Added that the default setting are in options.rpy
2019-08-30 21:27:55 -04:00
Tom Rothamel 18827a8ab3 Merge pull request #1952 from Andykl/atl-fix
Fix missed continue
2019-08-30 21:27:31 -04:00
Tom Rothamel 8c81811177 Merge pull request #1955 from jsfehler/pref_typo
Fix typo in common/00preferences.rpy
2019-08-30 21:27:16 -04:00
Tom Rothamel ce634662bd Merge pull request #1969 from renpy/Beuc-doc-python
doc: python: clarify other stores usage
2019-08-30 21:26:59 -04:00
Tom Rothamel 13c32894cf Document renpy.random.shuffle.
Per #1989.
2019-08-29 21:51:13 -04:00
Tom Rothamel 26e0f1617e gl2: Use the reverse matrix to multiple rendered textures. 2019-08-29 21:49:33 -04:00
Tom Rothamel 6754d50c12 Merge pull request #1984 from tdh8316/Korean-translation
Improve Korean translation
2019-08-26 21:39:46 -04:00
Donghyeok Tak ebe8264b1d Cleanup translations 2019-08-25 22:01:52 +09:00
Donghyeok Tak 5c9a1066e3 Improve Korean translation 2019-08-25 21:47:33 +09:00
Tom Rothamel 07a6f3dcbd Compate for audio directory stuff. 2019-08-25 08:27:18 -04:00
Tom Rothamel 3441e0e7f0 Remove pluralization.
Fixes #1983.
2019-08-25 08:14:34 -04:00
Moshibit 3bd9055c5f Add files via upload 2019-08-24 11:41:22 -05:00
Moshibit 2941031b2a Merge pull request #5 from renpy/master
update from renpy/master
2019-08-24 10:26:43 -05:00
Tom Rothamel 627b18a8e8 Merge pull request #1970 from renpy/Beuc-doc-emscripten
doc: reference renpy.emscripten + renpyweb enabling renpy.mobile
2019-08-23 06:45:10 -04:00
Tom Rothamel 681d3a5772 Merge pull request #1972 from Andykl/adjustment-force_step
Adjustment force_step
2019-08-22 05:18:13 -05:00
Tom Rothamel 39be517a0a gl2: Move shaders into the common section.
And introduce a function to register the shaders.
2019-08-20 23:16:28 -04:00
Tom Rothamel 8916575921 Automatically define audio files in the audio namespace. 2019-08-19 00:37:04 -05:00
Tom Rothamel 5288ff876d Use _audio_eval on voice filenames. 2019-08-18 18:36:50 -05:00
Tom Rothamel 067d98cdf0 Improve changes to SelectedIf and SensitiveIf.
This builds on the changes in #1977, so that all Action methods
can be proxied.
2019-08-17 08:58:17 -05:00
Tom Rothamel 65957b3236 Merge pull request #1977 from Andykl/improve-if-actions
Improve SelectedIf and SensitiveIf
2019-08-17 08:37:39 -05:00
Moshibit 726e535f1b corrections 2019-08-16 16:43:37 -05:00
Andy_kl 095a253bf8 Fix doc 2019-08-16 22:48:45 +03:00
Andy_kl d3c36b843e Improve SelectedIf and SensitiveIf 2019-08-16 22:42:17 +03:00
Tom Rothamel b5707d7091 Merge pull request #1953 from Beuc/variants-web
web: set variants according to what the browser runs on
2019-08-16 12:45:22 -05:00
Tom Rothamel 024b0aef81 Merge pull request #1961 from Beuc/fullscreen-web
web: detect when fullscreen status changed externally
2019-08-16 12:44:39 -05:00
Tom Rothamel 365913c267 gl2: Use a depth renderbuffer when rendering-to-texture with depth. 2019-08-15 08:10:13 -04:00
Tom Rothamel a2b8842206 gl2: Optimized path for triangle meshes. 2019-08-14 22:57:56 -04:00
Tom Rothamel dc51db06b1 gl2: If a mesh consists of only one kind of polygon, indicate that. 2019-08-14 22:56:38 -04:00
Tom Rothamel c590c4f956 gl2: Do not give OpenGL precision qualifiers. 2019-08-14 22:53:44 -04:00
Tom Rothamel 3871803088 gl2: Properly name config.depth_size. 2019-08-14 02:44:46 -04:00
Tom Rothamel 40ec6f87ef gl2: Depth buffer and depth testing. 2019-08-14 01:45:29 -04:00
Tom Rothamel 6339c0dfef gl2: Fix reload. 2019-08-10 16:38:24 -04:00
Tom Rothamel 510b7cb909 gl2: Support gles directly, rather than in the preprocessor. 2019-08-10 16:35:53 -04:00
Tom Rothamel 3a011ca2c6 gl2: Allow games to use config.gl2 to opt in. 2019-08-09 21:06:47 -04:00
Andy_kl d12fe12c2b Restore type after rounding 2019-08-09 22:04:23 +03:00
Tom Rothamel 37a128a470 gl2: Remove gl2ftl.pyx, now that a better version is in gl2texture. 2019-08-08 22:12:17 -04:00
Tom Rothamel 9e8b074a16 gl2: Disable gl2debug for now.
I haven't been using it, and it's causing build errors.
2019-08-07 18:31:55 -04:00
Tom Rothamel 3147e71c45 Fix windows build. 2019-08-07 11:22:24 -04:00
Tom Rothamel 60d413f96f gl2: Implement ImageDissolve. 2019-08-05 22:47:59 -04:00
Tom Rothamel 5029e6d078 gl2: Dissolve shader. 2019-08-05 21:59:14 -04:00
Tom Rothamel ef167433f4 gl2: Properly set up textures. 2019-08-05 21:54:00 -04:00
Andy_kl aac1f4c421 Compat this 2019-08-06 04:23:16 +03:00
Andy_kl 0ab0856e37 Doc for this 2019-08-06 04:17:31 +03:00
Andy_kl 760503b124 Added force_step keyword to all Action which uses step. 2019-08-06 04:08:26 +03:00
Andy_kl d16e3eea75 Added round_value process to Viewport 2019-08-06 03:48:44 +03:00
Andy_kl 09fda5505e Added round_value process to Bar 2019-08-06 03:47:03 +03:00
Andy_kl 5d4bb738ef Added force_step keyword and round value to Adjustment 2019-08-06 03:37:33 +03:00
Sylvain Beucler 204a48f577 web: more variants tuning 2019-08-05 14:03:51 +02:00
Beuc 8889ab487d doc: reference renpy.emscripten + renpyweb enabling renpy.mobile 2019-08-05 13:16:24 +02:00
Beuc 06684d692a doc: python: clarify other stores usage
Additional stores are available as local variables in the default 'store' under their name already, consequently 'import store.mystore as mystore' is a no-op
2019-08-05 13:08:57 +02:00
Sylvain Beucler 5f4e6d4ba1 web: set variants according to what the browser runs on 2019-08-05 12:51:52 +02:00
Tom Rothamel 200af0d584 gl2: Add rendering to a Texture. 2019-08-05 03:04:21 -04:00
Tom Rothamel e78828fa3b gl2: Add matrix function generation to Ren'Py. 2019-08-05 03:01:02 -04:00
Tom Rothamel 7e602c256e gl2: Add renpy.display.render.models.
A variable to determine if we are supporting a renderer that
support models (gl2) or quads (sw/gl).
2019-08-04 13:15:48 -04:00
Tom Rothamel 1a8154c78a gl2: Add fields for gl2 to renpy.render. 2019-08-04 12:32:11 -04:00
Tom Rothamel 2d7460bafd gl2: Fix a gc leak through Texture. 2019-08-04 12:21:40 -04:00
Tom Rothamel ae998912f5 gl2: Make renpy.geometry the 'default shader', so it doesn't have to be passed.
While we could have just added it to the tuple of shaders created in
GL2DrawingContext, that would lead to creating a tuple on every
render. So instead, it's added in the shader compiler.
2019-08-04 02:27:49 -04:00
Tom Rothamel e8cd034b7a gl2: Separate Texture and non-texture Models.
Which should make things simpler when determining if a RTT is
required, going forwards.
2019-08-03 16:46:21 -04:00
Andy_kl 900e291cdc Added is_init_phase in exports. 2019-08-03 15:19:18 +03:00
Tom Rothamel cb98d18aa9 gl2: Rename TexturedMesh -> Model. 2019-08-03 02:42:24 -04:00
Tom Rothamel ef4c5aff9e gl2: Do not copy a Polygon, Mesh, or TexturedMesh that didn't change. 2019-08-02 23:00:55 -04:00
Tom Rothamel 6cdcb5dfbc Create a flatten operation type.
This makes RTT entirely the renderer's concern.
2019-08-02 19:39:26 -04:00
Tom Rothamel 797ef0fc25 fix: Duplicate the children of DynamicDisplayable.
Fixes #1966, which causesd a Transform that was added to the
tree of surfaces twice, then rendered in a way that wasn't
cached, to cause a crash.
2019-08-01 22:01:35 -04:00
Tom Rothamel c132df21ca gl2: Dynamically select shader and implement alpha blending. 2019-08-01 02:16:07 -04:00
Tom Rothamel 6ab2df60f4 gl2: Implement texture preloading. 2019-07-31 22:47:05 -04:00
Tom Rothamel 101cb8c348 gl2: Support zero copy texture loading.
At least for the common cases, like loading text into the GPU.
2019-07-31 21:17:54 -04:00
Sylvain Beucler 2f53ddc03e gles: handle GPUs that do not support highp 2019-07-31 15:47:42 +02:00
Tom Rothamel 8a042fe187 gl2: Texture improvements.
* Ask GL for the maximum size.
* Remove the idea of generations - we swap out the loader when a
  generation is obsolete.
* Cache the fbo so changing it is needed less often.
2019-07-31 01:27:02 -04:00
Tom Rothamel f9a61f7567 gl2: Read the maximum texture size from the video card. 2019-07-30 01:11:14 -04:00
Tom Rothamel 79c965ba5d gl2: Deal with precision issues in the barycentric interpolator.
It's the same issue as before - arriving at the same point by
different paths might lead to being outside by a very small
amount, which we don't want.
2019-07-30 00:41:41 -04:00
Tom Rothamel 340db775c5 gl2: Fix method name typo. 2019-07-30 00:34:58 -04:00
Tom Rothamel d1224c0707 gl2: Load large surfaces as tiles. 2019-07-29 08:17:18 -04:00
Tom Rothamel afeb06c1d9 gl2: Change how rectangles work. 2019-07-28 23:32:44 -04:00
Tom Rothamel afad82b082 gl2: The Great Geometry Rewrite (tm)
This improves gl2 Polygons and Meshes by making it clear if a
new object is created or they're updated in place, by supporting
multiplication by matrices directly, and by including the repr
function everywhere.

Really, a quality of life improvement.
2019-07-28 18:33:27 -04:00
Tom Rothamel 2f683b2d69 gl2: Increase the numerical stability of gl2 by dealing with parallel lines. 2019-07-28 00:02:28 -04:00
Beuc d8ec4503a6 doc: fix formatting in sprites.html 2019-07-27 22:51:51 +02:00
Moshibit bb207a7fce Spanish translation correction
short and long must be in English
2019-07-27 11:44:52 -05:00
Sylvain Beucler 629ea6f13f web: detect when fullscreen status changed externally 2019-07-27 15:16:12 +02:00
Tom Rothamel 2a78e0141f gl2: Avoid leaking textures by changing generation too early. 2019-07-27 03:48:03 -04:00
Tom Rothamel 8da9eafd28 gl2: Remove debug print. 2019-07-27 03:28:50 -04:00
Tom Rothamel 1f8e1cacf6 gl2: Use a renderbuffer to load textures.
After extensive profiling my GTX 1060, it appears that using
glFrameBufferTexture2D is unacceptably slow. (300+us for just that
one call). glCopyTexImage seem to be much faster, with realistic
small texture loads (like button images) taking 60us or so.
2019-07-27 03:22:55 -04:00
Tom Rothamel 048f8fea8f gl2: Remove debugging from uguu.
Using KHR_debug gives us the same thing, faster.
2019-07-26 23:47:16 -04:00
Tom Rothamel 229bd5a82d gl2: Enable all debugging. 2019-07-26 23:23:19 -04:00
Tom Rothamel 12405a22d9 gl2: Support using KHR_debug to get error output. 2019-07-26 23:11:25 -04:00
Tom Rothamel 3529d40ba0 Add GetCharacterVolume. 2019-07-25 18:42:54 -04:00
Tom Rothamel 02be00bb78 Add compatibility for tile_ratio to Frame. 2019-07-25 12:36:57 -04:00
Tom Rothamel 189e7d8e4f Merge pull request #1956 from RenpyRemix/master
Add support for tile="integer" to frame. 

This is a version of tiling that always does an integer number of repeats, scaling as necessary to accomplish this.
2019-07-25 12:22:39 -04:00
Tom Rothamel 0956519365 gl2: Fix issues preventing a restart.
* Matrix can now be unpickled.
* deinit -> quit.
2019-07-24 01:32:07 -04:00
Tom Rothamel efbd897832 gl2: Avoid mipmapping, for now.
It changes the look of certainy parts of drawing, and so it needs
to be disabled for now.
2019-07-23 23:56:11 -04:00
Tom Rothamel c6d9b6e0c1 gl2: Fix uninitialized variable. 2019-07-23 23:42:42 -04:00
Tom Rothamel d0bbc81ebf gl2: Return the subsurface when taking a texture subsurface. 2019-07-23 22:52:24 -04:00
Tom Rothamel 662e8227ab gl2: The color used for solid textures should be alpha-premultiplied. 2019-07-23 22:39:47 -04:00
Tom Rothamel 33e3174692 Default to not code-signing for macOS.
Per #1958.
2019-07-23 18:05:40 -04:00
Moshibit dde68dd735 Merge pull request #4 from renpy/master
update from renpy/master
2019-07-23 15:34:15 -05:00
Tom Rothamel 5accb1c3e4 Add repr to texture. 2019-07-23 02:41:34 -04:00
Tom Rothamel 77d8b9b318 gl2: Properly reset the clipping rectangle. 2019-07-23 02:40:32 -04:00
Tom Rothamel 202fc47419 gl2: glEnableVertexAttribArray -> glDisableVertexAttribArray 2019-07-22 21:29:43 -04:00
RenpyRemix 49c0ec0504 Update imagelike.py
Support for tile="integer" in Frame
2019-07-22 23:51:26 +01:00
Tom Rothamel bc437b5e9b gl2: Implement clipping using polygons in the screen space. 2019-07-22 01:15:01 -04:00
Tom Rothamel b4dfcc44cf gl2: Determine if polygons are wound clockwise or counterclockwise.
This might actually change over the lifecycle of a polygon, as the
winding of the polygon changes when it goes from the pygame/Ren'Py
coordinate space to the OpenGL viewport space.

This change means it doesn't matter - polygon intersection can
always occur.
2019-07-22 01:00:00 -04:00
Tom Rothamel 1a98502bdc gl2: Set the number of actual points when restriding a polygon. 2019-07-22 00:52:54 -04:00
Joshua Fehler 977726c3ab Update 00preferences.rpy
Fix typo in common/00preferences.rpy
2019-07-21 23:48:51 -04:00
Tom Rothamel ed9cbfd21c gl2: Support cropping to a viewport-space polygon. 2019-07-21 15:07:46 -04:00
Tom Rothamel 261a0b807d gl2: Redo shaders to minimize allocation. 2019-07-21 01:14:09 -04:00
Tom Rothamel 261718967a gl2: Share the mesh used for ftl. 2019-07-20 23:13:49 -04:00
Moshibit 3e5e77b400 fix code
keyword "menu" cause an exception. Maybe you wanted to put "label" as it usually is after menu
2019-07-20 20:24:36 -05:00
Beuc 7fa4265f15 Remove mistaken file from Moshibit 2019-07-20 23:19:07 +02:00
Andy_kl 995823fbcf Fix missed continue 2019-07-20 23:00:47 +03:00
Tom Rothamel 663961581f Merge pull request #1949 from Andykl/nondevelop-dynamic
Do not raise error if dynamic variable already deleted in pop time.
2019-07-20 01:45:01 -04:00
Tom Rothamel d32946ce53 gl2: Texture loading (and eventually RTT) to its own pass. 2019-07-19 21:15:26 -04:00
Andy_kl 6bd9523780 Do not raise error if dynamic variable already deleted in pop time. 2019-07-20 02:36:48 +03:00
Tom Rothamel b0b49b353e gl2: Fix draw glitches.
These were caused by state that was left behind by the texture
loader.
2019-07-18 23:07:08 -04:00
Tom Rothamel b1b943b456 gl2: Render the Ren'Py surface tree.
This means that we're displaying a partially-correct screen,
rather than just test images.
2019-07-18 02:37:54 -04:00
Tom Rothamel dd5326c205 gl2: Load and display textures. 2019-07-17 22:40:21 -04:00
Tom Rothamel e62cc921c7 gl2: Able to load a surface as a TexturedMesh. 2019-07-16 23:14:41 -04:00
Tom Rothamel d343617616 gl2: Process texure loading through a TextureLoader object. 2019-07-16 02:11:15 -04:00
Tom Rothamel 0cf72637b2 Rename draw.free_memory to draw.kill_textures, unify with deinit.
The differentiation between .deinit() and .quit() was hard to understand.
This change makes it clear - .kill_textures frees all of the OpenGL textures,
while .quit() releases all GL resources.
2019-07-15 22:47:57 -04:00
Tom Rothamel e9312a3604 gl2: Display a solid. 2019-07-14 14:33:52 -04:00
psunbury 39420b940a Added that the default setting are in options.rpy
I spent a lot of time finding where this was set. It would be useful putting what file it is located.
2019-07-13 19:46:56 -07:00
Andy_kl d8655be2c5 Correct renpy.get_skipping returns 2019-07-14 05:18:09 +03:00
Andy_kl c276ac8ec8 Fix spurious skipping value 2019-07-14 05:16:17 +03:00
Andy_kl 37e7060baa Documented preferences.afm_enable 2019-07-14 05:15:44 +03:00
Tom Rothamel b155fa9411 gl2: Minor fixes, now can display a blank screen. 2019-07-13 12:02:58 -04:00
Tom Rothamel 4ef1e05dc8 gl2: Work on texture meshes. 2019-07-13 02:35:17 -04:00
Tom Rothamel da6e5e2c73 gl2: Add shader cache. 2019-07-12 23:29:48 -04:00
Moshibit 95c1cd5ad8 correct radio button 2019-07-12 21:50:40 -05:00
Moshibit f8747f6e38 Delete screens.rpy 2019-07-12 21:47:43 -05:00
Moshibit 450aeb55dc correct radio button 2019-07-12 21:41:14 -05:00
Moshibit 878e2284f8 fix typo 2019-07-12 21:35:09 -05:00
Moshibit a4291ccddb Merge pull request #3 from renpy/master
update from renpy/renpy master
2019-07-12 21:27:04 -05:00
Tom Rothamel 2091161241 Merge pull request #1933 from Queex/patch-1
Missing config prefix for gc_print_unreachable
2019-07-12 09:38:14 -04:00
Ben Wright c8ac8b511f Missing config prefix for gc_print_unreachable 2019-07-12 13:06:09 +01:00
Tom Rothamel ed3182c74c gl2: TexturedMesh fields. 2019-07-12 03:18:04 -04:00
Tom Rothamel 82b0d59f19 gl2: Cut out the old texture code. 2019-07-11 22:42:27 -04:00
Andy_kl 836238de5c CDSL displayables should allow 'if' statements inside self. 2019-07-12 00:06:40 +03:00
Tom Rothamel 60b42fd79b Merge pull request #1929 from Andykl/sl2-fixes
Sl2 fixes
2019-07-11 00:56:24 -04:00
Tom Rothamel ba2c72eaac Allow config.load_failed_label to take a function.
Fixes #1928.
2019-07-10 21:31:46 -04:00
Andy_kl 7751d5603e Fix indention in doc 2019-07-11 02:35:49 +03:00
Andy_kl 6e8d622282 Moved minimum property to position properties 2019-07-11 02:19:51 +03:00
Andy_kl 30b3366168 Documented default_properties 2019-07-11 02:18:37 +03:00
Tom Rothamel 736d9487c5 gl2: Combine the geometry stuff into one file. 2019-07-09 23:15:58 -04:00
Tom Rothamel 7bf7af52b1 gl2: float -> double, so it works with emscripten. 2019-07-08 22:33:46 -04:00
Tom Rothamel be7daf39d5 gl2: Clean as much of we can of gl1 out of gl2draw.pyx. 2019-07-08 02:28:27 -04:00
Tom Rothamel 0faf7810f6 Include gl2 and matrix in the built distributions. 2019-07-07 20:16:53 -04:00
Tom Rothamel bd333803b2 gl2: Log shader cache errors. 2019-07-06 15:04:25 -04:00
Tom Rothamel f24e3f199e gl2: Add modules from glexperiment into Ren'Py. 2019-07-06 03:07:38 -04:00
Tom Rothamel 13a755ae93 IF a pure-python module can't be parsed as utf-8, try it as latin-1. 2019-07-05 22:05:46 -04:00
Tom Rothamel a907cfaa2e Remove gl2 blacklist.
It was not used.
2019-07-05 20:33:34 -04:00
Tom Rothamel b236453972 Convert from using a 2x2 matrix to a 4x4 matrix.
This will eventually let us represent z-rotations
and translations using matrices.
2019-07-05 13:10:47 -04:00
Tom Rothamel 95fe225a8c Merge pull request #1921 from Beuc/sigttin
rapt: prevent gradle from stopping Ren'Py when run in the background
2019-07-04 10:19:39 -04:00
Sylvain Beucler 621fbe9449 rapt: prevent gradle from stopping Ren'Py when run in the background 2019-07-04 15:57:02 +02:00
Tom Rothamel f6029db185 Avoid a with None before a say attribute transition with a layer.
As this would make the transition moot.
2019-07-03 22:23:09 -04:00
Tom Rothamel 38f8e1f16f Document config.keyword_after_python as an incompatible change. 2019-07-02 23:06:01 -04:00
Tom Rothamel ca95350b70 Bump version. 2019-07-02 19:42:21 -04:00
Sylvain Beucler 985b54d284 web: avoid encoding issues in non-UTF-8 environments
e.g. windows korean, cf. renpyweb issue 1
2019-07-02 22:39:30 +02:00
Tom Rothamel 5664e29c7d Sponsor doc. 2019-07-01 22:17:03 -04:00
Tom Rothamel ae61f801f8 Update changelog. 2019-07-01 22:15:40 -04:00
Tom Rothamel cac70f9544 Merge pull request #1915 from Moshibit/master
correction in spanish translation
2019-07-01 22:00:53 -04:00
Tom Rothamel 45b792b4bd Only emulate the platform if asked.
Fixes #1917.
2019-07-01 21:58:33 -04:00
Tom Rothamel 97f578baac Bump version. 2019-07-01 21:14:02 -04:00
Tom Rothamel 2d9c8565be Automatically tag renpyweb. 2019-06-30 23:34:49 -04:00
Tom Rothamel a4596ecfbc Update changelog. 2019-06-30 23:21:09 -04:00
Tom Rothamel 740400db2c Make the preload thread actually do something.
Fixes #1890.
2019-06-30 23:09:05 -04:00
Tom Rothamel b1c6a3a16d Update keywords. 2019-06-30 22:45:44 -04:00
Moshibit 0f90a189f3 Merge pull request #2 from renpy/master
a
2019-06-30 17:49:04 -05:00
Tom Rothamel d427968170 Fix and update translations. 2019-06-30 01:50:00 -04:00
Tom Rothamel 673b1fcb4a Update changelog and sponsor docs. 2019-06-29 22:58:56 -04:00
Tom Rothamel 9a6f7f3975 sl2: Do not update scopes in used screens.
This is a much simpler fix for the problem in a1dd218560,
which is that the wrong scope will be given in a used screen that happens to be
constant.

The realization is that if a used screen is constant, it can't change - and hence
it doesn't need to be given a new scope at all.
2019-06-29 03:04:30 -04:00
Tom Rothamel af5e885e17 Revert "sl2: Store the scopes to provide them to _scope."
This reverts commit a1dd218560.
2019-06-29 02:46:54 -04:00
Tom Rothamel af0314885b Revert "Fix issues with screens and scopes."
This reverts commit df8f27f0d0.
2019-06-29 02:45:50 -04:00
Tom Rothamel e76411a6c9 Merge pull request #1900 from lee-yunseok/lee-yunseok
Update Korean strings.
2019-06-28 16:53:56 -04:00
Tom Rothamel bf9b60aa59 Merge pull request #1910 from Andykl/fixes
Update Russian
2019-06-28 16:53:38 -04:00
Moshibit d9aa172882 Merge pull request #1 from renpy/master
Fix issues with screens and scopes.
2019-06-27 22:08:14 -05:00
Moshibit 79a67705f1 correction 2019-06-27 22:04:06 -05:00
Tom Rothamel df8f27f0d0 Fix issues with screens and scopes.
Fixes #1905, where several bugs got collected into one place. The
main problem is that we need to store the actual values of
non-constant variables that, for example, change durting iteration,
while at the same time allowing things that use the scope to
update when the screen scope changes (from new parameters, or
something like SetScreenVairable).

This uses a method (scope_changed, similar to copy_on_change) to
take things that use the scope out of the cache when a scope change
happens.
2019-06-27 21:44:44 -04:00
Andy_kl d85241bfa7 Update Russian 2019-06-27 11:32:31 +03:00
Tom Rothamel c5cf467274 Fix spurious spaces in Spanish translation.
Fixes #1906.
2019-06-26 21:31:14 -04:00
Tom Rothamel 641a1b4f99 Fix None error in 8c36a9a4a5. 2019-06-25 22:29:14 -04:00
Tom Rothamel 01a0b6ed42 Always initialize the sound system.
To ensure silent movies can play, even if sounds aren't involved.

Fixes #1901.
2019-06-25 20:56:11 -04:00
Tom Rothamel 8c36a9a4a5 Fix double duplication in Transform.
Fixes #1903.
2019-06-25 20:49:22 -04:00
Tom Rothamel bfeb11a7be Merge pull request #1902 from Andykl/has-subblock
Added Lexer.has_subblock method.
2019-06-25 20:33:27 -04:00
Tom Rothamel f937f4bf42 Improve descriptive text.
- Move it to 00acessibility.rpy, where I can find it.
- sv -> alt (The old name still works.)
- Allow the creator to supply a character that's used to display
  descriptive text.
2019-06-25 01:52:14 -04:00
Tom Rothamel ba9accfd5e Process text tags when self_closing_custom_text_tags is set.
The check hadn't included that, which means that text tags would
not be processed when self_closing_custom_text_tags was set, and
custom_text_tags was not.
2019-06-24 19:28:53 -04:00
Andy_kl 0ca1f3ef66 Added Lexer.has_subblock method. 2019-06-24 23:31:40 +03:00
Lee Yunseok d19148f282 Fix typo. 2019-06-24 18:51:07 +09:00
Lee Yunseok 72d7b9ba59 Fix 2019-06-24 18:33:24 +09:00
Lee Yunseok 6231ffe2f3 Update Korean translation for renpyweb. 2019-06-24 18:09:41 +09:00
Lee Yunseok 097c24b140 Korean translation for accessibility in Tutorial, The Question. 2019-06-24 18:09:06 +09:00
Tom Rothamel c49f697b4d Avoid runing the gl test on a restart.
This prevents a with_none call that broke config.end_game_transition.
2019-06-23 10:42:16 -04:00
Tom Rothamel 8fc5225985 focus: Prioritize the highest default_focus value. 2019-06-22 14:59:49 -04:00
Tom Rothamel ac60c3ec9e To fix a conflict, replace default with default_focus. 2019-06-22 13:23:45 -04:00
pionere 7d655595e0 prevent crash when get_selected is called on a non-existent field
A field (especially a global Variable) might not exists at the beginning of the interaction. This causes the application to crash e.g. if the variable is set on the 'action' of a button.
The solution is that the get_selected returns False if the given field does not exists at the moment.
2019-06-22 14:35:41 +02:00
Tom Rothamel 6165d4aa11 Remove 'set' from the list of Ren'Py keywords.
It's used often in Python and expressions, and rarely in
Ren'Py.
2019-06-21 19:10:37 -04:00
Tom Rothamel 5e717b9bbe Improvements to rt run.
* The command is run with os.exec, so that ctrl-C can trigger
  a traceback.
* Command line arguments are passed to rt run in the right order.
2019-06-21 19:10:14 -04:00
Tom Rothamel 90b2f69876 Merge pull request #1897 from Andykl/fix-flatten
Flatten passing the position from child.
2019-06-20 17:18:40 -04:00
Andy_kl adbb05c99d Flatten passing the position from child. 2019-06-20 22:26:57 +03:00
Tom Rothamel ce2b11e7cf Add a random number generator that supports Rollback.
This is now returned by renpy.random.Random, and ensures the
numbers returned by it are deterministic.

Fixes #1893.
2019-06-20 09:58:06 -04:00
Tom Rothamel ae4369d223 Fix bad path to render_for_size. 2019-06-19 15:49:55 -04:00
Tom Rothamel 9a2cf214dc Properly generate the nvl clear UserStatement.
Fixes #1888.
2019-06-19 15:40:38 -04:00
Tom Rothamel 2ac606980a Add a function to render in sizing mode.
This doesn't catch the rendering that's done in sizing mode, but
reuses renders that are already cached at the same size.
2019-06-18 20:17:48 -04:00
Andy_kl 669a25d530 Receive a layer from default_layer in all exports funcs 2019-06-18 22:51:54 +03:00
Tom Rothamel f89de7e332 Set the platform as part of the emulator. 2019-06-17 19:32:21 -04:00
Tom Rothamel 2f12cdf843 Distinguish real and emulated platform.
This is to prep for a change where the emulator can set the platform,
so renpy.android is true under the android emulator.
2019-06-17 19:29:48 -04:00
Tom Rothamel c0ed44651c Pass the text input rectangle through subsurface. 2019-06-17 18:36:16 -04:00
Tom Rothamel ecbe0952c8 Fix the {clear} tag.
There was a regression caused by the UserStatement changes.
2019-06-17 00:03:01 -04:00
Tom Rothamel e48f24d8d1 Bump version. 2019-06-16 19:38:50 -04:00
Tom Rothamel e8b50d55f3 Add an example of a gallery button that's always unlocked.
Per discussion in 1887.
2019-06-16 16:06:52 -04:00
Tom Rothamel fbcdfe8561 Document that Showif creates a displayable.
Addresses #1886.
2019-06-16 13:38:46 -04:00
Tom Rothamel 99524a1033 sl2: Allow a has statement after an if statement with no children.
Addresses #1886.
2019-06-16 13:26:47 -04:00
Tom Rothamel 9781c0d07e Fix spurious spaces in the_question. 2019-06-16 11:58:58 -04:00
Tom Rothamel c09d0142df Package web-presplash.{jpg,png}, ignore oyua_icon.png. 2019-06-16 11:26:25 -04:00
Tom Rothamel 5bb8ae6772 Clean up translations. 2019-06-15 20:57:12 -04:00
Tom Rothamel 7c48ffc3f3 Updateyay igpay atinlay. 2019-06-15 20:56:13 -04:00
Tom Rothamel efec9192b7 Fix spacing. 2019-06-15 20:54:25 -04:00
Tom Rothamel 12b0decd15 Merge pull request #1885 from Moshibit/master
Update common.rpy
2019-06-15 19:54:37 -04:00
Moshibit c0185751d6 Update common.rpy 2019-06-15 18:47:30 -05:00
Moshibit fc06af1d93 Update common.rpy 2019-06-15 18:46:51 -05:00
Moshibit e44d6d14c3 Update common.rpy 2019-06-15 18:41:47 -05:00
Moshibit 7aae8c506f Update common.rpy 2019-06-15 18:31:47 -05:00
Tom Rothamel 2d47ae004e Merge pull request #1884 from Moshibit/master
accessibility message changed to translatable string
2019-06-15 19:11:13 -04:00
Moshibit 148c74a312 change to translatable string 2019-06-15 18:05:30 -05:00
Tom Rothamel 1c34d0643e Merge pull request #1883 from Moshibit/master
corrections in the Spanish translation
2019-06-15 18:53:27 -04:00
Moshibit 196517ac34 Update launcher.rpy 2019-06-15 17:49:24 -05:00
Moshibit 041832a573 Add files via upload 2019-06-15 17:34:28 -05:00
Moshibit 8533a6e089 Add files via upload 2019-06-15 17:32:36 -05:00
Moshibit 610a13bf20 Add files via upload 2019-06-15 17:31:22 -05:00
Tom Rothamel 3e2fbe4554 Screen sensitivity passes timer events.
Fixes #1882.
2019-06-15 11:58:21 -04:00
Tom Rothamel 038ea8fee2 Merge pull request #1880 from mal/screen-sensitivity-scope
Use scope when evalling screen sensitivity
2019-06-15 10:58:39 -04:00
Tom Rothamel f97dc0c0f0 Merge pull request #1881 from Andykl/fix-sluse-report
More sensitive report about inexistent screen in sl use expression
2019-06-15 10:58:11 -04:00
Andy_kl b064ea9a82 More sensitive report about inexistent screen in sl use expression 2019-06-15 17:56:55 +03:00
Mal Graty 3fc13fad93 Use scope when evalling screen sensitivity 2019-06-15 15:49:23 +01:00
Tom Rothamel d86d188dc8 Fix documentation and update sponsors doc. 2019-06-15 00:21:44 -04:00
Tom Rothamel 71beb64a4a Document that tooltip requires equality. 2019-06-14 17:12:53 -04:00
Tom Rothamel 6b27321496 Tweak the error message for a Side with the wrong number of children. 2019-06-13 23:26:06 -04:00
Tom Rothamel 1446c2b31d Merge pull request #1874 from Andykl/fix-side-mistake
Raise exception if Side not completely full at the render
2019-06-13 21:24:29 -04:00
Tom Rothamel 97b844cd9b Merge pull request #1876 from Andykl/fix-adjustment-bug
Fix adjustment bug
2019-06-13 21:23:36 -04:00
Andy_kl a17f63368b Do not redraw if we are sizing 2019-06-13 10:31:48 +03:00
Andy_kl 1bc3945f1d Kill the render is the right way. 2019-06-13 10:28:41 +03:00
Andy_kl 884b7901bf Raise exception if Side not completely full at the render 2019-06-12 08:49:30 +03:00
Tom Rothamel acc48b08ae Avoid redrawing when fixing a per-frame render.
Fixes #1869.
2019-06-11 02:47:34 -04:00
Tom Rothamel b24a2b06db Fix code-typo.
Fixes #1871.
2019-06-10 22:36:50 -04:00
Tom Rothamel ae402797cf Update changelog. 2019-06-09 22:41:45 -04:00
Tom Rothamel 51c726f736 Update changelog. 2019-06-09 22:40:38 -04:00
Tom Rothamel c8cc2b0353 Use a Window's minimums to determine the width and height of its children.
See https://lemmasoft.renai.us/forums/viewtopic.php?f=32&t=55574
2019-06-09 22:33:17 -04:00
Tom Rothamel dd7cdea0c2 Check in updated keywords. 2019-06-09 22:32:58 -04:00
Tom Rothamel ff59a3060d Apply AdjustTimes to images displayed in the gallery.
This makes sure that any ATL or other transforms start running from
the frame where the image is first shown.

Fixes #1867.
2019-06-09 21:39:51 -04:00
Tom Rothamel ae123b383a Fix local variable masking global variable. 2019-06-09 21:08:49 -04:00
Tom Rothamel 1175e65552 Proxy get_tooltip from Confirm to its yes action. 2019-06-09 20:50:10 -04:00
Tom Rothamel a1c1c15a3c Disallow style properties on tooltips. 2019-06-09 20:35:03 -04:00
Tom Rothamel 8d7236b32e cds: Pass the label of the next statement to predict_next.
This is necessary to properly emulate a conditional statement,
where we might go directly to the next statement.
2019-06-09 20:20:38 -04:00
Tom Rothamel 718628e48a Add a get_tooltip method to Action and BarValue.
This allows actions to supply tooltips to buttons and bars,
keeping that logic in one place. Per #1868.
2019-06-09 20:14:32 -04:00
Tom Rothamel 75f666479c Fix prediction problems in character.
Fixes #1853.
2019-06-09 00:00:09 -04:00
Tom Rothamel 63f2f9db47 Make sure we can't save between a menu and it's dialogue.
Fixes #1861.
2019-06-08 23:41:31 -04:00
Tom Rothamel 3c3c8963a3 Document narration and display_menu.
Fixes #1863.
2019-06-08 23:17:37 -04:00
Tom Rothamel 0399767528 cds: Fix prediction.
Fixes #1864.
2019-06-08 23:00:21 -04:00
Tom Rothamel c4ee0e8e5d cds: Allow lexer.renpy_block to deal with empty blocks.
Either by reporting the error, or by creating a block with a pass
statement.
2019-06-08 22:44:14 -04:00
Tom Rothamel 36ed61735d Merge pull request #1862 from Andykl/return-statement-argument
Added return value argument to renpy.return_statement
2019-06-08 19:13:33 -04:00
Tom Rothamel 4af01f3192 Avoid the repeated setting of adjustments when siding for a side.
Fixes #1858.
2019-06-08 01:42:44 -04:00
Tom Rothamel a72e17baea Document android input change. 2019-06-07 23:28:48 -04:00
Tom Rothamel 88728c932c Merge pull request #1855 from nyaatrap/master
Update Japanese
2019-06-06 22:50:46 -04:00
Andy_kl 298bf1d1c3 Added return value argument to renpy.return_statement 2019-06-06 22:01:37 +03:00
Beuc 59cc091828 Typo 2019-06-06 11:19:47 +02:00
Beuc 6aa9d6b920 Typo 2019-06-06 11:18:22 +02:00
Tom Rothamel 3241176e8f Ensure that the render_cache is updated after invalidation.
Before this change, if an invaidation was to occur mid-render,
it was possible the new render would not be added to the cache.

Fixes #1856.

This also defers invalidation when a redraw is going to happen.
2019-06-05 00:56:24 -04:00
Tom Rothamel 0d4d5f6621 accessibility: Cache the opendyslexic font group.
This makes displaying opendyslexic much faster.

Fixes #1857.
2019-06-04 19:16:04 -04:00
nyaatraps badb0e7803 Update Japanese 2019-06-04 17:34:52 +09:00
Tom Rothamel be3af7e868 Merge pull request #1851 from mal/more-say-transition-changes
More say transition changes
2019-06-02 14:20:52 -04:00
Mal Graty eb41a41b3a Clarify sets not lists 2019-06-02 19:20:02 +01:00
Mal Graty d806d99cb7 Both, not hybrid 2019-06-02 19:16:55 +01:00
Tom Rothamel 78e4241bd9 Merge pull request #1849 from Moshibit/master
NVL-mode script for new The Question
2019-06-02 14:13:56 -04:00
Sylvain Beucler e004acf4d0 web: shortcut to build directory 2019-06-02 17:38:00 +02:00
Mal Graty 8d63b60db8 Rework of say transitions 2019-06-02 11:29:45 +01:00
Mal Graty 11a6f292a4 Typo 2019-06-02 09:06:21 +01:00
Moshibit 741d6137d1 Update script.rpy 2019-06-01 22:21:54 -05:00
Tom Rothamel 70fd79df26 Fix server name. 2019-06-01 21:37:35 -04:00
Tom Rothamel 38deac811e Fix typo in function reference. 2019-06-01 20:55:50 -04:00
Moshibit 5827166418 Update thequestion_nvl.rst 2019-06-01 17:16:54 -05:00
Moshibit 9913c4f912 Update thequestion_nvl.rst 2019-06-01 17:12:53 -05:00
Tom Rothamel 35f3824a8f Update credits. 2019-06-01 17:02:28 -04:00
Tom Rothamel 7d1eaf560e Update the name of the version. 2019-06-01 17:00:47 -04:00
Tom Rothamel b762b5267c Merge pull request #1695 from pionere/master
shortcut for change_language
2019-06-01 15:10:24 -04:00
Tom Rothamel 5a7c9f845f Update the world's least useful translation. 2019-06-01 00:07:50 -04:00
Tom Rothamel a1dd218560 sl2: Store the scopes to provide them to _scope.
This fixes:

  screen on_use(a):
      text "[a]"

  screen test:
      fixed:
          fit_first True
          align (0.5, 0.5)
          use on_use(1)

  label start:
      show screen test
      pause
      return
2019-05-31 23:08:57 -04:00
Tom Rothamel 958536e9de Merge pull request #1847 from Moshibit/master
Correction in the tutorial about the use of focus_mask in Android and iOS
2019-05-31 21:52:18 -04:00
Moshibit c1b634d46b correction 2019-05-31 19:51:19 -05:00
Moshibit a0ed43a64f correction 2019-05-31 19:50:18 -05:00
Moshibit 7552aa3518 correction 2019-05-31 19:49:33 -05:00
Moshibit cf0b78f0fb correction 2019-05-31 19:48:31 -05:00
Moshibit f25affd975 correction 2019-05-31 19:47:06 -05:00
Moshibit 471f073051 correction 2019-05-31 19:45:10 -05:00
Tom Rothamel 194b5e1f9b Merge pull request #1846 from DragoonHP/patch-1
Typos fix
2019-05-31 19:13:43 -04:00
DragoonHP 3f70e93f90 Typos fix 2019-05-31 10:35:28 +05:30
Tom Rothamel bdf6db0efa Document incompatible changes. 2019-05-31 00:11:38 -04:00
Tom Rothamel 5429949e82 Changelog. 2019-05-31 00:11:38 -04:00
Tom Rothamel 659bb63a06 Changelog WIP. 2019-05-31 00:11:38 -04:00
Tom Rothamel 6d7b1f9704 cds: Add a predict_next method. 2019-05-31 00:11:38 -04:00
Tom Rothamel 833a80d343 cds: Undo the advance at the end of renpy_statment. 2019-05-31 00:11:38 -04:00
Tom Rothamel 43b43f3688 Merge pull request #1843 from Andykl/fix-custom-tags
Added self closing custom_tags to check_text_tags
2019-05-29 14:24:31 -04:00
Andy_kl 4fcc58a992 Added self closing custom_tags to check_text_tags 2019-05-29 11:04:19 +03:00
Tom Rothamel 57f5872409 Merge pull request #1826 from WKFO/translation-tr
Turkish translation
2019-05-28 22:23:35 -04:00
Tom Rothamel be855c7c37 Merge pull request #1838 from Moshibit/master
Spanish translation update
2019-05-28 22:23:22 -04:00
Tom Rothamel 9a30c95011 Implement Self-closing text tags.
Fixes #1841, closes #1842.
2019-05-28 22:23:06 -04:00
Tom Rothamel de061aea9b Merge pull request #1828 from Andykl/side-render-order
Side render order
2019-05-28 20:24:33 -04:00
Tom Rothamel 50939ee7bd A from clause should not define the global label.
Fixes #1824.
2019-05-28 20:23:02 -04:00
Tom Rothamel 3622a2ee21 Generate translations for screens with a continuation line.
Fixes #1827.
2019-05-28 20:12:18 -04:00
Tom Rothamel 37c4fb3f4b sl2: Allow the as clause to apply to the children of a displayable. 2019-05-28 01:45:35 -04:00
Tom Rothamel f360a53eda sl2: The as clause binds a variable to a displayable. 2019-05-28 01:02:42 -04:00
Tom Rothamel c1add010be cds: Rewrite renpy_block to match documentation. 2019-05-27 11:15:16 -04:00
Tom Rothamel fe816be0d8 Fix eception in Curry.__hash__.
Fixes #1839.
2019-05-27 00:42:47 -04:00
Tom Rothamel 71b6888f10 cds: Document new lexer functions. 2019-05-26 23:10:50 -04:00
Tom Rothamel d3fa22566a cds: Do not advance when catching an error.
Not needed, given sample code in the documentatation.
2019-05-26 02:15:53 -04:00
Tom Rothamel b69c80a40c cds: Switch to using line index rather than number. 2019-05-26 01:36:54 -04:00
Tom Rothamel e8fc4d28b5 cds: Add the ability to catch lexer errors. 2019-05-26 01:33:00 -04:00
Moshibit 96f91895c0 Add files via upload 2019-05-26 00:22:05 -05:00
Tom Rothamel 98241f413c Add repr for SubParse. 2019-05-25 23:46:10 -04:00
Tom Rothamel b62326e52d Allow jumping to SubParses. 2019-05-25 22:53:47 -04:00
WKFO 8116ea4ab7 Complete screens.rpy Turkish translation 2019-05-25 22:31:00 +03:00
Tom Rothamel f7be277b4a Fix parsing of Ren'Py inside creator-defined-statements. 2019-05-25 02:07:14 -04:00
Tom Rothamel 181997f13b Merge pull request #1835 from lee-yunseok/master
Update Korean translation for launcher.
2019-05-24 23:50:14 -04:00
Tom Rothamel c4a854fee3 Merge pull request #1837 from Beuc/patch-french
Update common french translations
2019-05-24 23:49:19 -04:00
Sylvain Beucler db45ab36f6 Update common french translations 2019-05-25 00:33:56 +02:00
WKFO 940be19894 Fix and update Turkish translation 2019-05-24 21:24:09 +03:00
Tom Rothamel 6b5932d45b Untested version of l.renpy_statement() and l.renpy_block()
This also adds predict_all to custom statements, to predict all
children.
2019-05-24 01:29:22 -04:00
Tom Rothamel 59a8b2961b Redo parsing of user statements.
This now uses the main lexer to parse user statements, which means
that we can have multiple-line-long user-defined statements.
2019-05-23 22:57:07 -04:00
Tom Rothamel 45e149bd45 Do not clear the parsed version of a UserStatement.
This will move the parse from runtime to compile time.
2019-05-22 22:54:09 -04:00
Lee Yunseok 58c6089985 Fix 2019-05-22 18:18:53 +09:00
Tom Rothamel 31f5e76674 Add the current user statement to the lexer. 2019-05-22 01:42:12 -04:00
Lee Yunseok fd0337eb0e Update Korean translation 2019-05-22 13:57:49 +09:00
Lee Yunseok 96a2d7c1d4 Merge pull request #22 from renpy/master
Latest
2019-05-22 13:12:29 +09:00
Tom Rothamel 3cc58e2f8f Merge pull request #1832 from Andykl/russian-translation
Mark error_handling interpolates as translatable and updated russian translation
2019-05-21 22:08:12 -04:00
Tom Rothamel 1345469e70 Merge pull request #1834 from Beuc/patch-unify_tl_source_comment
translation: unify base path in string source comments
2019-05-21 16:46:55 -04:00
Sylvain Beucler 7836c91a27 translation: unify base path in string source comments 2019-05-21 18:45:26 +02:00
Tom Rothamel e79aaba585 Merge pull request #1833 from Andykl/webbrowser-default
Prevent open IE in Windows if help-file not exists
2019-05-21 01:10:26 -04:00
Lee Yunseok b17ccdb53c Merge pull request #21 from renpy/master
Latest
2019-05-21 07:03:19 +09:00
Andy_kl e3453fd798 Updated [what] strings in other translates 2019-05-20 22:53:06 +03:00
WKFO 14dc8ff79a Add tranlsator info, commit progress 2019-05-20 22:06:54 +03:00
Andy_kl 074760e752 Doc this 2019-05-20 09:55:14 +03:00
Andy_kl 6e5d1ea3ef Do not open browser if help file not exist
This is fix Windows bug when IE opens anyway
2019-05-20 09:41:54 +03:00
Andy_kl 66da3f20d8 Update russian for last commit 2019-05-20 08:48:31 +03:00
Andy_kl ca6211cf0b Mark error_handling interpolates as translatable 2019-05-20 08:41:04 +03:00
Andy_kl 68f2b4ece9 Fix Beta string 2019-05-20 08:06:00 +03:00
Andy_kl 1f68d3222f Update 2019-05-20 07:50:44 +03:00
Tom Rothamel a6259de3e1 Merge pull request #1820 from Andykl/mode-keywords
Mode keywords for call screen, menu and say statements
2019-05-20 00:17:18 -04:00
Tom Rothamel 8610b89d75 Merge pull request #1831 from Moshibit/master
Corrections in translation
2019-05-20 00:08:55 -04:00
Moshibit 7e6d48f09e Add files via upload 2019-05-19 21:37:17 -05:00
Moshibit f94347bc78 Add files via upload 2019-05-19 21:29:33 -05:00
Moshibit 8aec8cbac5 Add files via upload 2019-05-19 20:59:23 -05:00
Beuc c744404550 launcher: choose_directory: returns default=True on Cancel (tkinter route) 2019-05-19 23:23:41 +02:00
WKFO 03205d6619 Turkish tranlation update 2019-05-19 20:52:03 +03:00
Tom Rothamel ebd904ce5f Add the ability to run something after a UserStatement.
This is a second quasi-statement that runs after a UserStatement
and everything inside its blocks have run.
2019-05-19 09:31:19 -04:00
Andy_kl 5956adccbf Added doc 2019-05-19 07:25:09 +03:00
Moshibit 5fdbdfa12a Add files via upload 2019-05-18 23:10:53 -05:00
Andy_kl 3dd71cc5c4 Added _zorder keyword for show_screen 2019-05-19 06:46:24 +03:00
Andy_kl ea3b05c6e4 Doc this 2019-05-19 06:25:13 +03:00
Moshibit 4aaddc39cb Add files via upload 2019-05-18 22:08:22 -05:00
Andy_kl e8739ffbbb Added keep_side_render_order to compat last commit 2019-05-19 05:21:24 +03:00
Andy_kl 4d664092ce Added sorting of children according to their order in positions. 2019-05-19 05:19:38 +03:00
Andy_kl 848aa6dfaa Except eol in python statement 2019-05-19 02:11:16 +03:00
Moshibit 170ddd9a87 Add files via upload 2019-05-18 17:51:26 -05:00
Andy_kl 7f88a1ce49 Added handlers for _mode and _with_none in menu arguments 2019-05-19 01:36:48 +03:00
Tom Rothamel d273689cc0 ftfont: Set up the face in bounds().
This fixes an error where the bounds were using the wrong size,
and hence caching a glyph of the wrong size, leading to drawing
problems.
2019-05-18 18:25:51 -04:00
Andy_kl 5e1449abd1 Apply a6b21ec78f to parse menu. 2019-05-18 23:44:50 +03:00
Beuc 184d72c595 the_question: typo in french translation 2019-05-18 22:08:24 +02:00
WKFO db88ae7e0d Initial Turkish translation 2019-05-18 17:56:21 +03:00
Tom Rothamel f22bd471e0 Add config.disable_input. 2019-05-17 02:05:29 -04:00
Tom Rothamel b85beccc9e lint: Update to match FontGroup changes.
Fixes #1823.
2019-05-16 21:36:40 -04:00
Tom Rothamel f4e6765b42 Allow a list of events to be given as part of the on statement. 2019-05-16 02:33:09 -04:00
Tom Rothamel dae24f264f console: Allow jump to jump to qualified local labels.
Fixes #1822.
2019-05-15 22:35:53 -04:00
Tom Rothamel def807b3d2 Invalidate displayables when an ajdustment is updated.
This makes the changes take affect during the current frame, rather
than the next one.

Fixes #1818.
2019-05-15 01:49:29 -04:00
Tom Rothamel 92536e4597 Merge pull request #1821 from lee-yunseok/master
Apply #ea50512 for Korean
2019-05-14 18:14:43 -04:00
Lee Yunseok d68b3bd2e8 Apply #ea50512 for Korean 2019-05-15 07:10:26 +09:00
Lee Yunseok 5c79afe2b4 Merge pull request #20 from renpy/master
Keep going to latest
2019-05-15 06:47:38 +09:00
Tom Rothamel ea50512e2c Update Android strings. 2019-05-14 12:52:04 -04:00
Andy_kl ca8508626d Added underscore handlers for _mode and _with_none
This has a higher priority.
2019-05-14 05:54:58 +03:00
Andy_kl a55c758fb0 Added _mode as a keyword to call screen 2019-05-14 04:15:12 +03:00
Tom Rothamel b1b3f8ce4e Merge pull request #1810 from mal/screen-sensitivity
Suppress hover/click-capture if screen insensitive
2019-05-12 19:41:31 -04:00
Tom Rothamel 63c4f5fe56 gl2: Resynchronize with gl1. 2019-05-11 09:57:31 -04:00
Tom Rothamel 2bb6e6c0db Use Framebuffer Objects wherever one is available. 2019-05-10 17:54:09 -04:00
Tom Rothamel c0761dc8f3 Clean the nv_list when the language changes. 2019-05-10 01:31:37 -04:00
Tom Rothamel 99e31f1456 Set the language when a new context is created.
This prevents a spurious change in language, and hnce fixes #1794.
2019-05-10 01:23:35 -04:00
Mal Graty 5ac3a985a9 Document screen's new sensitive property 2019-05-09 19:36:10 +01:00
Tom Rothamel 3249a34569 Add the web variant.
Which provides another way to detect emscripten.
2019-05-09 01:24:18 -04:00
Tom Rothamel 3b74892f65 sl2: Properties on the first line do not prevent a block.
Fixes a regression introduced by b0ee6fe392.
2019-05-08 23:01:30 -04:00
Tom Rothamel 723bf1bd75 Merge pull request #1809 from mal/tweak-capitialise-flag
Capitialise first character only with !c
2019-05-07 22:10:27 -04:00
Tom Rothamel 66acb87adc Merge pull request #1722 from lee-yunseok/master
Add Korean translation for Ren'Py Tutorial
2019-05-07 22:10:12 -04:00
Mal Graty 1cda55d17e Standardise docs on lowercase/uppercase 2019-05-07 21:57:11 +01:00
Mal Graty 76305e05f3 Update docs to highlight !cl usage 2019-05-07 21:55:33 +01:00
Tom Rothamel ff94f1e23b Merge pull request #1814 from Andykl/sl-indention-fix
Raise indention error for misspelled indent after keyword
2019-05-06 21:57:27 -04:00
Andy_kl b0ee6fe392 Raise indention error for misspelled indent after keyword 2019-05-07 04:56:19 +03:00
Tom Rothamel cbb1f084f9 Merge pull request #1812 from Andykl/fix-sl2
Check longer operators earlier.
2019-05-06 20:59:13 -04:00
Andy_kl 35d4deb772 Check longer operators earlier. 2019-05-07 00:13:03 +03:00
Tom Rothamel eb69715e57 Make sure renpy.py is distributed.
This is necessary for the Android and iOS distributions, at least.
It's not needed for web, but won't hurt much.
2019-05-05 01:31:40 -04:00
Tom Rothamel ded3e4da37 Remove always_opaque.
Now that Android and iOS should support focus_mask, always_opaque
isn't necessary.
2019-05-04 23:54:25 -04:00
Tom Rothamel 585778022e Use the render-to-texture path to do is_pixel_opaque.
This should enable Ren'Py to support focus_mask on Android.
2019-05-04 23:44:04 -04:00
Tom Rothamel c178092b58 Remove the GL blacklist.
The newest entry on it is from ~2010, so it's not necessary
anymore.
2019-05-04 22:21:58 -04:00
Lee Yunseok 2361a4939a Final 2019-05-04 09:51:39 +09:00
Lee Yunseok 869d45e27e Pretty 2019-05-04 09:36:14 +09:00
Tom Rothamel 679f4abf47 web: Add to the Ren'Py distribtion. 2019-05-03 20:29:55 -04:00
Tom Rothamel 402c2116a7 Bump version. 2019-05-03 20:28:43 -04:00
Mal Graty 461bddf7f3 Capitialise first character, leave rest of string 2019-05-03 22:48:49 +01:00
Mal Graty bf95f63448 Suppress hover/click-capture if screen insensitive 2019-05-03 16:11:53 +01:00
Lee Yunseok 9b043f465b Fix typo. 2019-05-03 16:08:12 +09:00
Lee Yunseok 3fef0c7dfa Add translate font for system_font 2019-05-03 15:32:23 +09:00
Lee Yunseok 8885ff568c Add translate font for system_font 2019-05-03 15:31:59 +09:00
Lee Yunseok 7a1b8f57c6 Complete tutorial_director.rpy 2019-05-03 15:31:33 +09:00
Lee Yunseok fe0af1652a Complete 2019-05-03 14:25:50 +09:00
Lee Yunseok c22f5108f2 Fix 2019-05-03 13:38:38 +09:00
Lee Yunseok 5e4ec6a6de Complete indepth_style.rpy and follow e6ccf5d 2019-05-03 13:36:11 +09:00
Lee Yunseok dade0aa1c7 Apply e6ccf5d 2019-05-03 12:43:57 +09:00
Lee Yunseok e6ccf5d616 Clearly 2019-05-03 12:20:37 +09:00
Lee Yunseok f6191eb56c Resolve 2019-05-03 12:17:04 +09:00
Lee Yunseok ea40d51cee Merge branch 'renpy-master' 2019-05-03 12:14:37 +09:00
Lee Yunseok ab2a0ec79f Merge branch 'master' of https://github.com/renpy/renpy into renpy-master 2019-05-03 12:14:09 +09:00
Lee Yunseok 290bd11f62 Apply Spanish 2019-05-03 12:06:09 +09:00
Lee Yunseok 3997812327 Quicksave 2019-05-03 12:01:27 +09:00
Lee Yunseok 3af6ebed21 More like Korean 2019-05-03 12:01:18 +09:00
Tom Rothamel 5534516253 Take background screenshots when polling events.
This prevents constant animation from preventing autosaves from
happening.
2019-05-02 22:50:06 -04:00
Lee Yunseok 71a970a891 Complete Transition Gallery 2019-05-03 10:31:56 +09:00
Lee Yunseok 222d3de08e Quicksave. 2019-05-02 11:53:57 +09:00
Lee Yunseok 5a09cec3d2 Complete GUI Customization 2019-05-02 11:53:29 +09:00
Tom Rothamel a445a7b000 Screens take a sensitive property.
If False, than the screen does not respond to input.

Fixes #1755.
2019-05-01 22:16:20 -04:00
Lee Yunseok 9e7c8315f0 Complete tutorial_screen_displayables.rpy 2019-05-02 11:13:09 +09:00
Lee Yunseok 87b909af10 Fix typo. 2019-05-02 11:12:52 +09:00
Lee Yunseok 21806de3b4 Quicksave. 2019-05-02 10:48:56 +09:00
Tom Rothamel 601594e047 Text interpolations support !c, !u, and !l.
For capitalization, upper case, and lower case.
2019-04-30 23:31:45 -04:00
Tom Rothamel cedff0527f Merge pull request #1808 from Andykl/fix-console
Do short repr for defaultdict and OrderedDict
2019-04-30 16:59:14 -04:00
Andy_kl 2b1f812051 Do short repr for defaultdict and OrderedDict 2019-04-30 23:57:41 +03:00
Tom Rothamel c85c917d12 Merge pull request #1803 from Moshibit/master
Corrections in the Spanish translation of the tutorial
2019-04-30 00:16:18 -04:00
Lee Yunseok 9e33789ad7 Quicksave 2019-04-30 11:59:08 +09:00
Lee Yunseok 0aa7c869b1 Fix typo. 2019-04-29 14:08:09 +09:00
Lee Yunseok 20cccd239c Quicksave 2019-04-29 14:05:59 +09:00
Tom Rothamel f2040ea6d5 On emscripten, force a redraw after is_pixel_opaque.
This fixes an issue with emscripten where it flips GL buffers
without Ren'Py explicitly asking for it.
2019-04-28 18:03:38 -04:00
Sylvain Beucler 7602e726f2 web: self.redraw_period=1.0 re-introduced audio glitch 2019-04-28 19:53:24 +02:00
Tom Rothamel dce59141a7 web: Avoid the use of float arguments.
This is because of a bug in emscripten, see
https://github.com/emscripten-core/emscripten/issues/6759 for
the details.
2019-04-28 13:09:11 -04:00
Sylvain Beucler 8dfafd617b web: use FBO and GLES 2019-04-28 15:01:44 +02:00
Sylvain Beucler a28829662c web: Fix 'TypeError: coercing to Unicode: need string or buffer, NoneType found' 2019-04-28 14:22:33 +02:00
Tom Rothamel 9665ee9226 Add config.equal_mono.
This changes mono support so there's two channels at 100%, rather
than each channel getting 50% of the energy.
2019-04-27 23:21:47 -04:00
Tom Rothamel b79419ea2f Support for equal_mono. 2019-04-27 22:28:22 -04:00
Tom Rothamel b2787cc61d Clear the history list on language change.
Fixes #1797.
2019-04-27 02:57:06 -04:00
Moshibit 8c45a9a1ec Add files via upload 2019-04-27 00:08:59 -05:00
Lee Yunseok e964ed219a Quicksave 2019-04-27 09:01:27 +09:00
Lee Yunseok 22f0c1969a More like korean. 2019-04-27 09:00:55 +09:00
Tom Rothamel fc45dca4c8 Merge pull request #1798 from Moshibit/master
Add Spanish translation for Ren'Py Tutorial
2019-04-26 17:12:14 -04:00
Lee Yunseok dfc7ae23ae Patently 2019-04-26 10:20:46 +09:00
Lee Yunseok 6811cc5592 Complete Minigames and CDDs 2019-04-26 10:20:05 +09:00
Tom Rothamel be4d4290a8 Rename the internal copy of OpenDyslexic.
This is so it doesn't interfere with a game that already includes
a copy.
2019-04-25 18:58:52 -04:00
Lee Yunseok 71760b5f16 Complete Simple Displayables 2019-04-25 09:27:24 +09:00
Tom Rothamel 59c49a6512 Documentation tweak to config.reload_modules. 2019-04-24 17:56:51 -04:00
Tom Rothamel 6fedb10d30 Merge pull request #1801 from mal/reload-modules
Python module reloading support
2019-04-24 17:55:15 -04:00
Tom Rothamel 5eb650d3fb Merge pull request #1802 from mal/master
Keep vanilla python's late import binding
2019-04-24 17:53:57 -04:00
Mal Graty 8c2d509b9c Keep vanilla python's late import binding 2019-04-24 19:41:25 +01:00
Mal Graty 1eee09bb9e Document config.reload_modules 2019-04-24 19:13:06 +01:00
Sylvain Beucler bacc645355 renpyweb: link to a controlled donation URL 2019-04-24 18:45:39 +02:00
Sylvain Beucler db83f8462d renpyweb: more sound tuning
No real user feedback despite dedicated test URLs, so using my system as reference.
2019-04-24 18:40:51 +02:00
Sylvain Beucler 4ee3026cad renpyweb: consistent capitalization 2019-04-24 18:38:08 +02:00
Lee Yunseok f664258d10 Complete Character Objects 2019-04-24 12:43:30 +09:00
Tom Rothamel cc6594d068 web: Fix tyop. 2019-04-23 22:34:21 -04:00
Tom Rothamel 3469504ffd web: Since Popen doesn't exist, do not modify the class. 2019-04-23 22:33:38 -04:00
Tom Rothamel 7954d1d9cd web: Serve built games through a local webserver. 2019-04-23 20:22:03 -04:00
Sylvain Beucler 8706d19545 Typo in French translation 2019-04-23 21:50:38 +02:00
Mal Graty 666370ac7f Python module reloading support 2019-04-23 19:03:08 +01:00
Tom Rothamel 88722cc03b web: Set the title of the generated page based on display_name. 2019-04-22 21:20:00 -04:00
Tom Rothamel 64171052ac Default display_name to config.name.
It seems like a closer match to what display_name is used for.
2019-04-22 21:17:15 -04:00
Tom Rothamel 793a2b2250 web: One click build of a web app. 2019-04-22 02:08:45 -04:00
Moshibit d16e1e71b8 Add files via upload 2019-04-21 16:48:25 -05:00
Moshibit cf56ebc008 Delete common.rpyc 2019-04-21 14:50:30 -05:00
Moshibit 26166cfdd8 Delete 01example.rpyc 2019-04-21 14:50:01 -05:00
Moshibit c5f60655d3 Add files via upload
Update translations.
2019-04-21 14:49:14 -05:00
Tom Rothamel 0ef5e6650e web: Tweak wording of the web screen, add Beuc's info. 2019-04-21 11:43:13 -04:00
Moshibit 036bdc4afe Add files via upload 2019-04-21 01:46:10 -05:00
Moshibit 33d8c014ec Add files via upload 2019-04-21 00:51:20 -05:00
Moshibit 1b193e6884 Add files via upload 2019-04-20 23:50:22 -05:00
Moshibit d6b7786f60 Add files via upload 2019-04-20 18:04:49 -05:00
Tom Rothamel a1bcb09260 web: Interface for creating a web project. 2019-04-20 16:10:50 -04:00
Moshibit d05704c7c7 Add files via upload 2019-04-20 13:40:11 -05:00
Tom Rothamel 68af2f3db2 Shrink the spacer sizes.
This provides a little extra room as we add the Web button to
the launcher.
2019-04-20 12:23:36 -04:00
Tom Rothamel 9b6ab94970 Add SimpleHTTPServer to the list of modules Ren'Py imports. 2019-04-20 10:37:00 -04:00
Tom Rothamel 51abcae5d4 Revert "Log startup timings to the Javascript console."
This reverts commit 045b6cc227.
2019-04-20 01:35:44 -04:00
Tom Rothamel 79e9d81173 web: Distribute compiled Ren'Py files as part of the web distribution.
This includes the .pyo files, and also creates a main.py to start
the game up.
2019-04-20 01:03:22 -04:00
Tom Rothamel 4e60a996dd Merge pull request #1796 from jbeich/bsdarm
Unbreak ARM build on BSDs
2019-04-19 17:01:11 -04:00
Jan Beich 15738d1dfb Unbreak ARM build on BSDs
In file included from ffmedia.c:13:
/usr/include/malloc.h:3:2: error: "<malloc.h> has been replaced by <stdlib.h>"
 #error "<malloc.h> has been replaced by <stdlib.h>"
  ^
2019-04-19 20:01:23 +00:00
Moshibit c37c44d227 Add files via upload 2019-04-19 08:39:03 -05:00
Tom Rothamel 045b6cc227 Log startup timings to the Javascript console. 2019-04-18 22:53:00 -04:00
Moshibit 56f86495fb Add files via upload 2019-04-18 20:56:40 -05:00
Moshibit 576b02d124 Add files via upload 2019-04-17 23:18:42 -05:00
Moshibit b5b7673e8b Add files via upload 2019-04-17 23:05:41 -05:00
Moshibit 455274bbaa Add files via upload 2019-04-17 21:40:04 -05:00
Tom Rothamel 0b492357d9 Fixes to get compiling on PC. 2019-04-17 22:38:59 -04:00
Tom Rothamel fb0149d0dc Merge branch 'web'
Based on @beuc's patches.
2019-04-17 21:58:45 -04:00
Tom Rothamel e7184c3a11 Minor cleanups. 2019-04-17 21:40:08 -04:00
Tom Rothamel 963dba7cc6 Minor cleanups. 2019-04-17 21:36:18 -04:00
Tom Rothamel 087f618326 Revert "web: Remove threading from pgrender.py"
This reverts commit 8dc57697bf.
2019-04-17 21:28:27 -04:00
Tom Rothamel 4c2be41c63 Revert "web: Replace uses of float with double in the gl renderer."
This reverts commit 86bab3977e.
2019-04-17 20:27:36 -04:00
Moshibit d23d5d91e3 Add files via upload 2019-04-17 19:09:34 -05:00
Tom Rothamel 7f8a07a8a5 web: Ifdef changes to renpysound_core.c 2019-04-17 02:38:53 -04:00
Tom Rothamel 173eaf6029 web: Use ifdefs to separate emscripten code in ffmpeg. 2019-04-17 01:07:17 -04:00
Tom Rothamel 8d0830f66f web: Remove threading in ffmedia.c
Originally-by: Sylvain Beucler <beuc@beuc.net>
2019-04-17 00:07:52 -04:00
Moshibit 584f7a0be7 Add files via upload 2019-04-16 21:50:40 -05:00
Tom Rothamel e210147343 Only force a checkpoint if one hasn't been forced already.
This improves things because forced checkpoints would prevent
rollforward data from being saved.
2019-04-16 01:35:59 -04:00
Tom Rothamel e4b33e595a Force a checkpoint after a print statement occurs.
This prevents the console from rolling back past the python block
it's in.
2019-04-15 23:05:56 -04:00
Tom Rothamel 53d08e0f2d Threadless image prediciton. 2019-04-15 01:50:16 -04:00
Tom Rothamel 84c53d3d9c Revert "web: Remove threading in savelocation.py (and a call to renpy.sync?)"
This reverts commit fe2ccc43e2.
2019-04-15 01:50:16 -04:00
Tom Rothamel 2962b5c398 Revert "web: Remove threading in main.py."
This reverts commit 030d9d2dbf.
2019-04-15 01:50:16 -04:00
Tom Rothamel 0ebfae81c9 Revert some changes from loadsave.py. 2019-04-15 01:50:16 -04:00
Tom Rothamel 5dc0372228 Revert "web: Remove threading from render.pyx"
This reverts commit 02ded280af.
2019-04-15 01:50:16 -04:00
Tom Rothamel 82780c57ee Revert "web: Remove threading from presplash."
This reverts commit d6ba807878.
2019-04-15 01:50:16 -04:00
Tom Rothamel 305215823d Revert "web: Remove threading from im.py"
This reverts commit 3c12d7ddb5.
2019-04-15 01:50:16 -04:00
Tom Rothamel 38440bf843 Do not take background screenshots when in emscripten. 2019-04-15 01:50:16 -04:00
Tom Rothamel 3596a59a54 Revert "web: Remove threading in core.py"
This reverts commit 626a5b03a1.
2019-04-15 01:50:16 -04:00
Tom Rothamel 5aaf1f8ef4 Revert "web: Remove threading in debug.py"
This reverts commit 7da19e215f.
2019-04-15 01:50:16 -04:00
Tom Rothamel 398c8a3053 Revert "web: Remove threading in audio.py"
This reverts commit 7a11cb35eb.
2019-04-15 01:50:16 -04:00
Tom Rothamel cfa560d8fa Revert "web: Patch out use of the subprocess module."
This reverts commit e4aa46e7fe.
2019-04-15 01:50:16 -04:00
Tom Rothamel 46fe772cc5 Revert "web: Remove threading from loader.py,"
This reverts commit c0281a41de.
2019-04-15 01:50:16 -04:00
Moshibit 9149a5c941 Add files via upload 2019-04-15 00:45:16 -05:00
Moshibit ce50d6e3f1 Add files via upload 2019-04-15 00:09:51 -05:00
Moshibit f015cda018 Add files via upload 2019-04-15 00:02:19 -05:00
Sylvain Beucler 069ac8e6c3 web: audio: use larger buffer/latency to work-around sound jitter 2019-04-14 23:19:27 +02:00
Moshibit e2ad4d5a3c Add files via upload 2019-04-14 00:08:22 -05:00
Moshibit 3239f0d5bb Add files via upload 2019-04-14 00:04:54 -05:00
Moshibit 7ac80c1a4f Add files via upload 2019-04-14 00:04:17 -05:00
Tom Rothamel eda749e44a Avoid running expressions with side effects when predicting.
See https://twitter.com/SakuraRiver/status/1117201035217358848 .
2019-04-13 21:34:37 -04:00
Moshibit 5da79e86ae Add files via upload 2019-04-13 20:12:14 -05:00
Tom Rothamel dc73065241 Web packaging changes. 2019-04-12 23:59:26 -04:00
Tom Rothamel 55992074c1 Allow building when the .exe files are missing. 2019-04-12 23:57:22 -04:00
Moshibit ba79f7986c Add files via upload 2019-04-12 14:17:21 -05:00
Tom Rothamel 5a0e3da293 sl2: Fix regression in 49c92600bf.
Layouts weren't being parsed in layout mode, which lead to all
sorts of problems.
2019-04-12 09:57:03 -04:00
Lee Yunseok a0100cee00 Complete indepth_translations.rpy 2019-04-12 10:08:09 +09:00
Lee Yunseok 626b249179 Complete Input and Interpolation 2019-04-12 09:47:09 +09:00
Lee Yunseok 2620c313b2 Complete Choices and Python 2019-04-12 09:32:49 +09:00
Tom Rothamel d7a2bd7bdf Add config.load_failed_label.
This is a label that is jumped if the load fails, to give the game
a chance at recovering.

Fixes #1792.
2019-04-11 20:15:57 -04:00
Lee Yunseok 022eb2cdb6 Complete Music and Sound Effects 2019-04-12 09:05:36 +09:00
Lee Yunseok 0efa611034 Complete Transitions 2019-04-12 08:37:57 +09:00
Lee Yunseok 1d87d8ae8a Complete Positioning Images 2019-04-12 08:03:56 +09:00
Moshibit aa43d1828a Add files via upload 2019-04-11 17:31:14 -05:00
Moshibit 21d90dbd55 Add files via upload 2019-04-10 23:18:22 -05:00
Tom Rothamel 4b8026fdd7 Use RENPY_STATIC to control the static build.
This lets us enable and disable static building on a per-platform
basis.
2019-04-10 22:54:27 -04:00
Tom Rothamel 73b8629724 Compat last. 2019-04-10 10:17:04 -04:00
Tom Rothamel 79f0037afc sl2: Report when a non-constant keyword argument follows a python statement.
Fixes #1791.
2019-04-10 09:39:37 -04:00
Tom Rothamel 49c92600bf sl2: Parsing can reject keyword arguments. 2019-04-10 02:59:24 -04:00
Moshibit f594f51ada Add files via upload 2019-04-10 01:22:58 -05:00
Tom Rothamel 254c5b6a2a Make it possible to determine if an SL2 statement supports python. 2019-04-09 20:40:51 -04:00
Tom Rothamel 7568ae3146 Document the supported Python version.
Fixes #1789.
2019-04-08 21:35:41 -04:00
Moshibit 1d7f7353c8 Add files via upload 2019-04-08 15:42:18 -05:00
Moshibit ad4756039d Add files via upload 2019-04-07 16:00:10 -05:00
Tom Rothamel dc30cc39aa Add config.notify. 2019-04-07 10:05:04 -04:00
Tom Rothamel 2720ab3615 Add compatibility for the change in #1774. 2019-04-06 23:08:16 -04:00
Tom Rothamel d7a8c5fb96 Merge pull request #1774 from mal/extend-say-attribute-trans-callback
Extend say_attribute_transition_callback with canonical tag list
2019-04-06 22:45:35 -04:00
Tom Rothamel 49baa6e6cb Script to upload to itch.io. 2019-04-06 04:27:01 -04:00
Tom Rothamel b5abd9f4c4 Merge pull request #1785 from kobaltcore/bmfont-kerning-support
Add ability to parse kerning messages of BMFont fonts
2019-04-04 17:55:44 -04:00
Lee Yunseok 5414417288 Complete Adding Images 2019-04-04 11:10:58 +09:00
Tom Rothamel 98d104b9ec Shortcut creating vc_version.py for build processes. 2019-04-03 01:32:49 -04:00
Tom Rothamel f5e001ac99 web: Mitigate busy script warnings from the browser.
Originally-by: Sylvain Beucler <beuc@beuc.net>
2019-04-02 02:03:39 -04:00
Tom Rothamel fe2ccc43e2 web: Remove threading in savelocation.py (and a call to renpy.sync?)
Originally-by: Sylvain Beucler <beuc@beuc.net>
2019-04-02 02:03:39 -04:00
Tom Rothamel 030d9d2dbf web: Remove threading in main.py.
Originally-by: Sylvain Beucler <beuc@beuc.net>
2019-04-02 02:03:39 -04:00
Tom Rothamel 011c3147dc web: Remove threading from loadsave.py,
Originally-by: Sylvain Beucler <beuc@beuc.net>
2019-04-02 02:03:39 -04:00
Tom Rothamel c0281a41de web: Remove threading from loader.py,
Originally-by: Sylvain Beucler <beuc@beuc.net>
2019-04-02 02:03:39 -04:00
Tom Rothamel 02ded280af web: Remove threading from render.pyx
Originally-by: Sylvain Beucler <beuc@beuc.net>
2019-04-02 02:03:39 -04:00
Tom Rothamel d6ba807878 web: Remove threading from presplash.
Originally-by: Sylvain Beucler <beuc@beuc.net>
2019-04-02 02:03:39 -04:00
Tom Rothamel 8dc57697bf web: Remove threading from pgrender.py
Originally-by: Sylvain Beucler <beuc@beuc.net>
2019-04-02 02:03:39 -04:00
Tom Rothamel 3c12d7ddb5 web: Remove threading from im.py
Originally-by: Sylvain Beucler <beuc@beuc.net>
2019-04-02 02:03:39 -04:00
Tom Rothamel c851968def web: Download a screenshot once it's been taken.
Originally-by: Sylvain Beucler <beuc@beuc.net>
2019-04-02 02:03:39 -04:00
Tom Rothamel 626a5b03a1 web: Remove threading in core.py
Originally-by: Sylvain Beucler <beuc@beuc.net>
2019-04-02 02:03:39 -04:00
Tom Rothamel 7da19e215f web: Remove threading in debug.py
Originally-by: Sylvain Beucler <beuc@beuc.net>
2019-04-02 02:03:39 -04:00
Tom Rothamel 7a11cb35eb web: Remove threading in audio.py
Originally-by: Sylvain Beucler <beuc@beuc.net>
2019-04-02 02:03:39 -04:00
Tom Rothamel d2981c59cd web: Remove threading in renpysound_core.c
Originally-by: Sylvain Beucler <beuc@beuc.net>
2019-04-02 02:03:39 -04:00
Tom Rothamel e4aa46e7fe web: Patch out use of the subprocess module.
Originally-by: Sylvain Beucler <beuc@beuc.net>
2019-04-02 00:07:48 -04:00
Tom Rothamel c56aea9dc8 web: Fix up source for static loading.
Originally-by: Sylvain Beucler <beuc@beuc.net>
2019-04-02 00:06:40 -04:00
Tom Rothamel 86bab3977e web: Replace uses of float with double in the gl renderer.
Originally-by: Sylvain Beucler <beuc@beuc.net>
2019-04-02 00:03:14 -04:00
Tom Rothamel 2b03eb6c39 Add the ability to build a web package. 2019-04-01 23:04:11 -04:00
Tom Rothamel 7f33118758 Bump version. 2019-04-01 19:25:56 -04:00
Tom Rothamel 1bea3fc006 Update changelog and credits, fix docs. 2019-03-31 10:37:27 -04:00
Lee Yunseok 242cad6882 Complete Writing Dialogues 2019-03-31 15:20:32 +09:00
Tom Rothamel 9608615542 android: Set the searchpath _after_ clearing it. 2019-03-30 19:44:09 -04:00
Tom Rothamel 9ddff5d7a5 android: Prioritize files on disk over files in the APK. 2019-03-30 19:41:41 -04:00
Tom Rothamel e623134867 Predict the proper image in resolve_say_attributes.
Fixes #1175.
2019-03-30 14:30:57 -04:00
Tom Rothamel 77e428c9a1 Include temporary attributes when generating translations.
Fixes #1784.
2019-03-30 14:22:38 -04:00
Tom Rothamel 03c951c4a4 itch: Download butler and use the downloaded copy.
Fixes #1782.
2019-03-30 13:26:46 -04:00
Tom Rothamel d9fb4a4234 Update sponsors doc. 2019-03-29 23:29:43 -04:00
Tom Rothamel 571aff3eb1 Update changelog. 2019-03-29 22:20:37 -04:00
Moshibit 7b1e96300f Add files via upload 2019-03-29 15:16:03 -06:00
kobaltcore 0f00705da7 Add ability to parse kerning messages of BMFont fonts
This allows the BMFont object to understand "kerning" lines embedded within BMFont definitions.
The kerning information is added to the existing "self.kerns" property.
2019-03-29 18:14:40 +01:00
Lee Yunseok 81701dd905 Complete Screen Basics 2019-03-29 16:00:10 +09:00
Tom Rothamel 9d9f2c2a75 Correct the priority order of crop vs (corner1, corner2). 2019-03-28 23:23:37 -04:00
Tom Rothamel ce2fa71356 Adjust the accessibility message. 2019-03-28 18:55:09 -04:00
Lee Yunseok 34df516053 More naturally. 2019-03-28 17:11:39 +09:00
Lee Yunseok a69fcedecb Half of the tutorial_screens.rpy 2019-03-28 17:07:43 +09:00
Tom Rothamel e315006136 Add the accessibility menu. 2019-03-27 21:15:41 -04:00
Tom Rothamel a2bf4f3452 Resize a side if the displayabls that comprise it change size. 2019-03-27 21:13:57 -04:00
Tom Rothamel f9a2d1153a Add accessability preferences. 2019-03-27 00:44:41 -04:00
Lee Yunseok 80b4113801 Complete Transform Properties 2019-03-27 13:00:19 +09:00
Tom Rothamel 33f9cef572 renpy.free_memory frees fonts.
As intended.
2019-03-26 22:36:47 -04:00
Tom Rothamel c3a1c8d7ff Add bars to error handling. 2019-03-25 22:29:05 -04:00
Tom Rothamel 565956e966 Allow bar values to call an action when they change something. 2019-03-25 22:12:44 -04:00
Tom Rothamel 4eb84611fe More work on the accessibility menu. 2019-03-24 13:16:29 -04:00
Moshibit 69f3c01442 Add files via upload 2019-03-24 11:12:07 -06:00
Moshibit f205b611b5 Add files via upload 2019-03-24 10:53:24 -06:00
Tom Rothamel fad22b3631 Start work on the accessibility screen. 2019-03-24 11:36:02 -04:00
Tom Rothamel 176309152f Shrink _label_text in most places. 2019-03-24 11:32:42 -04:00
Tom Rothamel 1bf0e75bc1 Add preferences to adjust ftfont size and spacing. 2019-03-23 22:53:39 -04:00
Moshibit 8266095feb Add files via upload 2019-03-23 15:14:20 -06:00
Moshibit e2843c06ba Add files via upload 2019-03-23 12:26:37 -06:00
Tom Rothamel 28d5f5fc39 Fix issue with #1780. 2019-03-22 18:24:07 -04:00
Tom Rothamel a6b21ec78f Merge pull request #1781 from Andykl/fix-lexer-eob
Perform re-create Lexer.eob on revert
2019-03-21 22:25:35 -04:00
Andy_kl 62bac5aa0e Performed re-create Lexer.eob on revert 2019-03-21 19:03:41 +03:00
Tom Rothamel 843b10851f Fix bad .pop() in #1780. 2019-03-20 23:21:48 -04:00
Tom Rothamel c5f15b5c6a Merge pull request #1780 from Meithal/clean
GC optimizations
2019-03-20 23:20:31 -04:00
Meithal ebd8baba00 GC optimizations 2019-03-21 03:58:30 +01:00
Tom Rothamel 464ae528b1 Dejavusans font transform. 2019-03-20 02:04:08 -04:00
Tom Rothamel 884de6f4c3 Add additonal font scaling options.
There is a way to scale the size per font file, and a way to scale the
vertical extent by font file. The main reason for these is to provide
a way to rescale opendyslexic to fit in the same space as DejaVuSans.
2019-03-19 00:50:19 -04:00
Tom Rothamel 414b1a36c7 Add OpenDyslexic files. 2019-03-18 23:58:18 -04:00
Tom Rothamel 8b1168b621 Add font transform support.
This is an accesibility function that can turn one font into
another font, or a font group. It's currently being used to
enable OpenDyslexic when it's needed.
2019-03-18 23:51:33 -04:00
Tom Rothamel 8526cc1ba3 Rewrite FontGroup.
It's now O(1) in operation, at the cost of increasing the size of the
FontGroup. There's also the option to specify a default font, and
it's possible to add a FontGroup to a FontGroup.
2019-03-18 22:43:19 -04:00
Moshibit 5870b6cd1f Add files via upload 2019-03-17 21:21:18 -06:00
Tom Rothamel 7b2f7d7e85 Set steam=None if steam fails to initialize.
This fixes #1772.
2019-03-17 18:31:32 -04:00
Tom Rothamel cbff654273 Bump version. 2019-03-17 17:36:02 -04:00
Tom Rothamel 7cad0e9e06 Fix typo in changelog. 2019-03-17 13:44:10 -04:00
Mal Graty a7471bba03 Extend say_attribute_transition_callback with tags
This provides context to the callback about the image it's affecting
with the transition. This can be used in isolation, or with the current
state to intelligently utilise a transition based upon the
tags/attributes of the image being displayed.
2019-03-17 15:40:33 +00:00
Moshibit 44c11a7803 Add files via upload 2019-03-16 20:31:21 -06:00
Tom Rothamel 210935c4c6 Fix docs. 2019-03-16 21:32:05 -04:00
Tom Rothamel 412cbda546 Update credits and sponsors. 2019-03-16 21:04:39 -04:00
Tom Rothamel 553e80d12e Update changelog. 2019-03-16 20:49:58 -04:00
Tom Rothamel 5dd3af6a0a console: Properly parse jump command.
Fixes #1767.
2019-03-16 20:23:36 -04:00
Tom Rothamel 879d97a93b sl2: Propagate transform state to the right place.
Fixes #1769.
2019-03-16 11:10:55 -04:00
Tom Rothamel c5325bb61e Arguments to extend override older arguments.
Fixed #1768.
2019-03-15 22:32:08 -04:00
Tom Rothamel 5a708e86d0 Ensure a __ne__ method exists for each __eq__ method. 2019-03-14 20:54:29 -04:00
Lee Yunseok 04dc9efc9a 535 2019-03-14 16:21:40 +09:00
Lee Yunseok c6061da3f4 Complete Transforms and Animation 2019-03-14 16:06:20 +09:00
Lee Yunseok dc7a8c9e23 #1763 2019-03-14 14:59:24 +09:00
Tom Rothamel 3a52fd76e5 Merge pull request #1766 from Enerccio/rpe-enviroment-loading
added RENPY_SEARCHPATH environment variable
2019-03-14 00:03:28 -04:00
Tom Rothamel 4e24239322 Document iOS image files. 2019-03-14 00:02:18 -04:00
Tom Rothamel d2bdc159bd Ignore iOS files. 2019-03-13 22:49:03 -04:00
Tom Rothamel 49e804eb50 Update the changelog. 2019-03-13 22:43:06 -04:00
Tom Rothamel 209564d2d2 Set _voice.auto_filename.
Fixes #1765.
2019-03-13 21:09:10 -04:00
Tom Rothamel 56b42f7f8a Remain in rollback until an interaction occurs.
This makes it more reliable to detect rollbacks and loads, and avoid
triggering code when they happen.
2019-03-13 20:27:25 -04:00
Enerccio fb1a01c37f added RENPY_SEARCHPATH environment variable 2019-03-13 18:24:46 +01:00
Lee Yunseok 0ed01f34fe Fixed 2019-03-13 12:26:56 +09:00
Lee Yunseok ffa93d746f 163 2019-03-13 12:04:35 +09:00
Lee Yunseok c9dc8a9e72 More better 2019-03-13 11:54:34 +09:00
Lee Yunseok 9c9816d203 More better 2019-03-13 11:53:50 +09:00
Tom Rothamel 1d1c53e2d5 Generate iOS images when needed. 2019-03-12 21:23:37 -04:00
Tom Rothamel 0604e61151 Add iOS icons. 2019-03-12 21:16:43 -04:00
Moshibit 19f69717de Add files via upload 2019-03-12 11:50:18 -06:00
Lee Yunseok 82e493a7f3 More friendly 2019-03-12 09:35:09 +09:00
Lee Yunseok 04428ab0de Complete Player Experience 2019-03-12 09:30:44 +09:00
Lee Yunseok 1c7989e063 Added: Korean button 2019-03-12 09:29:56 +09:00
Tom Rothamel f8232ed24a Doc config.say_attribute_transition_callback. 2019-03-11 02:02:18 -04:00
Tom Rothamel efafa4e9e6 Add config.say_attribute_transition_callback.
This is a callback that returns the say attribute transition to use,
allowing it to be changed in more complex ways.
2019-03-10 22:46:59 -04:00
Lee Yunseok 52a584846b Merge pull request #18 from renpy/master
Keep going to latest.
2019-03-11 10:47:21 +09:00
Lee Yunseok 3c0f563cc1 Complete Building Distributions 2019-03-11 10:38:38 +09:00
Lee Yunseok 139e731a01 Complete Video Playback 2019-03-11 10:13:42 +09:00
Lee Yunseok bfc8e67c22 Pause for confirm 2019-03-11 09:57:35 +09:00
Moshibit 5a7856cb26 Add files via upload 2019-03-10 10:48:41 -06:00
Tom Rothamel 48130761d7 Open save_dump.txt in the same location as other error files.
This prevents a crash on mac when it's opened in /.
2019-03-10 03:02:01 -04:00
Lee Yunseok e9afa2be3c Fixed: Typos 2019-03-10 14:56:40 +09:00
Lee Yunseok c68749dbe6 Complete Position Properties 2019-03-10 14:56:04 +09:00
Lee Yunseok 8e2a93acec More Ko friendly 2019-03-10 14:55:23 +09:00
Tom Rothamel 95daa0251f Properly quote % in profiling data. 2019-03-09 22:42:05 -05:00
Tom Rothamel 31c3efa9bc Prevent logging from crashing Ren'Py if a spurious % appears. 2019-03-09 21:21:16 -05:00
Tom Rothamel 34875f0011 Pass names and versions when creating iOS project. 2019-03-09 15:12:59 -05:00
Moshibit 78c61e45c5 Add files via upload 2019-03-09 09:06:25 -06:00
Tom Rothamel 4f78eeed28 DynamicImages that take a scope should consider that in equality.
That's because when a scope is involved, it's possible for two
DynamicImages with the same name to be different, even if the
name is the same.

This can cause problems with displayable reuse in screens.

Fixes #1759.
2019-03-08 20:19:20 -05:00
Tom Rothamel 8b80e916a7 Changelog. 2019-03-07 09:21:46 -05:00
Tom Rothamel b810238038 Merge pull request #1758 from Moshibit/patch-4
correct button
2019-03-07 08:45:43 -05:00
Tom Rothamel 7808826773 Fix roll-forward not working through menus.
Fixes #1754.
2019-03-06 23:31:46 -05:00
Lee Yunseok 8849de1017 Merge pull request #17 from renpy/master
Keep going to latest.
2019-03-07 09:08:39 +09:00
Lee Yunseok 30483c2afa More ko friendly 2019-03-07 09:04:53 +09:00
Lee Yunseok 0a05d88963 Save temporary 2019-03-07 09:02:11 +09:00
Lee Yunseok 4fc5076178 Some work. 2019-03-07 08:35:41 +09:00
Lee Yunseok ee47b1e8f8 Fix typo. 2019-03-07 08:22:13 +09:00
Lee Yunseok 5b3b5ba974 Complete NVL-Mode 2019-03-07 07:59:36 +09:00
Lee Yunseok b8e374628a More better. 2019-03-07 07:58:07 +09:00
Moshibit 782f89510b Add files via upload 2019-03-06 10:35:27 -06:00
Moshibit ec8147408b correct button 2019-03-06 09:22:44 -06:00
Tom Rothamel 92d89ea508 Merge pull request #1756 from fchapoton/patch-1
fix an illegal raise False
2019-03-05 18:08:16 -05:00
Tom Rothamel 1ebae688db Merge pull request #1757 from Moshibit/patch-3
correct buttons
2019-03-05 18:07:50 -05:00
Moshibit 927370ebfc Add files via upload 2019-03-05 14:14:27 -06:00
Moshibit 7afe53fb81 correct buttons 2019-03-05 13:40:31 -06:00
Moshibit 9eb1c06659 Add files via upload 2019-03-05 13:19:32 -06:00
Frédéric Chapoton f6e7f67faa fix an illegal raise False
changed to return False

found by https://lgtm.com/projects/g/renpy/renpy/
2019-03-05 19:48:10 +01:00
Tom Rothamel f96d677d4a Bump version to 7.2.1. 2019-03-04 19:15:11 -05:00
Tom Rothamel dd115f186f Remove spurious character. 2019-03-04 19:14:26 -05:00
Tom Rothamel 344079de86 Fix changelog. 2019-03-03 21:16:41 -05:00
Tom Rothamel 47c53e90b4 Force begin rollback at menu and call screen.
This ensures that saves will load at those statements, even in
the presence of fast skipping.

Fixes #1751.
2019-03-03 12:19:45 -05:00
Tom Rothamel bd07fa6abb Defer SHOW->UPDATE until the screen has been drawn.
Calls to renpy.restart_interaction were causing the screen to
restart early, which means that the show events never were
dispatched, and the update event would overwrite it.

Fixes #1753.
2019-03-03 11:15:22 -05:00
Moshibit 8f1d3636d5 Merge pull request #4 from Moshibit/Moshibit-patch-3
Add files via upload
2019-03-03 09:30:21 -06:00
Moshibit 07886362c5 Add files via upload 2019-03-03 09:29:31 -06:00
Moshibit 85c58d5220 Add files via upload 2019-03-03 09:20:46 -06:00
Tom Rothamel 203fdbcc84 Fix User Interface Statement documentation.
Fixes #1752.
2019-03-03 00:33:33 -05:00
Tom Rothamel a47e9ae043 Round .subsurface arguments to integers.
This is more correct, and fixes a bug where inaccuracy could cause
is_pixel_opaque to fail because the 1x1 it wants was rounded down
to 0x1.
2019-03-02 23:21:22 -05:00
Tom Rothamel 6c09b387a3 Document lint functions as functions.
Rather than in the .rst file.
2019-03-01 21:53:28 -05:00
Tom Rothamel 8969d18c91 Merge pull request #1747 from Andykl/CDSfixs
Documentation corrections
2019-03-01 20:13:33 -05:00
Tom Rothamel 828bc67064 Merge pull request #1750 from kevinturner/patch-2
Remove MPEG-1 from renpy.movie_cutscene()
2019-03-01 19:47:16 -05:00
Kevin Turner de01c76882 Remove MPEG-1 from renpy.movie_cutscene()
renpy.movie_cutscene() can play any Ren'Py compatible movie file, but the documentation had not been updated to reflect this.
2019-02-28 01:47:20 -05:00
Tom Rothamel b32c618886 Update version in changelog. 2019-02-28 00:59:34 -05:00
Andy_kl 7be9a851c3 Added docs for lint functions 2019-02-27 22:52:03 +03:00
Andy_kl 38e83e3401 Improved CDS description 2019-02-27 19:14:28 +03:00
Tom Rothamel 5876764730 Merge pull request #1748 from Moshibit/master
Add Spanish translation for The Question
2019-02-27 10:22:16 -05:00
Tom Rothamel 31677e806f Merge branch 'master' into master 2019-02-27 10:21:59 -05:00
Tom Rothamel 4d26e052a1 Merge pull request #1745 from Moshibit/patch-2
Update common.rpy
2019-02-27 10:19:52 -05:00
Andy_kl bcda13f128 Added documentation for simple_expression and delimited_python 2019-02-27 17:12:30 +03:00
Tom Rothamel eeee5afd4d Bump version to 7.2. 2019-02-26 23:22:15 -05:00
Andy_kl 121ba27204 Documentation for some of the Lexer methods. 2019-02-27 02:05:41 +03:00
Moshibit d76c325b3b Add Spanish traslation for The Question 2019-02-26 12:59:30 -06:00
Moshibit 9b35295a6d Update screens.rpy 2019-02-26 12:44:19 -06:00
Andy_kl 572c915b06 Added missing "expression" 2019-02-26 16:48:16 +03:00
Andy_kl 520a4016db Small fix 2019-02-26 16:25:58 +03:00
Andy_kl 16b85e42ac Typos fixed 2019-02-26 16:12:20 +03:00
Tom Rothamel fc54469606 Merge pull request #1746 from AXYPB/master
Documentation corrections
2019-02-26 02:24:25 -05:00
Moshibit 7226cf3998 Add files via upload 2019-02-26 01:22:40 -06:00
Craig Donson a260ed5880 Documentation corrections 2019-02-26 02:21:36 -05:00
Moshibit 2224208aa7 Add files via upload 2019-02-26 00:23:27 -06:00
Moshibit 6846b42612 Update common.rpy
translation correction
2019-02-25 23:55:58 -06:00
Tom Rothamel 69a648b23c Merge pull request #1744 from Moshibit/patch-1
Update screens.rpy
2019-02-26 00:50:26 -05:00
Moshibit 5f5fd90731 Update screens.rpy 2019-02-25 23:48:30 -06:00
Tom Rothamel b0d4fca4f0 Allow nvl=True to be passed as an argument to menu.
This makes Ren'Py use nvl_menu instead of menu.
2019-02-25 23:54:19 -05:00
Tom Rothamel 1a50cfff71 Separate checking redraws and processing redraws.
This is because checking redraws happens once per event, but
we might handle multiple events before the redraw itself occurs.
After process_redraws happens, the Renders are in an invalid state
until the next draw_screen.

When in this invalid state, if the inspector is called, a crash
occurs.
2019-02-25 20:46:35 -05:00
Tom Rothamel 9d6ff18e15 Document new screen statements. 2019-02-24 20:51:53 -05:00
Moshibit 7fb674ca11 Delete script.rpyc 2019-02-24 19:32:23 -06:00
Moshibit a32d9e0be0 Delete screens.rpyc 2019-02-24 19:32:14 -06:00
Moshibit 7315e353a8 Delete options.rpyc 2019-02-24 19:32:07 -06:00
Moshibit 3590a545e7 Delete common.rpyc 2019-02-24 19:31:59 -06:00
Moshibit 4ac857581d Add files via upload 2019-02-24 19:31:22 -06:00
Moshibit 383fe6195c Add files via upload 2019-02-24 19:29:38 -06:00
Moshibit a22ad60b0f Merge pull request #2 from Moshibit/Moshibit-patch-2
Update common.rpy
2019-02-24 19:17:04 -06:00
Tom Rothamel 322811168a Update the changelog. 2019-02-24 19:58:23 -05:00
Tom Rothamel eded9b0c79 Update keywords. 2019-02-24 18:49:12 -05:00
Tom Rothamel 810835020b Bring back renpy.pause(hard=True) with a suitable disclaimer. 2019-02-24 16:34:14 -05:00
Tom Rothamel cfdf3d57f4 Merge pull request #1741 from Andykl/DateFormatFix
Date format changed to correct in Russian translation
2019-02-24 15:41:22 -05:00
Tom Rothamel 6e4b805cae Undocument rarely used arguments to renpy.pause.
Including hard=True.
2019-02-24 12:37:59 -05:00
Moshibit 704573db42 Update common.rpy
correction of translation error
2019-02-24 11:26:02 -06:00
Tom Rothamel c1292d4975 Allow show screen and hide screen to take a width clause.
Show would parse it but ignore it, which was bad. Now it just
works the same as with the usual show and hide statements.
2019-02-24 12:21:27 -05:00
Andy_kl ffd35663a6 Date format changed to correct in Russian translation 2019-02-24 13:48:27 +03:00
Tom Rothamel 2eea4a442c sl2: Add use expression as a statement. 2019-02-24 02:15:43 -05:00
Tom Rothamel be6d14d740 Propertly set _main for sl2 add with transform.
Fixes a problem where the scope would not be updated correctly when
a transform was involved.

Fixes #1740.
2019-02-23 22:22:06 -05:00
Tom Rothamel eff4c21cfe Drag/DragGroup zorder rewrite.
This moves from trying to maintain the zorder, to just sorting
the children any time it changes. This makes it possible to
persist the zorder through interaction restarts in a sensible
way.

Fixes #1727.
2019-02-23 19:37:17 -05:00
Tom Rothamel 919c0a7f0d Merge pull request #1739 from mal/issue-1738
Fix speaking_attribute suppression
2019-02-23 10:17:46 -05:00
Mal Graty 432acfcf9e Fix speaking_attribute suppression
Switch back to prepending temporary_attrs with speaking_attribute so
that temporary say attributes have the chance to suppress the
speaking_attribute.

The use case for this is catering for infrequent lines of a character's
internal monologue, for which they are responsible, but do not actively
speak.
2019-02-23 11:06:06 +00:00
Tom Rothamel eab5170ae1 Attributes should only be restored if temporary attributes are present. 2019-02-23 01:59:12 -05:00
Tom Rothamel ad4f4095fd Only restore attributes if the attributes have changed.
Fixes #1737.
2019-02-23 01:35:43 -05:00
Tom Rothamel 94ee41646d Only set config.missing_{scene,show,hide} if None. 2019-02-23 01:23:05 -05:00
Tom Rothamel 46bafe91ae Merge pull request #1726 from AXYPB/master
Documentation corrections
2019-02-22 17:11:51 -05:00
Tom Rothamel 0cfdf68f7d Merge pull request #1735 from mal/augment-dont-replace-speaking-attr
Let temp attrs and speaking attr to work together
2019-02-22 17:11:23 -05:00
Mal Graty 18713b60f2 Let temp attrs and speaking attr to work together 2019-02-22 09:52:21 +00:00
Tom Rothamel 5adfccf53f Explicit test for attrs being None.
Fixes #1734.
2019-02-21 23:10:07 -05:00
Tom Rothamel eb0d1c8bfd Merge pull request #1733 from mal/fix-outline-stepping
Fix positional stepping when scaling outlines
2019-02-21 22:33:11 -05:00
Mal Graty 1e9d6bd519 Fix position stepping when scaling outlines 2019-02-21 19:11:39 +00:00
Tom Rothamel f5c1e108c5 Implement the outline_scaling style property.
This controls if the outlines are scaled using the current stepped
approach or a new linear approach.
2019-02-20 22:30:18 -05:00
Tom Rothamel 2b0691233e When adjusting spacing, try to keep the baselines aligned. 2019-02-20 21:55:25 -05:00
Tom Rothamel 065a46caa4 Adjust baseline as the text scales. 2019-02-20 12:35:15 -05:00
Craig Donson 5ebc270420 Further corrections 2019-02-20 05:18:02 -05:00
Tom Rothamel c4fb7c44dd Add renpy.is_skipping.
A documented way to know if skipping is going on.
2019-02-19 20:01:51 -05:00
Tom Rothamel df9be4a293 Release a grab when the associated displayable can't be focused.
Fixes #1728.
2019-02-19 19:37:52 -05:00
Tom Rothamel b639e0bca5 Update changelog. 2019-02-18 21:27:19 -05:00
Tom Rothamel 6aaf8b6ce9 Accept copy and paste in launcher input. 2019-02-18 20:40:41 -05:00
Tom Rothamel 15cf4341c3 Explictly remove temporary say attributes.
This fixes a problem with layeredimages for which "foo red happy"
and "foo red happy speaking" will both be defined. In that case,
"show foo red happy" won't remove speaking, and so we need to
do an explicit "show red happy -speaking".
2019-02-17 22:52:29 -05:00
Tom Rothamel 2bec7e4a73 Store the width and heigh passed to render().
Used by 115aae01dc, forgot to check
it in.
2019-02-17 21:40:04 -05:00
Tom Rothamel 6a94806b29 Check in data used when creating test projects. 2019-02-17 21:12:28 -05:00
Craig Donson 184006e7b8 Documentation corrections 2019-02-17 20:03:33 -05:00
Tom Rothamel 115aae01dc xmaxiuum and xymaximum shouldn't restrict where a drag can be moved.
We had been using the width and height offered to the drag as
the places where it can move. However, those are affected by
any xmaximum or ymaximum in effect.

This changes that so the original width and height are stored an
passed to the drag.
2019-02-17 14:39:18 -05:00
Tom Rothamel 00e71e3247 Merge pull request #1715 from Andykl/InputCopypaste
Added ability to input do copy paste
2019-02-17 12:32:06 -05:00
Andy_kl 4c0f25a53d Moved scrap calls to direct use 2019-02-17 20:30:57 +03:00
Tom Rothamel 482a3526df Merge pull request #1724 from Andykl/PlacementImprove
renpy.get_placement improve
2019-02-17 12:11:46 -05:00
Andy_kl 77dbe13a50 Doc last 2019-02-17 20:07:20 +03:00
Andy_kl ea305245f3 A small addition for renpy.get_placement 2019-02-17 20:06:01 +03:00
Tom Rothamel 2924a35b0d Merge pull request #1723 from Andykl/GetAttrsImprove
Added ability to specify if_hidden for renpy.get_attributes
2019-02-17 11:50:32 -05:00
Andy_kl d8b15aa717 Added ability to specify if_hidden for renpy.get_attributes 2019-02-17 19:48:55 +03:00
Tom Rothamel 13ef80181a Add a script to manage temporary tests. 2019-02-17 10:38:38 -05:00
Lee Yunseok fccac2a76f Merge pull request #16 from renpy/master
Keep going to latest
2019-02-17 18:22:09 +09:00
Lee Yunseok e04a38d417 Apply #30225b7 2019-02-17 18:20:21 +09:00
Tom Rothamel fc1392a0a3 Avoid displaying the CTC screen for 0 seconds. (As with {nw}.) 2019-02-16 18:09:36 -05:00
Tom Rothamel deedb038c2 Fix broken extend. 2019-02-16 17:59:19 -05:00
Tom Rothamel 31a0355299 Doc fix. 2019-02-16 17:53:13 -05:00
Tom Rothamel c243915cdb Document say with temporary attributes. 2019-02-16 13:59:25 -05:00
Tom Rothamel 27c6fe0e71 Update changelog. 2019-02-16 13:43:05 -05:00
Tom Rothamel 838d87ab66 Use the max_window_size in Preference
This makes sure that we can't create a window too big to fit on the
user's monitor.

It aso now highlights the Window preference when it's as big as it
can be, even if less than 100% of the game's size.

Fixes #1716.
2019-02-16 13:26:26 -05:00
Tom Rothamel 488a2ff7b8 Compute and store the maximum window size. 2019-02-16 13:24:49 -05:00
Tom Rothamel 5a2b42f0c4 Update credits. 2019-02-16 10:34:42 -05:00
Tom Rothamel ae138402ec Update sponsors. 2019-02-16 10:31:49 -05:00
Tom Rothamel 26f60f8b09 Do not show the ctc screen when interact=False. 2019-02-16 10:29:39 -05:00
Tom Rothamel 871bc9a9bb Allow the interact argument to be passed to a say-with-arguments. 2019-02-16 10:07:42 -05:00
Tom Rothamel 4c3891538a Document several lexer methods.
* .arguments
* .image_name_component
* .label_name
* .delimited_python
2019-02-16 09:52:07 -05:00
Tom Rothamel 7af27638a3 Do not begin a new rollback while in _after_load.
We don't want the after_load block to be a distinct part of the
game for the purpose of rollback, as it might come and go and
hence block roll-forward.

Fixes #1718.
2019-02-16 01:34:23 -05:00
Tom Rothamel fba8fb6cd7 Give a space segment an ascent of 1.
This prevents it from triggering a case that's meant for
DisplayableSegments. Fixes #1719.
2019-02-15 23:29:51 -05:00
Tom Rothamel bcf2734f53 Round up the size of the generated texture when doing a render-to-texture.
Having that extra pixel guarantees all the data is present, preventing
a blank (black or white) line from appearing at the bottom of the screen
during dissolves.
2019-02-15 21:31:22 -05:00
Tom Rothamel 80d4796c04 Fix translations after 30225b7de0 2019-02-14 22:34:03 -05:00
Tom Rothamel 8529993ffb Script for altering translations after minor text changes. 2019-02-14 22:33:32 -05:00
Tom Rothamel 718b0d7eb8 gc: Prevent reference counting loop through Render. 2019-02-14 02:42:36 -05:00
Tom Rothamel 21f654e559 gc: Avoid reference counting loop in ast.fix_missing_locations 2019-02-14 02:35:38 -05:00
Tom Rothamel a8c4c34782 gc: Fix reference loop in merge_slide. 2019-02-14 00:13:57 -05:00
Tom Rothamel 79a099315f Add temporary say attributes to the changelog. 2019-02-13 21:21:16 -05:00
Tom Rothamel 6136404adc Add window auto show and window auto hide statements. 2019-02-12 23:40:40 -05:00
Tom Rothamel 38de45259f Allow force_autosave to block until the save is done. 2019-02-12 20:20:04 -05:00
Tom Rothamel 331738b11f MoveTransition should indicate it creates a MultiBox with layers.
Some other part of Ren'Py will raise IgnoreLayers, and if the
root widget doesn't understand layers, this will be wrong.
2019-02-12 01:01:01 -05:00
Tom Rothamel dd6f482fcd Rewrite say attribute handling to support temporary attributes. 2019-02-11 23:12:01 -05:00
Tom Rothamel 9f770ce6fe Make the layer optional in most ShownImageInfo methods. 2019-02-11 23:12:01 -05:00
Beuc 75c6df852f doc: savelocation.sync() is for syncing HOME 2019-02-11 22:44:13 +01:00
Tom Rothamel 748228581b Merge pull request #1714 from shayneofficer/patch-2
Update tutorial_quickstart.rpy
2019-02-11 01:57:58 -05:00
Tom Rothamel b6ff60ac91 Merge pull request #1713 from shayneofficer/patch-1
Update examples.rpy
2019-02-11 01:57:51 -05:00
Tom Rothamel a2315537a3 Parse temporary image attributes as part of a say statement. 2019-02-10 21:28:25 -05:00
Andy_kl 2f7aea3bff Renamed keyword 2019-02-11 03:23:13 +03:00
Andy_kl a66f7f1716 Added doc 2019-02-11 02:47:33 +03:00
Andy_kl be28c4c8cb Added copypaste for console 2019-02-11 02:16:24 +03:00
Andy_kl 09e7296dac Added screenlang keywords 2019-02-11 02:15:12 +03:00
Andy_kl ed60700636 Initial 2019-02-11 02:15:04 +03:00
Shayne Officer 30225b7de0 Update tutorial_quickstart.rpy 2019-02-09 22:24:12 -06:00
Shayne Officer 0ba59c4a3c Update examples.rpy
Just fixing a typo, higlight to highlight
2019-02-09 22:15:10 -06:00
Tom Rothamel 0c6648cc69 Allow text images to participate in ruby layout.
Fixes #1704.
2019-02-09 12:49:50 -05:00
Tom Rothamel 3537d4df09 Update Pig Latin. 2019-02-08 08:26:00 -05:00
Tom Rothamel cfa1053331 Tweak formatting of the error handling screen. 2019-02-08 08:24:26 -05:00
Tom Rothamel 735f355aa9 Support copying errors/tracebacks via Markdown. 2019-02-08 08:20:42 -05:00
Tom Rothamel 88722c18dc Update the changelog. 2019-02-06 23:47:24 -05:00
Tom Rothamel b4a9d9e163 Optionally provide additional arguments to the ctc screen. 2019-02-06 23:31:12 -05:00
Tom Rothamel 54e8c63b3a Allow passing of arguments in a way that not all keyword arguments need be consumed.
The goal of this is to allow the transparent addition of new arguments
to screens, without the old screens needing to be updated.
2019-02-06 23:25:39 -05:00
Tom Rothamel de0d21b377 Do not quite the display on a resize.
Instead, we let set_mode do it if and when it proves necessary.
2019-02-06 10:28:07 -05:00
Tom Rothamel 3980e65920 Ignore spurious event when leaving fullscreen. 2019-02-06 02:59:05 -05:00
Tom Rothamel 6be0f498e4 Allow add_from to deal with calls to a local label.
Fixes #1709.
2019-02-05 17:36:40 -05:00
Tom Rothamel 957e79dd88 Make sure that the periodic thread can wait deadlocked.
Fixes a case where Ren'Py won't quit.
2019-02-05 02:05:31 -05:00
Tom Rothamel b33d61e52a Use the y coordinate to determine the baseline.
Fixes #1706 again.
2019-02-04 22:05:31 -05:00
Tom Rothamel f61dc75199 Document renpy.BASELINE. 2019-02-04 02:05:42 -05:00
Tom Rothamel b7a67d50ef Add yanchor renpy.BASELINE.
This lets us line the text's baseline up with other things.

Fixes #1706.
2019-02-03 23:55:03 -05:00
Tom Rothamel efe919e875 Predict images used by Movie. 2019-02-03 20:28:04 -05:00
Tom Rothamel 0aeba7e272 Add start_image to Movie.
This is an image that is displayed before the first frame of
the movie has been rendered.
2019-02-03 20:28:04 -05:00
Tom Rothamel e735f8a566 Merge pull request #1707 from xavi-mat/master
Doc fix: gui.font_size -> gui.text_size
2019-02-03 19:55:27 -05:00
xavi-mat a02b5347bf correction
gui.font_size -> gui.text_size
2019-02-03 22:29:21 +01:00
Tom Rothamel 408e5dc02b Ensure menu arguments always exist. 2019-02-02 10:31:41 -05:00
Tom Rothamel 0c5012f835 Clean up the renpysound api. 2019-02-01 23:47:46 -05:00
Tom Rothamel 7d1b9e2e80 Document renpysound.
This is intended to become a replaceable interface that can allow
for decoding of audio in a platform-specific manner.
2019-02-01 22:21:32 -05:00
Tom Rothamel 2ea71b8240 Update credits. 2019-01-31 23:33:35 -05:00
Tom Rothamel f0c304eb52 Fix typo. 2019-01-31 23:32:16 -05:00
Tom Rothamel d4ebdc2c2e Update keywords. 2019-01-31 23:21:48 -05:00
Tom Rothamel 32f373f8f8 Document menu set again. 2019-01-31 23:18:42 -05:00
Lee Yunseok a9e9344310 Merge pull request #15 from renpy/master
Keep going to latest
2019-01-31 06:04:59 +00:00
Tom Rothamel 2813e5ce01 Document menu arguments. 2019-01-31 00:31:28 -05:00
Tom Rothamel d584e370a1 Initialize the slideshow field on the gallery object. 2019-01-30 22:35:16 -05:00
Tom Rothamel ee28b54c6c menu: Filter item_arguments when a set is used. 2019-01-30 01:12:01 -05:00
Tom Rothamel 2b914b040f Boldly fix bug #1701.
Which pertained to say with menu arguments not removing the argument
corresponding to the menu caption.

Fixes #1701.
2019-01-29 23:15:28 -05:00
Tom Rothamel 5845ee32f8 Update changelog for 7.1.4. 2019-01-29 09:06:03 -05:00
Tom Rothamel 5ceb63ffec Merge pull request #1685 from Beuc/patch-1
Doc fixes
2019-01-28 21:34:00 -05:00
Tom Rothamel 1c4281923c Merge pull request #1689 from Beuc/patch-2
doc fix: layer_at_list -> show_layer_at
2019-01-28 21:33:49 -05:00
Tom Rothamel 61c3e38bb5 Avoid resizing a maximized window. 2019-01-28 01:45:46 -05:00
Tom Rothamel 9a38109af6 Change the FULLSCREEN flag, rather than closing and repopening video.
Fixes #1665, along with an update to pygame_sdl2.
2019-01-27 19:17:45 -05:00
Tom Rothamel d7cdc62eb8 Remain fullscreen when the mouse changes desktops. 2019-01-27 11:17:50 -05:00
Tom Rothamel 697a7906ef li: Groups now support the multiple attribute.
When given, the attributes are defined without the group - that
means that auto can be used to define multiple attributes, of
which any of them can be selected at once.
2019-01-27 01:23:55 -05:00
Tom Rothamel 4c59d32bea Add allow_duplicate_labels to be defined early. 2019-01-26 10:13:46 -05:00
Tom Rothamel 3c8fd80503 Add config.allow_duplicate_labels.
A variable that does what it says on the tin, allowing the same
variable to be defined twice in one script.
2019-01-25 23:38:40 -05:00
Tom Rothamel 80c7516e9a Check the name after running prior early python blocks. 2019-01-25 22:35:14 -05:00
Tom Rothamel 4242b7dab4 Fix creating a new file. 2019-01-25 19:08:24 -05:00
Tom Rothamel 136150b8e4 Set a default thumbnail size. 2019-01-25 11:27:49 -05:00
Tom Rothamel fde8daca3e Merge pull request #1698 from Beuc/patch-5
hw_video: use consistent platform testing
2019-01-24 08:32:26 -05:00
Tom Rothamel b8fe298e8e Automatically clear screenshots when a checkpoint occurs.
This is a compromise between the 6.99 and 7.x behavior. In the older
stuff, we would never automatically clear the screenshot, meaning
if a game called renpy.take_screenshot, it could grow stale.

In the newer behavior, we would clear it after each interaction,
even meanigless ones, like an implie with.

This uses renpy.checkpoint to clear the screenshot, which is a proxy
for the game state meaningfully advancing. In addition, this behavior
can be disabled by setting config.auto_clear_screenshot to False.

Fixes #1680.
2019-01-23 23:41:30 -05:00
Tom Rothamel beb82cc52a Merge pull request #1696 from Beuc/patch-3
Comment typo
2019-01-23 22:13:09 -05:00
Tom Rothamel e888f64795 Merge pull request #1697 from Beuc/patch-4
doc: hints for supported mobile video formats
2019-01-23 22:12:55 -05:00
Beuc 811977793d hw_video: use consistent platform testing 2019-01-23 18:13:37 +01:00
Beuc 185a3898d0 doc: hints for supported mobile video formats 2019-01-23 18:08:24 +01:00
Tom Rothamel 92e0375108 Allow the creator to configure the steam popup position.
Fixes #1686.
2019-01-22 22:10:28 -05:00
Beuc c741220b8b Comment typo 2019-01-23 01:10:58 +01:00
pionere 9c12fc9c06 shortcut for change_language 2019-01-22 09:39:01 +01:00
Tom Rothamel 2d9f3000a4 Fix inverted test in imagefonts. 2019-01-21 23:51:48 -05:00
Tom Rothamel f44796fd5b If an action argument isn't comparable, say it's not equal.
Fixes #1693.
2019-01-21 22:25:06 -05:00
Tom Rothamel 4c1fa7b36d Start input mode after setting the text rectangle. 2019-01-21 22:02:03 -05:00
Tom Rothamel 867e8ad144 Rename some of the gl2 files.
This allows static and semi-static linking, of the sort that we
do on Android and iOS.
2019-01-21 00:42:55 -05:00
Tom Rothamel e218adf0fd Allow arguments to be passed to individual menu choices.
This uses the syntax:

menu:
    "Choice 1" (1, color="#f00"):
        pass
    "Choice 2" (2, color="#0ff") if unlocked:
        pass
2019-01-20 18:37:35 -05:00
Tom Rothamel fe29d69ccb Add config.menu_arguments_callback.
This is something like config.say_arguments_callback, except for
menus.
2019-01-18 22:56:22 -05:00
Tom Rothamel 7d63a35734 Allow the menu statement to take arguments. 2019-01-18 22:40:04 -05:00
Beuc 3d7533552d doc fix: layer_at_list -> show_layer_at 2019-01-17 17:14:52 +01:00
Tom Rothamel b539e047ed Use the original list of items when checking the menu set.
Fixes #1688.
2019-01-17 02:02:20 -05:00
Tom Rothamel bcd35bd79e Drop version to 7.1.4.
As I plan to make a fix release before 7.2 hits.
2019-01-16 17:55:16 -05:00
Beuc bc49ab7d78 Doc fixes 2019-01-16 13:17:49 +01:00
Tom Rothamel 5eee3ba007 Cause a new rollback to begin if needed to match a rollforward.
Fixes #1671.
2019-01-15 23:22:37 -05:00
Tom Rothamel 6e6841c500 Add a loop parameter to Movie.
This makes it easy to display non-looping movies that stop when
they are done.
2019-01-15 23:22:37 -05:00
Tom Rothamel cb5fecc9b0 Merge pull request #1679 from mal/song-2
Fast im.Blur implementation
2019-01-15 21:59:30 -05:00
lee-yunseok cc4d33e213 Ko translation for the tutorial #1 2019-01-15 16:56:27 +09:00
lee-yunseok ed3d151916 optimized 2019-01-15 16:54:30 +09:00
Tom Rothamel d75828e35b Fix video fallback when not playing. 2019-01-15 01:29:07 -05:00
Lee Yunseok 9087ab53bd Merge pull request #14 from renpy/master
Keep going to latest
2019-01-15 15:27:10 +09:00
Tom Rothamel b1a5d587e7 launcher: Restore interface.error handling.
Per #1684.
2019-01-14 22:18:00 -05:00
Tom Rothamel da92428cb9 Handle errors downloading and parsing channels.json.
Fixes #1684.
2019-01-14 00:07:09 -05:00
Tom Rothamel cd47441420 steam: Re-set DYLD_INSERT_LIBRARIES before invoking Ren'Py proper.
This works around an issue in Steam where the injected libraries
change the variable to STEAM_DYLD_INSERT_LIBRARIES, which means
python never sees it and the overlay doesn't load.
2019-01-13 19:57:53 -05:00
Tom Rothamel f9deff6bc5 Update copyright for 2019. 2019-01-12 13:37:18 -05:00
Tom Rothamel 854c08f1a5 Automatically pick the copyright year. 2019-01-12 13:34:33 -05:00
Tom Rothamel 5e45ed9cf4 Add keyup and keydown modifiers. 2019-01-11 21:57:11 -05:00
Tom Rothamel 62637db772 Remove size / 2 limitation.
Fixes #1661.
2019-01-11 18:57:52 -05:00
Tom Rothamel c75855e7e5 On Android, read files out of the public directory.
Fixes #1664.
2019-01-10 22:24:41 -05:00
Tom Rothamel f2dcd5af8e Prevent a crash when generating a 9:16 screen.
Fixes #1682.
2019-01-10 22:24:08 -05:00
Tom Rothamel de67f53409 Include SDL_opengles2 when required. 2019-01-09 22:54:53 -05:00
Tom Rothamel 361787a3f3 Support clicking cancel in tkaskdir.
Fixes #1678.
2019-01-09 02:05:32 -05:00
Tom Rothamel 7cc5b5db73 Error out if an attribut isn't present on lint. 2019-01-08 23:43:44 -05:00
Tom Rothamel 2bd87a931f Add a flag to the displayable arguments if lint is happening. 2019-01-08 21:24:28 -05:00
Lee Yunseok 306d3b16a6 Merge pull request #13 from renpy/master
Keep going to latest
2019-01-08 13:53:39 +09:00
Mal Graty 3e73f0d8e9 Wire blur into renpy.display.im 2019-01-07 21:31:05 +00:00
Mal Graty 231daa4e60 Cython wrappers for linear and gaussian blurs 2019-01-07 21:31:05 +00:00
Mal Graty 920d21d518 Linear and gaussian blur implementations 2019-01-07 21:31:05 +00:00
Tom Rothamel 6ddd1f2234 menu: Do not create a ChoiceReturn when the value is None.
This restores the behavior of config.narrator_menu=False, at least for
games that use screens that support the old way of doing it.
2019-01-06 18:58:04 -05:00
Tom Rothamel 958a48199a Add the caret property to screen language. 2019-01-05 16:28:06 -05:00
Tom Rothamel 78bfc2c43d Display Movie's image argument if the movie stops playing.
Fixes #1677.
2019-01-04 22:46:38 -05:00
Tom Rothamel 83f6c56f0a Report an error if the displayable with id "what" doesn't have what as its text.
This detects a problem where the creator passed something else to
text, and had a hard-to-diagnose problem. ie:

    text ("!" + what) id "what"

will cause weird tag errors.
2019-01-03 19:56:31 -05:00
Lee Yunseok e04d2046de Merge pull request #12 from renpy/master
Keep going to latest
2019-01-01 17:33:40 +09:00
Tom Rothamel ee64a7b592 Remove TODO. 2018-12-31 23:52:48 -05:00
Tom Rothamel 26e582a70f tutorial: Update the French and Russian translations.
To include 1674.
2018-12-31 22:57:36 -05:00
Tom Rothamel 6896ad9bce Fix typo.
Fixes #1674.
2018-12-31 22:41:23 -05:00
Tom Rothamel 74ca5c9de8 Merge pull request #1675 from Beuc/patch-1
emscripten: tidy platform detection
2018-12-30 14:21:14 -05:00
Sylvain Beucler 8a327eacea emscripten: tidy platform detection 2018-12-30 18:42:16 +01:00
Tom Rothamel f25fcacd44 Clear the say attributes once they are consumed.
This prevents them from being re-consumed by empty_window if it's called.
2018-12-29 00:17:09 -05:00
Tom Rothamel 6445f3a9c5 Fix functions that are documented more than once.
Fixes #1669.
2018-12-23 00:05:35 -05:00
Tom Rothamel 90ba612afa Look for and report duplicate functions. 2018-12-22 22:48:54 -05:00
Tom Rothamel 6a5363f747 Import opengl through sdl2. 2018-12-18 10:34:40 -05:00
Tom Rothamel 3d2079f665 Ensure renpy.play can never loop a sound. 2018-12-11 22:13:17 -05:00
Tom Rothamel 372216ef08 Signal when data is written.
This is a rewrite of #1631, to put all the emscripten changes into
a single function.
2018-12-10 17:55:49 -05:00
Tom Rothamel 4ec44cf1ff Merge pull request #1660 from Beuc/patch-3
update_path: support static Python modules
2018-12-10 17:48:49 -05:00
Tom Rothamel e62bef8e6f Merge pull request #1662 from Beuc/patch-4
Remove unused import
2018-12-10 17:48:14 -05:00
Beuc 689cedd191 Remove unused import 2018-12-09 13:27:43 +01:00
Sylvain Beucler 475abc4218 update_path: support static Python modules 2018-12-08 14:55:32 +01:00
Tom Rothamel 863535cca4 Filter text tags when computer the length of AFM text.
Fixes #1659.
2018-12-04 22:09:45 -05:00
Tom Rothamel c7fb7a40df Do not pickle six. 2018-12-04 00:31:20 -05:00
Tom Rothamel ff81f1dc1a Merge pull request #1596 from wchill/py3_compat_exceptions
[Py3] Make exceptions both python2 and python3 compatible
2018-11-29 22:12:23 -05:00
Tom Rothamel d5248ad00d Merge pull request #1597 from wchill/use_print_function
[Py3] Use print function in pure python files
2018-11-29 22:12:09 -05:00
Tom Rothamel c34ca2acb4 Overwrite obsolete android packaging page.
Fixes renpy/rapt#7.
2018-11-28 01:15:27 -05:00
Tom Rothamel eb36cc693d Merge pull request #1653 from Beuc/patch-2
Explicitely close audio on quit
2018-11-27 18:29:56 -05:00
Tom Rothamel fc0328f609 Prevent a corrupt RPC file from taking down Ren'Py. 2018-11-26 20:46:54 -05:00
Tom Rothamel 6ad657ca30 Duplicate the child of a transform when the transform is duplicated.
Fixes #1654.
2018-11-25 23:07:31 -05:00
Beuc f779d3af59 Explicitely close audio on quit
With Emscripten, this tells the browser to stop calling the audio callback.
2018-11-25 13:14:41 +01:00
Tom Rothamel 89a116330a Make ftfont explicity mark glyphs as non-drawing.
Rather than using <0 width to imply it, which is a problem as fonts
seem to have 0 or negative width characters.

Fixes #1652.
2018-11-24 23:45:53 -05:00
Tom Rothamel 71ca7d3cb8 Merge pull request #1632 from Beuc/patch-7
emscripten: presplash specific handling
2018-11-24 20:45:33 -05:00
Tom Rothamel 211d35681f Merge pull request #1642 from Beuc/patch-2
audio: fix deadlock on quit
2018-11-24 20:45:03 -05:00
Tom Rothamel 18ad931283 Merge pull request #1651 from musiyenko/master
Fixed some typos
2018-11-23 22:36:55 -05:00
Tom Rothamel 005a524123 lint: Report screens that do not have parameter lists.
This should prevent people from making this mistake.
2018-11-23 10:08:03 -05:00
Sergey Musiyenko e9d30afc29 Fixed a typo 2018-11-22 14:48:42 +01:00
Sergey Musiyenko ee39d4cc73 Fixed a typo 2018-11-22 14:48:02 +01:00
Sergey Musiyenko 34e294e35c Fixed a typo 2018-11-22 14:47:14 +01:00
Sergey Musiyenko fd3f50d223 Fixed a typo 2018-11-22 14:45:51 +01:00
Tom Rothamel 4d7a93f09e Alow user statements to supply translation strings. 2018-11-22 01:09:21 -05:00
Tom Rothamel 0382e17b35 Better document reserved filenames. 2018-11-21 21:12:51 -05:00
Tom Rothamel 02b0627051 Shorten output that goes to the console.
Unless the creator chooses long output.
2018-11-20 23:30:35 -05:00
Lee Yunseok 6accdd39aa Merge pull request #11 from renpy/master
Latest
2018-11-20 21:34:17 +09:00
Tom Rothamel 373e6359f0 gl2: Remove non-NPOT textures. 2018-11-19 23:59:11 -05:00
Tom Rothamel 380f7824c5 gl2: egl2 -> gles2 renaming. 2018-11-19 11:31:50 -05:00
Tom Rothamel 6bd05879ce gl2: Allow the player to choose between gl2 and gles2 renderers.
This uses the same codebase and same modules, and just chooses by
asking OpenGL for the right kind of context at runtime.
2018-11-18 22:05:16 -05:00
Tom Rothamel fa6efc44a8 Bump version to 7.2.0. 2018-11-18 11:27:23 -05:00
Tom Rothamel e563889ef9 Merge branch 'gl2'. 2018-11-18 11:24:41 -05:00
Tom Rothamel f2376c02e8 Changelog 7.1.3. 2018-11-18 10:49:45 -05:00
Tom Rothamel ec9e1c2aa5 Bump version. 2018-11-18 01:20:03 -05:00
Tom Rothamel 6e880b2ba7 Fix incorrectly set default language. 2018-11-18 01:17:33 -05:00
Tom Rothamel 44e8dd8ab3 Remove the use of glew from the gl2 renderer. 2018-11-17 18:16:01 -05:00
Tom Rothamel 1943682bc6 Make gltexture use uguugl.
This also entailed some simplifications that make sense for modern
GL environments. We now exclusively use GL_RGBA, and we require the
third texture.
2018-11-17 18:09:09 -05:00
Tom Rothamel e43f8af2c3 gl2: Make glenviron_shader use uguugl. 2018-11-17 00:30:57 -05:00
Tom Rothamel ed342d27ac gl2: Make glrtt_fbo use uguugl. 2018-11-16 23:55:09 -05:00
Tom Rothamel c75ee1bf5f Merge branch 'master' into gl2 2018-11-16 21:28:01 -05:00
Beuc b42d2ab892 audio: fix deadlock on quit 2018-11-16 09:25:03 +01:00
Tom Rothamel 09002e2ef0 Update credits and changelog. 2018-11-15 22:59:58 -05:00
Tom Rothamel a876b05b10 Update sponsors doc. 2018-11-15 22:55:26 -05:00
Tom Rothamel 909258735f Fix translations. 2018-11-15 22:52:27 -05:00
Tom Rothamel 77ec342d5a Fix typo in source string. 2018-11-15 22:24:29 -05:00
Tom Rothamel 27d393af8a Check in obsolete.rpy files.
This is to prevent Ren'Py from causing problems if it deletes a
.rpy file when the .rpyc file is present, where the translation
is available in multiple files.
2018-11-15 22:21:47 -05:00
Tom Rothamel 871f361e16 Revert 3f474a4262 2018-11-15 22:21:16 -05:00
Tom Rothamel 3e9b85acfe Merge pull request #1640 from lee-yunseok/master
Fixes Korean translations for the latest launcher.
2018-11-15 21:35:41 -05:00
Tom Rothamel 3f474a4262 Merge pull request #1639 from Beuc/patch-1
Explicitely close audio on quit
2018-11-15 21:34:50 -05:00
Tom Rothamel 144d1b84ce Merge pull request #1638 from zedraxlo/master
chinese update, with new font
2018-11-15 21:17:08 -05:00
Lee Yunseok 6ebe6f429a Minor updates for the Korean translation. 2018-11-16 10:58:21 +09:00
Lee Yunseok 7a378931af Fix a mistake and add comments for android build tab. 2018-11-16 10:42:19 +09:00
Lee Yunseok f9cf932b67 Fix korean translations for the latest 2018-11-16 09:52:58 +09:00
Lee Yunseok 7222495537 Remove duplicate translations 2018-11-16 08:53:46 +09:00
Lee Yunseok c96ecd4bb5 Just remove whitespace 2018-11-16 08:34:56 +09:00
Lee Yunseok 42f399986f Fix korean translation 2018-11-16 08:27:24 +09:00
Lee Yunseok 1f14415c05 Merge pull request #10 from renpy/master
Latest
2018-11-16 05:55:48 +09:00
Beuc 2973209767 Explicitely close audio on quit
With Emscripten, this tells the browser to stop calling the audio callback.
2018-11-15 15:51:21 +01:00
zedraxlo 2a40cf1617 fix typo 2018-11-15 22:00:08 +08:00
zedraxlo 28f5980cae update chinese for "The Question"
tchinese just for test font.
2018-11-15 21:56:41 +08:00
zedraxlo 5a808ecb20 update language select for chinese 2018-11-15 21:54:17 +08:00
zedraxlo a45523559b Update style.rpy 2018-11-15 21:53:11 +08:00
zedraxlo b9051524e8 Update style.rpy 2018-11-15 21:52:52 +08:00
zedraxlo 2b4d3b7c68 Delete DroidSansFallback.ttf 2018-11-15 21:51:58 +08:00
zedraxlo ef2e2cc112 New font for chinese
SourceHanSans-Light-Lite, based on SourceHanSansCN-Light, which contain General specification Chinese table (China Mainland) 1st-order table (3500 characters) and Common Chinese character standard font table (Taiwan) (aka A-order table) (4808 characters), have already tested in "The Question" and launcher.
2018-11-15 21:51:21 +08:00
zedraxlo fc60b8d568 Merge pull request #2 from zedraxlo/patch-1
Patch 1
2018-11-15 21:44:04 +08:00
zedraxlo caa675948d Delete DroidSansFallback.txt 2018-11-15 21:42:35 +08:00
zedraxlo 0e7cb38637 Update screens.rpy 2018-11-15 18:09:46 +08:00
zedraxlo c169afb6f3 Update screens.rpy 2018-11-15 18:05:07 +08:00
zedraxlo 8578df7ca4 Update gui.rpy 2018-11-15 17:52:37 +08:00
zedraxlo e6a199e60b Update screens.rpy 2018-11-15 17:16:43 +08:00
zedraxlo 8612b3bf3b Update screens.rpy 2018-11-15 17:15:45 +08:00
zedraxlo dd82a2ffbb fix typo 2018-11-15 14:01:19 +08:00
Tom Rothamel 59f905327a Merge pull request #1636 from zedraxlo/master
SChinese update.
2018-11-15 00:56:22 -05:00
zedraxlo b22855e039 Merge pull request #1 from zedraxlo/patch-2
Patch 2
2018-11-15 13:52:15 +08:00
zedraxlo 2f4999fcbc Update options.rpy 2018-11-15 13:49:12 +08:00
zedraxlo e657fbe20b Delete obsolete.rpy 2018-11-15 13:42:14 +08:00
zedraxlo 8bbf879c68 Update launcher.rpy 2018-11-15 13:25:16 +08:00
zedraxlo 3635ffdedd fix typo 2018-11-15 12:43:01 +08:00
Tom Rothamel 71bbddf06b Automatic translation fixes. 2018-11-14 23:01:23 -05:00
Tom Rothamel 22bcfd5415 Merge pull request #1623 from lee-yunseok/master
Fix Korean typos in the launcher. Add Korean translation for The Question.
2018-11-14 22:59:23 -05:00
Tom Rothamel 8d3d5cbfc0 Merge branch 'master' into master 2018-11-14 22:59:09 -05:00
Tom Rothamel 2beb1b7ace Do not pass attributes to layerdimage children.
Chances are, the children will not understand the arguments,
and hence will error out.

Fixes #1635.
2018-11-14 22:52:32 -05:00
zedraxlo 20b09ba2f5 Update error.rpy 2018-11-15 11:39:51 +08:00
zedraxlo 96e5cb7457 Update developer.rpy 2018-11-15 11:29:38 +08:00
zedraxlo d5b98efce6 Update common.rpy 2018-11-15 11:24:18 +08:00
zedraxlo a5b8e1ff02 Update common.rpy 2018-11-15 11:14:37 +08:00
Tom Rothamel 99578871c5 Fix code typo.
Fixes #1634.
2018-11-13 20:58:25 -05:00
Tom Rothamel 88e9793cce Revert "Make sure we don't distribute gl2 by mistake."
This reverts commit 5df0bb9fbd.
2018-11-13 20:55:04 -05:00
Tom Rothamel c7c127ef04 Merge branch 'master' into gl2 2018-11-13 20:54:25 -05:00
Tom Rothamel 5df0bb9fbd Make sure we don't distribute gl2 by mistake. 2018-11-13 20:48:09 -05:00
Lee Yunseok 1bb5716b63 Salt 2018-11-13 16:44:53 +09:00
Lee Yunseok a812fc4f56 Minor fixes in the Korean translation. 2018-11-13 16:35:38 +09:00
Lee Yunseok edbccb3783 Fix Korean translation for The Question 2018-11-13 16:22:08 +09:00
Tom Rothamel 181d28e0e7 gl2: Convert gldraw.pyx to uguu. 2018-11-13 00:33:24 -05:00
Tom Rothamel c649ffe23b gl2: Build uguu as part of Ren'Py. 2018-11-12 00:56:17 -05:00
Tom Rothamel 4de956940f Add uguu to Ren'Py. 2018-11-11 22:23:48 -05:00
Tom Rothamel f9e9acedd5 gl2: Start work by copying over renpy.gl. 2018-11-11 13:18:31 -05:00
Lee Yunseok 7b24be5d29 Add Korean translation for The Question. 2018-11-11 16:10:52 +09:00
Tom Rothamel 664b1ff6ec Add renpy.skip_sounds. 2018-11-11 01:09:13 -05:00
Tom Rothamel 9c08339f9a Merge pull request #1630 from Beuc/patch-5
Fixes to French translation
2018-11-10 17:53:32 -05:00
Sylvain Beucler 35416aab22 emscripten: presplash specific handling 2018-11-10 21:23:50 +01:00
Sylvain Beucler 29e8269de7 Fixes to French translation
replicated from 53261a7a52
2018-11-10 20:01:48 +01:00
Tom Rothamel e2556bf9c4 Make pop_current_screen properly update the _current_screen. 2018-11-10 10:53:53 -05:00
Tom Rothamel b159a34e44 Elide the filename when assigning names to statements. 2018-11-09 17:47:50 -05:00
Tom Rothamel 63efa20467 Update the error handling styles at init 9999.
This allows the styles to change to deal with the actual size
of the screen.
2018-11-09 01:23:58 -05:00
Tom Rothamel 17b943693c Allow error handling hyperlink functions to be pickled.
Fixes #1626.
2018-11-09 01:16:54 -05:00
Tom Rothamel 8e09177b6e Ensure the full path to a directory exists in DirectoryPackage.
Fixes #1627.
2018-11-08 22:31:47 -05:00
Tom Rothamel ddaf9f3de3 Check in keywords. 2018-11-08 02:02:15 -05:00
Tom Rothamel 8900d6f3df Update changelog. 2018-11-07 20:48:46 -05:00
Tom Rothamel 2e2f2ea460 Merge pull request #1625 from Beuc/patch-4
Fixes to French translation
2018-11-07 20:28:39 -05:00
Tom Rothamel adb928e234 Merge pull request #1624 from Beuc/patch-3
Fix missing spaces in the_question's screens.rpy
2018-11-07 20:27:56 -05:00
Beuc 53261a7a52 Fixes to French translation 2018-11-07 17:06:17 +01:00
Beuc 2e6f61e673 Fix missing spaces in the_question's screens.rpy 2018-11-07 16:04:31 +01:00
Lee Yunseok afce996d0e Fix typo. 2018-11-07 20:10:15 +09:00
Lee Yunseok 170351a81a Merge pull request #9 from renpy/master
Keep going to latest...
2018-11-07 20:09:17 +09:00
Tom Rothamel 1392cd9dad Allow FilePageNext and FilePagePrevious to choose if they go to auto and quick.
Fixes #1621.
2018-11-07 02:09:49 -05:00
Tom Rothamel c2be31d5de Merge pull request #1622 from Andykl/Transalion_Fix
Fix typos in Russian translate
2018-11-06 12:24:38 -05:00
Andy_kl e419711493 Fix typos in Russian translate 2018-11-06 17:37:43 +03:00
Tom Rothamel c734c5cda1 Merge pull request #1619 from Andykl/Launcher_Adds
Updated working of input screen for launcher
2018-11-05 22:00:28 -05:00
Tom Rothamel bde048b359 Merge pull request #1620 from Andykl/Rework_variable_viewer
Added button which hides deleted variables to the Variable Viewer.
2018-11-04 18:50:08 -05:00
Tom Rothamel 9878ccec4b Store the game version in _version and the json. 2018-11-04 17:41:10 -05:00
Andy_kl 30d8911abf Added button which hides deleted variables to the Variable Viewer. 2018-11-04 23:57:23 +03:00
Tom Rothamel d9ab291a68 Move absolute into minstore and mark as pure. 2018-11-04 12:53:39 -05:00
Tom Rothamel 1bc29461d1 Movie can now take a single movie with color and mask data side by side.
This should prevent movie sprites from going out of sync, by
taking both the color and mask data from a single file.

Fixes #1515.
2018-11-03 17:39:40 -04:00
Tom Rothamel f2e62c571c Document that screens can take positional arguments. 2018-11-03 17:39:40 -04:00
Andy_kl 0208328307 Updated russian translate 2018-11-03 21:38:27 +03:00
Andy_kl 3ee71e9b0d Added text-tag comment for translators. 2018-11-03 21:37:42 +03:00
Andy_kl d83788fa23 Added uppercase letters for translation name 2018-11-03 20:58:21 +03:00
Andy_kl 3c2cebacef Added underscore and space in the names of projects and files 2018-11-03 20:54:17 +03:00
Tom Rothamel 834b9fa1d1 Define centerd and vcentered normally.
Fixes #1347.
2018-11-03 13:17:51 -04:00
Tom Rothamel 9dd55e7b66 Merge pull request #1618 from Andykl/Fix_1161
Fix #1161
2018-11-03 13:16:57 -04:00
Tom Rothamel 857a8a65a2 Update sponsor docs. 2018-11-03 13:04:35 -04:00
Andy_kl dc58e6e8c8 Revert "Fix #1161"
This reverts commit c6dd267772.
2018-11-03 20:00:47 +03:00
Andy_kl 7f8101e2ee Revert "Fix #1045"
This reverts commit c2895f465c.
2018-11-03 19:59:07 +03:00
Andy_kl f7b389a5bc Updated working of input screen 2018-11-03 09:52:07 +03:00
Andy_kl c2895f465c Fix #1045 2018-11-03 06:43:08 +03:00
Andy_kl 075ba4bc49 Fix #1347 2018-11-03 06:41:36 +03:00
Andy_kl c6dd267772 Fix #1161 2018-11-03 04:53:58 +03:00
Tom Rothamel 06443a5f2e Fix typo. 2018-11-02 17:15:29 -04:00
Tom Rothamel ed564397d2 Merge pull request #1615 from Andykl/Fix_Issues
Fix issues with quick_menu on phones and performance encoding.
2018-11-01 22:12:47 -04:00
Andy_kl 66ef5ba2cf Fix #1360 2018-11-01 20:47:17 +03:00
Andy_kl fed3430d76 Fix #1603 2018-11-01 19:12:25 +03:00
Tom Rothamel cca4bf016c Set the compatibility channel looping properly. 2018-10-31 23:34:10 -04:00
Tom Rothamel 432ba06a48 Fix audio crash in moonlight walks. 2018-10-30 23:17:44 -04:00
Tom Rothamel 92fb4098b2 Update changelog. 2018-10-30 22:48:22 -04:00
Tom Rothamel a4340f7798 Merge pull request #1574 from Andykl/Drag_Changes
Extension of the Drag'n'Drop functional
2018-10-30 21:52:18 -04:00
Tom Rothamel 80ec5ad31e Merge pull request #1584 from Andykl/UserStatement_change
Changes in register_statement
2018-10-30 21:52:00 -04:00
Tom Rothamel df4d653b86 Merge pull request #1600 from vollschauer/master
Add delay to renpy.sound.set_volume
2018-10-30 21:50:37 -04:00
Andy_kl bcfa6d126b Doc this 2018-10-31 03:39:34 +03:00
Tom Rothamel 92bd507781 Update the credits. 2018-10-30 00:18:36 -04:00
Tom Rothamel b6966bdc21 Update changelog. 2018-10-30 00:04:27 -04:00
Tom Rothamel 6f5c8975b6 Minor cleanups for the last PR. 2018-10-29 22:38:54 -04:00
Tom Rothamel 35b60303ff Merge pull request #1610 from Andykl/UserLanguage
Added stuff for autodetect language by user's locale
2018-10-29 22:21:08 -04:00
Tom Rothamel 969e269f4d Merge pull request #1611 from KosMos-pv/master
Add missing history_allow_tags set to tutorial and The question.
2018-10-29 21:53:09 -04:00
Konstantin Mozheyko 291af49bc9 Add missing history_allow_tags set to tutorial and The question. 2018-10-29 15:00:20 +02:00
Tom Rothamel ffa33a8f29 Merge pull request #1609 from Beuc/patch-2
emscripten: detect and start configuring accordingly
2018-10-28 23:48:57 -04:00
Tom Rothamel 10e3acf760 Merge pull request #1608 from Beuc/patch-1
Rename IMG_SavePNG* to avoid conflict with PygameSDL2's
2018-10-28 23:48:36 -04:00
Andy_kl 93a9b9deee Doc last 2018-10-29 06:41:51 +03:00
Tom Rothamel 37604894e4 Lint now properly checks images for existence, even in superset cases. 2018-10-28 23:35:58 -04:00
Andy_kl 67717ef9b7 Added configuration variables to control language autodetect. 2018-10-29 06:20:03 +03:00
Andy_kl 43534a758c Added function for detect user locale 2018-10-29 06:14:06 +03:00
Sylvain Beucler bf8e70485d emscripten: detect and start configuring accordingly 2018-10-28 21:51:35 +01:00
Sylvain Beucler b3af65d7ab Rename IMG_SavePNG* to avoid conflict with PygameSDL2's during static linking 2018-10-28 21:15:39 +01:00
Tom Rothamel 6b7260fe39 Report and error out on extraneous arguments.
Because of changes that have been made over the past few years,
it was possible to write:

    show eileen happy but with random attributes appended

And Ren'Py would take it. That was never intended, and this closes
off this case.
2018-10-28 00:59:16 -04:00
Tom Rothamel 4809c16cd9 lint: Have show deal with layeredimages.
It now considers the available attributes when checking the
image.

Fixes #1604.
2018-10-27 23:13:11 -04:00
Tom Rothamel df0e0086c7 Draw underline and strikethrough when a glyph's width is zero.
Fixes #1605.
2018-10-26 22:22:41 -04:00
Tom Rothamel abd01eb734 Create phone choice images.
Fixes renpy/rapt#16.
2018-10-25 21:22:05 -04:00
Tom Rothamel 4818e43632 Allow shift keys in the emulator.
This lets one do shift+I, to inspect styles in small or touch mode.
2018-10-25 21:17:58 -04:00
Tom Rothamel a3ed117153 Lower version to 7.1.2. 2018-10-24 21:26:30 -04:00
Tom Rothamel f73acbdf9f Merge pull request #1602 from ShehriyarQureshi/master
Add checks for tags that require value
2018-10-24 19:07:33 -04:00
Lee Yunseok 4df7cafe93 Merge pull request #8 from renpy/master
Keep going to latest
2018-10-24 22:14:22 +09:00
Shehriyar Qureshi 0b0c97e2ec Add checks for tags that require value
Some tags that require value, when supplied none, raise python's
exceptions which might be hard to interpret.

Added simple checks to those tags to see if the supplied value is
empty. Raises exception that is easier to read than the ones
Python raises.
2018-10-24 09:49:51 +05:00
Tom Rothamel ffbe373dbb Display the text tag and string when parsing a text tag fails.
Fixes #1598.
2018-10-23 22:30:14 -04:00
Tom Rothamel 3f0e21b174 Merge pull request #1599 from fblampe/master
translation: Translated more strings to German, fixed ellipses.
2018-10-22 18:39:05 -04:00
Unknown d521e79b46 Add delay to renpy.sound.set_volume 2018-10-21 20:17:24 +02:00
Tom Rothamel f725485412 Indicate we require a 64-bit Java. 2018-10-21 11:04:20 -04:00
Felix Lampe e7015b9b88 translation: Translated more strings to German, fixed ellipses. 2018-10-21 14:22:59 +02:00
Tom Rothamel 4b74d34580 gui: Add gui.choice_button_text_insensitive_color 2018-10-21 01:05:26 -04:00
Tom Rothamel 9ca2db8869 Document config.menu_include_disabled. 2018-10-21 00:34:23 -04:00
Tom Rothamel 274934d356 Compat menu actions. 2018-10-20 22:58:51 -04:00
Tom Rothamel 56fe28955a Add config.menu_include_disabled.
This causes Ren'Py to include disabled menu items as part of the
a menu, rather than removing them entirely.
2018-10-19 21:49:50 -04:00
Eric Ahn bb7759c9f3 Fix print in remaining files 2018-10-19 13:45:00 -07:00
Eric Ahn 7415ca19f8 Use print function in pure python files 2018-10-19 12:56:58 -07:00
Eric Ahn d542b05287 Make exceptions both python2 and python3 compatible 2018-10-19 12:13:14 -07:00
Tom Rothamel ba06e9538b Add requirements to the documentation. 2018-10-18 21:05:31 -04:00
Tom Rothamel e117adb219 Clear kwargs and args from being set inappropriatey.
This is an attempt to fix a bug in Planet Stronghold 2 that was
caused by kwargs being set when it should not have been.
2018-10-18 00:50:33 -04:00
Tom Rothamel 27aa12a5f0 Include the current Ren'Py version in a savefile. 2018-10-17 11:14:35 -04:00
Tom Rothamel 25c39eebf9 Changelog last. 2018-10-17 02:01:56 -04:00
Tom Rothamel 4b4aa38455 Add SetLocalVariable and ToggleLocalVariable
These make it possible to set variables in the local context of a
used screen.
2018-10-16 21:47:47 -04:00
Tom Rothamel c468f8c60e ShowIf should not pass focus when it's hiding.
Fixes #1592.
2018-10-15 23:16:37 -04:00
Tom Rothamel 1d8643045a Merge pull request #1594 from Andykl/Directly_At
Added the ability to specify a transform directly in the SL
2018-10-14 08:38:14 -04:00
Tom Rothamel 51e79498f0 Merge pull request #1577 from Andykl/Displayable_Changes
Avoid skipping displayables with redefined __bool__
2018-10-13 19:37:48 -04:00
Tom Rothamel 06590beca2 Merge pull request #1593 from XelaPy/patch-1
Adds "transpose" keyword to SL2 vpgrid.
2018-10-13 09:39:46 -04:00
Andy_kl 496d5d1c14 Doc for this 2018-10-13 16:18:30 +03:00
Tom Rothamel 96a6f9556c Start the 7.1.2 changelog. 2018-10-12 23:16:44 -04:00
Andy_kl 1ae6255301 Move creating ATLTransform in SLBlock 2018-10-12 21:45:20 +03:00
Andy_kl 207c9ad79b Mark constant for atl_transform 2018-10-12 19:12:18 +03:00
Andy_kl 788ee0399a Rework it 2018-10-12 19:01:01 +03:00
Andy_kl ee1027a8da Added the ability to specify a transform directly in the SL 2018-10-12 18:09:32 +03:00
Xela b3a528ddcc Adds "transpose" keyword to SL2 vpgrid.
Fixes #1560
2018-10-12 15:31:42 +03:00
Tom Rothamel 19204d0f82 Force the size of FriBidiChr to 4 bytes on all problems.
Fixes a problem where on windows it was corrupting RTL text into
garbage.
2018-10-12 01:41:52 -04:00
Lee Yunseok b9a0975a71 Merge pull request #7 from renpy/master
Keep going to latest
2018-10-09 06:00:42 +09:00
Lee Yunseok 7dc4f335eb Merge pull request #6 from renpy/master
Keep going to latest
2018-10-01 18:15:05 +09:00
Andy_kl 1789b5a2ca More correctly check of the block value 2018-09-29 20:50:32 +03:00
Andy_kl bc121ac0cc Added "possible" value for block argument 2018-09-29 20:27:50 +03:00
Andy_kl a2e8a536b4 Added init_priority for register_statement 2018-09-29 20:07:29 +03:00
Andy_kl a6a97a3f4f Avoid skipping displayables with redefined __bool__ 2018-09-22 11:36:32 +03:00
Andy_kl 715899ade4 Added drop_allowable property for Drag class 2018-09-20 07:13:49 +03:00
Andy_kl d829d1ab2f Added min_overlap property 2018-09-20 04:51:16 +03:00
Andy_kl 2069612eff Fix typo 2018-09-20 04:11:30 +03:00
Joshua Fehler f82c2e9f28 Replace 'open()' with 'with open()' 2018-02-25 13:41:50 -05:00
721 changed files with 138799 additions and 29736 deletions
+27
View File
@@ -1,3 +1,15 @@
# macOS-related files
.DS_Store
.AppleDouble
.LSOverride
# Windows-related files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
[Dd]esktop.ini
*.rpyc
*.rpyb
*.rpymc
@@ -31,8 +43,12 @@ styles.txt
/*testing*
/screenshot*
/renpy.exe
/renpy-32.exe
/renpy.sh
/lib
/lib.old
/lib2
/lib3
/doc
/.pydevproject
/.pydevproject.bak
@@ -82,3 +98,14 @@ sphinx/source/inc
sphinx/source/thequestion.rst
tutorial/game/tutorial_director.rpy
launcher/theme
module/emscripten-static/
web/
cubism
glexperiment
live2d
rapt2
rapt3
renios2
renios3
notarized
+13 -6
View File
@@ -52,7 +52,7 @@ 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-turbo8-dev
libsdl2-mixer-dev libsdl2-ttf-dev libjpeg-dev
We strongly suggest installing the Ren'Py modules into a Python
virtualenv. To create a new virtualenv, open a new terminal and run::
@@ -63,9 +63,9 @@ To return to this virtualenv later, run::
workon renpy
After activating the virtualenv, install cython::
After activating the virtualenv, install cython, future, and six::
pip install -U cython
pip install -U cython future six
Then, install pygame_sdl2 by running the following commands::
@@ -80,7 +80,7 @@ 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/x86_64-linux-gnu/"
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
@@ -104,7 +104,7 @@ Building
Building the documentation requires Ren'Py to work. You'll either need to
link in a nightly build, or compile the modules as described above. You'll
also need the `Sphinx <http://sphinx-doc.org/>`_ documentation generator.
also need the `Sphinx <https://www.sphinx-doc.org>`_ documentation generator.
If you have pip working, install Sphinx using::
pip install -U sphinx
@@ -124,7 +124,7 @@ not edit the files in sphinx/source/inc directly, as they will be overwritten.
Docstrings may include tags on the first few lines:
\:doc: `section` `kind`
Indicates that this functions should be documented. `section` gives
Indicates that this function should be documented. `section` gives
the name of the include file the function will be documented in, while
`kind` indicates the kind of object to be documented (one of ``function``,
``method`` or ``class``. If omitted, `kind` will be auto-detected.
@@ -164,3 +164,10 @@ Contributing
For bug fixes, documentation improvements, and simple changes, just
make a pull request. For more complex changes, it might make sense
to file an issue first so we can discuss the design.
License
=======
For the complete licensing terms, please read:
https://www.renpy.org/doc/html/license.html
+10
View File
@@ -33,3 +33,13 @@ language, this means native words take precedence over loanwords if and only if
both native and loanwords exist and both are suitable in the context of use.
* Muhammad Nur Hidayat (MNH48) <translation@mnh48.moe>
Turkish
---------
Translation to the Turkish language. Some terms and abbreviations (especially
those related to coding) are deliberately left untranslated (or the original words
are provided in brackets) to avoid confusion, relying on their common use in
Turkish language and among Turkish developers.
* Arda Güler (WKFO) <ardaguler09@gmail.com>
+3 -7
View File
@@ -6,14 +6,13 @@ import os
import subprocess
import sys
from renpy import version_tuple # @UnresolvedImport
from renpy import version_tuple # @UnresolvedImport
SOURCE = [
"/home/tom/ab/renpy",
"/home/tom/ab/android/",
"/home/tom/ab/ripe/renios",
"/home/tom/ab/renpy-deps",
"/home/tom/ab/renpy-build",
"/home/tom/ab/pygame_sdl2",
"/home/tom/ab/renpyweb",
]
version = ".".join(str(i) for i in version_tuple)
@@ -94,7 +93,6 @@ if tag:
subprocess.check_call([ "git", "tag", "-a", tag, "-m", "Tagging Ren'Py + " + version + " release." ])
os.chdir("/home/tom/ab/renpy/dl")
for i in links:
@@ -102,11 +100,9 @@ for i in links:
os.unlink(i)
os.symlink(short_version, i)
os.chdir("/home/tom/ab/website")
subprocess.check_call("./upload.sh")
os.chdir("/home/tom/ab/renpy/sphinx")
if args.release:
subprocess.check_call("./upload.sh")
+1
View File
@@ -12,4 +12,5 @@ if [ "$1" != "" ]; then
ln -s "$1/lib" "$ROOT/lib"
ln -s "$1/renpy.app" "$ROOT"
ln -s "$1/renpy.exe" "$ROOT"
ln -s "$1/renpy.sh" "$ROOT"
fi
+30 -16
View File
@@ -9,6 +9,13 @@ import compileall
import shutil
import subprocess
import argparse
import time
try:
# reload is built-in in Python 2, in importlib in Python 3
reload
except NameError:
from importlib import reload
if not sys.flags.optimize:
raise Exception("Optimization disabled.")
@@ -22,27 +29,24 @@ def copy_tutorial_file(src, dest):
"# end-tutorial-only" comments are omitted from the copy.
"""
sf = open(src, "rb")
df = open(dest, "wb")
# True if we want to copy the line.
copy = True
for l in sf:
if "# tutorial-only" in l:
copy = False
elif "# end-tutorial-only" in l:
copy = True
else:
if copy:
df.write(l)
sf.close()
df.close()
with open(src, "rb") as sf, open(dest, "wb") as df:
for l in sf:
if "# tutorial-only" in l:
copy = False
elif "# end-tutorial-only" in l:
copy = True
else:
if copy:
df.write(l)
def main():
start = time.time()
if not sys.flags.optimize:
raise Exception("Not running with python optimization.")
@@ -54,6 +58,8 @@ def main():
ap.add_argument("--variant", action="store")
ap.add_argument("--sign", action="store_true", default=True)
ap.add_argument("--nosign", action="store_false", dest="sign")
ap.add_argument("--notarized", action="store_true", dest="notarized")
ap.add_argument("--vc-version-only", action="store_true")
args = ap.parse_args()
@@ -86,6 +92,9 @@ def main():
with open("renpy/vc_version.py", "w") as f:
f.write("vc_version = {}".format(vc_version))
if args.vc_version_only:
return
try:
reload(sys.modules['renpy.vc_version']) # @UndefinedVariable
except:
@@ -171,6 +180,12 @@ def main():
destination,
]
if args.notarized:
cmd.extend([
"--macapp",
"notarized/out",
])
print()
subprocess.check_call(cmd)
@@ -246,8 +261,7 @@ def main():
print()
if not (args.fast or args.sign):
print("For a final-ish release, remember to use --sign so we're signed on the mac.")
print("Distribute took {:.0f} seconds.".format(time.time() - start))
if __name__ == "__main__":
+3 -2
View File
@@ -212,6 +212,7 @@ define gui.choice_button_text_size = gui.text_size
define gui.choice_button_text_xalign = 0.5
define gui.choice_button_text_idle_color = "#cccccc"
define gui.choice_button_text_hover_color = "#ffffff"
define gui.choice_button_text_insensitive_color = "#444444"
## File Slot Buttons ###########################################################
@@ -434,8 +435,8 @@ init python:
## Adjust the location of the textbox.
gui.textbox_height = gui.scale(240)
gui.name_xpos = gui.scale(80)
gui.text_xpos = gui.scale(90)
gui.text_width = gui.scale(1100)
gui.dialogue_xpos = gui.scale(90)
gui.dialogue_width = gui.scale(1100)
## Change the size and spacing of various things.
gui.slider_size = gui.scale(36)
-6
View File
@@ -199,12 +199,6 @@ init python:
build.documentation('*.html')
build.documentation('*.txt')
## Set this to a string containing your Apple Developer ID Application
## to enable codesigning on the Mac. Be sure to change it to your own
## Apple-issued ID.
# define build.mac_identity = "Developer ID Application: Guy Shy (XHTE5H7Z42)"
## 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
+18 -23
View File
@@ -323,12 +323,14 @@ screen navigation():
textbutton _("About") action ShowMenu("about")
if renpy.variant("pc"):
if renpy.variant("pc") or (renpy.variant("web") and not renpy.variant("mobile")):
## Help isn't necessary or relevant to mobile devices.
textbutton _("Help") action ShowMenu("help")
## The quit button is banned on iOS and unnecessary on Android.
if renpy.variant("pc"):
## The quit button is banned on iOS and unnecessary on Android and Web.
textbutton _("Quit") action Quit(confirm=not main_menu)
@@ -564,10 +566,6 @@ screen about():
text _("Made with {a=https://www.renpy.org/}Ren'Py{/a} [renpy.version_only].\n\n[renpy.license!t]")
## This is redefined in options.rpy to add text to the about screen.
define gui.about = ""
style about_label is gui_label
style about_label_text is gui_label_text
style about_text is gui_text
@@ -725,7 +723,7 @@ screen preferences():
hbox:
box_wrap True
if renpy.variant("pc"):
if renpy.variant("pc") or renpy.variant("web"):
vbox:
style_prefix "radio"
@@ -843,7 +841,7 @@ style radio_vbox:
style radio_button:
properties gui.button_properties("radio_button")
foreground "gui/button/check_[prefix_]foreground.png"
foreground "gui/button/radio_[prefix_]foreground.png"
style radio_button_text:
properties gui.button_text_properties("radio_button")
@@ -921,7 +919,7 @@ screen history():
## This determines what tags are allowed to be displayed on the history
## screen.
define gui.history_allow_tags = set()
define gui.history_allow_tags = { "alt", "noalt" }
style history_window is empty
@@ -1421,16 +1419,18 @@ screen quick_menu():
zorder 100
hbox:
style_prefix "quick"
if quick_menu:
xalign 0.5
yalign 1.0
hbox:
style_prefix "quick"
textbutton _("Back") action Rollback()
textbutton _("Skip") action Skip() alternate Skip(fast=True, confirm=True)
textbutton _("Auto") action Preference("auto-forward", "toggle")
textbutton _("Menu") action ShowMenu()
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")
textbutton _("Menu") action ShowMenu()
style window:
@@ -1439,7 +1439,7 @@ style window:
style radio_button:
variant "small"
foreground "gui/phone/button/check_[prefix_]foreground.png"
foreground "gui/phone/button/radio_[prefix_]foreground.png"
style check_button:
variant "small"
@@ -1512,8 +1512,3 @@ style slider_pref_vbox:
style slider_pref_slider:
variant "small"
xsize gui.scale(600)
+2 -2
View File
@@ -996,14 +996,14 @@ def GetArgv(optionlist=None, commandlist=None, addoldfile=1, addnewfile=1, addfo
if item[0] == '"':
while item[-1] != '"':
if not tmplist:
raise RuntimeError, "Unterminated quoted argument"
raise RuntimeError("Unterminated quoted argument")
item = item + ' ' + tmplist[0]
del tmplist[0]
item = item[1:-1]
if item[0] == "'":
while item[-1] != "'":
if not tmplist:
raise RuntimeError, "Unterminated quoted argument"
raise RuntimeError("Unterminated quoted argument")
item = item + ' ' + tmplist[0]
del tmplist[0]
item = item[1:-1]
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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 -16
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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,24 +23,34 @@ label add_file:
python hide:
import os
import codecs
filename = ""
while True:
filename = interface.input(
_("FILENAME"),
_("Enter the name of the script file to create."),
allow=interface.FILENAME_LETTERS,
cancel=Jump("navigation"),
default=filename,
)
filename = filename.strip()
if not filename:
interface.error(_("The file name may not be empty."), label=None)
continue
filename = interface.input(_("FILENAME"), _("Enter the name of the script file to create."), filename="withslash", cancel=Jump("navigation"))
if "." in filename and not filename.endswith(".rpy"):
interface.error(_("The filename must have the .rpy extension."), label=None)
continue
elif "." not in filename:
filename += ".rpy"
if "." in filename and not filename.endswith(".rpy"):
interface.error(_("The filename must have the .rpy extension."), label="navigation")
elif "." not in filename:
filename += ".rpy"
path = os.path.join(project.current.gamedir, filename)
dir = os.path.dirname(path)
path = os.path.join(project.current.gamedir, filename)
dir = os.path.dirname(path)
if os.path.exists(path):
interface.error(_("The file already exists."), label=None)
continue
if os.path.exists(path):
interface.error(_("The file already exists."), label="navigation")
contents = u"\uFEFF"
contents += _("# Ren'Py automatically loads all script files ending with .rpy. To use this\n# file, define a label and jump to it from another file.\n")
contents += "\n"
break
try:
os.makedirs(dir)
@@ -54,4 +64,3 @@ label add_file:
f.write(contents.encode("utf-8"))
jump navigation_refresh
+4 -4
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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
@@ -28,7 +28,7 @@ init python:
ANDROID_OK = 5
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 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=http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html}download and install the JDK{/a}, 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_CONFIG_TEXT = _("The current project has not been configured. Use \"Configure\" to configure it before building.")
@@ -162,7 +162,7 @@ init python:
filename = os.path.join(p.path, ".android.json")
with open(filename, "r") as f:
with open(filename, "rb") as f:
android_json = json.load(f)
old_android_json = dict(android_json)
@@ -183,7 +183,7 @@ init python:
if android_json != old_android_json:
with open(filename, "w") as f:
with open(filename, "wb") as f:
json.dump(android_json, f)
+8 -5
View File
@@ -17,7 +17,8 @@ init python hide:
__("The build seems to have failed.")
__("Launching app.")
__("The build seems to have succeeded.")
__("The armeabi-v7a version works on most phones on tablets, while the x86_64 version works on the simulator and chromebooks.")
__("The arm64-v8a version works on newer Android devices, the armeabi-v7a version works on older devices, and the x86_64 version works on the simulator and chromebooks.")
__("The universal version works everywhere but is larger.")
__("What is the full name of your application? This name will appear in the list of installed applications.")
__("What is the short name of your application? This name will be used in the launcher, and for application shortcuts.")
__("What is the name of the package?\n\nThis is usually of the form com.domain.program or com.domain.email.program. It may only contain ASCII letters and dots. It must contain at least one dot.")
@@ -41,16 +42,17 @@ init python hide:
__("Both, in one app.")
__("Neither.")
__("Would you like to create an expansion APK?")
__("Automatically installing expansion APKs {a=https://issuetracker.google.com/issues/160942333}may not work on Android 11{/a}.")
__("No. Size limit of 100 MB on Google Play, but can be distributed through other stores and sideloaded.")
__("Yes. 2 GB size limit, but won't work outside of Google Play. (Read the documentation to get this to work.)")
__("Do you want to allow the app to access the Internet?")
__("Do you want to automatically update the generated project?")
__("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\nhttp://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html\n\nThe JDK is different from the JRE, so it's possible you have Java without having the JDK. Without 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\nhttp://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html\n\nYou can also set the JAVA_HOME environment variabe 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\nhttps://adoptopenjdk.net/?variant=openjdk8&jvmVariant=hotspot\n\nThe JDK is different from the JRE, so it's possible you have Java without having the JDK. Without 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\nhttps://adoptopenjdk.net/?variant=openjdk8&jvmVariant=hotspot\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?")
@@ -59,12 +61,13 @@ init python hide:
__("I've finished unpacking the Android SDK.")
__("I'm about to download and install the required Android packages. This might take a while.")
__("I was unable to accept the Android licenses.")
__("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.")
__("You set the keystore yourself, so I'll assume it's how you want it.")
__("You've already created an Android keystore, so I won't create a new one for you.")
__("I can create an application signing key for you. Signing an application with this key allows it to be placed in the Android Market and other app stores.\n\nDo you want to create a key?")
__("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\n\You 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?")
__("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?")
__("Please enter your name or the name of your organization.")
__("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.")
+4 -3
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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
@@ -28,8 +28,9 @@ init python in archiver:
import sys
import random
import glob
import zlib
from cPickle import dumps, HIGHEST_PROTOCOL
from pickle import dumps, HIGHEST_PROTOCOL
class Archive(object):
@@ -76,7 +77,7 @@ init python in archiver:
indexoff = self.f.tell()
self.f.write(dumps(self.index, HIGHEST_PROTOCOL).encode("zlib"))
self.f.write(zlib.compress(dumps(self.index, HIGHEST_PROTOCOL)))
self.f.seek(0)
self.f.write(b"RPA-3.0 %016x %08x\n" % (indexoff, self.key))
File diff suppressed because it is too large Load Diff
+52 -46
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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,7 +19,6 @@
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# http://www.csn.ul.ie/~caolan/publink/winresdump/winresdump/doc/pefile.html
# Contains a reasonable description of the format.
@@ -28,7 +27,7 @@ from __future__ import print_function
import struct
import sys
import array
import pefile # @UnresolvedImport
import pefile # @UnresolvedImport
# This class performs various operations on memory-loaded binary files,
# including modifications.
@@ -37,24 +36,24 @@ import pefile # @UnresolvedImport
class BinFile(object):
def set_u32(self, addr, value):
self.a[addr+0] = (value >> 0) & 0xff
self.a[addr+1] = (value >> 8) & 0xff
self.a[addr+2] = (value >> 16) & 0xff
self.a[addr+3] = (value >> 24) & 0xff
self.a[addr + 0] = (value >> 0) & 0xff
self.a[addr + 1] = (value >> 8) & 0xff
self.a[addr + 2] = (value >> 16) & 0xff
self.a[addr + 3] = (value >> 24) & 0xff
def u32(self):
addr = self.addr
rv = self.a[addr]
rv |= self.a[addr+1] << 8
rv |= self.a[addr+2] << 16
rv |= self.a[addr+3] << 24
rv |= self.a[addr + 1] << 8
rv |= self.a[addr + 2] << 16
rv |= self.a[addr + 3] << 24
self.addr += 4
return rv
def u16(self):
addr = self.addr
rv = self.a[addr]
rv |= self.a[addr+1] << 8
rv |= self.a[addr + 1] << 8
self.addr += 2
return rv
@@ -78,8 +77,8 @@ class BinFile(object):
def tostring(self):
return self.a.tostring()
def substring(self, start, len): # @ReservedAssignment
return self.a[start:start+len].tostring()
def substring(self, start, len): # @ReservedAssignment
return self.a[start:start + len].tostring()
def __init__(self, data):
self.a = array.array(b'B')
@@ -89,6 +88,7 @@ class BinFile(object):
# These functions parse data out of the file. In these functions, offset is
# relative to the start of the file.
# The virtual address of the resource segment.
resource_virtual = 0
@@ -116,10 +116,10 @@ def parse_data(bf, offset):
def parse_directory(bf, offset):
bf.seek(offset)
char = bf.u32() # @UnusedVariable
timedate = bf.u32() # @UnusedVariable
major = bf.u16() # @UnusedVariable
minor = bf.u16() # @UnusedVariable
char = bf.u32() # @UnusedVariable
timedate = bf.u32() # @UnusedVariable
major = bf.u16() # @UnusedVariable
minor = bf.u16() # @UnusedVariable
n_named = bf.u16()
n_id = bf.u16()
@@ -241,7 +241,7 @@ class Packer(object):
def load_icon(fn):
f = BinFile(file(fn, "rb").read())
f = BinFile(open(fn, "rb").read())
f.seek(0)
f.u16()
@@ -301,9 +301,10 @@ def change_icons(oldexe, icofn):
physize = rsrc_section.SizeOfRawData
virsize = rsrc_section.Misc_VirtualSize
f = file(oldexe, "rb")
f.seek(base)
f = open(oldexe, "rb")
basedata = f.read(base)
data = f.read(physize)
f.close()
bf = BinFile(data)
@@ -315,44 +316,49 @@ def change_icons(oldexe, icofn):
rsrc = Packer().pack(resources)
alignment = pe.OPTIONAL_HEADER.SectionAlignment
# print "Alignment is", alignment
if len(rsrc) % alignment:
pad = alignment - (len(rsrc) % alignment)
padding = b"RENPYVNE" * (pad / 8 + 1)
padding = padding[:pad]
rsrc += padding
newsize = len(rsrc)
rsrc_section.Misc_VirtualSize += newsize - virsize
rsrc_section.Misc_PhysicalAddress += newsize - virsize
rsrc_section.Misc += newsize - virsize
rsrc_section.SizeOfRawData += newsize - physize
if newsize < physize:
pe.OPTIONAL_HEADER.SizeOfInitializedData += newsize - physize
while len(rsrc) < physize:
rsrc = rsrc + rsrc
# Resource size.
pe.OPTIONAL_HEADER.DATA_DIRECTORY[2].Size += newsize - virsize
rsrc = rsrc[:physize]
# Compute the total size of the image.
total_size = 0
return basedata + rsrc
for i in pe.sections:
else:
sec_size = i.Misc_VirtualSize
sec_size = sec_size - (sec_size % alignment) + alignment
alignment = pe.OPTIONAL_HEADER.SectionAlignment
total_size += sec_size
# print("Alignment is", alignment)
pe.OPTIONAL_HEADER.SizeOfImage = total_size
if len(rsrc) % alignment:
pad = alignment - (len(rsrc) % alignment)
padding = b"\0" * (pad / 8 + 1)
padding = padding[:pad]
rsrc += padding
newsize = len(rsrc)
delta = newsize - physize
rsrc_section.Misc_VirtualSize += delta
rsrc_section.Misc_PhysicalAddress += delta
rsrc_section.Misc += delta
rsrc_section.SizeOfRawData += delta
pe.OPTIONAL_HEADER.SizeOfInitializedData += delta
# Resource size.
pe.OPTIONAL_HEADER.DATA_DIRECTORY[2].Size += delta
pe.OPTIONAL_HEADER.SizeOfImage += delta
return pe.write()[:base] + rsrc
return pe.write()[:base] + rsrc
if __name__ == "__main__":
f = file(sys.argv[3], "wb")
f = open(sys.argv[3], "wb")
f.write(change_icons(sys.argv[1], sys.argv[2]))
f.close()
+59 -5
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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,8 +19,25 @@
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
init python:
if renpy.windows:
import EasyDialogsWin as EasyDialogs
else:
EasyDialogs = None
pyobjus = None
if renpy.macintosh:
try:
import pyobjus
except:
pass
def directory_is_writable(path):
test = os.path.join(path, "renpy test do not use")
@@ -51,6 +68,7 @@ init python:
if path:
default_path = path
path = None
else:
try:
default_path = os.path.dirname(os.path.abspath(config.renpy_base))
@@ -66,11 +84,46 @@ init python:
else:
path = None
elif pyobjus:
from pyobjus import autoclass
from pyobjus.dylib_manager import load_framework, INCLUDE
load_framework(INCLUDE.AppKit)
NSURL = autoclass('NSURL')
NSOpenPanel = autoclass('NSOpenPanel')
panel = NSOpenPanel.openPanel()
panel.setCanChooseDirectories_(True)
panel.setCanChooseFiles_(False)
panel.setCanCreateDirectories_(True)
if default_path:
url = NSURL.fileURLWithPath_(default_path)
panel.setDirectoryURL_(url)
if panel.runModal():
path = panel.filename().UTF8String().decode("utf-8")
else:
path = None
else:
try:
cmd = [ "/usr/bin/python", os.path.join(config.gamedir, "tkaskdir.py"), renpy.fsencode(default_path) ]
if renpy.macintosh:
# tkinter is broken on Python 3, so use it as a last resort - maybe apple fixed it?
system_pythons = [ "/usr/bin/python2", "/usr/bin/python", "/usr/bin/python3" ]
else:
system_pythons = [ "/usr/bin/python3", "/usr/bin/python2", "/usr/bin/python" ]
for system_python in system_pythons:
if os.path.exists(system_python):
break
else:
system_python = system_pythons[0]
cmd = [ system_python, os.path.join(config.gamedir, "tkaskdir.py"), renpy.fsencode(default_path) ]
p = subprocess.Popen(cmd, stdout=subprocess.PIPE)
choice = p.stdout.read()
@@ -84,17 +137,18 @@ init python:
choice = ""
path = None
interface.error(_("Ren'Py was unable to run python with tkinter to choose the directory. Please install the python-tk or tkinter package."), label=None)
interface.error(_("Ren'Py was unable to run python with tkinter to choose the directory. Please install the python3-tk or tkinter package."), label=None)
if code:
interface.error(_("Ren'Py was unable to run python with tkinter to choose the directory. Please install the python-tk or tkinter package."), label=None)
interface.error(_("Ren'Py was unable to run python with tkinter to choose the directory. Please install the python3-tk or tkinter package."), label=None)
elif choice:
path = choice.decode("utf-8")
is_default = False
if path is None:
# Path being None or "" means nothing was selected.
if not path:
path = default_path
is_default = True
+4 -3
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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,6 +24,7 @@ init python:
import codecs
import re
import sys
import future.utils
def theme_names():
"""
@@ -97,7 +98,7 @@ init python:
return
renpy.style.restore(style_backup)
exec theme_data.THEME[theme][scheme] in globals()
future.utils.exec_(theme_data.THEME[theme][scheme], globals(), globals())
# Rebuild the style cache.
renpy.style.rebuild(False)
@@ -504,7 +505,7 @@ label choose_theme_callable:
call screen choose_theme
python hide:
with interface.error_handling("changing the theme"):
with interface.error_handling(_("changing the theme")):
switch_theme()
return
+6 -4
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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
@@ -74,11 +74,13 @@ init python:
self.f.close()
os.chmod(self.fn, 0o755)
command = renpy.fsencode('"{}"'.format(self.fn.replace("\"", "\\\"")))
if renpy.windows:
subprocess.Popen([ renpy.fsencode(self.fn) ], shell=True)
subprocess.Popen([ command ], shell=True)
elif renpy.macintosh:
subprocess.Popen([ "open", "-a", "Terminal", renpy.fsencode(self.fn) ])
subprocess.Popen([ "open", "-a", "Terminal", command ])
else:
subprocess.Popen([ "x-terminal-emulator", "-e", renpy.fsencode(self.fn) ])
subprocess.Popen([ "x-terminal-emulator", "-e", command ])
interface.interaction(_("INFORMATION"), _("The command is being run in a new operating system console window."), pause=2.5)
+151 -71
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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
@@ -308,23 +308,19 @@ init python in distribute:
def mac_lib_transform(self, app, duplicate):
"""
Moves the mac lib into position. If duplicate is set, the
Creates a new file list that has lib/darwin-x86_64 and lib/pythonlib2.7
copied into the mac app, the latter iff it's not duplicated elsewhere.
copied into the mac app, the latter iff it's not duplicated elsewhere or
duplicate is set.
"""
for f in list(self):
if f.name.startswith("lib/darwin-x86_64/lib/python2.7"):
name = app + "/Contents/MacOS/lib/darwin-x86_64/Lib" + f.name[31:]
elif f.name.startswith("lib/pythonlib2.7") and (not duplicate):
name = app + "/Contents/MacOS/lib/darwin-x86_64/Lib" + f.name[16:]
elif f.name.startswith("lib/darwin-x86_64"):
if f.name.startswith("lib/python2.7") and (not duplicate):
name = app + "/Contents/MacOS/" + f.name
elif f.name.startswith("lib/mac-x86_64"):
name = app + "/Contents/MacOS/" + f.name[15:]
else:
continue
@@ -373,7 +369,7 @@ init python in distribute:
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):
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):
"""
Distributes `project`.
@@ -404,6 +400,10 @@ init python in distribute:
`report_success`
If true, we report that the build succeeded.
`macapp`
If given, the path to a macapp that's used instead of
the macapp
"""
# A map from a package to a unique update version hash.
@@ -437,12 +437,16 @@ init python in distribute:
# Logfile.
self.log = open(self.temp_filename("distribute.txt"), "w")
# The path to the mac app.
self.macapp = macapp
# Start by scanning the project, to get the data and build
# dictionaries.
data = project.data
self.reporter.info(_("Scanning project files..."))
project.update_dump(force=True, gui=False, compile=project.data['force_recompile'])
if scan:
self.reporter.info(_("Scanning project files..."))
project.update_dump(force=True, gui=False, compile=project.data['force_recompile'])
if project.dump.get("error", False):
raise Exception("Could not get build data from the project. Please ensure the project runs.")
@@ -485,6 +489,7 @@ init python in distribute:
# The various executables, which change names based on self.executable_name.
self.app = self.executable_name + ".app"
self.exe = self.executable_name + ".exe"
self.exe32 = self.executable_name + "-32.exe"
self.sh = self.executable_name + ".sh"
self.py = self.executable_name + ".py"
@@ -523,6 +528,10 @@ init python in distribute:
# 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()
# Add generated/special files.
if build['renpy']:
@@ -533,6 +542,9 @@ init python in distribute:
# Assign the x-bit as necessary.
self.mark_executable()
# Merge file lists, as needed.
self.merge_file_lists()
# Rename the executable-like files.
if not build['renpy']:
self.rename()
@@ -606,12 +618,12 @@ init python in distribute:
if match(match_name, pattern):
break
else:
print >> self.log, match_name.encode("utf-8"), "doesn't match anything."
print(str(match_name), "doesn't match anything.", file=self.log)
pattern = None
file_list = None
print >> self.log, match_name.encode("utf-8"), "matches", pattern, "(" + str(file_list) + ")."
print(str(match_name), "matches", str(pattern), "(" + str(file_list) + ").", file=self.log)
if file_list is None:
return
@@ -631,6 +643,17 @@ init python in distribute:
for fn in os.listdir(directory):
walk(fn, os.path.join(directory, fn))
def merge_file_lists(self):
"""
For each (old, new) in self.build['merge'], merge the old list
into the new list.
"""
for old, new in self.build['merge']:
self.file_lists[new] = FileList.merge([
self.file_lists[old],
self.file_lists[new]])
def rescan(self, oldlist, directory):
"""
Scans `directory`, and produces a filelist from it. Returns the
@@ -781,7 +804,7 @@ init python in distribute:
script_version_txt = self.temp_filename("script_version.txt")
with open(script_version_txt, "w") as f:
f.write(repr(renpy.renpy.version_tuple[:-1]))
f.write(unicode(repr(renpy.renpy.version_tuple[:-1])))
self.add_file("all", "game/script_version.txt", script_version_txt)
@@ -792,7 +815,7 @@ init python in distribute:
tfn = self.temp_filename(list_name + "_hash.txt")
with open(tfn, "w") as tf:
with open(tfn, "wb") as tf:
tf.write(self.file_lists[list_name].hash(self))
self.add_file("binary", "launcher/game/" + list_name + "_hash.txt", tfn)
@@ -805,6 +828,7 @@ init python in distribute:
self.add_file_list_hash("rapt")
self.add_file_list_hash("renios")
self.add_file_list_hash("web")
tmp_fn = self.temp_filename("renpy.py")
@@ -812,7 +836,7 @@ init python in distribute:
data = f.read()
with open(tmp_fn, "wb") as f:
f.write("#!/usr/bin/env python2\n")
f.write(b"#!/usr/bin/env python2\n")
f.write(data)
self.add_file("source_only", "renpy.py", tmp_fn, True)
@@ -833,7 +857,7 @@ init python in distribute:
CFBundleName=display_name,
CFBundlePackageType="APPL",
CFBundleShortVersionString=version,
CFBundleVersion="1.0.{0}".format(int(time.time())),
CFBundleVersion=time.strftime("%Y.%m%d.%H%M%S"),
LSApplicationCategoryType="public.app-category.simulation-games",
CFBundleDocumentTypes = [
{
@@ -854,6 +878,8 @@ init python in distribute:
if self.build.get('allow_integrated_gpu', False):
plist["NSSupportsAutomaticGraphicsSwitching"] = True
plist.update(self.build.get("mac_info_plist", { }))
rv = self.temp_filename("Info.plist")
plistlib.writePlist(plist, rv)
return rv
@@ -863,27 +889,29 @@ init python in distribute:
if self.build['renpy']:
windows = 'binary'
linux = 'binary'
linux_i686 = 'binary'
mac = 'binary'
raspi = 'raspi'
else:
windows = 'windows'
linux = 'linux'
linux_i686 = 'linux_i686'
mac = 'mac'
raspi = 'linux'
self.add_file(
linux,
linux_i686,
"lib/linux-i686/" + self.executable_name,
os.path.join(config.renpy_base, "lib/linux-i686/pythonw"),
os.path.join(config.renpy_base, "lib/linux-i686/renpy"),
True)
self.add_file(
linux,
"lib/linux-x86_64/" + self.executable_name,
os.path.join(config.renpy_base, "lib/linux-x86_64/pythonw"),
os.path.join(config.renpy_base, "lib/linux-x86_64/renpy"),
True)
armfn = os.path.join(config.renpy_base, "lib/linux-armv7l/pythonw")
armfn = os.path.join(config.renpy_base, "lib/linux-armv7l/renpy")
if os.path.exists(armfn):
@@ -896,14 +924,10 @@ init python in distribute:
self.add_file(
mac,
"lib/darwin-x86_64/" + self.executable_name,
os.path.join(config.renpy_base, "lib/darwin-x86_64/pythonw"),
"lib/mac-x86_64/" + self.executable_name,
os.path.join(config.renpy_base, "lib/mac-x86_64/renpy"),
True)
# self.add_file(
# windows,
# "lib/windows-i686/" + self.executable_name + ".exe",
# os.path.join(config.renpy_base, "lib/windows-i686/renpy.exe"))
def add_mac_files(self):
"""
@@ -923,7 +947,9 @@ init python in distribute:
plist_fn = self.write_plist()
self.add_file(filelist, contents + "/Info.plist", plist_fn)
self.add_file(filelist, contents + "/MacOS/" + self.executable_name, os.path.join(config.renpy_base, "renpy.sh"))
self.add_file(filelist,
contents + "/MacOS/" + self.executable_name,
os.path.join(config.renpy_base, "lib/mac-x86_64/renpy"))
custom_fn = os.path.join(self.project.path, "icon.icns")
default_fn = os.path.join(config.renpy_base, "launcher/icon.icns")
@@ -938,16 +964,10 @@ init python in distribute:
self.add_directory(filelist, resources)
self.add_file(filelist, resources + "/icon.icns", icon_fn)
self.add_directory(filelist, contents + "/MacOS/lib")
self.add_directory(filelist, contents + "/MacOS/lib/darwin-x86_64")
self.add_directory(filelist, contents + "/MacOS/lib/darwin-x86_64/Lib")
self.add_directory(filelist, contents + "/MacOS/lib/darwin-x86_64/Modules")
sfn = self.temp_filename("Setup")
with open(sfn, "wb") as f:
pass
self.add_file(filelist, contents + "/MacOS/lib/darwin-x86_64/Modules/Setup", sfn)
if not self.build['renpy']:
self.add_directory(filelist, contents + "/MacOS/lib")
self.add_directory(filelist, contents + "/MacOS/lib/mac-x86_64")
self.add_directory(filelist, contents + "/MacOS/lib/python2.7")
self.file_lists[filelist].mac_lib_transform(self.app, self.build['renpy'])
@@ -958,29 +978,51 @@ init python in distribute:
if self.build['renpy']:
windows = 'binary'
windows_i686 = 'binary'
else:
windows = 'windows'
windows_i686 = 'windows_i686'
icon_fn = os.path.join(self.project.path, "icon.ico")
old_exe_fn = os.path.join(config.renpy_base, "renpy.exe")
old_main_fn = os.path.join(config.renpy_base, "lib/windows-i686/renpy.exe")
if os.path.exists(icon_fn):
exe_fn = self.temp_filename("renpy.exe")
main_fn = self.temp_filename("main.exe")
with open(exe_fn, "wb") as f:
f.write(change_icons(old_exe_fn, icon_fn))
def write_exe(src, dst, tmp, fl):
"""
Write the exe found at `src` (taken as relative to renpy-base)
as `dst` (in the distribution). `tmp` is the name of a tempfile
that is written if one is needed.
"""
with open(main_fn, "wb") as f:
f.write(change_icons(old_main_fn, icon_fn))
if fl == "windows_i686":
should_change_icon = self.build["change_icon_i686"]
else:
should_change_icon = True
else:
exe_fn = old_exe_fn
main_fn = old_main_fn
src = os.path.join(config.renpy_base, src)
tmp = self.temp_filename(tmp)
self.add_file(windows, self.exe, exe_fn)
self.add_file(windows, "lib/windows-i686/" + self.exe, main_fn)
if should_change_icon and os.path.exists(icon_fn) and os.path.exists(src):
with open(tmp, "wb") as f:
f.write(change_icons(src, icon_fn))
else:
tmp = src
if os.path.exists(tmp):
self.add_file(fl, dst, tmp)
write_exe("lib/windows-i686/renpy.exe", self.exe32, self.exe32, windows_i686)
write_exe("lib/windows-i686/pythonw.exe", "lib/windows-i686/pythonw.exe", "pythonw-32.exe", windows_i686)
write_exe("lib/windows-x86_64/renpy.exe", self.exe, self.exe, windows)
write_exe("lib/windows-x86_64/pythonw.exe", "lib/windows-x86_64/pythonw.exe", "pythonw-64.exe", windows)
def add_main_py(self):
if self.build['renpy']:
return
self.add_file("web", "main.py", os.path.join(config.renpy_base, "renpy.py"))
def mark_executable(self):
"""
@@ -1026,7 +1068,7 @@ init python in distribute:
cmd = [ renpy.fsencode(i.format(**kwargs)) for i in command ]
# print "\"" + "\" \"".join(cmd) + "\""
# print("\"" + "\" \"".join(cmd) + "\"")
try:
import sys, os
@@ -1045,6 +1087,9 @@ init python in distribute:
Signs the mac app contained in appzip.
"""
if self.macapp:
return self.rescan(fl, self.macapp)
identity = self.build.get('mac_identity', None)
if identity is None:
@@ -1080,6 +1125,7 @@ init python in distribute:
self.build["mac_codesign_command"],
identity=identity,
app=os.path.join(dn, self.app),
entitlements=os.path.join(config.gamedir, "entitlements.plist"),
)
# Rescan the signed app.
@@ -1095,7 +1141,7 @@ init python in distribute:
identity = self.build.get('mac_identity', None)
if identity is None:
raise Exception("Creating an unsigned DMG is not supported. Please set build.mac_identity.")
identity = ''
self.run(
_("Creating the Macintosh DMG..."),
@@ -1106,14 +1152,39 @@ init python in distribute:
dmg=dmg,
)
self.run(
_("Signing the Macintosh DMG..."),
self.build["mac_codesign_dmg_command"],
identity=identity,
volname=volname,
sourcedir=sourcedir,
dmg=dmg,
)
if self.build.get("mac_codesign_dmg_command", None):
self.run(
_("Signing the Macintosh DMG..."),
self.build["mac_codesign_dmg_command"],
identity=identity,
volname=volname,
sourcedir=sourcedir,
dmg=dmg,
)
def workaround_mac_notarization(self, fl):
"""
This works around mac notarization by compressing the unsigned,
un-notarized, binaries in lib/mac-x86_64.
"""
fl = fl.copy()
for f in fl:
if "/lib/mac-x86_64/" in f.name:
with open(f.path, "rb") as inf:
data = inf.read()
tempfile = self.temp_filename(os.path.basename(f.name) + ".macho")
with open(tempfile, "wb") as outf:
outf.write(b"RENPY" + data)
f.name += ".macho"
f.path = tempfile
return fl
def prepare_file_list(self, format, file_lists):
"""
@@ -1251,7 +1322,7 @@ init python in distribute:
file_hash, old_fl_hash = self.build_cache.get(full_filename, ("", ""))
if (not directory) and old_fl_hash == fl_hash:
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)
@@ -1292,6 +1363,9 @@ init python in distribute:
shutil.rmtree(path)
pkg = DMGPackage(path, make_dmg)
fl = self.workaround_mac_notarization(fl)
elif directory:
pkg = DirectoryPackage(path)
@@ -1332,6 +1406,11 @@ init python in distribute:
index = { }
# Ren'Py 7.4.1 forgot to include mac zsync, so it needs to be downloaded before the update
# can occur.
if self.build['renpy']:
index["monkeypatch"] = "def mac_fix():\n import renpy\n if not renpy.macintosh:\n return\n\n import os\n mac = os.path.join(renpy.config.renpy_base, \"lib\", \"mac-x86_64\")\n zsync = os.path.join(mac, \"zsync\")\n\n if not os.path.isdir(mac):\n return\n\n if os.path.isdir(zsync):\n return\n\n import requests\n\n response = requests.get(\"https://www.renpy.org/dl/mac-fix/zsync\")\n\n with open(zsync + \".new\", \"w\") as f:\n f.write(response.content)\n \n os.chmod(zsync + \".new\", 0o755)\n os.rename(zsync + \".new\", zsync)\n\nmac_fix()\n"
def add_variant(variant):
digest = self.build_cache[self.base_name + "-" + variant + ".update"][0]
@@ -1396,13 +1475,13 @@ init python in distribute:
def dump(self):
for k, v in sorted(self.file_lists.items()):
print
print k + ":"
print()
print(k + ":")
v.sort()
for i in v:
print " ", i.name, "xbit" if i.executable else ""
print(" ", i.name, "xbit" if i.executable else "")
class GuiReporter(object):
"""
@@ -1441,7 +1520,7 @@ init python in distribute:
what = what.replace("[", "{")
what = what.replace("]", "}")
what = what.format(**kwargs)
print what
print(what)
def progress(self, what, done, total, **kwargs):
what = what.replace("[", "{")
@@ -1462,6 +1541,7 @@ init python in distribute:
ap.add_argument("--no-update", default=True, action="store_false", dest="build_update", help="Prevents updates from being built.")
ap.add_argument("--package", action="append", help="If given, a package to build. Defaults to building all packages.")
ap.add_argument("--no-archive", action="store_true", help="If given, files will not be added to archives.")
ap.add_argument("--macapp", default=None, action="store", help="If given, the path to a signed and notarized mac app.")
ap.add_argument("project", help="The path to the project directory.")
args = ap.parse_args()
@@ -1473,7 +1553,7 @@ init python in distribute:
else:
packages = None
Distributor(p, destination=args.destination, reporter=TextReporter(), packages=packages, build_update=args.build_update, noarchive=args.no_archive, packagedest=args.packagedest)
Distributor(p, destination=args.destination, reporter=TextReporter(), packages=packages, build_update=args.build_update, noarchive=args.no_archive, packagedest=args.packagedest, macapp=args.macapp)
return False
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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 -5
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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,11 +21,27 @@
init python:
import urllib2
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):
@@ -57,9 +73,7 @@ init python:
try:
# Open the URL.
import ssl
context = ssl.create_default_context(purpose=ssl.Purpose.SERVER_AUTH, cafile=renpy.loader.transfn("cacert.pem"))
self.urlfile = urllib2.urlopen(url, context=context)
self.urlfile = urllib.request.urlopen(url, context=ssl_context())
t = threading.Thread(target=self.thread)
t.daemon = True
+8 -41
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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
@@ -173,39 +173,6 @@ init 1 python in editor:
fei.append(e)
# Editra.
ED = _("A mature editor. Editra lacks the IME support required for Chinese, Japanese, and Korean text input.")
EDL = _("A mature editor. Editra lacks the IME support required for Chinese, Japanese, and Korean text input. On Linux, Editra requires wxPython.")
if renpy.windows:
dlc = "editra-windows"
installed = os.path.exists(os.path.join(config.basedir, "editra/editra.exe"))
description = ED
error_message = None
elif renpy.macintosh:
dlc = "editra-mac"
installed = os.path.exists(os.path.join(config.basedir, "editra/Editra-mac.app"))
description = ED
error_message = None
else:
dlc = "editra-linux"
installed = os.path.exists(os.path.join(config.basedir, "editra/Editra"))
description = EDL
error_message = _("This may have occured because wxPython is not installed on this system.")
e = FancyEditorInfo(
1,
"Editra",
description,
dlc,
_("Up to 22 MB download required."),
error_message)
e.installed = e.installed and installed
fei.append(e)
# jEdit
fei.append(FancyEditorInfo(
2,
@@ -223,7 +190,7 @@ init 1 python in editor:
None))
for k in editors:
if k in [ "Atom", "Editra", "jEdit", "System Editor", "None" ]:
if k in [ "Atom", "jEdit", "System Editor", "None" ]:
continue
fei.append(FancyEditorInfo(
@@ -266,13 +233,13 @@ init 1 python in editor:
if i.name == persistent.editor:
if i.installed and i.name in editors:
ei = editors[i.name]
os.environ[b"RENPY_EDIT_PY"] = renpy.fsencode(os.path.abspath(ei.filename))
os.environ["RENPY_EDIT_PY"] = renpy.fsencode(os.path.abspath(ei.filename))
error_message = i.error_message
break
else:
persistent.editor = None
os.environ.pop(b"RENPY_EDIT_PY", None)
os.environ.pop("RENPY_EDIT_PY", None)
renpy.editor.init()
@@ -382,7 +349,7 @@ init 1 python in editor:
e.open(fn, line=self.line)
e.end()
except Exception, e:
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)
@@ -428,7 +395,7 @@ init 1 python in editor:
e.open(self.filename, line=self.line)
e.end()
except Exception, e:
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)
@@ -466,7 +433,7 @@ init 1 python in editor:
e.end()
except Exception, e:
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)
@@ -489,7 +456,7 @@ init 1 python in editor:
e.open_project(project.current.path)
e.end()
except Exception, e:
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)
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
</dict>
</plist>
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,91 +0,0 @@
네이버 나눔글꼴의 지적 재산권은 NHN에 있습니다.
네이버 나눔글꼴은 개인 및 기업 사용자를 포함한 모든 사용자에게 무료로 제공되며
자유롭게 수정하고 재배포하실 수 있습니다.
단, 글꼴 자체를 유료로 판매하는 것은 금지하며, 네이버 나눔글꼴 라이선스 전문을 포함하기만 한다면
자유롭게 다른 소프트웨어에 번들하여 유료로 판매하거나 또는 재 배포하실 수도 있습니다.
네이버 나눔글꼴 라이선스 전문을 포함하기 어려울 경우,
나눔글꼴의 출처 표기를 부탁 드립니다. 예) 이 페이지에는 네이버에서 제공한 나눔글꼴이 적용되어 있습니다
네이버 나눔글꼴을 사용한 인쇄물, 광고물(온라인 포함)의 이미지는 나눔글꼴 프로모션을 위해 활용될 수 있습니다.
이를 원치 않는 사용자는 언제든지 당사에 요청하실 수 있습니다.
정확한 사용 조건은 아래 네이버 나눔글꼴 라이선스 전문을 참고하시기 바랍니다.
Copyright (c) 2010, NHN Corporation (http://www.nhncorp.com),
with Reserved Font Name Nanum, Naver Nanum, NanumGothic, Naver NanumGothic, NanumMyeongjo,
Naver NanumMyeongjo, NanumBrush, Naver NanumBrush, NanumPen, Naver NanumPen
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
SIL OPEN FONT LICENSE
Version 1.1 - 26 February 2007
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects,
to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework
in which fonts may be shared and improved in partnership with others.
The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold
by themselves.
The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided
that any reserved names are not used by derivative works.
The fonts and derivatives, however, cannot be released under any other type of license.
The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such.
This may include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the copyright statement(s).
"Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting, or substituting ? in part or in whole ?
any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.
"Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge,
embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,in Original or Modified Versions,
may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software,
provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files,
human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields
can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written
permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented
to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise
any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit
written permission.
5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed
under any other license. The requirement for fonts to remain under this license does not apply to any document created using
the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT.
IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE
OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
Binary file not shown.
+3 -2
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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
@@ -195,8 +195,8 @@ screen front_page_project:
textbutton _("game") action OpenDirectory("game")
textbutton _("base") action OpenDirectory(".")
textbutton _("images") action OpenDirectory("game/images")
textbutton _("audio") action OpenDirectory("game/audio")
textbutton _("gui") action OpenDirectory("game/gui")
# textbutton _("save") action None style "l_list"
vbox:
if persistent.show_edit_funcs:
@@ -249,6 +249,7 @@ screen front_page_project:
textbutton _("Android") action Jump("android")
textbutton _("iOS") action Jump("ios")
textbutton _("Web") + " " + _("(Beta)") action Jump("web")
textbutton _("Generate Translations") action Jump("translate")
textbutton _("Extract Dialogue") action Jump("extract_dialogue")
+31 -33
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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
@@ -327,25 +327,6 @@ label new_gui_project:
python:
gui_new = True
project_name = interface.input(
_("PROJECT NAME"),
_("Please enter the name of your project:"),
filename=True,
cancel=Jump("front_page"))
project_name = project_name.strip()
if not project_name:
interface.error(_("The project name may not be empty."))
project_dir = os.path.join(persistent.projects_directory, project_name)
if project.manager.get(project_name) is not None:
interface.error(_("[project_name!q] already exists. Please choose a different project name."), project_name=project_name)
if os.path.exists(project_dir):
interface.error(_("[project_dir!q] already exists. Please choose a different project name."), project_dir=project_dir)
gui_replace_images = True
gui_replace_code = True
gui_update_code = True
@@ -369,20 +350,37 @@ label gui_project_size:
if gui_size == "custom":
gui_width = ""
while True:
gui_width = interface.input(
_("WIDTH"),
_("Please enter the width of your game, in pixels."),
cancel=Jump("front_page"),
allow=interface.DIGITS_LETTERS,
)
gui_width = interface.input(_("WIDTH"), _("Please enter the width of your game, in pixels."), cancel=Jump("front_page"))
try:
gui_width = int(gui_width)
except:
interface.error(_("The width must be a number."), label=None)
continue
break
try:
gui_width = int(gui_width)
except:
interface.error(_("The width must be a number."))
gui_height = ""
while True:
gui_height = interface.input(
_("HEIGHT"),
_("Please enter the height of your game, in pixels."),
cancel=Jump("front_page"),
allow=interface.DIGITS_LETTERS,
)
gui_height = interface.input(_("HEIGHT"), _("Please enter the height of your game, in pixels."), cancel=Jump("front_page"))
try:
gui_height = int(gui_height)
except:
interface.error(_("The height must be a number."))
try:
gui_height = int(gui_height)
except:
interface.error(_("The height must be a number."), label=None)
continue
break
gui_size = (gui_width, gui_height)
@@ -428,11 +426,11 @@ label gui_project_common:
else:
interface.processing(_("Updating the project..."))
with interface.error_handling("creating a new project"):
with interface.error_handling(_("creating a new project")):
gui7.generate_gui(p)
# Activate the project.
with interface.error_handling("activating the new project"):
with interface.error_handling(_("activating the new project")):
project.manager.scan()
project.Select(project.manager.get(project_name))()
+6 -4
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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
@@ -36,10 +36,12 @@ def generate_gui(p):
CodeGenerator(p).copy_script("script.rpy")
CodeGenerator(p).copy_files()
images = os.path.join(p.prefix, "images")
for dn in [ "images", "audio" ]:
if not os.path.exists(images):
os.mkdir(images)
fulldn = os.path.join(p.prefix, dn)
if not os.path.exists(fulldn):
os.mkdir(fulldn)
def generate_gui_command():
+4 -4
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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
@@ -280,8 +280,8 @@ class CodeGenerator(object):
for l in self.lines:
l = re.sub(ur'_\((\".*?\")\)', replace, l)
l = re.sub(ur'_\((\'.*?\')\)', replace, l)
l = re.sub(r'_\((\".*?\")\)', replace, l)
l = re.sub(r'_\((\'.*?\')\)', replace, l)
lines.append(l)
@@ -372,7 +372,7 @@ class CodeGenerator(object):
if os.path.exists(dst):
return
language = renpy.store._preferences.language # @UndefinedVariable
language = renpy.store._preferences.language # @UndefinedVariable
if language is None:
language = "None"
+5 -12
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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,6 +25,7 @@ import os
from renpy.store import config
import renpy.display
class ImageGenerator(object):
def __init__(self, parameters):
@@ -199,7 +200,6 @@ class ImageGenerator(object):
self.generate_image("textbox", X, Y, self.boring_color.opacity(.8))
YSIZE = 240
YBORDER = 5
@@ -237,7 +237,6 @@ class ImageGenerator(object):
(YSIZE, 1.0),
]
self.generate_image("nvl", X, Y, self.boring_color.opacity(.8))
X = [
@@ -252,8 +251,6 @@ class ImageGenerator(object):
self.generate_image("phone/nvl", X, Y, self.boring_color.opacity(.8))
def generate_choice_button(self):
XSIZE = 790
XINSIDE = 100
@@ -277,6 +274,8 @@ class ImageGenerator(object):
self.generate_image("button/choice_idle_background", X, Y, self.boring_color.opacity(.8))
self.generate_image("button/choice_hover_background", X, Y, self.accent_color.opacity(.95))
self.generate_image("phone/button/choice_idle_background", X, Y, self.boring_color.opacity(.8))
self.generate_image("phone/button/choice_hover_background", X, Y, self.accent_color.opacity(.95))
def generate_overlay(self):
@@ -288,7 +287,6 @@ class ImageGenerator(object):
line_width = self.scale_int(3)
if self.p.light:
opacity = 0.9
else:
@@ -332,7 +330,6 @@ class ImageGenerator(object):
s.subsurface((border, border, width - 2 * border, height - 2 * border)).fill(self.boring_color)
self.save(s, "frame")
def generate_quick_buttons(self):
width = self.scale_int(100)
height = self.scale_int(30)
@@ -379,7 +376,6 @@ class ImageGenerator(object):
self.generate_image("notify", X, Y, self.boring_color.opacity(.8))
def generate_icon(self):
icon_fn = os.path.join(config.renpy_base, "launcher", "game", "gui7", "icon.png")
@@ -406,7 +402,6 @@ class ImageGenerator(object):
self.save(surf, "window_icon", overwrite=False)
def generate_menus(self):
s = self.make_surface(self.width, self.height)
s.fill(self.menu_color)
@@ -414,7 +409,6 @@ class ImageGenerator(object):
self.save(s, "main_menu", overwrite=False)
self.save(s, "game_menu", overwrite=False)
def generate_all(self):
self.generate_textbox()
self.generate_choice_button()
@@ -427,6 +421,7 @@ class ImageGenerator(object):
self.generate_menus()
self.generate_icon()
if __name__ == "__main__":
import argparse
@@ -439,5 +434,3 @@ if __name__ == "__main__":
args = ap.parse_args()
ImageGenerator(args.prefix, args.width, args.height).generate_all()
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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
+186
View File
@@ -0,0 +1,186 @@
# Copyright 2004-2021 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
# (the "Software"), to deal in the Software without restriction,
# including without limitation the rights to use, copy, modify, merge,
# publish, distribute, sublicense, and/or sell copies of the Software,
# and to permit persons to whom the Software is furnished to do so,
# subject to the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
init python:
import fnmatch
import re
import zipfile
def install_from_zip(name, zipglob, patterns):
# Determine the filename matching the zipglob, and put it into filename.
filenames = [ i for i in os.listdir(config.renpy_base) if fnmatch.fnmatch(i.lower(), zipglob.lower()) ]
if not filenames:
interface.error(
_("Could not install [name!t], as a file matching [zipglob] was not found in the Ren'Py SDK directory."),
label="install",
name=name,
zipglob=zipglob,
)
filenames.sort(key=lambda a : a.lower())
filename = filenames[-1]
# The zipfile.
zf = zipfile.ZipFile(os.path.join(config.renpy_base, filename))
for fn in zf.namelist():
matchfn = fn.replace("\\", "/")
dstfn = None
renpy.write_log(fn)
for src, dst in patterns:
if re.match(src, matchfn):
dstfn = re.sub(src, dst, matchfn)
break
if not dstfn:
continue
dstfn = os.path.join(config.renpy_base, dstfn)
if not os.path.exists(os.path.dirname(dstfn)):
continue
renpy.write_log(fn + " -> " + dstfn)
data = zf.read(fn)
with open(dstfn, "wb") as f:
f.write(data)
try:
os.chmod(dstfn, 0o755)
except:
pass
interface.info(_("Successfully installed [name!t]."), name=name)
label install_live2d:
python hide:
patterns = [
(r".*/Core/dll/linux/x86_64/(libLive2DCubismCore.so)", r"lib/linux-x86_64/\1"),
(r".*/Core/dll/windows/x86_64/(Live2DCubismCore.dll)", r"lib/windows-x86_64/\1"),
(r".*/Core/dll/windows/x86/(Live2DCubismCore.dll)", r"lib/windows-i686/\1"),
(r".*/Core/dll/macos/(libLive2DCubismCore.dylib)", r"lib/mac-x86_64/\1"),
(r".*/Core/dll/experimental/rpi/(libLive2DCubismCore.so)", r"lib/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"),
]
install_from_zip("Live2D Cubism SDK for Native", "CubismSdkForNative-4-*.zip", patterns)
jump front_page
screen install():
frame:
style_group "l"
style "l_root"
window:
has vbox
label _("Install Libraries")
add HALF_SPACER
hbox:
frame:
style "l_indent"
xfill True
viewport:
scrollbars "vertical"
mousewheel True
has vbox
text _("This screen allows you to install libraries that can't be distributed with Ren'Py. Some of these libraries may require you to agree to a third-party license before being used or distributed.")
add HALF_SPACER
add SPACER
textbutton _("Install Live2D Cubism SDK for Native"):
action Jump("install_live2d")
add HALF_SPACER
frame:
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.")
add SPACER
text _("Live2D in Ren'Py doesn't support the Web, Android x86_64 (including emulators and Chrome OS), and must be added to iOS projects manually. Live2D must be reinstalled after upgrading Ren'Py or installing Android support.")
add SPACER
if not achievement.has_steam:
textbutton _("Install Steam Support"):
action Jump("install_steam")
add HALF_SPACER
frame:
style "l_indent"
has vbox
text _("Before installing Steam support, please make sure you are a {a=https://partner.steamgames.com/}Steam partner{/a}.")
else:
textbutton _("Install Steam Support")
add HALF_SPACER
frame:
style "l_indent"
has vbox
text _("Steam support has already been installed.")
textbutton _("Cancel") action Return(False) style "l_left_button"
textbutton _("Open Ren'Py SDK Directory") action OpenDirectory(config.renpy_base, absolute=True) style "l_right_button"
timer 2.0 action renpy.restart_interaction repeat True
label install:
call screen install
jump preferences
label install_steam:
$ add_dlc("steam", restart=True)
jump install
+35 -11
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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
@@ -251,7 +251,13 @@ screen launcher_input:
add SPACER
input style "l_default" value ScreenVariableInputValue("value", returnable=True) size 24 xalign 0.5 color INPUT_COLOR
input style "l_default":
value ScreenVariableInputValue("value", returnable=True)
size 24
xalign 0.5
color INPUT_COLOR
allow allow
copypaste True
if filename:
add SPACER
@@ -376,15 +382,28 @@ init python in interface:
As an example of usage::
with interface.error_handling("opening the log file"):
with interface.error_handling(_("opening the log file")):
f = open("log.txt", "w")
"""
store._ignore_action = Jump(label)
yield
store._ignore_action = Jump("front_page")
try:
yield
except Exception as e:
renpy.renpy.error.report_exception(e, editor=False)
def input(title, message, filename=False, sanitize=True, cancel=None, default=""):
error(_("While [what!qt], an error occured:"),
_("[exception!q]"),
what=what,
label=label,
exception=traceback.format_exception_only(type(e), e)[-1][:-1])
import string
DIGITS_LETTERS = string.digits
PROJECT_LETTERS = string.digits + string.ascii_letters + " _"
FILENAME_LETTERS = PROJECT_LETTERS + "\\/"
TRANSLATE_LETTERS = string.ascii_letters + string.digits + "_"
def input(title, message, filename=False, sanitize=True, cancel=None, allow=None, default=""):
"""
Requests typewritten input from the user.
"""
@@ -393,7 +412,15 @@ init python in interface:
while True:
rv = renpy.call_screen("launcher_input", title=title, message=message, filename=filename, cancel=cancel, default=rv)
rv = renpy.call_screen(
"launcher_input",
title=title,
message=message,
filename=filename or (allow in [PROJECT_LETTERS, FILENAME_LETTERS]),
allow=allow,
cancel=cancel,
default=rv
)
if sanitize:
if ("[" in rv) or ("{" in rv):
@@ -507,6 +534,3 @@ init python in interface:
"""
return common(_("CHOICE"), store.QUESTION_COLOR, message, choices=choices, selected=selected, **kwargs)
+66 -10
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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,6 +58,7 @@ init python:
if RENIOS_PATH:
import renios.create
import renios.image
def IOSState():
if not RENIOS_PATH:
@@ -104,12 +105,15 @@ init python:
xcode_name_cache[s] = s
return s
def xcode_project(p=None):
def xcode_project(p=None, target=None):
"""
Return the path to the Xcode project corresponding to `p`, or the current
project if `p` is None
"""
if target is not None:
return target
if p is None:
p = project.current
@@ -118,12 +122,22 @@ init python:
return os.path.join(persistent.xcode_projects_directory, xcode_name(p.name))
def ios_create(p=None, gui=True):
def ios_create(p=None, gui=True, target=None):
project.current.update_dump(force=True, gui=gui)
dest = xcode_project(p)
name = project.current.dump.get("name", None)
version = project.current.dump.get("version", None)
dest = xcode_project(p, target)
if gui:
iface = MobileInterface("ios")
else:
iface = rapt.interface.Interface()
if os.path.exists(dest):
interface.yesno(_("The Xcode project already exists. Would you like to rename the old project, and replace it with a new one?"), no=Jump("ios"))
if not iface.yesno(_("The Xcode project already exists. Would you like to rename the old project, and replace it with a new one?")):
return
i = 0
while True:
@@ -134,12 +148,11 @@ init python:
os.rename(dest, backup)
iface = MobileInterface("ios")
renios.create.create_project(iface, dest)
renios.create.create_project(iface, dest, name, version)
ios_populate(p, gui=gui)
ios_populate(p, gui=gui, target=target)
def ios_populate(p=None, gui=True):
def ios_populate(p=None, gui=True, target=None):
"""
This actually builds the package.
"""
@@ -149,7 +162,7 @@ init python:
if p is None:
p = project.current
dist = os.path.join(xcode_project(p), "base")
dist = os.path.join(xcode_project(p, target), "base")
if os.path.exists(dist):
shutil.rmtree(dist)
@@ -187,6 +200,15 @@ init python:
os.unlink(py_fn)
ios_image(p, "ios-icon.png", "Media.xcassets/AppIcon.appiconset", True, target)
# ios_image(p, "ios-launchimage.png", "Media.xcassets/LaunchImage.launchimage", False, target)
def ios_image(p, source, destination, scale, target):
source = os.path.join(p.path, source)
destination = os.path.join(xcode_project(p, target), destination)
renios.image.generate(source, destination, scale)
def launch_xcode():
dist = xcode_project(None)
@@ -372,3 +394,37 @@ label update_xcode_project:
$ ios_populate(None, True)
jump ios
init python:
def ios_create_command():
ap = renpy.arguments.ArgumentParser()
ap.add_argument("project", help="The path to the Ren'Py project.")
ap.add_argument("destination", help="The path the iOS project that will be created.")
args = ap.parse_args()
p = project.Project(args.project)
ios_create(p, False, args.destination)
return False
renpy.arguments.register_command("ios_create", ios_create_command)
def ios_populate_command():
ap = renpy.arguments.ArgumentParser()
ap.add_argument("project", help="The path to the Ren'Py project.")
ap.add_argument("destination", help="The path the iOS project that will be created.")
args = ap.parse_args()
p = project.Project(args.project)
ios_populate(p, False, args.destination)
return False
renpy.arguments.register_command("ios_populate", ios_populate_command)
+49 -15
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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,23 +23,57 @@ init python:
def find_itch_butler():
import os
if renpy.windows:
rv = os.path.join(os.environ.get("APPDATA", ""), "Roaming", "itch", "bin", "butler.exe")
if not os.path.exists(rv):
rv = os.path.join(os.environ.get("APPDATA", ""), "itch", "bin", "butler.exe")
platform = "windows-amd64"
exe = "butler.exe"
elif renpy.macintosh:
rv = os.path.join(os.environ.get("HOME", ""), "Library", "Application Support", "itch", "bin", "butler")
platform = "darwin-amd64"
exe = "butler"
else:
rv = os.path.join(os.environ.get("HOME", ""), ".config", "itch", "bin", "butler")
platform = "linux-amd64"
exe = "butler"
if not os.path.exists(rv):
return None
dn = os.path.join(config.renpy_base, "tmp", "butler-" + platform)
zip = os.path.join(dn, "butler.zip")
exe = os.path.join(dn, exe)
if os.path.exists(exe):
return exe
interface.processing(_("Downloading the itch.io butler."))
try:
os.makedirs(dn)
except:
pass
import urllib2
with interface.error_handling(_("Downloading the itch.io butler.")):
url = "https://broth.itch.ovh/butler/{}/LATEST/archive/default".format(platform)
req = urllib2.Request(url, headers={'User-Agent' : "Renpy"})
response = urllib2.urlopen(req, context=ssl_context())
with open(zip, "wb") as f:
while True:
data = response.read(1024 * 1024)
if not data:
break
f.write(data)
import zipfile
with zipfile.ZipFile(zip) as zf:
zf.extractall(dn)
try:
os.chmod(exe, 0o755)
except:
pass
return exe
return rv
label itch:
@@ -48,6 +82,8 @@ label itch:
python hide:
butler = find_itch_butler()
build = project.current.dump["build"]
destination = build["destination"]
@@ -100,8 +136,6 @@ label itch:
label="build_distributions"
)
butler = find_itch_butler()
if not butler:
interface.error(
_("The butler program was not found."),
+55
View File
@@ -0,0 +1,55 @@
# Copyright 2004-2021 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
# (the "Software"), to deal in the Software without restriction,
# including without limitation the rights to use, copy, modify, merge,
# publish, distribute, sublicense, and/or sell copies of the Software,
# and to permit persons to whom the Software is furnished to do so,
# subject to the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
init python hide:
import os
macapp = os.path.join(config.renpy_base, "renpy.app/Contents/MacOS")
maclib = os.path.join(config.renpy_base, "lib/mac-x86_64")
if os.path.exists(maclib):
for fn in os.listdir(maclib):
try:
fn = os.path.join(maclib, fn)
if fn.endswith(".macho"):
nfn = fn.rpartition(".")[0]
with open(fn, "rb") as f:
f.read(5)
data = f.read()
with open(nfn, "wb") as f:
f.write(data)
os.chmod(nfn, 0o755)
os.unlink(fn)
except:
pass
macpython = os.path.join(maclib, "python")
if sys.executable.startswith(macapp) and os.path.exists(macpython):
sys.executable = macpython
+8 -6
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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
@@ -91,7 +91,7 @@ init -1 python:
def log(self, msg):
with open(self.filename, "a") as f:
f.write("\n")
f.write(msg)
f.write(unicode(msg))
f.write("\n")
def info(self, prompt):
@@ -170,7 +170,7 @@ init -1 python:
self.cmd = cmd
f = open(self.filename, "a")
f = open(self.filename, "ab")
f.write("\n\n\n")
@@ -190,11 +190,12 @@ init -1 python:
interface.processing(self.info_msg, show_screen=True, cancel=cancel_action)
kwargs = { }
if yes:
kwargs["stdin"] = subprocess.PIPE
try:
self.process = subprocess.Popen(cmd, cwd=renpy.fsencode(RAPT_PATH), stdout=f, stderr=f, startupinfo=startupinfo, **kwargs)
self.process = subprocess.Popen(cmd, cwd=renpy.fsencode(RAPT_PATH), stdout=f, stderr=f, stdin=subprocess.PIPE, startupinfo=startupinfo, **kwargs)
# avoid SIGTTIN caused by e.g. gradle doing empty read on terminal stdin
if not yes:
self.process.stdin.close()
except:
import traceback
traceback.print_exc(file=f)
@@ -215,6 +216,7 @@ init -1 python:
if yes and self.yes_thread:
self.run_yes = False
self.yes_thread.join()
self.process.stdin.close()
self.process = None
self.yes_thread = None
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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
+42 -37
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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
@@ -62,28 +62,52 @@ label new_project:
if persistent.projects_directory is None:
$ interface.error(_("The projects directory could not be set. Giving up."))
if not persistent.legacy:
python:
if persistent.legacy:
python:
check_language_support()
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",
cancel=Jump("front_page"),
)
else:
new_project_language = (_preferences.language or "english").title()
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] language project. Change the launcher language in preferences to create a project in another language."))
jump 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."))
python:
check_language_support()
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",
cancel=Jump("front_page"),
project_name = ""
while True:
project_name = interface.input(
_("PROJECT NAME"),
_("Please enter the name of your project:"),
allow=interface.PROJECT_LETTERS,
cancel=Jump("front_page"),
default=project_name,
)
renpy.jump(gui_kind)
project_name = project_name.strip()
if not project_name:
interface.error(_("The project name may not be empty."), label=None)
continue
project_dir = os.path.join(persistent.projects_directory, project_name)
if project.manager.get(project_name) is not None:
interface.error(_("[project_name!q] already exists. Please choose a different project name."), project_name=project_name, label=None)
continue
if os.path.exists(project_dir):
interface.error(_("[project_dir!q] already exists. Please choose a different project name."), project_dir=project_dir, label=None)
continue
break
jump expression gui_kind
screen select_template:
@@ -125,25 +149,6 @@ screen select_template:
label new_theme_project:
python hide:
project_name = interface.input(
_("PROJECT NAME"),
_("Please enter the name of your project:"),
filename=True,
cancel=Jump("front_page"))
project_name = project_name.strip()
if not project_name:
interface.error(_("The project name may not be empty."))
project_dir = os.path.join(persistent.projects_directory, project_name)
if project.manager.get(project_name) is not None:
interface.error(_("[project_name!q] already exists. Please choose a different project name."), project_name=project_name)
if os.path.exists(project_dir):
interface.error(_("[project_dir!q] already exists. Please choose a different project name."), project_dir=project_dir)
if len(project.manager.templates) == 1:
template = project.manager.templates[0]
else:
@@ -151,7 +156,7 @@ label new_theme_project:
template_path = template.path
with interface.error_handling("creating a new project"):
with interface.error_handling(_("creating a new project")):
shutil.copytree(template_path, project_dir, symlinks=False)
# Delete the tmp directory, if it exists.
@@ -179,7 +184,7 @@ label new_theme_project:
shutil.copy(src, dst)
# Activate the project.
with interface.error_handling("activating the new project"):
with interface.error_handling(_("activating the new project")):
project.manager.scan()
project.Select(project.manager.get(project_name))()
+17 -23
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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
@@ -183,9 +183,7 @@ init -1 python hide:
config.sound = False
config.quit_action = Quit(confirm=False)
config.gl_resize = False
config.window_icon = "images/logo.png"
config.windows_icon = "images/logo32.png"
config.has_autosave = False
config.log_enable = False
config.mouse_hide_time = None
@@ -248,8 +246,8 @@ init python:
# Mac signing options.
import os
build.mac_identity = os.environ.get("RENPY_MAC_IDENTITY", None)
build.mac_codesign_command = [ "/home/tom/ab/renpy-deps/mac/mac_sign_client.sh", "{identity}", "{app}" ]
build.mac_create_dmg_command = [ "/home/tom/ab/renpy-deps/mac/mac_dmg_client.sh", "{identity}", "{volname}", "{sourcedir}", "{dmg}" ]
build.mac_codesign_command = [ config.renpy_base + "/scripts/mac/mac_sign_client.sh", "{identity}", "{app}" ]
build.mac_create_dmg_command = [ config.renpy_base + "/scripts/mac/mac_dmg_client.sh", "{identity}", "{volname}", "{sourcedir}", "{dmg}" ]
build.mac_codesign_dmg_command = [ "/bin/true" ]
@@ -285,6 +283,7 @@ init python:
except:
pass
build.classify_renpy("rapt/**/libLive2DCubismCore.so", None)
build.classify_renpy("rapt/**", "rapt")
build.executable("rapt/prototype/gradlew")
@@ -297,6 +296,9 @@ init python:
build.classify_renpy("renios/version.txt", "renios")
build.classify_renpy("renios/", "renios")
build.classify_renpy("web/game.zip", None)
build.classify_renpy("web/**", "web")
build.classify_renpy("**.old", None)
build.classify_renpy("**.new", None)
build.classify_renpy("**.bak", None)
@@ -305,6 +307,7 @@ init python:
build.classify_renpy("**/log.txt", None)
build.classify_renpy("**/traceback.txt", None)
build.classify_renpy("**/errors.txt", None)
build.classify_renpy("**/steam_appid.txt", None)
build.classify_renpy("**/saves/", None)
build.classify_renpy("**/tmp/", None)
build.classify_renpy("**/.Editra", None)
@@ -370,10 +373,9 @@ init python:
build.classify_renpy("module/fribidi-src/**", "source")
# all-platforms binary.
build.classify_renpy("lib/**/_renpysteam*", None)
build.classify_renpy("lib/**/*steam_api*", None)
build.classify_renpy("lib/*/renpy", None)
build.classify_renpy("lib/*/renpy.exe", None)
build.classify_renpy("lib/**/_renpysteam*", "steam")
build.classify_renpy("lib/**/*steam_api*", "steam")
build.classify_renpy("lib/**/*Live2D*", None)
build.classify_renpy("lib/linux-armv7l/", "raspi")
build.classify_renpy("lib/linux-armv7l/**", "raspi")
build.classify_renpy("lib/**", "binary")
@@ -383,35 +385,23 @@ init python:
# jedit rules.
build.classify_renpy("jedit/**", "jedit")
# editra rules.
build.classify_renpy("editra/", "editra-all")
build.classify_renpy("editra/Editra.edit.py", "editra-all")
build.classify_renpy("editra/Editra/**", "editra-linux editra-windows")
build.classify_renpy("editra/Editra-mac.app/**", "editra-mac")
build.classify_renpy("editra/lib/**", "editra-windows")
build.classify_renpy("editra/editra.exe", "editra-windows")
build.executable("editra/Editra/Editra")
# Packages.
build.packages = [ ]
build.package("sdk", "zip tar.bz2 dmg", "source binary")
build.package("source", "tar.bz2", "source source_only", update=False)
build.package("raspi", "tar.bz2", "raspi", dlc=True, update=False)
build.package("steam", "zip", "steam", dlc=True)
build.package("jedit", "zip", "jedit", dlc=True)
build.package("editra-linux", "tar.bz2", "editra-all editra-linux", dlc=True)
build.package("editra-mac", "zip", "editra-all editra-mac", dlc=True)
build.package("editra-windows", "zip", "editra-all editra-windows", 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)
# Enable the special launcher translation mode.
@@ -419,3 +409,7 @@ define config.translate_launcher = True
# Reduce the rate of screen updates.
default preferences.gl_powersave = True
# Disable steam.
python early:
config.enable_steam = False
+22 -16
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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
@@ -28,10 +28,17 @@ init python in distribute:
import struct
import stat
import shutil
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
zlib.Z_DEFAULT_COMPRESSION = 5
class ZipFile(zipfile.ZipFile):
@@ -156,9 +163,9 @@ init python in distribute:
zi.create_system = 3
if xbit:
zi.external_attr = long(0100755) << 16
zi.external_attr = long(0o100755) << 16
else:
zi.external_attr = long(0100644) << 16
zi.external_attr = long(0o100644) << 16
self.zipfile.write_with_info(zi, path)
@@ -170,7 +177,7 @@ init python in distribute:
zi.date_time = self.get_date_time(path)
zi.compress_type = zipfile.ZIP_STORED
zi.create_system = 3
zi.external_attr = (long(0040755) << 16) | 0x10
zi.external_attr = (long(0o040755) << 16) | 0x10
self.zipfile.write_with_info(zi, path)
@@ -201,9 +208,9 @@ init python in distribute:
info.type = tarfile.DIRTYPE
if xbit:
info.mode = 0755
info.mode = 0o755
else:
info.mode = 0644
info.mode = 0o644
info.uid = 1000
info.gid = 1000
@@ -267,10 +274,14 @@ init python in distribute:
def mkdir(self, path):
if not os.path.isdir(path):
os.mkdir(path, 0755)
os.makedirs(path, 0o755)
def __init__(self, path):
self.path = path
if os.path.isdir(path):
shutil.rmtree(path)
self.mkdir(path)
def add_file(self, name, path, xbit):
@@ -278,14 +289,13 @@ init python in distribute:
# If this is not a directory, ensure all parent directories
# have been created
if not os.path.isdir(os.path.dirname(fn)):
os.makedirs(os.path.dirname(fn), 0755)
self.mkdir(os.path.dirname(fn))
shutil.copy2(path, fn)
if xbit:
os.chmod(fn, 0755)
os.chmod(fn, 0o755)
else:
os.chmod(fn, 0644)
os.chmod(fn, 0o644)
def add_directory(self, name, path):
fn = os.path.join(self.path, name)
@@ -390,14 +400,10 @@ init python in distribute:
break
t += 1
print(t, " ".join(sorted([ i.what for i in alive ])))
print("\r " + str(t) + " " + " ".join(sorted([ i.what for i in alive ])))
time.sleep(1)
for i in parallel_threads:
if i.done:
i.done()
+733 -899
View File
File diff suppressed because it is too large Load Diff
+27 -26
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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
@@ -20,11 +20,6 @@
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
init python:
if persistent.gl_enable is None:
persistent.gl_enable = True
config.gl_enable = persistent.gl_enable
if persistent.show_edit_funcs is None:
persistent.show_edit_funcs = True
@@ -41,7 +36,12 @@ init python:
rv = [ ( "English", None) ]
for i in languages:
rv.append((i.replace("_", " ").title(), i))
rv.append((i.title(), i))
for i in (("Schinese", "schinese"), ("Tchinese", "tchinese")):
if i in rv:
rv.remove(i)
rv.append(({"schinese": "Simplified Chinese", "tchinese": "Traditional Chinese"}.get(i[1]), i[1]))
rv.sort()
@@ -129,6 +129,22 @@ screen preferences:
add SPACER
add SEPARATOR2
frame:
style "l_indent"
yminimum 75
has vbox
text _("Actions:")
add HALF_SPACER
textbutton _("Install libraries") style "l_nonbox" action Jump("install")
textbutton _("Open launcher project") style "l_nonbox" action [ project.Select("launcher"), Jump("front_page") ]
textbutton _("Reset window size") style "l_nonbox" action Preference("display", 1.0)
frame:
style "l_indent"
xmaximum ONETHIRD
@@ -161,7 +177,6 @@ screen preferences:
add HALF_SPACER
textbutton _("Hardware rendering") style "l_checkbox" action ToggleField(persistent, "gl_enable")
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 ]
@@ -181,30 +196,16 @@ screen preferences:
textbutton _("Sponsor message") style "l_checkbox" action ToggleField(persistent, "sponsor_message")
frame:
style "l_indent"
xmaximum ONETHIRD
xfill True
has vbox
add SEPARATOR2
if translations:
frame:
style "l_indent"
yminimum 75
xmaximum ONETHIRD
xfill True
has vbox
text _("Actions:")
add HALF_SPACER
textbutton _("Open launcher project") style "l_nonbox" action [ project.Select("launcher"), Jump("front_page") ]
if translations:
add SPACER
# Text editor selection.
add SEPARATOR2
+26 -13
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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,15 +22,10 @@
# Code that manages projects.
init python:
if renpy.windows:
import EasyDialogsWin as EasyDialogs
else:
EasyDialogs = None
import os
init python in project:
from store import persistent, config, Action, renpy, _preferences
from store import persistent, config, Action, renpy, _preferences, MultiPersistent
import store.util as util
import store.interface as interface
@@ -41,6 +36,8 @@ init python in project:
import re
import tempfile
multipersistent = MultiPersistent("launcher.renpy.org")
if persistent.blurb is None:
persistent.blurb = 0
@@ -104,15 +101,13 @@ init python in project:
def load_data(self):
try:
f = open(os.path.join(self.path, "project.json"), "rb")
self.data = json.load(f)
f.close()
with open(os.path.join(self.path, "project.json"), "rb") as f:
self.data = json.load(f)
except:
self.data = { }
self.update_data()
def save_data(self):
"""
Saves the project data.
@@ -337,12 +332,14 @@ init python in project:
for l, line in enumerate(data):
l += 1
line = line[:1024]
try:
line = line.decode("utf-8")
except:
continue
m = re.search(ur".*#\s*TODO(\s*:\s*|\s+)(.*)", line, re.I)
m = re.search(r"#\s*TODO(\s*:\s*|\s+)(.*)", line, re.I)
if m is None:
continue
@@ -364,6 +361,8 @@ init python in project:
Unelides the filename relative to the project base.
"""
fn = os.path.normpath(fn)
fn1 = os.path.join(self.path, fn)
if os.path.exists(fn1):
return fn1
@@ -431,9 +430,18 @@ init python in project:
global current
if persistent.projects_directory is None:
if multipersistent.projects_directory is not None:
persistent.projects_directory = multipersistent.projects_directory
if (persistent.projects_directory is not None) and not os.path.isdir(persistent.projects_directory):
persistent.projects_directory = None
if persistent.projects_directory is not None:
if multipersistent.projects_directory is None:
multipersistent.projects_directory = persistent.projects_directory
multipersistent.save()
self.projects_directory = persistent.projects_directory
self.projects = [ ]
@@ -768,6 +776,8 @@ label choose_projects_directory:
interface.info(_("Ren'Py has set the projects directory to:"), "[path!q]", path=path)
persistent.projects_directory = path
project.multipersistent.projects_directory = path
project.multipersistent.save()
project.manager.scan()
@@ -782,6 +792,8 @@ init python:
args = ap.parse_args()
persistent.projects_directory = renpy.fsdecode(args.projects)
project.multipersistent.projects_directory = persistent.projects_directory
project.multipersistent.save()
renpy.save_persistent()
return False
@@ -792,7 +804,8 @@ init python:
ap = renpy.arguments.ArgumentParser()
args = ap.parse_args()
print renpy.fsencode(persistent.projects_directory)
if persistent.projects_directory is not None:
print(persistent.projects_directory)
return False
+3 -3
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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
@@ -109,10 +109,10 @@ init 1 python:
SEPARATOR = Frame(PATTERN, 0, 0, tile=True, ymaximum=5, yalign=1.0)
SEPARATOR2 = Frame(PATTERN, 0, 0, tile=True, ymaximum=10, yalign=1.0)
SPACER_HEIGHT = 12
SPACER_HEIGHT = 8
SPACER = Null(height=SPACER_HEIGHT)
HALF_SPACER_HEIGHT = 6
HALF_SPACER_HEIGHT = 4
HALF_SPACER = Null(height=HALF_SPACER_HEIGHT)
# DIVIDING THE SCREEN
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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
+3 -3
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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
@@ -534,7 +534,7 @@ init python in theme_data:
THEME_FUNCTIONS.add(function)
THEME_SCREEN_OPERATIONS[theme] = roundrect_screen_ops
for scheme, colors in ROUNDRECT_SCHEMES.iteritems():
for scheme, colors in ROUNDRECT_SCHEMES.items():
subs = dict(colors)
subs["function"] = function
subs["theme"] = theme
@@ -587,7 +587,7 @@ init python in theme_data:
THEME_SCREEN_OPERATIONS["A White Tulip"] = awt_screen_ops
for scheme, colors in ROUNDRECT_SCHEMES.iteritems():
for scheme, colors in ROUNDRECT_SCHEMES.items():
subs = dict(colors)
subs["scheme"] = scheme
+40 -17
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# Copyright 2004-2018 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2021 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
@@ -26,25 +26,48 @@
import sys
# Python3 and Python2-style imports.
try:
from tkinter import Tk
from tkinter.filedialog import askdirectory
except ImportError:
from Tkinter import Tk
from tkFileDialog import askdirectory
# Binary mode stdout for python3.
try:
sys.stdout = sys.stdout.buffer
except:
pass
# Gtk generally has better support than TKinter on various Linux distributions
def gtk_select_directory(title):
dialog = Gtk.FileChooserNative(title=title,
action=Gtk.FileChooserAction.SELECT_FOLDER)
# Create the TK canvas.
dialog.run()
if __name__ == "__main__":
return dialog.get_filename()
# Fall back to TKinter if Gtk isn't available
def tk_select_directory(initialdir, title):
root = Tk()
root.withdraw()
result = askdirectory(initialdir=sys.argv[1], parent=root, title="Select Ren'Py Projects Directory")
sys.stdout.write(result.encode("utf8"))
return askdirectory(initialdir=initialdir, parent=root, title=title)
try:
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
def select_directory(title):
result = gtk_select_directory(title)
return result if result else ''
except:
# Python3 and Python2-style imports.
try:
from tkinter import Tk
from tkinter.filedialog import askdirectory
except ImportError:
from Tkinter import Tk
from tkFileDialog import askdirectory
def select_directory(title):
return tk_select_directory(title, sys.argv[1])
if __name__ == '__main__':
directory = select_directory('Select Ren\'Py Projects Directory')
sys.stdout.write(directory)
+2 -2
View File
@@ -102,8 +102,8 @@ translate arabic strings:
new "يتم تهيئة [name] ([i]/[total])"
# 00gamepad.rpy:58
old "Press or move the [control!r] [kind]."
new "الرجاء ضغط الزر او تحريك [control!r] [kind]."
old "Press or move the [control!s] [kind]."
new "الرجاء ضغط الزر او تحريك [control!s] [kind]."
# 00gamepad.rpy:66
old "Skip (A)"
+2 -2
View File
@@ -606,8 +606,8 @@ translate arabic strings:
new "خطأ"
# interface.rpy:356
old "While [what!q], an error occured:"
new "حصل خطأ أثناء [what!q]"
old "While [what!qt], an error occured:"
new "حصل خطأ أثناء [what!qt]"
# interface.rpy:356
old "[exception!q]"
+2 -2
View File
@@ -102,8 +102,8 @@ translate finnish strings:
new "Kalibroidaan [name] ([i]/[total])"
# 00gamepad.rpy:58
old "Press or move the [control!r] [kind]."
new "Paina tai liikuta [control!r] [kind]."
old "Press or move the [control!s] [kind]."
new "Paina tai liikuta [control!s] [kind]."
# 00gamepad.rpy:66
old "Skip (A)"
+2 -2
View File
@@ -606,8 +606,8 @@ translate finnish strings:
new "VIRHE"
# interface.rpy:356
old "While [what!q], an error occured:"
new "Kun [what!q], tapahtui virhe:"
old "While [what!qt], an error occured:"
new "Kun [what!qt], tapahtui virhe:"
# interface.rpy:356
old "[exception!q]"
+56 -6
View File
@@ -207,15 +207,15 @@ translate french strings:
# 00library.rpy:142
old "Self-voicing disabled."
new "Vocalisation automatique désactivée."
new "Lecture vocale désactivée."
# 00library.rpy:143
old "Clipboard voicing enabled. "
new "Vocalisation du contenu du presse-papier activée. "
new "Lecture vocale vers presse-papier activée. "
# 00library.rpy:144
old "Self-voicing enabled. "
new "Vocalisation automatique activée. "
new "Lecture vocale activée. "
# 00library.rpy:179
old "Skip Mode"
@@ -227,15 +227,15 @@ translate french strings:
# 00preferences.rpy:422
old "Clipboard voicing enabled. Press 'shift+C' to disable."
new "Vocalisation du contenu du presse-papier activée. Pressez « Maj+C » pour la désactiver."
new "Lecture vocale vers presse-papier activée. Pressez « Maj+C » pour la désactiver."
# 00preferences.rpy:424
old "Self-voicing would say \"[renpy.display.tts.last]\". Press 'alt+shift+V' to disable."
new "La vocalisation automatique veut dire « [renpy.display.tts.last] ». Pressez « Alt+Maj+V » pour la désactiver."
new "La lecture vocale veut dire « [renpy.display.tts.last] ». Pressez « Alt+Maj+V » pour la désactiver."
# 00preferences.rpy:426
old "Self-voicing enabled. Press 'v' to disable."
new "Vocalisation automatique activée. Pressez « v » pour la désactiver."
new "Lecture vocale activée. Pressez « v » pour la désactiver."
# 00iap.rpy:217
old "Contacting App Store\nPlease Wait..."
@@ -332,3 +332,53 @@ translate french strings:
# 00gallery.rpy:586
old "return"
new "retour"
translate french strings:
# renpy/common/00accessibility.rpy:76
old "Font Override"
new "Forcer la police"
# renpy/common/00accessibility.rpy:80
old "Default"
new "Par défaut"
# renpy/common/00accessibility.rpy:84
old "DejaVu Sans"
new "DejaVu Sans"
# renpy/common/00accessibility.rpy:88
old "Opendyslexic"
new "Opendyslexic"
# renpy/common/00accessibility.rpy:94
old "Text Size Scaling"
new "Redimensionnement du Texte"
# renpy/common/00accessibility.rpy:100
old "Reset"
new "Réinitaliser"
# renpy/common/00accessibility.rpy:105
old "Line Spacing Scaling"
new "Espacement Vertical"
# renpy/common/00accessibility.rpy:117
old "Self-Voicing"
new "Lecture vocale"
# renpy/common/00accessibility.rpy:121
old "Off"
new "Désactivée"
# renpy/common/00accessibility.rpy:125
old "Text-to-speech"
new "Synthèse vocale"
# renpy/common/00accessibility.rpy:129
old "Clipboard"
new "Presse-papier"
# renpy/common/00accessibility.rpy:133
old "Debug"
new "Débogage"
+41 -2
View File
@@ -102,8 +102,8 @@ translate french strings:
new "Calibrage de [name] ([i]/[total])"
# 00gamepad.rpy:58
old "Press or move the [control!r] [kind]."
new "Pressez ou déplacez le [kind] [control!r]."
old "Press or move the [control!s] [kind]."
new "Pressez ou déplacez le [kind] [control!s]."
# 00gamepad.rpy:66
old "Skip (A)"
@@ -176,3 +176,42 @@ translate french strings:
# _errorhandling.rpym:612
old "Copies the errors.txt file to the clipboard."
new "Copie le contenu du fichier « errors.txt » dans le presse-papier."
translate french strings:
# renpy/common/_errorhandling.rpym:542
old "Copy BBCode"
new "Copier en BBCode"
# renpy/common/_errorhandling.rpym:544
old "Copies the traceback.txt file to the clipboard as BBcode for forums like https://lemmasoft.renai.us/."
new "Copie le fichier traceback.txt dans le presse-papier au format BBcode pour les forums tels que https://lemmasoft.renai.us/."
# renpy/common/_errorhandling.rpym:546
old "Copy Markdown"
new "Copier en Markdown"
# renpy/common/_errorhandling.rpym:548
old "Copies the traceback.txt file to the clipboard as Markdown for Discord."
new "Copie le fichier traceback.txt dans le presse-papier au format Markdown pour Discord."
# renpy/common/_errorhandling.rpym:606
old "Ignores the exception, allowing you to continue."
new "Ignore lexception, cela vous autorise à poursuivre"
# renpy/common/_errorhandling.rpym:617
old "Console"
new "Console"
# renpy/common/_errorhandling.rpym:619
old "Opens a console to allow debugging the problem."
new "Ouvre une console pour débuguer le problème."
# renpy/common/_errorhandling.rpym:683
old "Copies the errors.txt file to the clipboard as BBcode for forums like https://lemmasoft.renai.us/."
new "Copie le fichier errors.txt dans le presse-papier au format BBcode pour les forums tels que https://lemmasoft.renai.us/."
# renpy/common/_errorhandling.rpym:687
old "Copies the errors.txt file to the clipboard as Markdown for Discord."
new "Copie le fichier errors.txt dans le presse-papier au format Markdown pour Discord."
+5 -5
View File
@@ -606,8 +606,8 @@ translate french strings:
new "ERREUR"
# interface.rpy:356
old "While [what!q], an error occured:"
new "Pendant que [what!q], une erreur est survenue :"
old "While [what!qt], an error occured:"
new "Pendant que [what!qt], une erreur est survenue :"
# interface.rpy:356
old "[exception!q]"
@@ -819,7 +819,7 @@ translate french strings:
# navigation.rpy:249
old "No TODO comments found.\n\nTo create one, include \"# TODO\" in your script."
new "Aucun commentaire «TODO» trouvé.\n\nPour en créer un, écrivez \"# TODO\" dans le script."
new "Aucun commentaire « TODO » trouvé.\n\nPour en créer un, écrivez \"# TODO\" dans le script."
# navigation.rpy:256
old "The list of names is empty."
@@ -919,7 +919,7 @@ translate french strings:
# preferences.rpy:173
old "Show templates"
new "Afficher les modèles"
new "Afficher les modèles"
# preferences.rpy:174
old "Show edit file section"
@@ -1115,7 +1115,7 @@ translate french strings:
# 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 par pour créer de nouveaux jeux."
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."
# updater.rpy:114
old "Experimental"
+2 -2
View File
@@ -299,7 +299,7 @@ translate french strings:
# screens.rpy:744
old "Rollback Side"
new "Sens dannulation"
new "Rembobinage côté"
# screens.rpy:745
old "Disable"
@@ -495,7 +495,7 @@ translate french strings:
# screens.rpy:1062
old "Molette vers le haut\nBouton de retour en arrière"
new "Mouse Wheel Up\nClick Rollback Side"
new "Mouse Wheel Up\nClic du côté rembobinage"
# screens.rpy:1066
old "Mouse Wheel Down"
+2 -2
View File
@@ -102,8 +102,8 @@ translate german strings:
new "Calibrating [name] ([i]/[total])"
# 00gamepad.rpy:58
old "Press or move the [control!r] [kind]."
new "Press or move the [control!r] [kind]."
old "Press or move the [control!s] [kind]."
new "Press or move the [control!s] [kind]."
# 00gamepad.rpy:66
old "Skip (A)"
+31 -19
View File
@@ -7,7 +7,7 @@ translate german strings:
# about.rpy:43
old "View license"
new "Lizenz ansehen"
new "Lizenz anzeigen"
# add_file.rpy:28
old "FILENAME"
@@ -15,7 +15,7 @@ translate german strings:
# add_file.rpy:28
old "Enter the name of the script file to create."
new "Geben Sie den Namen der Script-Datei ein, um sie zu erstellen."
new "Geben Sie den Namen der zu erstellenden Script-Datei ein."
# add_file.rpy:31
old "The filename must have the .rpy extension."
@@ -235,7 +235,7 @@ translate german strings:
# distribute.rpy:443
old "Scanning project files..."
new "Projektdateien werden geprüft"
new "Projektdateien werden geprüft..."
# distribute.rpy:459
old "Building distributions failed:\n\nThe build.directory_name variable may not include the space, colon, or semicolon characters."
@@ -247,7 +247,7 @@ translate german strings:
# distribute.rpy:516
old "Scanning Ren'Py files..."
new "RenPy-Dateien werden geprüft"
new "RenPy-Dateien werden geprüft..."
# distribute.rpy:569
old "All packages have been built.\n\nDue to the presence of permission information, unpacking and repacking the Linux and Macintosh distributions on Windows is not supported."
@@ -255,7 +255,7 @@ translate german strings:
# distribute.rpy:752
old "Archiving files..."
new "Dateien werden archiviert"
new "Dateien werden archiviert..."
# distribute.rpy:1050
old "Unpacking the Macintosh application for signing..."
@@ -335,7 +335,7 @@ translate german strings:
# distribute_gui.rpy:242
old "Force Recompile"
new "Force Recompile"
new "Neu kompilieren"
# distribute_gui.rpy:246
old "Build"
@@ -409,6 +409,10 @@ translate german strings:
old "Open [text] directory."
new "Open [text] directory."
# front_page.rpy:91
old "PROJECTS:"
new "PROJEKTE:"
# front_page.rpy:93
old "refresh"
new "Aktualisieren"
@@ -469,6 +473,10 @@ translate german strings:
old "All script files"
new "Alle Dateien"
# front_page.rpy:221
old "Actions"
new "Aktionen"
# front_page.rpy:223
old "Navigate Script"
new "Skript navigieren"
@@ -479,7 +487,7 @@ translate german strings:
# front_page.rpy:237
old "Change/Update GUI"
new "Change/Update GUI"
new "GUI anpassen/aktualisieren"
# front_page.rpy:239
old "Change Theme"
@@ -487,7 +495,7 @@ translate german strings:
# front_page.rpy:242
old "Delete Persistent"
new "Persistent-Dateien löschen"
new "Persistenz-Dateien löschen"
# front_page.rpy:251
old "Build Distributions"
@@ -511,11 +519,11 @@ translate german strings:
# front_page.rpy:272
old "Checking script for potential problems..."
new "Überprüft Script auf potentielle Probleme"
new "Überprüfe Script auf potentielle Probleme..."
# front_page.rpy:287
old "Deleting persistent data..."
new "Löscht Persistent-Dateien"
new "Lösche Persistent-Dateien..."
# front_page.rpy:295
old "Recompiling all rpy files into rpyc files..."
@@ -606,8 +614,8 @@ translate german strings:
new "FEHLER"
# interface.rpy:356
old "While [what!q], an error occured:"
new "Während [what!q] ist ein Fehler aufgetreten:"
old "While [what!qt], an error occured:"
new "Während [what!qt] ist ein Fehler aufgetreten:"
# interface.rpy:356
old "[exception!q]"
@@ -879,7 +887,7 @@ translate german strings:
# preferences.rpy:94
old "Projects directory: [text]"
new "Projects directory: [text]"
new "Projektverzeichnis: [text]"
# preferences.rpy:96
old "Not Set"
@@ -891,7 +899,7 @@ translate german strings:
# preferences.rpy:117
old "Text editor: [text]"
new "Text editor: [text]"
new "Texteditor: [text]"
# preferences.rpy:133
old "Update Channel:"
@@ -923,11 +931,15 @@ translate german strings:
# preferences.rpy:174
old "Show edit file section"
new "Show edit file section"
new "'Dateien bearbeiten' anzeigen"
# preferences.rpy:175
old "Large fonts"
new "Large fonts"
new "Große Schriftarten"
# preferences.rpy:182
old "Sponsor message"
new "Sponsoren-Hinweis"
# preferences.rpy:178
old "Console output"
@@ -967,7 +979,7 @@ translate german strings:
# project.rpy:242
old "Ren'Py is scanning the project..."
new "RenPy scannt das Projekt"
new "RenPy scannt das Projekt..."
# project.rpy:568
old "Launching"
@@ -1031,7 +1043,7 @@ translate german strings:
# translations.rpy:224
old "Ren'Py is generating translations...."
new "RenPy erstellt Übersetzungen"
new "RenPy erstellt Übersetzungen..."
# translations.rpy:235
old "Ren'Py has finished generating [language] translations."
@@ -1087,7 +1099,7 @@ translate german strings:
# translations.rpy:374
old "Ren'Py is extracting dialogue...."
new "RenPy extrahiert Dialoge"
new "RenPy extrahiert Dialoge..."
# translations.rpy:378
old "Ren'Py has finished extracting dialogue. The extracted dialogue can be found in dialogue.[persistent.dialogue_format] in the base directory."
+2 -2
View File
@@ -102,8 +102,8 @@ translate greek strings:
new "Ρυθμίζεται το [name] ([i]/[total])"
# 00gamepad.rpy:58
old "Press or move the [control!r] [kind]."
new "Πατήστε ή κουνήστε το [control!r] [kind]."
old "Press or move the [control!s] [kind]."
new "Πατήστε ή κουνήστε το [control!s] [kind]."
# 00gamepad.rpy:66
old "Skip (A)"
+2 -2
View File
@@ -606,8 +606,8 @@ translate greek strings:
new "ΣΦΑΛΜΑ"
# interface.rpy:356
old "While [what!q], an error occured:"
new "Ενόσω [what!q], συνέβη ένα σφάλμα:"
old "While [what!qt], an error occured:"
new "Ενόσω [what!qt], συνέβη ένα σφάλμα:"
# interface.rpy:356
old "[exception!q]"
+2 -2
View File
@@ -101,8 +101,8 @@
new "Mengkalibrasi [nama] ([i]/[total])"
# 00gamepad.rpy:58
old "Press or move the [control!r] [kind]."
new "Tekan atau gerakan [control!r] [kind]."
old "Press or move the [control!s] [kind]."
new "Tekan atau gerakan [control!s] [kind]."
# 00gamepad.rpy:66
old "Skip (A)"
+3 -4
View File
@@ -606,8 +606,8 @@ translate indonesian strings:
new "ERROR"
# interface.rpy:356
old "While [what!q], an error occured:"
new "Kesalahan terjadi ketika : [what!q] adalah :"
old "While [what!qt], an error occured:"
new "Kesalahan terjadi ketika : [what!qt] adalah :"
# interface.rpy:356
old "[exception!q]"
@@ -1253,7 +1253,7 @@ translate indonesian strings:
new "Navigasi: [project.current.display_name!q]"
# new_project.rpy:71
old "You will be creating an [new_project_language] language project. Change the launcher language in preferences to create a project in another language."
old "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."
new "Kamu akan membuat bahasa proyek : [new_project_language]. Ganti bahasa launcher di pengaturan untuk membuat proyek dalam bahasa lain."
# preferences.rpy:187
@@ -1271,4 +1271,3 @@ translate indonesian strings:
# translations.rpy:343
old "Extract Dialogue: [project.current.display_name!q]"
new "Extrak Dialog: [project.current.display_name!q]"
+2 -2
View File
@@ -102,8 +102,8 @@ translate italian strings:
new "Calibrazione [name] ([i]/[total])"
# 00gamepad.rpy:58
old "Press or move the [control!r] [kind]."
new "Premi o muovi [control!r] [kind]."
old "Press or move the [control!s] [kind]."
new "Premi o muovi [control!s] [kind]."
# 00gamepad.rpy:66
old "Skip (A)"
+2 -2
View File
@@ -606,8 +606,8 @@ translate italian strings:
new "ERRORE"
# interface.rpy:356
old "While [what!q], an error occured:"
new "Durante [what!q], si é verificato un errore:"
old "While [what!qt], an error occured:"
new "Durante [what!qt], si é verificato un errore:"
# interface.rpy:356
old "[exception!q]"
+95
View File
@@ -694,3 +694,98 @@ translate japanese strings:
old "Image cache: [cache_pct:.1f]% ([cache_size_mb:.1f] MB)"
new "イメージキャッシュ: [cache_pct:.1f]% ([cache_size_mb:.1f] MB)"
# renpy/common/00accessibility.rpy:76
old "Font Override"
new "フォントオーバーライド"
# renpy/common/00accessibility.rpy:80
old "Default"
new "デフォルト"
# renpy/common/00accessibility.rpy:84
old "DejaVu Sans"
new "DejaVu Sans"
# renpy/common/00accessibility.rpy:88
old "Opendyslexic"
new "Opendyslexic"
# renpy/common/00accessibility.rpy:94
old "Text Size Scaling"
new "テキストサイズのスケーリング"
# renpy/common/00accessibility.rpy:100
old "Reset"
new "リセット"
# renpy/common/00accessibility.rpy:105
old "Line Spacing Scaling"
new "行間のスケーリング"
# renpy/common/00accessibility.rpy:117
old "Self-Voicing"
new "セルフボイシング"
# renpy/common/00accessibility.rpy:121
old "Off"
new "オフ"
# renpy/common/00accessibility.rpy:125
old "Text-to-speech"
new "テキストを読む"
# renpy/common/00accessibility.rpy:129
old "Clipboard"
new "クリップボード"
# renpy/common/00accessibility.rpy:133
old "Debug"
new "デバッグ"
# renpy/common/00accessibility.rpy:191
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 "このメニューのオプションはアクセス性を改善するためのものです。すべてのゲームで動作するわけではなく、特定の組合せではゲームを正常にレンダリングしないでしょう。これはゲームやエンジンの問題ではありません。フォント変更時に最良の結果を得るには、テキストサイズをオリジナルのままにしてください。"
# renpy/common/00preferences.rpy:430
old "font transform"
new "フォント変換"
# renpy/common/00preferences.rpy:433
old "font size"
new "フォントサイズ"
# renpy/common/00preferences.rpy:441
old "font line spacing"
new "フォントの行間"
# renpy/common/_developer/developer.rpym:63
old "Image Attributes"
new "画像属性"
# renpy/common/_developer/developer.rpym:90
old "[name] [attributes] (hidden)"
new "[name] [attributes] (hidden)"
# renpy/common/_developer/developer.rpym:94
old "[name] [attributes]"
new "[name] [attributes]"
# renpy/common/_developer/developer.rpym:154
old "Hide deleted"
new "消去済みを隠す"
# renpy/common/_developer/developer.rpym:154
old "Show deleted"
new "消去済みを表示する"
translate japanese strings:
# renpy/common/00accessibility.rpy:193
old "Self-Voicing Volume Drop"
new "自己発話音量"
# renpy/common/00preferences.rpy:384
old "self voicing volume drop"
new "セルフボイシングボリュームを下げる"
+23
View File
@@ -177,3 +177,26 @@ translate japanese strings:
old "jump <label>: jumps to label"
new "jump <ラベル>: ラベルにジャンプ"
# renpy/common/00console.rpy:685
old "short: Shorten the representation of objects on the console (default)."
new "short: コンソール上のオブジェクトを短く表現する(デフォルト)"
# renpy/common/00console.rpy:690
old "long: Print the full representation of objects on the console."
new "long: コンソール上のオブジェクトを全て表現する"
translate japanese strings:
# renpy/common/00console.rpy:814
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>: python式をウォッチ\n watch short: makes the representation of traced expressions short (default)\n watch long: makes the representation of traced expressions as is"
# renpy/common/00console.rpy:925
old "escape: Enables escaping of unicode symbols in unicode strings."
new "escape: ユニコード文字列中でのユニコードシンボルのエスケープを有効化"
# renpy/common/00console.rpy:929
old "unescape: Disables escaping of unicode symbols in unicode strings and print it as is (default)."
new "unescape: ユニコード文字列中でのユニコードシンボルのエスケープを無効化し (default) として表示"
+65 -2
View File
@@ -102,8 +102,8 @@ translate japanese strings:
new "キャリブレート [name] ([i]/[total])"
# 00gamepad.rpy:58
old "Press or move the [control!r] [kind]."
new "[control!r] [kind] を押すか、倒すかしてください。"
old "Press or move the [control!s] [kind]."
new "[control!s] [kind] を押すか、倒すかしてください。"
# 00gamepad.rpy:66
old "Skip (A)"
@@ -235,3 +235,66 @@ translate japanese strings:
old "Tearing"
new "ティアリング"
# renpy/common/_errorhandling.rpym:542
old "Copy BBCode"
new "BBCode でコピー"
# renpy/common/_errorhandling.rpym:544
old "Copies the traceback.txt file to the clipboard as BBcode for forums like https://lemmasoft.renai.us/."
new "クリップボードに traceback.txt を https://lemmasoft.renai.us/ 等のフォーラムに適した BBcode 形式でコピーする。"
# renpy/common/_errorhandling.rpym:546
old "Copy Markdown"
new "Markdown でコピー"
# renpy/common/_errorhandling.rpym:548
old "Copies the traceback.txt file to the clipboard as Markdown for Discord."
new "クリップボードに traceback.txt を Discord に適した Markdown 形式でコピーする。"
# renpy/common/_errorhandling.rpym:683
old "Copies the errors.txt file to the clipboard as BBcode for forums like https://lemmasoft.renai.us/."
new "クリップボードに errors.txt を https://lemmasoft.renai.us/ 等のフォーラムに適した BBcode 形式でコピーする。"
# renpy/common/_errorhandling.rpym:687
old "Copies the errors.txt file to the clipboard as Markdown for Discord."
new "クリップボードに errors.txt を Discord に適した Markdown 形式でコピーする。"
translate japanese strings:
# renpy/common/00gltest.rpy:100
old "Force GL Renderer"
new "GLレンダリングを強制"
# renpy/common/00gltest.rpy:105
old "Force ANGLE Renderer"
new "ANGLEレンダリングを強制"
# renpy/common/00gltest.rpy:110
old "Force GLES Renderer"
new "GLESレンダリングを強制"
# renpy/common/00gltest.rpy:116
old "Force GL2 Renderer"
new "GL2レンダリングを強制"
# renpy/common/00gltest.rpy:121
old "Force ANGLE2 Renderer"
new "ANGLE2レンダリングを強制"
# renpy/common/00gltest.rpy:126
old "Force GLES2 Renderer"
new "GLES2レンダリングを強制"
# renpy/common/00gltest.rpy:245
old "This game requires use of GL2 that can't be initialised."
new "このゲームはGL2を必要としますが初期化できません。"
# renpy/common/00gltest.rpy:256
old "More details on how to fix this can be found in the {a=[url]}documentation{/a}."
new "詳しい修正方法は{a=[url]}documentation{/a}を参照してください。"
# renpy/common/00gltest.rpy:273
old "Change render options"
new "レンダリング設定を変更"
+442 -12
View File
@@ -35,7 +35,7 @@ translate japanese strings:
# android.rpy:31
old "An x86 Java 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=http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html}download and install the JDK{/a}, then restart the Ren'Py launcher."
new "Windows では、Android パッケージのビルドに 32-bit の Java 開発キットが必要です。JDK は JRE とは異なるため、JDK が無くても Java が利用できます。\n\n{a=http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html}JDK のダウンロードとインストール{/a}を行い、Ren'Py ランチャーを再起動して下さい。"
new "Windows では、Android パッケージのビルドに 32-bit の Java 開発キットが必要です。JDK は JRE とは異なるため、JDK が無くても Java が利用できます。\n\n{a=http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html}JDK{/a}のダウンロードとインストールを行い、Ren'Py ランチャーを再起動して下さい。"
# 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."
@@ -51,7 +51,7 @@ translate japanese strings:
# android.rpy:35
old "Choose \"Build\" to build the current project, or attach an Android device and choose \"Build & Install\" to build and install it on the device."
new "「ビルド」を選択して現在のプロジェクトをビルドするか、Android デバイスを接続して「ビルド & インストール」を選択し、ビルド後そのデバイスにインストールしてください。"
new "「ビルド」を選択して現在のプロジェクトをビルドするか、Android デバイスを接続して「ビルドインストール」を選択し、そのデバイスにインストールしてください。"
# android.rpy:37
old "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."
@@ -135,7 +135,7 @@ translate japanese strings:
# android.rpy:365
old "Configure"
new "設定"
new "構成の設定"
# android.rpy:369
old "Build Package"
@@ -143,7 +143,7 @@ translate japanese strings:
# android.rpy:373
old "Build & Install"
new "ビルド & インストール"
new "ビルドインストール"
# android.rpy:377
old "Build, Install & Launch"
@@ -606,8 +606,8 @@ translate japanese strings:
new "エラー"
# interface.rpy:356
old "While [what!q], an error occured:"
new "[what!q] 中にエラーが発生しました:"
old "While [what!qt], an error occured:"
new "[what!qt] 中にエラーが発生しました:"
# interface.rpy:356
old "[exception!q]"
@@ -623,7 +623,7 @@ translate japanese strings:
# interface.rpy:386
old "File and directory names must consist of ASCII characters."
new "ファイル、ディレクトリー名はアスキーコードの文字列で構成される必要があります。"
new "ファイル、ディレクトリー名はアスキーコードの文字列でなければなりません。"
# interface.rpy:454
old "PROCESSING"
@@ -1011,7 +1011,7 @@ translate japanese strings:
# translations.rpy:170
old "Merge String Translations"
new "文字列の翻訳を合"
new "文字列の翻訳を合"
# translations.rpy:175
old "Replace existing translations"
@@ -1027,7 +1027,7 @@ translate japanese strings:
# 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."
new "抽出コマンドは、既存のプロジェクトから文字列の翻訳(台詞以外の翻訳)を一時ファイルとして抽出します。\n\n合コマンドは、抽出した翻訳をのプロジェクトに合します。"
new "抽出コマンドは、のプロジェクトから文字列の翻訳(台詞以外の翻訳)を一時ファイルとして抽出します。\n\n合コマンドは、抽出した翻訳をのプロジェクトに合します。"
# translations.rpy:224
old "Ren'Py is generating translations...."
@@ -1047,11 +1047,11 @@ translate japanese strings:
# translations.rpy:271
old "Ren'Py is merging string translations..."
new "Ren'Py は文字列の翻訳を合しています…"
new "Ren'Py は文字列の翻訳を合しています…"
# translations.rpy:274
old "Ren'Py has finished merging [language] string translations."
new "Ren'Py は [language] の文字列の翻訳を合しました。"
new "Ren'Py は [language] の文字列の翻訳を合しました。"
# translations.rpy:282
old "Updating default interface translations..."
@@ -1221,7 +1221,7 @@ translate japanese strings:
new "ナビゲーション: [project.current.display_name!q]"
# new_project.rpy:71
old "You will be creating an [new_project_language] language project. Change the launcher language in preferences to create a project in another language."
old "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."
new "日本語のプロジェクトを作成します。別の言語のプロジェクトを作成するには、設定でランチャーの言語を変更してください。"
# preferences.rpy:187
@@ -1322,3 +1322,433 @@ translate japanese strings:
old "Actions"
new "アクション"
translate japanese strings:
# game/add_file.rpy:37
old "The file name may not be empty."
new "ファイル名が与えられていません。"
# 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=http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html}download and install the JDK{/a}, then restart the Ren'Py launcher."
new "ウィンドウズでアンドロイドパッケージをビルドするには、 64-bit/x64 Java 8 Development Kit が必要になります。 JDK は JRE とは違うもので、Java には含まれていません。\n\n{a=http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html}JDK{/a}をダンロード、インストールしてから 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."
new "Android Studio からアクセスできるデバッグビルドを選択する。 デバッグビルドとリリースビルドを切り替えるには、デバイスからアンインストールする必要があります。"
# game/android.rpy:51
old "Selects the Release build, which can be uploaded to stores. Changing between debug and release builds requires an uninstall from your device."
new "ストアへアップロード可能なリリースビルドを選択する。 デバッグビルドとリリースビルドを切り替えるには、デバイスからアンインストールする必要があります。"
# game/androidstrings.rpy:7
old "{} is not a directory."
new "{} はディレクトリーではありません。"
# game/androidstrings.rpy:8
old "{} does not contain a Ren'Py game."
new "{} に Ren'Py のゲームは含まれていません。"
# game/androidstrings.rpy:9
old "Run configure before attempting to build the app."
new "アプリをビルドする前に構成を変更する。"
# game/androidstrings.rpy:10
old "Google Play support is enabled, but build.google_play_key is not defined."
new "Google Play サポートは有効になりましたが、 build.google_play_key が定義されていません。"
# game/androidstrings.rpy:11
old "Updating project."
new "プロジェクトを更新しています。"
# game/androidstrings.rpy:12
old "Creating assets directory."
new "アセットディレクトリーを作成しています"
# game/androidstrings.rpy:13
old "Creating expansion file."
new "拡張ファイルを作成しています。"
# game/androidstrings.rpy:14
old "Packaging internal data."
new "内部データをパッケージングしています。"
# game/androidstrings.rpy:15
old "I'm using Gradle to build the package."
new "パッケージのビルドに Gradle を使用しています。"
# game/androidstrings.rpy:16
old "Uploading expansion file."
new "拡張ファイルをアップロードしています。"
# game/androidstrings.rpy:17
old "The build seems to have failed."
new "ビルドに失敗したようです"
# game/androidstrings.rpy:18
old "Launching app."
new "アプリを起動しています。"
# game/androidstrings.rpy:19
old "The build seems to have succeeded."
new "ビルドに成功したようです。"
# game/androidstrings.rpy:20
old "The arm64-v8a version works on newer Android devices, the armeabi-v7a version works on older devices, and the x86_64 version works on the simulator and chromebooks."
new "arm64-v8a version は新しいアンドロイドデバイスで動きます。 armeabi-v7a version は古いデバイスで動きます。 the x86_64 version はシミュレーターやクロームブックで動きます。"
# game/androidstrings.rpy:21
old "What is the full name of your application? This name will appear in the list of installed applications."
new "アプリのフルネームはなんですか? フルネームはインストール済みアプリの一覧に表示されます。"
# game/androidstrings.rpy:22
old "What is the short name of your application? This name will be used in the launcher, and for application shortcuts."
new "アプリのショートネームは何ですか? ショートネームはランチャーやショートカットで使われます。"
# game/androidstrings.rpy:23
old "What is the name of the package?\n\nThis is usually of the form com.domain.program or com.domain.email.program. It may only contain ASCII letters and dots. It must contain at least one dot."
new "パッケージ名はなんですか?\n\nこれは通常 com.domain.program や com.domain.email.program の形を取ります。 ASCII 文字とドットのみで構成され、最低一つのドットを含まなければなりません。"
# game/androidstrings.rpy:24
old "The package name may not be empty."
new "パッケージ名が与えられていません。"
# game/androidstrings.rpy:25
old "The package name may not contain spaces."
new "パッケージ名はスペースを含んではいけません。"
# game/androidstrings.rpy:26
old "The package name must contain at least one dot."
new "パッケージ名は最低一つのドットを含まなければなりません。"
# game/androidstrings.rpy:27
old "The package name may not contain two dots in a row, or begin or end with a dot."
new "パッケージ名は2つのドットが連続したり、最初や最後がドットになってはいけません。"
# game/androidstrings.rpy:28
old "Each part of the package name must start with a letter, and contain only letters, numbers, and underscores."
new "パッケージ名の各部分は文字から始めまり、文字・数字・アンダースコアのみを使用しなければなりません"
# game/androidstrings.rpy:29
old "{} is a Java keyword, and can't be used as part of a package name."
new "{} は Java のキーワードのため、パッケージ名に使用することはできません。."
# game/androidstrings.rpy:30
old "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."
new "アプリケーションのバージョンはなんですか?\n\nバージョンは他の人に分かりやすい名前にします。数字とドットのみが使用できます。"
# game/androidstrings.rpy:31
old "The version number must contain only numbers and dots."
new "バージョンナンバーは数字とドットのみが使用できます。"
# game/androidstrings.rpy:32
old "What is the version code?\n\nThis must be a positive integer number, and the value should increase between versions."
new "バージョンコードは何ですか?\n\nこれは正の整数で、バージョンが上がるごとに増えていきます。"
# game/androidstrings.rpy:33
old "The numeric version must contain only numbers."
new "バージョンコードは数字のみが使用できます。"
# game/androidstrings.rpy:34
old "How would you like your application to be displayed?"
new "どのようにアプリケーションを表示したいですか?"
# game/androidstrings.rpy:35
old "In landscape orientation."
new "ランドスケープ(横向き)"
# game/androidstrings.rpy:36
old "In portrait orientation."
new "ポートレイト(縦向き)"
# game/androidstrings.rpy:37
old "In the user's preferred orientation."
new "ユーザーが選択した向き"
# game/androidstrings.rpy:38
old "Which app store would you like to support in-app purchasing through?"
new "アプリ内課金をどのアプリストアに対応させますか?"
# game/androidstrings.rpy:39
old "Google Play."
new "Google Play"
# game/androidstrings.rpy:40
old "Amazon App Store."
new "Amazon App Store"
# game/androidstrings.rpy:41
old "Both, in one app."
new "一つのアプリで両方とも"
# game/androidstrings.rpy:42
old "Neither."
new "どちらも対応させない"
# game/androidstrings.rpy:43
old "Would you like to create an expansion APK?"
new "APK 拡張ファイルを作成しますか?"
# game/androidstrings.rpy:44
old "No. Size limit of 100 MB on Google Play, but can be distributed through other stores and sideloaded."
new "いいえ。Google Play では100MBのサイズ制限がありますが、他のストアを通したり、直接配布することが可能です。"
# game/androidstrings.rpy:45
old "Yes. 2 GB size limit, but won't work outside of Google Play. (Read the documentation to get this to work.)"
new "はい。2GBのサイズまで作成できますが、 Google Play 以外では動きません。(ドキュメンテーションを参照してください。)"
# game/androidstrings.rpy:46
old "Do you want to allow the app to access the Internet?"
new "アプリのインターネット接続を許可しますか?"
# game/androidstrings.rpy:47
old "Do you want to automatically update the generated project?"
new "作成したプロジェクトを自動的に更新させますか?"
# game/androidstrings.rpy:48
old "Yes. This is the best choice for most projects."
new "はい。多くのプロジェクトで最良の選択です。"
# game/androidstrings.rpy:49
old "No. This may require manual updates when Ren'Py or the project configuration changes."
new "いいえ。Ren'Py やプロジェクトの構成が変更されるごとに、手動でアップデートする必要があります。"
# game/androidstrings.rpy:50
old "Unknown configuration variable: {}"
new "未知の構成変数: {}"
# game/androidstrings.rpy:51
old "I'm compiling a short test program, to see if you have a working JDK on your system."
new "小さなテストプログラムをコンパイルして、あなたのシステムで JDK が動作するか確認しています。"
# game/androidstrings.rpy:52
old "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\nhttp://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html\n\nThe JDK is different from the JRE, so it's possible you have Java without having the JDK. Without a working JDK, I can't continue."
new "テストファイルのコンパイルに javac が利用できません。Java Development Kit をダウンロードしていないなら、\n\nhttp://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html\n\nからダウンロードしてください。 JDK は JRE とは違うもので、Java には含まれていません。JDK がなければ継続できません。"
# game/androidstrings.rpy:53
old "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\nhttp://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html\n\nYou can also set the JAVA_HOME environment variable to use a different version of Java."
new "あなたのコンピューターにある Java のバージョンは JDK 8 ではないようです。JDK 8 は Android SDK がサポートする唯一のバージョンです。JDK 8 は:\n\nhttp://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html\n\nからダウンロードできます。 異なるバージョンの JAVA を使う場合は、JAVA_HOME の環境変数を設定します。"
# game/androidstrings.rpy:54
old "The JDK is present and working. Good!"
new "JDK が動作することを確認しました。"
# game/androidstrings.rpy:55
old "The Android SDK has already been unpacked."
new "Android SDK の解凍は完了しています。"
# game/androidstrings.rpy:56
old "Do you accept the Android SDK Terms and Conditions?"
new "Android SDK の契約内容・条件を承諾しますか?"
# game/androidstrings.rpy:57
old "I'm downloading the Android SDK. This might take a while."
new "Android SDK をダウンロードしています。この処理にはしばらくかかります。"
# game/androidstrings.rpy:58
old "I'm extracting the Android SDK."
new "Android SDK を解凍しています。"
# game/androidstrings.rpy:59
old "I've finished unpacking the Android SDK."
new "Android SDK の解凍を完了しました。"
# game/androidstrings.rpy:60
old "I'm about to download and install the required Android packages. This might take a while."
new "必要な Android パッケージをダウンロードしてインストールしようとしています。この処理にはしばらくかかります。"
# game/androidstrings.rpy:61
old "I was unable to accept the Android licenses."
new "Android ライセンスを承諾出来ませんでした。"
# game/androidstrings.rpy:62
old "I was unable to install the required Android packages."
new "必要な Android パッケージをインストールできませんでした。"
# game/androidstrings.rpy:63
old "I've finished installing the required Android packages."
new "必要な Android パッケージのインストールが終了しました。"
# game/androidstrings.rpy:64
old "You set the keystore yourself, so I'll assume it's how you want it."
new "keystore が設定されているため、あなた自身で設定したいのだと判断しました。"
# game/androidstrings.rpy:65
old "You've already created an Android keystore, so I won't create a new one for you."
new "Android keystore が既に作成済みのため、新しい keystore の作成は行いません。"
# game/androidstrings.rpy:66
old "I can create an application signing key for you. Signing an application with this key allows it to be placed in the Android Market and other app stores.\n\nDo you want to create a key?"
new "アプリケーションに署名するキーを発行できます。このキーでアプリケーションに署名すると、アンドロイドマーケットや他のストアで配布できるようになります。\n\nキーを作成しますか?"
# game/androidstrings.rpy:67
old "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?"
new "android.keystore ファイルを作成します。\n\nこのファイルはバックアップしてください。もし失くした場合はアプリをアップグレードすることが出来なくなります。\n\nまた、このファイルは安全な場所に保管してください。このファイルが悪意のある人間の手に渡ると、アプリのフェイクバージョンを作られたり、ユーザーデータを盗まれる恐れがあります。\n\nandroid.keystore のバックアップを作成し、安全な場所に保存しますか?"
# game/androidstrings.rpy:68
old "Please enter your name or the name of your organization."
new "あなたの名前か組織名を入力してください。"
# game/androidstrings.rpy:69
old "Could not create android.keystore. Is keytool in your path?"
new "android.keystore を作成できませんでした。keytool があなたのパスに存在しますか?"
# game/androidstrings.rpy:70
old "I've finished creating android.keystore. Please back it up, and keep it in a safe place."
new "android.keystore の作成を終了しました。 このファイルをバックアップして、安全な場所に保管してください。"
# game/androidstrings.rpy:71
old "It looks like you're ready to start packaging games."
new "ゲームのパッケージングの準備が整ったようです。"
# game/choose_theme.rpy:507
old "changing the theme"
new "テーマを変更しています。"
# game/front_page.rpy:252
old "Web"
new "Web"
# game/front_page.rpy:252
old "(Beta)"
new "(Beta)"
# game/front_page.rpy:198
old "audio"
new "audio"
# game/gui7.rpy:429
old "creating a new project"
new "新しいプロジェクトを作成しています。"
# game/gui7.rpy:433
old "activating the new project"
new "新しいプロジェクトを認証しています。"
# game/interface.rpy:372
old "opening the log file"
new "ログファイルを開いています。"
# game/itch.rpy:43
old "Downloading the itch.io butler."
new "itch.io butler をダウンロードしています。"
# game/updater.rpy:101
old "The update channel controls the version of Ren'Py the updater will download."
new "アップロードチャンネルはアップデーターのバージョンをコントロールします。"
# game/updater.rpy:110
old "• This version is installed and up-to-date."
new "• このバージョンは最新の状態でインストールされています。"
# game/updater.rpy:118
old "%B %d, %Y"
new "%B %d, %Y"
# game/updater.rpy:188
old "Fetching the list of update channels"
new "アップデートチャンネルのリストを取得しています。"
# game/updater.rpy:194
old "downloading the list of update channels"
new "アップデートチャンネルのリストをダウンロードしています。"
# game/updater.rpy:198
old "parsing the list of update channels"
new "アップデートチャンネルのリストを解析しています。"
# game/web.rpy:118
old "Web: [project.current.display_name!q]"
new "Web: [project.current.display_name!q]"
# game/web.rpy:148
old "Build Web Application"
new "ウェブアプリケーションをビルドする"
# game/web.rpy:149
old "Build and Open in Browser"
new "ビルドしてブラウザで開く"
# game/web.rpy:150
old "Open in Browser"
new "ブラウザで開く"
# game/web.rpy:151
old "Open build directory"
new "ビルドしたディレクトリーを開く"
# game/web.rpy:155
old "Support:"
new "サポート:"
# game/web.rpy:163
old "RenPyWeb Home"
new "RenPyWeb ホーム"
# game/web.rpy:164
old "Beuc's Patreon"
new "Beuc's Patreon"
# game/web.rpy:182
old "Ren'Py web applications require the entire game to be downloaded to the player's computer before it can start."
new "Ren'Py ウェブアプリケーションは、ゲームをスタートする前に、プレイヤーのコンピューターにデータを全てダウンロードする必要があります。"
# game/web.rpy:186
old "Current limitations in the web platform mean that loading large images, audio files, or movies may cause audio or framerate glitches, and lower performance in general."
new "現在のウェブプラットホームの限界により、一般的なパフォーマンスの低下や、大きな画像・音声・動画ファイルのロードによる音声やフレームレートの異常が発生します。"
# game/web.rpy:195
old "Before packaging web apps, you'll need to download RenPyWeb, Ren'Py's web support. Would you like to download RenPyWeb now?"
new "ウェブアプリをパッケージングするために、RenPyWeb (Ren'Py's web support) をダウンロードする必要があります。 RenPyWeb をダウンロードしますか?"
translate japanese strings:
# game/androidstrings.rpy:47
old "Do you want to automatically update the Java source code?"
new "Javaのソースコードを自動的に更新したいですか?"
# game/choose_directory.rpy:93
old "Ren'Py was unable to run python with tkinter to choose the directory. Please install the python3-tk or tkinter package."
new "Ren'Pyはpythonでtkinterkを実行してディレクトリを選択できません。python3-tkまたはtkinterパッケージをインストールしてください。"
# game/install.rpy:33
old "Could not install [name!t], as a file matching [zipglob] was not found in the Ren'Py SDK directory."
new "Ren'Py SDKディレクトリに[zipglob]にマッチするファイルが見つからなかったため、[name!t]をインストールできませんでした。"
# game/install.rpy:76
old "Successfully installed [name!t]."
new "[name!t]のインストールに成功しました。"
# game/install.rpy:104
old "Install Libraries"
new "ライブラリのインストール"
# game/install.rpy:119
old "This screen allows you to install libraries that can't be distributed with Ren'Py. Some of these libraries may require you to agree to a third-party license before being used or distributed."
new "この画面ではRen'pyと共に配布できないライブラリをダウンロードします。これらのライブラリの一部は使用や配布前にサードパーティーのライセンスに同意が必要です。"
# game/install.rpy:134
old "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."
new "{a=https://www.live2d.com/en/download/cubism-sdk/download-native/}Custom SDK for Native {/a}はLive2Dモデルの表示サポートを追加します。Ren'Py SDK ディレクトリにCubismSdkForNative-4-{i}version{/i}.zipを置き、クリックしてインストールしてください。Live2Dと共にゲームを配布するには Live2D Inc.のライセンスに同意が必要です。"
# game/install.rpy:138
old "Open Ren'Py SDK Directory"
new "Ren'Py SDKディレクトリを開く"
# game/preferences.rpy:138
old "Install libraries"
new "ライブラリのインストール"
# game/preferences.rpy:140
old "Reset window size"
new "ウィンドウサイズリセット"
# game/web.rpy:242
old "Preparing progressive download"
new "プログレッシブダウンロードの準備"
# game/web.rpy:341
old "Images and musics can be downloaded while playing. A 'progressive_download.txt' file will be created so you can configure this behavior."
new "画像と音声がプレイ中にダウンロード可能です。 'progressive_download.txt' ファイルが作成されるのでこれを編集して振舞を設定できます。"
+5 -1
View File
@@ -166,7 +166,7 @@ translate japanese strings:
# screens.rpy:352
old "## Used to display the main menu when Ren'Py starts."
new "## Ren'py が起動した時に表示されるメインメニューを表示するスクリーンです。"
new "## Ren'Py が起動した時に表示されるメインメニューを表示するスクリーンです。"
# screens.rpy:354
old "## http://www.renpy.org/doc/html/screen_special.html#main-menu"
@@ -694,3 +694,7 @@ translate japanese strings:
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:333
old "## The quit button is banned on iOS and unnecessary on Android and Web."
new "## 終了ボタンはiOSでは使用できません。また、AndroidやWebでは必要ありません。"
+4 -8
View File
@@ -20,7 +20,7 @@ label start:
# 背景を表示します。デフォルトではプレースホルダー(仮画像)を使用しますが、
# images ディレクトリーにファイル(ファイル名は "bg room.png" や "bg room.jpg"
# を追加することにより表示できます。
# を追加すること表示できます。
scene bg room
@@ -39,14 +39,10 @@ label start:
with dissolve
# 音楽を再生します。ここではタグを利用して無音を再生していますが、
# game ディレクトリーに "music.ogg" などと命名したファイルを追加すると
# play music "music.ogg" の形で再生することができます。
# 音楽を再生します。
# game ディレクトリーに "music.ogg" などファイルを追加すると再生できます。
# 効果音を再生する時は play audio "filename" を使用します。
# play music とは違って複数の効果音を同時に再生することができます。
play music "<silence .5>"
# play music "music.ogg"
# 以下は台詞を表示します。
+1 -1
View File
@@ -1,5 +1,5 @@
init python:
translate_font("japanese", "MTLc3m.ttf")
translate_font("japanese", "SourceHanSansLite.ttf")
translate_define("japanese", "gui.language", "'japanese-normal'")
translate japanese python:
+476 -21
View File
@@ -1,5 +1,4 @@

translate korean strings:
translate korean strings:
# 00action_file.rpy:26
old "{#weekday}Monday"
@@ -27,7 +26,7 @@ translate korean strings:
# 00action_file.rpy:26
old "{#weekday}Sunday"
new "{#weekday}일일"
new "{#weekday}일일"
# 00action_file.rpy:37
old "{#weekday_short}Mon"
@@ -153,74 +152,394 @@ translate korean strings:
old "{#month_short}Dec"
new "{#month_short}12월"
# 00action_file.rpy:235
# 00action_file.rpy:240
old "%b %d, %H:%M"
new "%b %d %H:%M"
# 00action_file.rpy:820
# 00action_file.rpy:353
old "Save slot %s: [text]"
new "%s 슬롯에 저장: [text]"
# 00action_file.rpy:434
old "Load slot %s: [text]"
new "%s 슬롯 불러오기: [text]"
# 00action_file.rpy:487
old "Delete slot [text]"
new "[text] 슬롯 삭제"
# 00action_file.rpy:569
old "File page auto"
new "자동 파일 페이지"
# 00action_file.rpy:571
old "File page quick"
new "빠른 파일 페이지"
# 00action_file.rpy:573
old "File page [text]"
new "[text] 파일 페이지"
# 00action_file.rpy:763
old "Next file page."
new "다음 파일 페이지."
# 00action_file.rpy:827
old "Previous file page."
new "이전 파일 페이지."
# 00action_file.rpy:889
old "Quick save complete."
new "퀵세이브 완료."
# 00gui.rpy:227
# 00action_file.rpy:907
old "Quick save."
new "빠른 저장."
# 00action_file.rpy:926
old "Quick load."
new "빠른 불러오기."
# 00action_other.rpy:355
old "Language [text]"
new "[text] 언어"
# 00director.rpy:708
old "The interactive director is not enabled here."
new "인터렉티브 디렉터는 여기에서 사용할 수 없습니다."
# 00director.rpy:1481
old "⬆"
new "⬆"
# 00director.rpy:1487
old "⬇"
new "⬇"
# 00director.rpy:1551
old "Done"
new "완료"
# 00director.rpy:1561
old "(statement)"
new "(명령문)"
# 00director.rpy:1562
old "(tag)"
new "(태그)"
# 00director.rpy:1563
old "(attributes)"
new "(속성)"
# 00director.rpy:1564
old "(transform)"
new "(변환)"
# 00director.rpy:1589
old "(transition)"
new "(전환)"
# 00director.rpy:1601
old "(channel)"
new "(채널)"
# 00director.rpy:1602
old "(filename)"
new "(파일이름)"
# 00director.rpy:1631
old "Change"
new "교체"
# 00director.rpy:1633
old "Add"
new "추가"
# 00director.rpy:1636
old "Cancel"
new "취소"
# 00director.rpy:1639
old "Remove"
new "제거"
# 00director.rpy:1674
old "Statement:"
new "명령문:"
# 00director.rpy:1695
old "Tag:"
new "태그:"
# 00director.rpy:1711
old "Attributes:"
new "속성:"
# 00director.rpy:1729
old "Transforms:"
new "변환:"
# 00director.rpy:1748
old "Behind:"
new "뒤에:"
# 00director.rpy:1767
old "Transition:"
new "전환:"
# 00director.rpy:1785
old "Channel:"
new "채널:"
# 00director.rpy:1803
old "Audio Filename:"
new "오디오 파일이름:"
# 00gui.rpy:370
old "Are you sure?"
new "정말입니까?"
# 00gui.rpy:228
# 00gui.rpy:371
old "Are you sure you want to delete this save?"
new "이 세이브 파일을 지우겠습니까?"
# 00gui.rpy:229
# 00gui.rpy:372
old "Are you sure you want to overwrite your save?"
new "이 세이브 파일에 덮어쓰겠습니까?"
# 00gui.rpy:230
# 00gui.rpy:373
old "Loading will lose unsaved progress.\nAre you sure you want to do this?"
new "불러오기를 하면 저장하지 않은 데이터를 잃게 됩니다.\n파일을 불러올까요?"
# 00gui.rpy:231
# 00gui.rpy:374
old "Are you sure you want to quit?"
new "종료하겠습니까?"
# 00gui.rpy:232
# 00gui.rpy:375
old "Are you sure you want to return to the main menu?\nThis will lose unsaved progress."
new "메인 메뉴로 돌아가겠습니까?\n저장하지 않은 데이터는 잃게 됩니다."
# 00gui.rpy:233
# 00gui.rpy:376
old "Are you sure you want to end the replay?"
new "리플레이를 종료하겠습니까?"
# 00gui.rpy:234
# 00gui.rpy:377
old "Are you sure you want to begin skipping?"
new "스킵을 시작하겠습니까?"
# 00gui.rpy:235
# 00gui.rpy:378
old "Are you sure you want to skip to the next choice?"
new "다음 선택지가 나타날 때까지 스킵하겠습니까?"
# 00gui.rpy:236
# 00gui.rpy:379
old "Are you sure you want to skip unseen dialogue to the next choice?"
new "다음 선택지가 나타날 때까지 본 적이 없는 대사까지 모두 스킵하겠습니까?"
# 00keymap.rpy:250
# 00keymap.rpy:258
old "Failed to save screenshot as %s."
new "%s 에 스크린샷 저장을 실패했습니다."
# 00keymap.rpy:270
old "Saved screenshot as %s."
new "스크린샷을 %s 에 저장했습니다."
# 00library.rpy:142
# 00library.rpy:146
old "Self-voicing disabled."
new "대사 읽기를 끕니다."
# 00library.rpy:143
# 00library.rpy:147
old "Clipboard voicing enabled. "
new "대사 복사하기를 켭니다. "
# 00library.rpy:144
# 00library.rpy:148
old "Self-voicing enabled. "
new "대사 읽기를 켭니다. "
# 00library.rpy:179
# 00library.rpy:150
old "bar"
new "바"
# 00library.rpy:151
old "selected"
new "선택된"
# 00library.rpy:152
old "viewport"
new "뷰포트"
# 00library.rpy:153
old "horizontal scroll"
new "수평 스크롤"
# 00library.rpy:154
old "vertical scroll"
new "수직 스크롤"
# 00library.rpy:155
old "activate"
new "활성화"
# 00library.rpy:156
old "deactivate"
new "비활성화"
# 00library.rpy:157
old "increase"
new "증가"
# 00library.rpy:158
old "decrease"
new "감소"
# 00library.rpy:193
old "Skip Mode"
new "스킵 모드"
# 00preferences.rpy:207
old "display"
new "화면 모드"
# 00preferences.rpy:219
old "transitions"
new "화면 전환"
# 00preferences.rpy:228
old "skip transitions"
new "화면 전환 스킵"
# 00preferences.rpy:230
old "video sprites"
new "비디오 스프라이트"
# 00preferences.rpy:239
old "show empty window"
new "빈 창 보이기"
# 00preferences.rpy:248
old "text speed"
new "텍스트 속도"
# 00preferences.rpy:256
old "joystick"
new "조이스틱"
# 00preferences.rpy:256
old "joystick..."
new "조이스틱..."
# 00preferences.rpy:263
old "skip"
new "스킵"
# 00preferences.rpy:266
old "skip unseen [text]"
new "읽지 않은 [text] 스킵"
# 00preferences.rpy:271
old "skip unseen text"
new "읽지 않은 텍스트까지 모두 스킵"
# 00preferences.rpy:273
old "begin skipping"
new "스킵 시작"
# 00preferences.rpy:277
old "after choices"
new "선택지 이후에도 스킵"
# 00preferences.rpy:284
old "skip after choices"
new "선택후 스킵"
# 00preferences.rpy:286
old "auto-forward time"
new "자동 진행 시간"
# 00preferences.rpy:300
old "auto-forward"
new "자동 진행"
# 00preferences.rpy:307
old "Auto forward"
new "자동 진행"
# 00preferences.rpy:310
old "auto-forward after click"
new "클릭후 자동 진행"
# 00preferences.rpy:319
old "automatic move"
new "자동 이동"
# 00preferences.rpy:328
old "wait for voice"
new "음성 기다리기"
# 00preferences.rpy:337
old "voice sustain"
new "음성 지속"
# 00preferences.rpy:346
old "self voicing"
new "대사 읽기"
# 00preferences.rpy:355
old "clipboard voicing"
new "대사 복사하기"
# 00preferences.rpy:364
old "debug voicing"
new "음성 디버그"
# 00preferences.rpy:373
old "emphasize audio"
new "오디오 강조"
# 00preferences.rpy:382
old "rollback side"
new "롤백 클릭 옵션"
# 00preferences.rpy:392
old "gl powersave"
new "GL 절전"
# 00preferences.rpy:398
old "gl framerate"
new "GL 프레임 속도"
# 00preferences.rpy:401
old "gl tearing"
new "GL 티어링"
# 00preferences.rpy:413
old "music volume"
new "배경음악 크기"
# 00preferences.rpy:414
old "sound volume"
new "효과음 크기"
# 00preferences.rpy:415
old "voice volume"
new "음성 크기"
# 00preferences.rpy:416
old "mute music"
new "배경음악 크기"
# 00preferences.rpy:417
old "mute sound"
new "효과음 끄기"
# 00preferences.rpy:418
old "mute voice"
new "음성 끄기"
# 00preferences.rpy:419
old "mute all"
new "모두 음소거"
# 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 "이 프로그램은 MIT 라이선스와 GNU 라이선스를 포함한 여러 가지 라이선스의 적용을 받는 오픈소스 소프트웨어를 포함하고 있습니다. {a=https://www.renpy.org/l/license}이곳{/a}에서 포함된 모든 소프트웨어와 그 소스코드를 확인할 수 있습니다."
@@ -231,12 +550,68 @@ translate korean strings:
# 00preferences.rpy:424
old "Self-voicing would say \"[renpy.display.tts.last]\". Press 'alt+shift+V' to disable."
new "Self-voicing would say \"[renpy.display.tts.last]\". Press 'alt+shift+V' to disable."
new "대사 읽기 기능이 \"[renpy.display.tts.last]\" 를(을) 말할 것입니다. 'alt+shift+V'를 누르면 비활성화됩니다."
# 00preferences.rpy:426
old "Self-voicing enabled. Press 'v' to disable."
new "대사 읽기 기능을 실행했습니다. 'v' 키를 눌러 종료합니다."
# _compat\gamemenu.rpym:198
old "Empty Slot."
new "빈 슬롯"
# _compat\gamemenu.rpym:355
old "Previous"
new "이전"
# _compat\gamemenu.rpym:362
old "Next"
new "다음"
# _developer\developer.rpym:43
old "Interactive Director (D)"
new "인터렉티브 디렉터 (D)"
# _developer\developer.rpym:57
old "Show Image Load Log (F4)"
new "이미지 불러오기 목록을 표시하기 (F4)"
# _developer\developer.rpym:60
old "Hide Image Load Log (F4)"
new "이미지 불러오기 목록을 숨기기 (F4)"
# _developer\developer.rpym:63
old "Image Attributes"
new "이미지 속성"
# _developer\developer.rpym:90
old "[name] [attributes] (hidden)"
new "[name] [attributes] (hidden)"
# _developer\developer.rpym:94
old "[name] [attributes]"
new "[name] [attributes]"
# _developer\developer.rpym:489
old "Type to filter: "
new "필터: "
# _developer\developer.rpym:617
old "Textures: [tex_count] ([tex_size_mb:.1f] MB)"
new "텍스쳐: [tex_count] ([tex_size_mb:.1f] MB)"
# _developer\developer.rpym:621
old "Image cache: [cache_pct:.1f]% ([cache_size_mb:.1f] MB)"
new "이미지 캐시: [cache_pct:.1f]% ([cache_size_mb:.1f] MB)"
# _layout\classic_load_save.rpym:170
old "a"
new "a"
# _layout\classic_load_save.rpym:179
old "q"
new "q"
# 00iap.rpy:217
old "Contacting App Store\nPlease Wait..."
new "앱스토어와 통신 중\n잠시만 기다려주십시오..."
@@ -333,3 +708,83 @@ translate korean strings:
old "return"
new "돌아가기"
# _developer\developer.rpym:154
old "Hide deleted"
new "삭제항목 숨기기"
# _developer\developer.rpym:154
old "Show deleted"
new "삭제항목 보이기"
# 00accessibility.rpy:128
old "Font Override"
new "글꼴 덮어쓰기"
# 00accessibility.rpy:132
old "Default"
new "기본"
# 00accessibility.rpy:136
old "DejaVu Sans"
new "DejaVu Sans"
# 00accessibility.rpy:140
old "Opendyslexic"
new "Opendyslexic"
# 00accessibility.rpy:146
old "Text Size Scaling"
new "글자 크기 조절"
# 00accessibility.rpy:152
old "Reset"
new "초기화"
# 00accessibility.rpy:158
old "Line Spacing Scaling"
new "줄 간격 조절"
# 00accessibility.rpy:171
old "Self-Voicing"
new "대사 읽기"
# 00accessibility.rpy:175
old "Off"
new "끄기"
# 00accessibility.rpy:179
old "Text-to-speech"
new "텍스트 음성 변환"
# 00accessibility.rpy:183
old "Clipboard"
new "클립보드"
# 00accessibility.rpy:193
old "Self-Voicing Volume Drop"
new "대사 읽기 음소거"
# 00accessibility.rpy:202
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 "이 메뉴의 옵션은 접근성을 향상시키기 위한 것입니다. 모든 게임에서 작동하지 않을 수 있고 일부 옵션 조합은 게임을 플레이할 수 없게 만들 수 있으며 이러한 경우 게임이나 엔진의 문제가 아닙니다. 글꼴을 변경할 때 최상의 결과를 얻으려면 글자 크기를 원래대로 유지하십시오."
# 00preferences.rpy:388
old "self voicing volume drop"
new "대사 읽기 음소거"
# 00preferences.rpy:430
old "font transform"
new "글꼴 변형"
# 00preferences.rpy:433
old "font size"
new "글꼴 크기"
# 00preferences.rpy:441
old "font line spacing"
new "글꼴 줄 간격"
# 00preferences.rpy:464
old "system cursor"
new "시스템 커서"
+14 -8
View File
@@ -1,5 +1,4 @@

translate korean strings:
translate korean strings:
# _developer/developer.rpym:38
old "Developer Menu"
@@ -7,7 +6,7 @@ translate korean strings:
# _developer/developer.rpym:43
old "Reload Game (Shift+R)"
new "게임 재시작 (Shift + R)"
new "게임 재시작 (Shift+R)"
# _developer/developer.rpym:45
old "Console (Shift+O)"
@@ -51,7 +50,7 @@ translate korean strings:
# _developer/developer.rpym:378
old "Mouse position: %r"
new "마우스 포인터 좌: %r"
new "마우스 포인터 좌: %r"
# _developer/developer.rpym:383
old "Right-click or escape to quit."
@@ -75,7 +74,7 @@ translate korean 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}"
new "\n{color=#cfc}✔ 예측된 이미지 (좋은){/color}\n{color=#fcc}✘ 예측하지 못한 이미지 (나쁜){/color}\n{color=#fff}드래그로 이동.{/color}"
# _developer/inspector.rpym:38
old "Displayable Inspector"
@@ -103,7 +102,7 @@ translate korean strings:
# _developer/inspector.rpym:145
old " (no properties affect the displayable)"
new "(디스플레이어블에 적용되는 속성이 없습니다)"
new " (디스플레이어블에 적용되는 속성이 없습니다)"
# _developer/inspector.rpym:147
old " (default properties omitted)"
@@ -135,11 +134,11 @@ translate korean strings:
# 00console.rpy:413
old " <renpy script statement>: run the statement\n"
new "<렌파이 스크립트 명령문>: 명령문을 실행한다\n"
new " <렌파이 스크립트 명령문>: 명령문을 실행한다\n"
# 00console.rpy:415
old " <python expression or statement>: run the expression or statement"
new "<파이썬 표현식 또는 명령문>: 표현식이나 명령문을 실행한다"
new " <파이썬 표현식 또는 명령문>: 표현식이나 명령문을 실행한다"
# 00console.rpy:423
old "clear: clear the console history"
@@ -177,3 +176,10 @@ translate korean strings:
old "jump <label>: jumps to label"
new "jump <label>: label로 점프한다"
# 00console.rpy:685
old "short: Shorten the representation of objects on the console (default)."
new "short: 콘솔에서 오브젝트 표시를 줄인다 (기본값)."
# 00console.rpy:690
old "long: Print the full representation of objects on the console."
new "long: 콘솔에서 오브젝트를 모두 표시한다."
+110 -52
View File
@@ -1,91 +1,118 @@

translate korean strings:
# 00gltest.rpy:64
old "Graphics Acceleration"
new "그래픽 가속"
translate korean strings:
# 00gltest.rpy:70
old "Renderer"
new "렌더러"
# 00gltest.rpy:74
old "Automatically Choose"
new "자동으로 선택한다"
# 00gltest.rpy:75
# 00gltest.rpy:79
old "Force Angle/DirectX Renderer"
new "앵글/다이렉트X 렌더러를 강제한다"
# 00gltest.rpy:79
# 00gltest.rpy:83
old "Force OpenGL Renderer"
new "오픈GL 렌더러를 강제한다"
# 00gltest.rpy:83
# 00gltest.rpy:87
old "Force Software Renderer"
new "소프트웨어 렌더러를 강제한다"
# 00gltest.rpy:93
old "NPOT"
new "NPOT"
# 00gltest.rpy:97
old "Enable"
new "활성"
# 00gltest.rpy:109
# 00gltest.rpy:131
old "Powersave"
new "절전"
# 00gltest.rpy:145
old "Framerate"
new "프레임 속도"
# 00gltest.rpy:149
old "Screen"
new "스크린"
# 00gltest.rpy:153
old "60"
new "60"
# 00gltest.rpy:157
old "30"
new "30"
# 00gltest.rpy:163
old "Tearing"
new "티어링"
# 00gltest.rpy:179
old "Changes will take effect the next time this program is run."
new "변경사항은 프로그램을 재시작하면 적용됩니다."
# 00gltest.rpy:141
# 00gltest.rpy:213
old "Performance Warning"
new "성능 경고"
# 00gltest.rpy:146
# 00gltest.rpy:218
old "This computer is using software rendering."
new "이 컴퓨터에서는 소프트웨어 렌더링을 사용하고 있습니다."
# 00gltest.rpy:148
# 00gltest.rpy:220
old "This computer is not using shaders."
new "이 컴퓨터에서는 쉐이더를 사용하지 않습니다."
# 00gltest.rpy:150
# 00gltest.rpy:222
old "This computer is displaying graphics slowly."
new "이 컴퓨터에서는 그래픽을 느리게 표시합니다."
# 00gltest.rpy:152
# 00gltest.rpy:224
old "This computer has a problem displaying graphics: [problem]."
new "이 컴퓨터에는 그래픽 표시에 문제가 있습니다. [problem]."
# 00gltest.rpy:157
# 00gltest.rpy:229
old "Its graphics drivers may be out of date or not operating correctly. This can lead to slow or incorrect graphics display. Updating DirectX could fix this problem."
new "컴퓨터의 그래픽 드라비어가 구버전이거나 제대로 작동하지 않습니다. 그래픽을 느리게 표시하거나 제대로 표시하지 못할 수 있습니다. 다이렉트X를 업데이트하면 이 문제를 해결할 수 있습니다."
# 00gltest.rpy:159
# 00gltest.rpy:231
old "Its graphics drivers may be out of date or not operating correctly. This can lead to slow or incorrect graphics display."
new "컴퓨터의 그래픽 드라비어가 구버전이거나 제대로 작동하지 않습니다. 그래픽을 느리게 표시하거나 제대로 표시하지 못할 수 있습니다."
# 00gltest.rpy:164
# 00gltest.rpy:236
old "Update DirectX"
new "다이렉트X 업데이트하기"
# 00gltest.rpy:170
# 00gltest.rpy:242
old "Continue, Show this warning again"
new "계속한다. 이 경고를 다시 표시한다."
# 00gltest.rpy:174
# 00gltest.rpy:246
old "Continue, Don't show warning again"
new "계속한다. 이 경고를 다시 표시하지 않는다."
# 00gltest.rpy:192
# 00gltest.rpy:264
old "Updating DirectX."
new "다이렉트X를 업데이트하고 있습니다."
# 00gltest.rpy:196
# 00gltest.rpy:268
old "DirectX web setup has been started. It may start minimized in the taskbar. Please follow the prompts to install DirectX."
new "다이렉트X 웹 설치를 시작했습니다. 작업표시줄에 최소화 상태로 시작되었을 수도 있습니다. 설치 안내창에 따라 다이렉트X를 설치하세요."
# 00gltest.rpy:200
# 00gltest.rpy:272
old "{b}Note:{/b} Microsoft's DirectX web setup program will, by default, install the Bing toolbar. If you do not want this toolbar, uncheck the appropriate box."
new "{b}* 주의{/b}/n 마이크로소프트의 다이렉트X 웹 설치 프로그램은 기본적으로 Bing 툴바를 설치합니다. 이 툴바를 설치하고 싶지 않다면 체크 박스의 체크 표시를 해제하세요."
# 00gltest.rpy:204
# 00gltest.rpy:276
old "When setup finishes, please click below to restart this program."
new "설치가 완료되면 아래 버튼을 눌러 프로그램을 다시 시작하세요."
# 00gltest.rpy:206
# 00gltest.rpy:278
old "Restart"
new "다시 시작"
@@ -102,8 +129,8 @@ translate korean strings:
new "[name]를 보정 중입니다. ([i]/[total])"
# 00gamepad.rpy:58
old "Press or move the [control!r] [kind]."
new "[control!r] [kind]를 누르거나 이동합니다."
old "Press or move the [control!s] [kind]."
new "[control!s] [kind]를 누르거나 이동합니다."
# 00gamepad.rpy:66
old "Skip (A)"
@@ -113,67 +140,98 @@ translate korean strings:
old "Back (B)"
new "뒤로 (B)"
# _errorhandling.rpym:495
old "Open Traceback"
new "Traceback.txt 파일 열기"
# _errorhandling.rpym:529
old "Open"
new "열기"
# _errorhandling.rpym:497
# _errorhandling.rpym:531
old "Opens the traceback.txt file in a text editor."
new "traceback.txt 파일을 스크립트 에디터로 엽니다."
new "traceback.txt 파일을 스트 에디터로 엽니다."
# _errorhandling.rpym:499
old "Copy to Clipboard"
new "클립보드로 복사"
# _errorhandling.rpym:533
old "Copy"
new "복사"
# _errorhandling.rpym:501
# _errorhandling.rpym:535
old "Copies the traceback.txt file to the clipboard."
new "traceback.txt 파일을 클립보드로 복사합니다."
# _errorhandling.rpym:519
# _errorhandling.rpym:562
old "An exception has occurred."
new "예외가 발생했습니다."
# _errorhandling.rpym:538
# _errorhandling.rpym:582
old "Rollback"
new "롤백"
# _errorhandling.rpym:540
# _errorhandling.rpym:584
old "Attempts a roll back to a prior time, allowing you to save or choose a different choice."
new "게임을 저장하거나 다른 선택지를 선택할 수 있도록 이전으로 롤백합니다."
# _errorhandling.rpym:543
# _errorhandling.rpym:587
old "Ignore"
new "무시"
# _errorhandling.rpym:545
# _errorhandling.rpym:591
old "Ignores the exception, allowing you to continue."
new "예외를 무시하고 게임을 계속합니다."
# _errorhandling.rpym:593
old "Ignores the exception, allowing you to continue. This often leads to additional errors."
new "예외를 무시하고 게임을 계속합니다. 간혹 오류가 추가 발생할 수 있습니다."
# _errorhandling.rpym:548
# _errorhandling.rpym:597
old "Reload"
new "다시 불러오기"
# _errorhandling.rpym:550
# _errorhandling.rpym:599
old "Reloads the game from disk, saving and restoring game state if possible."
new "현재 상태를 저장한 뒤 복원하여 게임을 디스크에서 다시 불러옵니다."
# _errorhandling.rpym:560
# _errorhandling.rpym:602
old "Console"
new "콘솔"
# _errorhandling.rpym:604
old "Opens a console to allow debugging the problem."
new "콘솔을 열어 문제를 디버깅합니다."
# _errorhandling.rpym:614
old "Quits the game."
new "게임을 종료합니다."
# _errorhandling.rpym:582
# _errorhandling.rpym:638
old "Parsing the script failed."
new "스크립트 해석 실패."
# _errorhandling.rpym:606
old "Open Parse Errors"
new "Error.txt 파일 열기"
# _errorhandling.rpym:608
# _errorhandling.rpym:664
old "Opens the errors.txt file in a text editor."
new "errors.txt 파일을 스크립트 에디터로 엽니다."
new "errors.txt 파일을 스트 에디터로 엽니다."
# _errorhandling.rpym:612
# _errorhandling.rpym:668
old "Copies the errors.txt file to the clipboard."
new "errors.txt 파일을 클립보드로 복사합니다."
# _errorhandling.rpym:542
old "Copy BBCode"
new "BB코드 복사"
# _errorhandling.rpym:544
old "Copies the traceback.txt file to the clipboard as BBcode for forums like https://lemmasoft.renai.us/."
new "traceback.txt 파일을 https://lemmasoft.renai.us/ 같은 포럼에서 사용하는 BB코드로 클립보드에 복사합니다."
# _errorhandling.rpym:546
old "Copy Markdown"
new "마크다운 복사"
# _errorhandling.rpym:548
old "Copies the traceback.txt file to the clipboard as Markdown for Discord."
new "traceback.txt 파일을 디스코드(Discord) 마크다운으로 클립보드에 복사합니다."
# _errorhandling.rpym:683
old "Copies the errors.txt file to the clipboard as BBcode for forums like https://lemmasoft.renai.us/."
new "errors.txt 파일을 https://lemmasoft.renai.us/ 같은 포럼에서 사용하는 BB코드로 클립보드에 복사합니다."
# _errorhandling.rpym:687
old "Copies the errors.txt file to the clipboard as Markdown for Discord."
new "errors.txt 파일을 디스코드(Discord) 마크다운으로 클립보드에 복사합니다."
+117 -95
View File
@@ -1,18 +1,21 @@

translate korean strings:
translate korean strings:
# gui.rpy:2
old "## Initialization"
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 "## 이 파일에서 init offset 문을 사용하면 이 파일의 init 코드가 다른 파일의 init 코드보다 먼저 실행됩니다."
old "## The init offset statement causes the initialization statements in this file to run before init statements in any other file."
new "## 이 파일에서 init offset 문을 사용하면 이 파일의 초기화 문이 다른 파일의 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 "## gui.init의 호출은 스타일을 합리적인 기본값으로 재설정하고, 게임의 너비(width)와 높이(height)를 설정합니다."
# gui.rpy:17
old "## GUI Configuration Variables"
new "## GUI 설정 변수"
# gui.rpy:21
old "## Colors"
new "## 색상"
@@ -101,311 +104,330 @@ translate korean strings:
old "## The images used for the main and game menus."
new "## 이미지들은 메인(main)과 게임 메뉴(game menu)에 사용됩니다."
# gui.rpy:92
old "## Should we show the name and version of the game?"
new "## 게임의 이름과 버전을 보여줘야 할까요?"
# gui.rpy:96
# gui.rpy:93
old "## Dialogue"
new "## 대사"
# gui.rpy:98
# gui.rpy:95
old "## These variables control how dialogue is displayed on the screen one line at a time."
new "## 이러한 변수들은 한 번에 한 줄의 대사가 어떻게 화면에 표시되는지 제어합니다."
# gui.rpy:101
# gui.rpy:98
old "## The height of the textbox containing dialogue."
new "## 대사를 포함하는 텍스트 박스의 높이입니다."
# gui.rpy:104
# gui.rpy:101
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 "## 화면에 텍스트박스를 세로로 배치합니다. 0.0은 최상단, 0.5는 중앙, 그리고 1.0은 최하단입니다."
# gui.rpy:109
# gui.rpy:106
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 "## 말하는 캐릭터의 이름을 텍스트 박스를 기준으로 배치합니다. 이것은 좌측이나 최상단으로부터 전체 픽셀값의 숫자가 되거나, 0.5로 중앙이 될 수 있습니다."
# gui.rpy:114
# gui.rpy:111
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 "## 캐릭터들의 이름을 수평으로 정렬합니다. 이것은 0.0으로 좌측 정렬, 0.5로 중앙, 그리고 1.0으로 우측 정렬될 수 있습니다."
# gui.rpy:118
# gui.rpy:115
old "## The width, height, and borders of the box containing the character's name, or None to automatically size it."
new "## 캐릭터들의 이름이 들어 있는 박스의 너비, 높이, 그리고 테두리입니다. 혹은 그것을 None으로 자동 설정할 수 있습니다."
# gui.rpy:123
# gui.rpy:120
old "## The borders of the box containing the character's name, in left, top, right, bottom order."
new "## 캐릭터의 이름이 들어 있는 박스의 테두리를 좌측, 상단, 우측, 하단의 순서로 정합니다."
# gui.rpy:127
# gui.rpy:124
old "## If True, the background of the namebox will be tiled, if False, the background of the namebox will be scaled."
new "## 만약 참(True)이면, 네임박스의 배경은 바둑판식으로 배열(tiled)될 것이고, 거짓(False)이면, 네임박스의 배경은 채워질(scaled) 것입니다."
# gui.rpy:132
# gui.rpy:129
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 "## 텍스트박스에서 대사의 위치입니다. These can be a whole number of pixels relative to the left or top side of the textbox, or 0.5 to center."
# gui.rpy:138
# gui.rpy:135
old "## The maximum width of dialogue text, in pixels."
new "## 픽셀값에서 대사의 최대 너비입니다."
# gui.rpy:141
# gui.rpy:138
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 "## 대사 글자의 수평 정렬입니다. 이것은 0.0으로 좌측 정렬, 0.5로 중앙, 그리고 1.0으로 우측 정렬이 될 수 있습니다."
# gui.rpy:146
# gui.rpy:143
old "## Buttons"
new "## 버튼들"
# gui.rpy:148
# gui.rpy:145
old "## These variables, along with the image files in gui/button, control aspects of how buttons are displayed."
new "## 이러한 변수들은 GUI/버튼에서 이미지 파일들과 함께 어떻게 버튼이 표시되는지 제어합니다."
# gui.rpy:151
# gui.rpy:148
old "## The width and height of a button, in pixels. If None, Ren'Py computes a size."
new "## 픽셀값에서 버튼의 너비와 높이입니다. 만약 None이면, 렌파이가 크기를 계산합니다."
# gui.rpy:155
# gui.rpy:152
old "## The borders on each side of the button, in left, top, right, bottom order."
new "## 좌측, 상단, 우측, 하단의 순서에서 버튼의 테두리 값입니다."
# gui.rpy:158
# gui.rpy:155
old "## If True, the background image will be tiled. If False, the background image will be linearly scaled."
new "## 만약 참(True)이면, 배경 이미지는 바둑판식으로 배열(tiled)될 것입니다. 만약 거짓(False)이면, 배경 이미지는 선으로 채워질(scaled) 것입니다."
# gui.rpy:162
# gui.rpy:159
old "## The font used by the button."
new "## 버튼에 사용된 글자의 폰트입니다."
# gui.rpy:165
# gui.rpy:162
old "## The size of the text used by the button."
new "## 버튼에 사용된 글자의 크기입니다."
# gui.rpy:179
# gui.rpy:165
old "## The color of button text in various states."
new "## 다양한 상태의 버튼 글자의 색상입니다."
# gui.rpy:171
old "## The horizontal alignment of the button text. (0.0 is left, 0.5 is center, 1.0 is right)."
new "## 버튼 글자의 수평 정렬(0.0은 왼쪽,0.5은 가운데,1.0은 오른쪽)입니다."
# gui.rpy:176
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 "## 이러한 변수는 다른 종류의 버튼 설정을 덮어씌웁니다. 사용 가능한 버튼의 종류와, 각각 무엇을 위해 사용하는지는 gui 문서를 확인해주세요."
# gui.rpy:183
# gui.rpy:180
old "## These customizations are used by the default interface:"
new "## 이러한 사용자 지정은 기본 인터페이스에 사용됩니다:"
# gui.rpy:198
# gui.rpy:195
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 "## 당신은 또한 설정된 이름의 변수를 추가함으로써 당신만의 커스텀을 추가할 수 있습니다. 예를 들어, 다음 행의 주석 표시를 제거하여 탐색(navigation) 버튼의 너비를 설정할 수 있습니다."
# gui.rpy:205
# gui.rpy:202
old "## Choice Buttons"
new "## 선택 버튼들"
# gui.rpy:207
# gui.rpy:204
old "## Choice buttons are used in the in-game menus."
new "## 선택 버튼은 인-게임 메뉴에 사용됩니다."
# gui.rpy:220
# gui.rpy:217
old "## File Slot Buttons"
new "## 파일 슬롯 버튼"
# gui.rpy:222
# gui.rpy:219
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 "## 파일 슬롯 버튼은 버튼의 특별한 종류입니다. 그것은 썸네일 이미지나 저장 슬롯의 콘텐츠를 설명하는 글자를 포함합니다. GUI/버튼에서 저장 슬롯은 버튼의 다른 종류와 같은 이미지 파일을 사용합니다."
# gui.rpy:226
# gui.rpy:223
old "## The save slot button."
new "## 저장 슬롯 버튼입니다."
# gui.rpy:234
# gui.rpy:233
old "## The width and height of thumbnails used by the save slots."
new "## 저장 슬롯에 사용되는 썸네일의 너비와 높이입니다."
# gui.rpy:238
# gui.rpy:237
old "## The number of columns and rows in the grid of save slots."
new "## 저장 슬롯의 그리드(grid)에서 행(rows)과 열(columns)의 갯수입니다."
# gui.rpy:243
# gui.rpy:242
old "## Positioning and Spacing"
new "## 위치와 간격"
# gui.rpy:245
# gui.rpy:244
old "## These variables control the positioning and spacing of various user interface elements."
new "## 이러한 변수들은 다양한 사용자 인터페이스 요소들의 위치와 간격을 제어합니다."
# gui.rpy:248
# gui.rpy:247
old "## The position of the left side of the navigation buttons, relative to the left side of the screen."
new "## 화면의 왼쪽을 기준으로 하는 네비게이션 버튼의 왼쪽 위치입니다."
# gui.rpy:252
# gui.rpy:251
old "## The vertical position of the skip indicator."
new "## 스킵 표시기(skip indicator)의 수직 위치입니다."
# gui.rpy:255
# gui.rpy:254
old "## The vertical position of the notify screen."
new "## 통지(notify) 스크린의 수직 위치입니다."
# gui.rpy:258
# gui.rpy:257
old "## The spacing between menu choices."
new "## 선택지의 메뉴 선택 간의 간격입니다."
# gui.rpy:261
# gui.rpy:260
old "## Buttons in the navigation section of the main and game menus."
new "## 메인과 게임 메뉴에서 네비게이션 섹션의 버튼들 간의 간격입니다."
# gui.rpy:264
# gui.rpy:263
old "## Controls the amount of spacing between preferences."
new "## 환경 설정들 간의 간격을 제어합니다."
# gui.rpy:267
# gui.rpy:266
old "## Controls the amount of spacing between preference buttons."
new "## 환경 설정 버튼들 사이의 간격을 제어합니다."
# gui.rpy:270
# gui.rpy:269
old "## The spacing between file page buttons."
new "## 파일 페이지 버튼들 간의 간격입니다."
# gui.rpy:273
# gui.rpy:272
old "## The spacing between file slots."
new "## 파일 슬롯들 간의 간격입니다."
# gui.rpy:277
# gui.rpy:275
old "## The position of the main menu text."
new "## 메인 메뉴 글자의 위치입니다."
# gui.rpy:279
old "## Frames"
new "## 프레임들"
# gui.rpy:279
# gui.rpy:281
old "## These variables control the look of frames that can contain user interface components when an overlay or window is not present."
new "## 이러한 변수들은 오버레이되거나 창이 없을 때 보여지는 사용자 인터페이스 구성 요소들을 포함하는 프레임을 제어합니다."
# gui.rpy:282
# gui.rpy:284
old "## Generic frames that are introduced by player code."
new "## 플레이어 코드에 의해 소개되는 일반 프레임."
# gui.rpy:285
# gui.rpy:287
old "## The frame that is used as part of the confirm screen."
new "## 프레임은 확인(confirm) 화면의 일부로 사용됩니다."
# gui.rpy:288
# gui.rpy:290
old "## The frame that is used as part of the skip screen."
new "## 프레임은 스킵(skip) 화면의 일부로 사용됩니다."
# gui.rpy:291
# gui.rpy:293
old "## The frame that is used as part of the notify screen."
new "## 프레임은 통지(notify) 화면의 일부로 사용됩니다."
# gui.rpy:294
# gui.rpy:296
old "## Should frame backgrounds be tiled?"
new "## 프레임 배경들은 바둑판식으로 배열해야 할까요?"
# gui.rpy:298
# gui.rpy:230
old "## Bars, Scrollbars, and Sliders"
new "## 막대, 스크롤바, 슬라이더"
# gui.rpy:300
# gui.rpy:302
old "## These control the look and size of bars, scrollbars, and sliders."
new "## 이러한 설정은 막대와 스크롤바, 그리고 슬라이더의 보여지는 것과 크기를 제어합니다."
# gui.rpy:302
# gui.rpy:304
old "## The default GUI only uses sliders and vertical scrollbars. All of the other bars are only used in creator-written code."
new "## 기본 GUI는 슬라이더와 세로 스크롤바만 사용합니다. 다른 모든 막대들은 창작자가 작성한 코드에서 사용됩니다."
# gui.rpy:305
# gui.rpy:307
old "## The height of horizontal bars, scrollbars, and sliders. The width of vertical bars, scrollbars, and sliders."
new "## 수평 막대, 스크롤바, 슬라이더의 높이. 수직 막대, 스크롤바, 슬라이더의 너비."
# gui.rpy:311
# gui.rpy:313
old "## True if bar images should be tiled. False if they should be linearly scaled."
new "## 막대 이미지가 바둑판식 배열돼야 하면 참(True)입니다. 선으로 채워져야 한다면 거짓(False)입니다."
# gui.rpy:316
# gui.rpy:318
old "## Horizontal borders."
new "## 수평 테두리입니다."
# gui.rpy:321
# gui.rpy:323
old "## Vertical borders."
new "## 수직 테두리입니다."
# gui.rpy:326
# gui.rpy:328
old "## What to do with unscrollable scrollbars in the gui. \"hide\" hides them, while None shows them."
new "## GUI에서 스크롤할 수 없는 스크롤 막대로 뭘 할 수 있나요? \"hide\"로 그것들을 숨기고, None은 그것들을 보여줍니다."
# gui.rpy:331
old "## History"
new "## 다시보기"
# gui.rpy:333
old "## The history screen displays dialogue that the player has already dismissed."
new "## 다시보기 화면은 사용자가 이미 확인한 다이얼로그를 표시합니다."
old "## History"
new "## 대사록"
# gui.rpy:335
old "## The history screen displays dialogue that the player has already dismissed."
new "## 대사록 화면은 사용자가 이미 확인한 다이얼로그를 표시합니다."
# gui.rpy:337
old "## The number of blocks of dialogue history Ren'Py will keep."
new "## 렌파이가 보관할 다시보기의 블록 갯수입니다."
new "## 렌파이가 보관할 대사록의 블록 갯수입니다."
# gui.rpy:338
# gui.rpy:340
old "## The height of a history screen entry, or None to make the height variable at the cost of performance."
new "## 다시보기 화면 항목의 높이를 지정하거나 None으로 하여 높이를 성능에 맡길 수 있습니다."
new "## 대사록 화면 항목의 높이를 지정하거나 None으로 하여 높이를 성능에 맡길 수 있습니다."
# gui.rpy:342
# gui.rpy:344
old "## The position, width, and alignment of the label giving the name of the speaking character."
new "## 말하는 캐릭터의 이름을 나타내는 레이블의 위치, 너비, 그리고 정렬입니다."
# gui.rpy:349
# gui.rpy:351
old "## The position, width, and alignment of the dialogue text."
new "## 대사 글자의 위치, 너비, 그리고 정렬입니다."
# gui.rpy:356
# gui.rpy:358
old "## NVL-Mode"
new "## NVL-모드"
# gui.rpy:358
# gui.rpy:360
old "## The NVL-mode screen displays the dialogue spoken by NVL-mode characters."
new "## NVL-모드 화면은 NVL-모드 캐릭터들에 의한 대화를 화면에 표시합니다."
# gui.rpy:360
# gui.rpy:362
old "## The borders of the background of the NVL-mode background window."
new "## NVL-모드 배경 창에서 배경의 테두리입니다."
# gui.rpy:363
# gui.rpy:365
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 "## 렌파이가 표시할 NVL-mode 항목의 최대 수입니다. 설정보다 많은 항목이 표시되면 가장 오래된 항목이 제거됩니다."
# gui.rpy:369
old "## The height of an NVL-mode entry. Set this to None to have the entries dynamically adjust height."
new "## NVL-모드 항목의 높이입니다. 이것을 None으로 설정하면 항목들은 동적으로 높이를 조정합니다."
# gui.rpy:367
# gui.rpy:373
old "## The spacing between NVL-mode entries when gui.nvl_height is None, and between NVL-mode entries and an NVL-mode menu."
new "## gui.nvl_height 값이 None일 때 NVL-모드 항목들, 그리고 NVL-모드 항목들과 NVL-모드 메뉴간의 간의 간격입니다."
# gui.rpy:384
# gui.rpy:390
old "## The position, width, and alignment of nvl_thought text (the text said by the nvl_narrator character.)"
new "## nvl_thought 글자의 위치, 너비, 정렬(nvl_narrator 캐릭터에 의해 표시되는 글자)입니다."
# gui.rpy:391
# gui.rpy:397
old "## The position of nvl menu_buttons."
new "## NVL 메뉴 버튼의 위치입니다."
# gui.rpy:403
old "## This increases the size of the quick buttons to make them easier to touch on tablets and phones."
new "## 이것은 휴대전화와 태블릿에서 쉽게 터지할 수 있도록 빠른(Quick) 버튼들의 크기를 크게 합니다."
# gui.rpy:401
old "## Localization"
new "## 현지화"
# gui.rpy:409
# gui.rpy:403
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 "## 줄 바꿈이 허용되는 위치를 제어합니다. 기본값은 대부분의 언어에 적합합니다. 사용 가능한 값 목록은 https://www.renpy.org/doc/html/style_properties.html#style-property-language 에서 찾을 수 있습니다."
# gui.rpy:411
old "## Mobile devices"
new "## 모바일 기기"
# gui.rpy:416
old "## This increases the size of the quick buttons to make them easier to touch on tablets and phones."
new "## 이것은 휴대전화와 태블릿에서 쉽게 터치할 수 있도록 빠른(Quick) 버튼들의 크기를 크게 합니다."
# gui.rpy:422
old "## This changes the size and spacing of various GUI elements to ensure they are easily visible on phones."
new "## 이것은 휴대전화에서 다양한 GUI 요소들의 크기와 간격을 쉽게 보일 수 있도록 변경합니다."
# gui.rpy:413
# gui.rpy:426
old "## Font sizes."
new "## 글자 크기들."
# gui.rpy:421
# gui.rpy:434
old "## Adjust the location of the textbox."
new "## 텍스트박스의 위치를 조정합니다."
# gui.rpy:427
# gui.rpy:440
old "## Change the size and spacing of items in the game menu."
new "## 게임 메뉴에서 항목들의 크기와 간격을 변경합니다."
# gui.rpy:436
# gui.rpy:453
old "## File button layout."
new "## 파일 버튼 레이아웃."
# gui.rpy:440
# gui.rpy:457
old "## NVL-mode."
new "## NVL-모드."
# gui.rpy:456
old "## Quick buttons."
new "## 빠른(Quick) 버튼들."
File diff suppressed because it is too large Load Diff
+1 -27
View File
@@ -1,27 +1 @@

translate korean strings:
# _layout/classic_joystick_preferences.rpym:94
old "Joystick Mapping"
new "조이스틱 설정"
# _layout/classic_load_save.rpym:138
old "Empty Slot."
new "빈 슬롯."
# _layout/classic_load_save.rpym:170
old "a"
new "a"
# _layout/classic_load_save.rpym:179
old "q"
new "q"
# _compat/gamemenu.rpym:355
old "Previous"
new "뒤로"
# _compat/gamemenu.rpym:362
old "Next"
new "앞으로"
# This file intentionally left blank.
+50 -44
View File
@@ -1,5 +1,4 @@

translate korean strings:
translate korean strings:
# options.rpy:1
old "## This file contains options that can be changed to customize your game."
@@ -34,162 +33,169 @@ translate korean strings:
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 "## 게임의 about 스크린에 배치되는 텍스트입니다. 단락 사이에 빈 줄을 넣으려면 \\n\\n를 적으십시오."
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 "## 게임의 about 스크린에 배치되는 텍스트입니다. 텍스트를 삼중 따옴표 사이에 배치하고 단락 사이에 빈 줄을 남겨 둡니다."
# options.rpy:37
# 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 "## 배포판의 실행 파일과 디렉토리에 사용되는 게임의 약식 이름. 이것은 ASCII 전용이어야 하며 공백, 콜론 또는 세미콜론을 포함해서는 안 됩니다."
# options.rpy:44
# options.rpy:45
old "## Sounds and music"
new "## 음악과 음향"
# options.rpy:46
# options.rpy:47
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 "## 이 세 가지 변수는 기본적으로 플레이어에 표시되는 믹서를 제어합니다. 이들 중 하나를 False로 설정하면 해당 믹서가 숨겨집니다."
# options.rpy:55
# 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 "## 사용자가 음향 또는 음성 채널에서 테스트 사운드를 재생할 수 있게 하려면 아래 줄의 주석을 제거하고 이를 사용하여 재생할 샘플 사운드를 설정하십시오."
# options.rpy:62
# 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 "## 플레이어가 주 메뉴에 있을 때 재생할 오디오 파일을 설정하려면 다음 줄의 주석 처리를 제거하십시오. 이 파일은 중지되거나 다른 파일이 재생 될 때까지 계속 재생합니다."
# options.rpy:69
# options.rpy:70
old "## Transitions"
new "## 번역"
# options.rpy:71
# 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 "## 이러한 변수는 특정 이벤트가 발생할 때 사용되는 전환을 설정합니다. 각 변수는 전환으로 설정해야 하며, 전환을 사용하지 말아야 한다는 것을 나타내려면 None으로 설정해야 합니다."
# options.rpy:75
# options.rpy:76
old "## Entering or exiting the game menu."
new "## 게임 메뉴에 진입하거나 나갑니다."
# options.rpy:81
# options.rpy:82
old "## Between screens of the game menu."
new "## 게임 메뉴 화면 사이입니다."
# options.rpy:87
old "## A transition that is used after a game has been loaded."
new "## 게임이 로드된 후 사용되는 전환입니다."
# options.rpy:86
# options.rpy:92
old "## Used when entering the main menu after the game has ended."
new "## 게임 종료 후 주 메뉴에 진입할 때 사용됩니다."
# options.rpy:91
# 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 "## 게임을 시작할 때 사용되는 전환을 설정하는 변수가 없습니다. 대신, 초기 장면을 표시한 후 with 문을 사용하십시오."
# options.rpy:96
# options.rpy:102
old "## Window management"
new "## 창 관리"
# options.rpy:98
# 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 "## 이것은 대사 창이 표시됐을 때 제어합니다. 만약 \"show\"면, 그것은 상항 표시됩니다. 만약 \"hide\"면, 그것은 대사가 주어질 때만 표시됩니다. 만약 \"auto\"면, 창은 장면(scene) 문 앞에 숨겨져 대화 상자가 표시되면 다시 표시됩니다."
# options.rpy:103
# options.rpy:109
old "## After the game has started, this can be changed with the \"window show\", \"window hide\", and \"window auto\" statements."
new "## 게임이 시작된 후에는 \"window show\", \"window hide\", 그리고 \"window auto\" 문을 사용하여 변경할 수 있습니다."
# options.rpy:109
# options.rpy:115
old "## Transitions used to show and hide the dialogue window"
new "## 대화 창을 표시하고 숨기는 데 사용되는 전환"
# options.rpy:115
# options.rpy:121
old "## Preference defaults"
new "## 환경설정 기본값"
# options.rpy:117
# 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 "## 기본 글자 속도를 제어합니다. 기본적으로, 0은 즉시이며 다른 숫자는 초당 입력 할 문자 수입니다."
# options.rpy:123
# options.rpy:129
old "## The default auto-forward delay. Larger numbers lead to longer waits, with 0 to 30 being the valid range."
new "## 기본 auto-forward 지연 시간입니다. 숫자가 클수록 대기 시간이 길어지며, 0 ~ 30이 유효한 범위가 됩니다."
# options.rpy:129
# options.rpy:135
old "## Save directory"
new "## 세이브 디렉토리"
# options.rpy:131
# 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 "## 렌파이는 이 게임에 대한 저장 파일을 플랫폼 별로 배치합니다. 세이브 파일들은 여기에 있습니다:"
# options.rpy:134
# options.rpy:140
old "## Windows: %APPDATA\\RenPy\\<config.save_directory>"
new "## 윈도우즈: %APPDATA\\RenPy\\<config.save_directory>"
# options.rpy:136
# options.rpy:142
old "## Macintosh: $HOME/Library/RenPy/<config.save_directory>"
new "## 매킨토시: $HOME/Library/RenPy/<config.save_directory>"
# options.rpy:138
# options.rpy:144
old "## Linux: $HOME/.renpy/<config.save_directory>"
new "## 리눅스: $HOME/.renpy/<config.save_directory>"
# options.rpy:140
# options.rpy:146
old "## This generally should not be changed, and if it is, should always be a literal string, not an expression."
new "## 이것은 일반적으로 변경해서는 안 되며, 항상 표현형식이 아닌 정확한 문자열이어야 합니다."
# options.rpy:146
# options.rpy:152
old "## Icon ########################################################################'"
new "## 아이콘 #######################################################################'"
# options.rpy:148
# options.rpy:154
old "## The icon displayed on the taskbar or dock."
new "## 작업 표시 줄 또는 독에 표시되는 아이콘."
# options.rpy:153
# options.rpy:159
old "## Build configuration"
new "## 빌드 구성"
# options.rpy:155
# options.rpy:161
old "## This section controls how Ren'Py turns your project into distribution files."
new "## 이 섹션은 렌파이가 프로젝트를 배포 파일로 만드는 방법을 제어합니다."
# options.rpy:160
# 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 "## 다음 함수는 파일 패턴을 사용합니다. 파일 패턴은 대/소문자를 구분하지 않으며, /의 유무와 관계없이 기본 디렉터리의 상대 경로와 일치합니다. 여러 패턴이 일치하면 첫 번째 패턴이 사용됩니다."
# options.rpy:165
# options.rpy:171
old "## In a pattern:"
new "## 패턴 있음:"
# options.rpy:167
# options.rpy:173
old "## / is the directory separator."
new "## / 는 디렉토리 구분 기호입니다."
# options.rpy:169
# options.rpy:175
old "## * matches all characters, except the directory separator."
new "## * 는 디렉토리 구분자를 제외한 모든 문자와 일치합니다."
# options.rpy:171
# options.rpy:177
old "## ** matches all characters, including the directory separator."
new "## ** 는 디렉토리 구분자를 포함해 모든 문자와 일치합니다."
# options.rpy:173
# 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 "## 예를 들어, \"*.txt\" 는 기본 디렉토리의 txt 파일들과 일치하고, \"game/**.ogg\" 는 게임 디렉토리 또는 그 서브 디렉토리의 ogg 파일들과 일치하며, \"**.psd\" 는 프로젝트에서 모든 곳의 psd 파일들과 일치합니다."
# options.rpy:177
# options.rpy:183
old "## Classify files as None to exclude them from the built distributions."
new "## 파일을 None으로 분류하여 배포판으로부터 제외하십시오."
# options.rpy:185
# options.rpy:191
old "## To archive files, classify them as 'archive'."
new "## 파일을 아카이브하려면 'archive'로 분류하십시오."
# options.rpy:190
# 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 "## 파일들의 매칭 문서 패턴은 맥앱(Mac App) 빌드에서 중복되므로 app 및 zip 파일에 모두 나타납니다."
# options.rpy:196
# options.rpy:202
old "## Set this to a string containing your Apple Developer ID Application to enable codesigning on the Mac. Be sure to change it to your own Apple-issued ID."
new "## 맥(Mac)에서 코드 서명을 사용하려면 Apple Developer ID Application이 포함된 문자열로 설정하십시오. 애플(Apple)에서 발행한 ID로 변경하십시오."
# options.rpy:209
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 "## 확장 파일을 다운로드하고 인앱 구매를 수행하려면 Google Play 라이센스 키가 필요합니다. Google Play 개발자 콘솔의 \"서비스 및 API\"페이지에서 확인할 수 있습니다."
# options.rpy:203
# options.rpy:216
old "## The username and project name associated with an itch.io project, separated by a slash."
new "## itch.io 프로젝트와 연관된 사용자 이름과 프로젝트 이름이며 슬래시로 구분됩니다."
+227 -217
View File
@@ -1,643 +1,653 @@

translate korean strings:
translate korean strings:
# screens.rpy:9
old "## Styles"
new "## 스타일"
# screens.rpy:87
# screens.rpy:81
old "## In-game screens"
new "## 게임내 스크린"
# screens.rpy:91
# screens.rpy:85
old "## Say screen"
new "## Say 스크린"
# screens.rpy:93
# 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 "## Say 스크린은 플레이어에게 대사를 출력할 때 씁니다. 화자 who와 대사 what, 두 개의 매개변수를 받습니다. (화자 이름이 없으면 who는 None일 수 있음)"
# screens.rpy:98
# 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 "## 이 스크린은 id \"what\"을 가진 텍스트 디스플레이어블을 생성해야 합니다. (이 디스플레이어블은 렌파이의 대사 출력에 필요합니다.) id \"who\" 와 id \"window\" 디스플레이블이 존재할 경우 관련 스타일 속성이 적용됩니다."
# screens.rpy:102
# 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"
# screens.rpy:169
# 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 "## 사이드 이미지가 있는 경우 글자 위에 표시합니다. 휴대폰 환경에서는 보이지 않습니다."
# screens.rpy:120
old "## Make the namebox available for styling through the Character object."
new "## Character 객체를 통해 스타일을 지정할 수 있도록 namebox를 사용할 수 있게 만듭니다."
# screens.rpy:164
old "## Input screen"
new "## Input 스크린"
# screens.rpy:171
# screens.rpy:166
old "## This screen is used to display renpy.input. The prompt parameter is used to pass a text prompt in."
new "## 플레이어 입력을 받는 renpy.input을 출력할 때 쓰이는 스크린입니다. prompt 매개변수를 통해 입력 지문을 표시할 수 있습니다."
# screens.rpy:174
# screens.rpy:169
old "## This screen must create an input displayable with id \"input\" to accept the various input parameters."
new "## 이 스크린은 id \"input\"을 가진 input 디스플레이어블을 생성해야 합니다."
# screens.rpy:177
old "## http://www.renpy.org/doc/html/screen_special.html#input"
new "## http://www.renpy.org/doc/html/screen_special.html#input"
# screens.rpy:172
old "## https://www.renpy.org/doc/html/screen_special.html#input"
new "## https://www.renpy.org/doc/html/screen_special.html#input"
# screens.rpy:205
# screens.rpy:199
old "## Choice screen"
new "## Choice 스크린"
# screens.rpy:207
# screens.rpy:201
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 "## menu 명령어로 생성된 게임내 선택지를 출력하는 스크린입니다. 한 개의 매개변수 items를 받고, 이는 선택지 내용(caption)과 선택지 결과(action)이 있는 오브젝트가 들어있는 리스트입니다."
# screens.rpy:211
old "## http://www.renpy.org/doc/html/screen_special.html#choice"
new "## http://www.renpy.org/doc/html/screen_special.html#choice"
# screens.rpy:205
old "## https://www.renpy.org/doc/html/screen_special.html#choice"
new "## https://www.renpy.org/doc/html/screen_special.html#choice"
# screens.rpy:221
# screens.rpy:215
old "## When this is true, menu captions will be spoken by the narrator. When false, menu captions will be displayed as empty buttons."
new "## True일 경우 narrator 캐릭터를 통해 지문을 표시합니다. False일 경우 지문이 비활성화 선택지로 표시됩니다."
# screens.rpy:244
# screens.rpy:238
old "## Quick Menu screen"
new "## Quick Menu 스크린"
# screens.rpy:246
# screens.rpy:240
old "## The quick menu is displayed in-game to provide easy access to the out-of-game menus."
new "## 퀵메뉴는 게임 외 메뉴 접근성을 높여주기 위해 게임 내에 표시됩니다."
# screens.rpy:261
# screens.rpy:256
old "Back"
new "뒤로"
new "되감기"
# screens.rpy:262
# screens.rpy:257
old "History"
new "History"
new "대사록"
# screens.rpy:263
# screens.rpy:258
old "Skip"
new "스킵"
new "넘기기"
# screens.rpy:264
# screens.rpy:259
old "Auto"
new "자동진행"
# screens.rpy:265
# screens.rpy:260
old "Save"
new "저장하기"
# screens.rpy:266
# screens.rpy:261
old "Q.Save"
new "퀵세이브"
new "Q.저장하기"
# screens.rpy:267
# screens.rpy:262
old "Q.Load"
new "퀵로드"
new "Q.불러오기"
# screens.rpy:268
# screens.rpy:263
old "Prefs"
new "설정"
# screens.rpy:271
# screens.rpy:266
old "## This code ensures that the quick_menu screen is displayed in-game, whenever the player has not explicitly hidden the interface."
new "## 플레이어가 UI(스크린)을 일부러 숨기지 않는 한 퀵메뉴가 게임 내에 오버레이로 출력되게 합니다."
# screens.rpy:291
# screens.rpy:284
old "## Main and Game Menu Screens"
new "## Main과 Game Menu 스크린"
# screens.rpy:287
old "## Navigation screen"
new "## Navigation 스크린"
# screens.rpy:293
# screens.rpy:289
old "## This screen is included in the main and game menus, and provides navigation to other menus, and to start the game."
new "## 이 스크린은 메인메뉴와 게임외 메뉴에 포함되어 다른 메뉴로 이동하거나 게임을 시작/종료할 수 있게 합니다."
# screens.rpy:308
# screens.rpy:304
old "Start"
new "시작하기"
# screens.rpy:316
# screens.rpy:312
old "Load"
new "로드"
new "불러오기"
# screens.rpy:314
old "Preferences"
new "환경설정"
# screens.rpy:318
old "Preferences"
new "환경 설정"
# screens.rpy:322
old "End Replay"
new "리플레이 끝내기"
# screens.rpy:326
# screens.rpy:322
old "Main Menu"
new "메인 메뉴"
# screens.rpy:328
# screens.rpy:324
old "About"
new "렌파이란"
new "버전정보"
# screens.rpy:332
# screens.rpy:328
old "## Help isn't necessary or relevant to mobile devices."
new "## 도움말 메뉴는 모바일 디바이스와 맞지 않아 불필요합니다."
# screens.rpy:333
# screens.rpy:329
old "Help"
new "도움말"
new "조작방법"
# screens.rpy:335
# screens.rpy:331
old "## The quit button is banned on iOS and unnecessary on Android."
new "## 종료 버튼은 iOS 규정에 어긋나고 안드로이드에는 불필요합니다."
# screens.rpy:336
# screens.rpy:332
old "Quit"
new "끝내기"
new "종료하기"
# screens.rpy:350
# screens.rpy:346
old "## Main Menu screen"
new "## Main Menu 스크린"
# screens.rpy:352
# screens.rpy:348
old "## Used to display the main menu when Ren'Py starts."
new "## 렌파이가 시작할 때 메인메뉴를 출력합니다."
# screens.rpy:354
old "## http://www.renpy.org/doc/html/screen_special.html#main-menu"
new "## http://www.renpy.org/doc/html/screen_special.html#main-menu"
old "## https://www.renpy.org/doc/html/screen_special.html#main-menu"
new "## https://www.renpy.org/doc/html/screen_special.html#main-menu"
# screens.rpy:369
# screens.rpy:365
old "## The use statement includes another screen inside this one. The actual contents of the main menu are in the navigation screen."
new "## use 명령어로 스크린 내에 다른 스크린을 불러옵니다. 메인 메뉴 스크린의 내용물은 navigation 스크린에 있습니다."
# screens.rpy:413
# screens.rpy:408
old "## Game Menu screen"
new "## Game Menu 스크린"
# screens.rpy:415
# screens.rpy:410
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 "## 게임 메뉴의 기본 틀입니다. 매개변수 title로 스크린 제목을 정하고, 배경, 제목, 그리고 navigation 스크린을 출력합니다."
# screens.rpy:418
# screens.rpy:413
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 "## scroll 매개변수는, None, \"viewport\" 혹은 \"vpgrid\" 중 하나여야 합니다. transclude 명령어를 통해 다른 스크린을 이 스크린 내부에 불러옵니다."
# screens.rpy:476
# screens.rpy:473
old "Return"
new "돌아가기"
# screens.rpy:539
# screens.rpy:536
old "## About screen"
new "## About 스크린"
# screens.rpy:541
# screens.rpy:538
old "## This screen gives credit and copyright information about the game and Ren'Py."
new "## 이 스크린은 게임과 렌파이 엔진 크레딧과 저작권 정보를 표시합니다."
# screens.rpy:544
# screens.rpy:541
old "## There's nothing special about this screen, and hence it also serves as an example of how to make a custom screen."
new "## 특별할 것이 없으므로 스크린을 새로 커스터마이징하여 만드는 예제이기도 합니다."
# screens.rpy:551
# screens.rpy:548
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 "## 이 use 명령어로 game_menu 스크린을 이 스크린 내에 불러옵니다. use 명령어 하위블럭(vbox 내용)은 game_menu 스크린 내 transclude 명령어가 있는 곳에 다시 불려집니다."
# screens.rpy:561
# screens.rpy:558
old "Version [config.version!t]\n"
new "버 [config.version!t]\n"
new "버 [config.version!t]\n"
# screens.rpy:563
# screens.rpy:560
old "## gui.about is usually set in options.rpy."
new "## gui.about 의 내용은 보통 options.rpy에 있습니다."
# screens.rpy:567
# screens.rpy:564
old "Made with {a=https://www.renpy.org/}Ren'Py{/a} [renpy.version_only].\n\n[renpy.license!t]"
new "{a=https://www.renpy.org/}Ren'Py{/a} [renpy.version_only] 으로 만들어진 게임.\n\n[renpy.license!t]"
# screens.rpy:570
# screens.rpy:577
old "## This is redefined in options.rpy to add text to the about screen."
new "## options.rpy에서 규정된 내용이 about 스크린에 추가됩니다."
# screens.rpy:582
# screens.rpy:579
old "## Load and Save screens"
new "## Load and Save 스크린"
new "## Load 그리고 Save 스크린"
# screens.rpy:584
# screens.rpy:581
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 "## 이 스크린은 세이브/로드에 쓰입니다. 거의 동일하기 때문에, file_slots 스크린을 불러와서 씁니다."
# screens.rpy:588
# screens.rpy:585
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"
# screens.rpy:607
# screens.rpy:604
old "Page {}"
new "{} 페이지"
# screens.rpy:607
# screens.rpy:604
old "Automatic saves"
new "자동 세이브"
# screens.rpy:607
# screens.rpy:604
old "Quick saves"
new "퀵세이브"
# screens.rpy:613
# screens.rpy:610
old "## This ensures the input will get the enter event before any of the buttons do."
new "## input (페이지 제목을 플레이어가 수정할 수 있음)이 세이브/로드 버튼보다 먼저 엔터에 반응하도록 합니다."
new "## input이 세이브/로드 버튼보다 먼저 엔터에 반응하도록 합니다."
# screens.rpy:629
# screens.rpy:614
old "## The page name, which can be edited by clicking on a button."
new "## 페이지 제목을 플레이어가 수정할 수 있음."
# screens.rpy:626
old "## The grid of file slots."
new "## 파일 슬롯 그리드."
# screens.rpy:649
# screens.rpy:646
old "{#file_time}%A, %B %d %Y, %H:%M"
new "{#file_time}%A, %B %d %Y, %H:%M"
# screens.rpy:649
# screens.rpy:646
old "empty slot"
new "빈 슬롯"
# screens.rpy:657
# screens.rpy:654
old "## Buttons to access other pages."
new "## 페이지 이동 버튼."
# screens.rpy:666
# screens.rpy:663
old "<"
new "<"
# screens.rpy:668
# screens.rpy:666
old "{#auto_page}A"
new "{#auto_page}자동"
# screens.rpy:670
# screens.rpy:669
old "{#quick_page}Q"
new "{#quick_page}퀵"
# screens.rpy:676
# screens.rpy:671
old "## range(1, 10) gives the numbers from 1 to 9."
new "## 범위(1, 10)는 1부터 9까지 숫자를 제공합니다."
# screens.rpy:675
old ">"
new ">"
# screens.rpy:711
# screens.rpy:710
old "## Preferences screen"
new "## Preferences 스크린"
# screens.rpy:713
# screens.rpy:712
old "## The preferences screen allows the player to configure the game to better suit themselves."
new "## Preferences 스크린에서는 각종 환경설정을 플레이어가 지정할 수 있습니다."
# screens.rpy:716
# screens.rpy:715
old "## https://www.renpy.org/doc/html/screen_special.html#preferences"
new "## https://www.renpy.org/doc/html/screen_special.html#preferences"
# screens.rpy:738
# screens.rpy:732
old "Display"
new "화면 모드"
# screens.rpy:739
# screens.rpy:733
old "Window"
new "창 모드"
new "창 화면"
# screens.rpy:740
# screens.rpy:734
old "Fullscreen"
new "전체 화면 모드"
new "전체 화면"
# screens.rpy:744
# screens.rpy:738
old "Rollback Side"
new "롤백 클릭 옵션"
new "측면 되감기"
# screens.rpy:745
# screens.rpy:739
old "Disable"
new "비활성화"
# screens.rpy:746
# screens.rpy:740
old "Left"
new "화면 왼쪽 클릭"
# screens.rpy:747
# screens.rpy:741
old "Right"
new "화면 오른쪽 클릭"
# screens.rpy:752
# screens.rpy:746
old "Unseen Text"
new "읽지 않은 텍스트까지 모두 스킵"
new "읽지 않은 지문"
# screens.rpy:753
# screens.rpy:747
old "After Choices"
new "선택지 이후에도 스킵"
new "선택지 이후"
# screens.rpy:754
# screens.rpy:748
old "Transitions"
new "화면 전환 효과를 모두 스킵"
new "화면 전환 효과"
# screens.rpy:756
# screens.rpy:750
old "## Additional vboxes of type \"radio_pref\" or \"check_pref\" can be added here, to add additional creator-defined preferences."
new "## \"radio_pref\" 나 \"check_pref\" 를 추가하여 그 외에도 환경설정 항목을 추가할 수 있습니다."
# screens.rpy:767
# screens.rpy:761
old "Text Speed"
new "텍스트 속도"
# screens.rpy:771
# screens.rpy:765
old "Auto-Forward Time"
new "자동 진행 시간"
# screens.rpy:778
# screens.rpy:772
old "Music Volume"
new "배경음악 크기"
new "배경음 음량"
# screens.rpy:779
old "Sound Volume"
new "효과음 음량"
# screens.rpy:785
old "Sound Volume"
new "효과음 크기"
# screens.rpy:791
old "Test"
new "테스트"
# screens.rpy:795
# screens.rpy:789
old "Voice Volume"
new "음성 크기"
new "음성 음량"
# screens.rpy:806
# screens.rpy:800
old "Mute All"
new "모두 음소거"
# screens.rpy:882
# screens.rpy:876
old "## History screen"
new "## History 스크린"
# screens.rpy:884
# 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 "## 지난 대사록을 출력합니다. _history_list 에 저장된 대사 기록을 확인합니다."
# screens.rpy:888
# screens.rpy:882
old "## https://www.renpy.org/doc/html/history.html"
new "## https://www.renpy.org/doc/html/history.html"
# screens.rpy:894
# screens.rpy:888
old "## Avoid predicting this screen, as it can be very large."
new "## 이 스크린은 내용이 아주 많을 수 있으므로 prediction을 끕니다."
# screens.rpy:905
# screens.rpy:899
old "## This lays things out properly if history_height is None."
new "## history_height 이 None일 경우 레이아웃이 틀어지지 않게 합니다."
# screens.rpy:914
# screens.rpy:909
old "## Take the color of the who text from the Character, if set."
new "## 화자 Character에 화자 색깔이 지정되어 있으면 불러옵니다."
# screens.rpy:921
# screens.rpy:918
old "The dialogue history is empty."
new "대사가 없습니다."
# screens.rpy:965
# screens.rpy:921
old "## This determines what tags are allowed to be displayed on the history screen."
new "## 이것은 대사록 화면에 표시할 수 있는 태그를 결정합니다."
# screens.rpy:968
old "## Help screen"
new "## Help 스크린"
# screens.rpy:967
# screens.rpy:970
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 "## 입력장치의 기능을 설명합니다. 각 입력장치별 설정은 keyboard_help, mouse_help, gamepad_help 스크린을 각각 불러와서 출력합니다."
# screens.rpy:986
# screens.rpy:989
old "Keyboard"
new "키보드"
# screens.rpy:987
# screens.rpy:990
old "Mouse"
new "마우스"
# screens.rpy:990
# screens.rpy:993
old "Gamepad"
new "게임패드"
# screens.rpy:1003
# screens.rpy:1006
old "Enter"
new "Enter"
new "엔터(Enter)"
# screens.rpy:1004
# screens.rpy:1007
old "Advances dialogue and activates the interface."
new "대사 진행 및 UI (선택지 포함) 선택."
# screens.rpy:1007
# screens.rpy:1010
old "Space"
new "Space"
new "스페이스(Space)"
# screens.rpy:1008
# screens.rpy:1011
old "Advances dialogue without selecting choices."
new "대사를 진행하되 선택지는 선택하지 않음."
# screens.rpy:1011
# screens.rpy:1014
old "Arrow Keys"
new "화살표 키"
# screens.rpy:1012
# screens.rpy:1015
old "Navigate the interface."
new "UI 이동."
# screens.rpy:1015
# screens.rpy:1018
old "Escape"
new "Esc"
new "이스케이프(Esc)"
# screens.rpy:1016
# screens.rpy:1019
old "Accesses the game menu."
new "게임 메뉴 불러옴."
# screens.rpy:1019
# screens.rpy:1022
old "Ctrl"
new "Ctrl"
new "컨트롤(Ctrl)"
# screens.rpy:1020
# screens.rpy:1023
old "Skips dialogue while held down."
new "누르고 있는 동안 대사를 스킵."
# screens.rpy:1023
# screens.rpy:1026
old "Tab"
new "Tab"
new "탭(Tab)"
# screens.rpy:1024
# screens.rpy:1027
old "Toggles dialogue skipping."
new "대사 스킵 토글."
# screens.rpy:1027
# screens.rpy:1030
old "Page Up"
new "Page Up"
new "페이지 업(Page Up)"
# screens.rpy:1028
# screens.rpy:1031
old "Rolls back to earlier dialogue."
new "이전 대사로 롤백."
# screens.rpy:1031
# screens.rpy:1034
old "Page Down"
new "Page Down"
new "페이지 다운(Page Down)"
# screens.rpy:1032
# screens.rpy:1035
old "Rolls forward to later dialogue."
new "이후 대사로 롤포워드."
# screens.rpy:1036
# screens.rpy:1039
old "Hides the user interface."
new "UI를 숨김."
# screens.rpy:1040
# screens.rpy:1043
old "Takes a screenshot."
new "스크린샷 저장."
# screens.rpy:1044
# screens.rpy:1047
old "Toggles assistive {a=https://www.renpy.org/l/voicing}self-voicing{/a}."
new "{a=https://www.renpy.org/l/voicing}대사 읽어주기 기능{/a} 토글."
# screens.rpy:1050
# screens.rpy:1056
old "Left Click"
new "클릭"
# screens.rpy:1054
# screens.rpy:1057
old "Middle Click"
new "가운데 버튼이나 휠버튼 클릭"
# screens.rpy:1058
# screens.rpy:1061
old "Right Click"
new "우클릭"
# screens.rpy:1062
# screens.rpy:1065
old "Mouse Wheel Up\nClick Rollback Side"
new "휠 위로\n롤백 클릭"
# screens.rpy:1066
# screens.rpy:1069
old "Mouse Wheel Down"
new "휠 아래로"
# screens.rpy:1073
# screens.rpy:1076
old "Right Trigger\nA/Bottom Button"
new "오른쪽 트리거(RT)\nA버튼/아래 버튼"
# screens.rpy:1074
old "Advance dialogue and activates the interface."
new "대사 진행 및 UI (선택지 포함) 선택."
# screens.rpy:1078
old "Roll back to earlier dialogue."
new "이전 대사로 롤백."
# screens.rpy:1081
# screens.rpy:1084
old "Right Shoulder"
new "오른쪽 범퍼(RB)"
# screens.rpy:1082
old "Roll forward to later dialogue."
new "이후 대사로 롤포워드."
# screens.rpy:1085
old "D-Pad, Sticks"
new "D-Pad, 아날로그 스틱"
# screens.rpy:1089
old "Start, Guide"
new "스타스 버튼/가이드 버튼"
# screens.rpy:1090
old "Access the game menu."
new "게임 메뉴 불러옴."
# screens.rpy:1093
old "Start, Guide"
new "스타트 버튼/가이드 버튼"
# screens.rpy:1097
old "Y/Top Button"
new "Y버튼/위 버튼"
# screens.rpy:1096
# screens.rpy:1100
old "Calibrate"
new "조정"
# screens.rpy:1124
# screens.rpy:1128
old "## Additional screens"
new "## 그 외 스크린"
# screens.rpy:1128
# screens.rpy:1132
old "## Confirm screen"
new "## Confirm 스크린"
# screens.rpy:1130
# screens.rpy:1134
old "## The confirm screen is called when Ren'Py wants to ask the player a yes or no question."
new "## 게임 입력 관련 예/아니오 질문을 플레이어에게 할 때 이 스크린을 표시합니다."
# screens.rpy:1133
old "## http://www.renpy.org/doc/html/screen_special.html#confirm"
new "## http://www.renpy.org/doc/html/screen_special.html#confirm"
# screens.rpy:1137
old "## https://www.renpy.org/doc/html/screen_special.html#confirm"
new "## https://www.renpy.org/doc/html/screen_special.html#confirm"
# screens.rpy:1141
old "## Ensure other screens do not get input while this screen is displayed."
new "## 이 스크린이 출력 중일 때 다른 스크린과 상호작용할 수 없게 합니다."
# screens.rpy:1161
# screens.rpy:1165
old "Yes"
new "네"
# screens.rpy:1162
# screens.rpy:1166
old "No"
new "아니오"
# screens.rpy:1164
# screens.rpy:1168
old "## Right-click and escape answer \"no\"."
new "## 우클릭과 esc는 '아니오'를 입력하는 것과 같습니다."
# screens.rpy:1191
# screens.rpy:1195
old "## Skip indicator screen"
new "## Skip indicator 스크린"
# screens.rpy:1193
# screens.rpy:1197
old "## The skip_indicator screen is displayed to indicate that skipping is in progress."
new "## Skip_indicator 스크린은 스킵 중일 때 \"스킵 중\"을 표시하기 위해 출력됩니다."
# screens.rpy:1196
# screens.rpy:1200
old "## https://www.renpy.org/doc/html/screen_special.html#skip-indicator"
new "## https://www.renpy.org/doc/html/screen_special.html#skip-indicator"
# screens.rpy:1208
# screens.rpy:1212
old "Skipping"
new "스킵 중"
new "넘기는 중"
# screens.rpy:1215
# screens.rpy:1219
old "## This transform is used to blink the arrows one after another."
new "## 이 transform으로 화살표를 순서대로 페이드인/페이드아웃합니다."
# screens.rpy:1247
# screens.rpy:1246
old "## We have to use a font that has the BLACK RIGHT-POINTING SMALL TRIANGLE glyph in it."
new "## BLACK RIGHT-POINTING SMALL TRIANGLE 글리프가 있는 글꼴을 사용해야 합니다."
# screens.rpy:1251
old "## Notify screen"
new "## Notify 스크린"
# screens.rpy:1249
# screens.rpy:1253
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 "## Notify 스크린으로 플레이어에게 메시지를 출력합니다. (예를 들어 '퀵세이브 완료'나 '스크린샷 저장 완료')"
# screens.rpy:1252
# screens.rpy:1256
old "## https://www.renpy.org/doc/html/screen_special.html#notify-screen"
new "## https://www.renpy.org/doc/html/screen_special.html#notify-screen"
# screens.rpy:1286
# screens.rpy:1290
old "## NVL screen"
new "## NVL 스크린"
# screens.rpy:1288
# screens.rpy:1292
old "## This screen is used for NVL-mode dialogue and menus."
new "## NVL모드 대사와 선택지를 출력합니다."
# screens.rpy:1290
old "## http://www.renpy.org/doc/html/screen_special.html#nvl"
new "## http://www.renpy.org/doc/html/screen_special.html#nvl"
# screens.rpy:1294
old "## https://www.renpy.org/doc/html/screen_special.html#nvl"
new "## https://www.renpy.org/doc/html/screen_special.html#nvl"
# screens.rpy:1301
# screens.rpy:1305
old "## Displays dialogue in either a vpgrid or the vbox."
new "## vpgrid나 vbox 내에 대사를 출력합니다."
# screens.rpy:1314
# screens.rpy:1318
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 "## 선택지가 있을 경우, 선택지 출력. config.narrator_menu가 True일 경우 선택지가 비정상적으로 출력될 수 있습니다. (디폴트는 True입니다.)"
# screens.rpy:1344
# screens.rpy:1348
old "## This controls the maximum number of NVL-mode entries that can be displayed at once."
new "## 동시에 출력될 수 있는 NVL 대사의 최대치를 조정합니다."
# screens.rpy:1406
# screens.rpy:1410
old "## Mobile Variants"
new "## 모바일 버"
new "## 모바일 버"
# screens.rpy:1413
# screens.rpy:1417
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 "## 마우스가 없고 화면이 작을 가능성이 높으므로, 퀵메뉴 버튼의 크기를 키우고 가짓수를 줄입니다."
# screens.rpy:1429
# screens.rpy:1433
old "Menu"
new "메뉴"
+1 -1
View File
@@ -1,5 +1,5 @@
init python:
translate_font("korean", "NanumGothic.ttf")
translate_font("korean", "SourceHanSansLite.ttf")
translate korean python:
gui.REGULAR_BOLD = True
+2 -2
View File
@@ -129,8 +129,8 @@
new "Menentuukur [name] ([i]/[total])"
# 00gamepad.rpy:58
old "Press or move the [control!r] [kind]."
new "Tekan atau gerakkan [kind] [control!r]."
old "Press or move the [control!s] [kind]."
new "Tekan atau gerakkan [kind] [control!s]."
# 00gamepad.rpy:66
old "Skip (A)"
+1 -2
View File
@@ -913,7 +913,7 @@
new "Direktori projek tidak boleh ditetapkan. Putus asa."
# new_project.rpy:71
old "You will be creating an [new_project_language] language project. Change the launcher language in preferences to create a project in another language."
old "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."
new "Anda akan mencipta projek bahasa [new_project_language]. Tukar bahasa pelancar dalam menu keutamaan untuk mencipta projek dalam bahasa yang lain."
# new_project.rpy:79
@@ -1263,4 +1263,3 @@
# updater.rpy:201
old "Proceed"
new "Teruskan"
File diff suppressed because it is too large Load Diff
+76 -52
View File
@@ -1,203 +1,227 @@

translate piglatin strings:
# _developer/developer.rpym:38
# renpy/common/_developer/developer.rpym:38
old "Developer Menu"
new "Eveloperday Enumay"
# _developer/developer.rpym:43
# renpy/common/_developer/developer.rpym:43
old "Interactive Director (D)"
new "Nteractiveiay Irectorday (Day)"
# _developer/developer.rpym:45
# renpy/common/_developer/developer.rpym:45
old "Reload Game (Shift+R)"
new "Eloadray Amegay (Hiftsay+Ray)"
# _developer/developer.rpym:47
# renpy/common/_developer/developer.rpym:47
old "Console (Shift+O)"
new "Onsolecay (Hiftsay+Oay)"
# _developer/developer.rpym:49
# renpy/common/_developer/developer.rpym:49
old "Variable Viewer"
new "Ariablevay Iewervay"
# _developer/developer.rpym:51
# renpy/common/_developer/developer.rpym:51
old "Image Location Picker"
new "Mageiay Ocationlay Ickerpay"
# _developer/developer.rpym:53
# renpy/common/_developer/developer.rpym:53
old "Filename List"
new "Ilenamefay Istlay"
# _developer/developer.rpym:57
# renpy/common/_developer/developer.rpym:57
old "Show Image Load Log (F4)"
new "Howsay Mageiay Oadlay Oglay (4fay)"
# _developer/developer.rpym:60
# renpy/common/_developer/developer.rpym:60
old "Hide Image Load Log (F4)"
new "Idehay Mageiay Oadlay Oglay (4fay)"
# _developer/developer.rpym:63
# renpy/common/_developer/developer.rpym:63
old "Image Attributes"
new "Mageiay Ttributesaay"
# _developer/developer.rpym:90
# renpy/common/_developer/developer.rpym:90
old "[name] [attributes] (hidden)"
new "[name] [attributes] (iddenhay)"
# _developer/developer.rpym:94
# renpy/common/_developer/developer.rpym:94
old "[name] [attributes]"
new "[name] [attributes]"
# _developer/developer.rpym:137
# renpy/common/_developer/developer.rpym:143
old "Nothing to inspect."
new "Othingnay otay inspectay."
# _developer/developer.rpym:265
# renpy/common/_developer/developer.rpym:154
old "Hide deleted"
new "Idehay eletedday"
# renpy/common/_developer/developer.rpym:154
old "Show deleted"
new "Howsay eletedday"
# renpy/common/_developer/developer.rpym:278
old "Return to the developer menu"
new "Eturnray otay hetay eveloperday enumay"
# _developer/developer.rpym:425
# renpy/common/_developer/developer.rpym:443
old "Rectangle: %r"
new "Ectangleray: %ray"
# _developer/developer.rpym:430
# renpy/common/_developer/developer.rpym:448
old "Mouse position: %r"
new "Ousemay ositionpay: %ray"
# _developer/developer.rpym:435
# renpy/common/_developer/developer.rpym:453
old "Right-click or escape to quit."
new "Ightray-ickclay oray escapeay otay uitqay."
# _developer/developer.rpym:467
# renpy/common/_developer/developer.rpym:485
old "Rectangle copied to clipboard."
new "Ectangleray opiedcay otay ipboardclay."
# _developer/developer.rpym:470
# renpy/common/_developer/developer.rpym:488
old "Position copied to clipboard."
new "Ositionpay opiedcay otay ipboardclay."
# _developer/developer.rpym:489
# renpy/common/_developer/developer.rpym:506
old "Type to filter: "
new "Ypetay otay ilterfay: "
# _developer/developer.rpym:617
# renpy/common/_developer/developer.rpym:631
old "Textures: [tex_count] ([tex_size_mb:.1f] MB)"
new "Exturestay: [tex_count] ([tex_size_mb:.1f] Bmay)"
# _developer/developer.rpym:621
# renpy/common/_developer/developer.rpym:635
old "Image cache: [cache_pct:.1f]% ([cache_size_mb:.1f] MB)"
new "Mageiay achecay: [cache_pct:.1f]% ([cache_size_mb:.1f] Bmay)"
# _developer/developer.rpym:631
# renpy/common/_developer/developer.rpym:645
old "✔ "
new "✔ "
# _developer/developer.rpym:634
# renpy/common/_developer/developer.rpym:648
old "✘ "
new "✘ "
# _developer/developer.rpym:639
# renpy/common/_developer/developer.rpym:653
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}✔ redictedpay imageay (oodgay){/color}\n{color=#fcc}✘ unpredicteday imageay (adbay){/color}\n{color=#fff}Ragday otay ovemay.{/color}"
# _developer/inspector.rpym:38
# renpy/common/_developer/inspector.rpym:38
old "Displayable Inspector"
new "Isplayableday Nspectoriay"
# _developer/inspector.rpym:61
# renpy/common/_developer/inspector.rpym:61
old "Size"
new "Izesay"
# _developer/inspector.rpym:65
# renpy/common/_developer/inspector.rpym:65
old "Style"
new "Tylesay"
# _developer/inspector.rpym:71
# renpy/common/_developer/inspector.rpym:71
old "Location"
new "Ocationlay"
# _developer/inspector.rpym:122
# renpy/common/_developer/inspector.rpym:122
old "Inspecting Styles of [displayable_name!q]"
new "Nspectingiay Tylessay ofay [displayable_name!q]"
# _developer/inspector.rpym:139
# renpy/common/_developer/inspector.rpym:139
old "displayable:"
new "isplayableday:"
# _developer/inspector.rpym:145
# renpy/common/_developer/inspector.rpym:145
old " (no properties affect the displayable)"
new " (onay ropertiespay affectay hetay isplayableday)"
# _developer/inspector.rpym:147
# renpy/common/_developer/inspector.rpym:147
old " (default properties omitted)"
new " (efaultday ropertiespay omitteday)"
# _developer/inspector.rpym:185
# renpy/common/_developer/inspector.rpym:185
old "<repr() failed>"
new "<eprray() ailedfay>"
# 00console.rpy:255
# renpy/common/00console.rpy:492
old "Press <esc> to exit console. Type help for help.\n"
new "Resspay <escay> otay exitay onsolecay. Ypetay elphay orfay elphay.\n"
# 00console.rpy:259
# renpy/common/00console.rpy:496
old "Ren'Py script enabled."
new "Enray'Ypay criptsay enableday."
# 00console.rpy:261
# renpy/common/00console.rpy:498
old "Ren'Py script disabled."
new "Enray'Ypay criptsay isabledday."
# 00console.rpy:496
# renpy/common/00console.rpy:745
old "help: show this help"
new "elphay: owshay histay elphay"
# 00console.rpy:501
# renpy/common/00console.rpy:750
old "commands:\n"
new "ommandscay:\n"
# 00console.rpy:511
# renpy/common/00console.rpy:760
old " <renpy script statement>: run the statement\n"
new " <enpyray criptsay atementstay>: unray hetay atementstay\n"
# 00console.rpy:513
# renpy/common/00console.rpy:762
old " <python expression or statement>: run the expression or statement"
new " <ythonpay expressionay oray atementstay>: unray hetay expressionay oray atementstay"
# 00console.rpy:521
# renpy/common/00console.rpy:770
old "clear: clear the console history"
new "earclay: earclay hetay onsolecay istoryhay"
# 00console.rpy:525
# renpy/common/00console.rpy:774
old "exit: exit the console"
new "exitay: exitay hetay onsolecay"
# 00console.rpy:533
# renpy/common/00console.rpy:782
old "load <slot>: loads the game from slot"
new "oadlay <otslay>: oadslay hetay amegay omfray otslay"
# 00console.rpy:546
# renpy/common/00console.rpy:795
old "save <slot>: saves the game in slot"
new "avesay <otslay>: avessay hetay amegay inay otslay"
# 00console.rpy:557
# renpy/common/00console.rpy:806
old "reload: reloads the game, refreshing the scripts"
new "eloadray: eloadsray hetay amegay, efreshingray hetay criptssay"
# 00console.rpy:565
old "watch <expression>: watch a python expression"
new "atchway <expressionay>: atchway aay ythonpay expressionay"
# renpy/common/00console.rpy:814
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 "atchway <expressionay>: atchway aay ythonpay expressionay\n atchway ortshay: akesmay hetay epresentationray ofay acedtray expressionsay ortshay (efaultday)\n atchway onglay: akesmay hetay epresentationray ofay acedtray expressionsay asay isay"
# 00console.rpy:591
# renpy/common/00console.rpy:849
old "unwatch <expression>: stop watching an expression"
new "unwatchay <expressionay>: opstay atchingway anay expressionay"
# 00console.rpy:622
# renpy/common/00console.rpy:884
old "unwatchall: stop watching all expressions"
new "unwatchallay: opstay atchingway allay expressionsay"
# 00console.rpy:639
# renpy/common/00console.rpy:901
old "jump <label>: jumps to label"
new "umpjay <abellay>: umpsjay otay abellay"
# renpy/common/00console.rpy:917
old "short: Shorten the representation of objects on the console (default)."
new "ortshay: Hortensay hetay epresentationray ofay objectsay onay hetay onsolecay (efaultday)."
# renpy/common/00console.rpy:921
old "long: Print the full representation of objects on the console."
new "onglay: Rintpay hetay ullfay epresentationray ofay objectsay onay hetay onsolecay."
# renpy/common/00console.rpy:925
old "escape: Enables escaping of unicode symbols in unicode strings."
new "escapeay: Nableseay escapingay ofay unicodeay ymbolssay inay unicodeay ringsstay."
# renpy/common/00console.rpy:929
old "unescape: Disables escaping of unicode symbols in unicode strings and print it as is (default)."
new "unescapeay: Isablesday escapingay ofay unicodeay ymbolssay inay unicodeay ringsstay anday rintpay itay asay isay (efaultday)."
+89 -93
View File
@@ -1,215 +1,211 @@

translate piglatin strings:
# 00gltest.rpy:70
# renpy/common/00gltest.rpy:89
old "Renderer"
new "Endererray"
# 00gltest.rpy:74
# renpy/common/00gltest.rpy:93
old "Automatically Choose"
new "Utomaticallyaay Hoosecay"
# 00gltest.rpy:79
old "Force Angle/DirectX Renderer"
new "Orcefay Ngleaay/Irectxday Endererray"
# renpy/common/00gltest.rpy:100
old "Force GL Renderer"
new "Orcefay Lgay Endererray"
# 00gltest.rpy:83
old "Force OpenGL Renderer"
new "Orcefay Pengloay Endererray"
# renpy/common/00gltest.rpy:105
old "Force ANGLE Renderer"
new "Orcefay Ngleaay Endererray"
# 00gltest.rpy:87
old "Force Software Renderer"
new "Orcefay Oftwaresay Endererray"
# renpy/common/00gltest.rpy:110
old "Force GLES Renderer"
new "Orcefay Lesgay Endererray"
# 00gltest.rpy:93
old "NPOT"
new "Potnay"
# renpy/common/00gltest.rpy:116
old "Force GL2 Renderer"
new "Orcefay L2gay Endererray"
# 00gltest.rpy:97
# renpy/common/00gltest.rpy:121
old "Force ANGLE2 Renderer"
new "Orcefay Ngle2aay Endererray"
# renpy/common/00gltest.rpy:126
old "Force GLES2 Renderer"
new "Orcefay Les2gay Endererray"
# renpy/common/00gltest.rpy:136
old "Enable"
new "Nableeay"
# 00gltest.rpy:131
# renpy/common/00gltest.rpy:155
old "Powersave"
new "Owersavepay"
# 00gltest.rpy:145
# renpy/common/00gltest.rpy:169
old "Framerate"
new "Rameratefay"
# 00gltest.rpy:149
# renpy/common/00gltest.rpy:173
old "Screen"
new "Creensay"
# 00gltest.rpy:153
# renpy/common/00gltest.rpy:177
old "60"
new "06ay"
# 00gltest.rpy:157
# renpy/common/00gltest.rpy:181
old "30"
new "03ay"
# 00gltest.rpy:163
# renpy/common/00gltest.rpy:187
old "Tearing"
new "Earingtay"
# 00gltest.rpy:179
# renpy/common/00gltest.rpy:203
old "Changes will take effect the next time this program is run."
new "Hangescay illway aketay effectay hetay extnay imetay histay rogrampay isay unray."
# 00gltest.rpy:213
# renpy/common/00gltest.rpy:238
old "Performance Warning"
new "Erformancepay Arningway"
# 00gltest.rpy:218
# renpy/common/00gltest.rpy:243
old "This computer is using software rendering."
new "Histay omputercay isay usingay oftwaresay enderingray."
# 00gltest.rpy:220
old "This computer is not using shaders."
new "Histay omputercay isay otnay usingay adersshay."
# renpy/common/00gltest.rpy:245
old "This game requires use of GL2 that can't be initialised."
new "Histay amegay equiresray useay ofay L2gay hattay ancay'tay ebay initialiseday."
# 00gltest.rpy:222
old "This computer is displaying graphics slowly."
new "Histay omputercay isay isplayingday aphicsgray owlyslay."
# 00gltest.rpy:224
# renpy/common/00gltest.rpy:247
old "This computer has a problem displaying graphics: [problem]."
new "Histay omputercay ashay aay roblempay isplayingday aphicsgray: [problem]."
# 00gltest.rpy:229
old "Its graphics drivers may be out of date or not operating correctly. This can lead to slow or incorrect graphics display. Updating DirectX could fix this problem."
new "Tsiay aphicsgray riversday aymay ebay outay ofay ateday oray otnay operatingay orrectlycay. Histay ancay eadlay otay owslay oray incorrectay aphicsgray isplayday. Pdatinguay Irectxday ouldcay ixfay histay roblempay."
# 00gltest.rpy:231
# renpy/common/00gltest.rpy:251
old "Its graphics drivers may be out of date or not operating correctly. This can lead to slow or incorrect graphics display."
new "Tsiay aphicsgray riversday aymay ebay outay ofay ateday oray otnay operatingay orrectlycay. Histay ancay eadlay otay owslay oray incorrectay aphicsgray isplayday."
# 00gltest.rpy:236
old "Update DirectX"
new "Pdateuay Irectxday"
# renpy/common/00gltest.rpy:256
old "More details on how to fix this can be found in the {a=[url]}documentation{/a}."
new "Oremay etailsday onay owhay otay ixfay histay ancay ebay oundfay inay hetay {a=[url]}ocumentationday{/a}."
# 00gltest.rpy:242
# renpy/common/00gltest.rpy:261
old "Continue, Show this warning again"
new "Ontinuecay, Howsay histay arningway againay"
# 00gltest.rpy:246
# renpy/common/00gltest.rpy:265
old "Continue, Don't show warning again"
new "Ontinuecay, Onday'tay owshay arningway againay"
# 00gltest.rpy:264
old "Updating DirectX."
new "Pdatinguay Irectxday."
# renpy/common/00gltest.rpy:273
old "Change render options"
new "Hangecay enderray optionsay"
# 00gltest.rpy:268
old "DirectX web setup has been started. It may start minimized in the taskbar. Please follow the prompts to install DirectX."
new "Irectxday ebway etupsay ashay eenbay artedstay. Tiay aymay artstay inimizedmay inay hetay askbartay. Leasepay ollowfay hetay romptspay otay installay Irectxday."
# 00gltest.rpy:272
old "{b}Note:{/b} Microsoft's DirectX web setup program will, by default, install the Bing toolbar. If you do not want this toolbar, uncheck the appropriate box."
new "{b}Otenay:{/b} Icrosoftmay'say Irectxday ebway etupsay rogrampay illway, ybay efaultday, installay hetay Ingbay oolbartay. Fiay ouyay oday otnay antway histay oolbartay, uncheckay hetay appropriateay oxbay."
# 00gltest.rpy:276
old "When setup finishes, please click below to restart this program."
new "Henway etupsay inishesfay, easeplay ickclay elowbay otay estartray histay rogrampay."
# 00gltest.rpy:278
old "Restart"
new "Estartray"
# 00gamepad.rpy:32
# renpy/common/00gamepad.rpy:32
old "Select Gamepad to Calibrate"
new "Electsay Amepadgay otay Alibratecay"
# 00gamepad.rpy:35
# renpy/common/00gamepad.rpy:35
old "No Gamepads Available"
new "Onay Amepadsgay Vailableaay"
# 00gamepad.rpy:54
# renpy/common/00gamepad.rpy:54
old "Calibrating [name] ([i]/[total])"
new "Alibratingcay [name] ([i]/[total])"
# 00gamepad.rpy:58
old "Press or move the [control!r] [kind]."
new "Resspay oray ovemay hetay [control!r] [kind]."
# renpy/common/00gamepad.rpy:58
old "Press or move the '[control!s]' [kind]."
new "Resspay oray ovemay hetay '[control!s]' [kind]."
# 00gamepad.rpy:66
# renpy/common/00gamepad.rpy:68
old "Skip (A)"
new "Kipsay (Aay)"
# 00gamepad.rpy:69
# renpy/common/00gamepad.rpy:71
old "Back (B)"
new "Ackbay (Bay)"
# _errorhandling.rpym:529
# renpy/common/_errorhandling.rpym:540
old "Open"
new "Penoay"
# _errorhandling.rpym:531
# renpy/common/_errorhandling.rpym:542
old "Opens the traceback.txt file in a text editor."
new "Pensoay hetay acebacktray.xttay ilefay inay aay exttay editoray."
# _errorhandling.rpym:533
old "Copy"
new "Opycay"
# renpy/common/_errorhandling.rpym:544
old "Copy BBCode"
new "Opycay Bcodebay"
# _errorhandling.rpym:535
old "Copies the traceback.txt file to the clipboard."
new "Opiescay hetay acebacktray.xttay ilefay otay hetay ipboardclay."
# renpy/common/_errorhandling.rpym:546
old "Copies the traceback.txt file to the clipboard as BBcode for forums like https://lemmasoft.renai.us/."
new "Opiescay hetay acebacktray.xttay ilefay otay hetay ipboardclay asay Bcodebay orfay orumsfay ikelay ttpshay://emmasoftlay.enairay.usay/."
# _errorhandling.rpym:562
# renpy/common/_errorhandling.rpym:548
old "Copy Markdown"
new "Opycay Arkdownmay"
# renpy/common/_errorhandling.rpym:550
old "Copies the traceback.txt file to the clipboard as Markdown for Discord."
new "Opiescay hetay acebacktray.xttay ilefay otay hetay ipboardclay asay Arkdownmay orfay Iscordday."
# renpy/common/_errorhandling.rpym:579
old "An exception has occurred."
new "Naay exceptionay ashay occurreday."
# _errorhandling.rpym:582
# renpy/common/_errorhandling.rpym:602
old "Rollback"
new "Ollbackray"
# _errorhandling.rpym:584
# renpy/common/_errorhandling.rpym:604
old "Attempts a roll back to a prior time, allowing you to save or choose a different choice."
new "Ttemptsaay aay ollray ackbay otay aay riorpay imetay, allowingay ouyay otay avesay oray oosechay aay ifferentday oicechay."
# _errorhandling.rpym:587
# renpy/common/_errorhandling.rpym:607
old "Ignore"
new "Gnoreiay"
# _errorhandling.rpym:591
# renpy/common/_errorhandling.rpym:611
old "Ignores the exception, allowing you to continue."
new "Gnoresiay hetay exceptionay, allowingay ouyay otay ontinuecay."
# _errorhandling.rpym:593
# renpy/common/_errorhandling.rpym:613
old "Ignores the exception, allowing you to continue. This often leads to additional errors."
new "Gnoresiay hetay exceptionay, allowingay ouyay otay ontinuecay. Histay oftenay eadslay otay additionalay errorsay."
# _errorhandling.rpym:597
# renpy/common/_errorhandling.rpym:617
old "Reload"
new "Eloadray"
# _errorhandling.rpym:599
# renpy/common/_errorhandling.rpym:619
old "Reloads the game from disk, saving and restoring game state if possible."
new "Eloadsray hetay amegay omfray iskday, avingsay anday estoringray amegay atestay ifay ossiblepay."
# _errorhandling.rpym:602
# renpy/common/_errorhandling.rpym:622
old "Console"
new "Onsolecay"
# _errorhandling.rpym:604
# renpy/common/_errorhandling.rpym:624
old "Opens a console to allow debugging the problem."
new "Pensoay aay onsolecay otay alloway ebuggingday hetay roblempay."
# _errorhandling.rpym:614
# renpy/common/_errorhandling.rpym:637
old "Quits the game."
new "Uitsqay hetay amegay."
# _errorhandling.rpym:638
# renpy/common/_errorhandling.rpym:658
old "Parsing the script failed."
new "Arsingpay hetay criptsay ailedfay."
# _errorhandling.rpym:664
# renpy/common/_errorhandling.rpym:684
old "Opens the errors.txt file in a text editor."
new "Pensoay hetay errorsay.xttay ilefay inay aay exttay editoray."
# _errorhandling.rpym:668
old "Copies the errors.txt file to the clipboard."
new "Opiescay hetay errorsay.xttay ilefay otay hetay ipboardclay."
# renpy/common/_errorhandling.rpym:688
old "Copies the errors.txt file to the clipboard as BBcode for forums like https://lemmasoft.renai.us/."
new "Opiescay hetay errorsay.xttay ilefay otay hetay ipboardclay asay Bcodebay orfay orumsfay ikelay ttpshay://emmasoftlay.enairay.usay/."
# renpy/common/_errorhandling.rpym:692
old "Copies the errors.txt file to the clipboard as Markdown for Discord."
new "Opiescay hetay errorsay.xttay ilefay otay hetay ipboardclay asay Arkdownmay orfay Iscordday."
+109 -109
View File
@@ -1,435 +1,435 @@

translate piglatin strings:
# gui.rpy:2
# gui/game/gui.rpy:2
old "## Initialization"
new "## Nitializationiay"
# gui.rpy:5
# 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 "## Hetay initay offsetay atementstay ausescay hetay initializationay atementsstay inay histay ilefay otay unray eforebay initay atementsstay inay anyay otheray ilefay."
# gui.rpy:9
# 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 "## Allingcay uigay.initay esetsray hetay ylesstay otay ensiblesay efaultday aluesvay, anday etssay hetay idthway anday eighthay ofay hetay amegay."
# gui.rpy:17
# gui/game/gui.rpy:17
old "## GUI Configuration Variables"
new "## Uigay Onfigurationcay Ariablesvay"
# gui.rpy:21
# gui/game/gui.rpy:21
old "## Colors"
new "## Olorscay"
# gui.rpy:23
# gui/game/gui.rpy:23
old "## The colors of text in the interface."
new "## Hetay olorscay ofay exttay inay hetay interfaceay."
# gui.rpy:25
# gui/game/gui.rpy:25
old "## An accent color used throughout the interface to label and highlight text."
new "## Naay accentay olorcay useday hroughouttay hetay interfaceay otay abellay anday ighlighthay exttay."
# gui.rpy:29
# gui/game/gui.rpy:29
old "## The color used for a text button when it is neither selected nor hovered."
new "## Hetay olorcay useday orfay aay exttay uttonbay henway itay isay eithernay electedsay ornay overedhay."
# gui.rpy:32
# gui/game/gui.rpy:32
old "## The small color is used for small text, which needs to be brighter/darker to achieve the same effect."
new "## Hetay mallsay olorcay isay useday orfay mallsay exttay, hichway eedsnay otay ebay ighterbray/arkerday otay achieveay hetay amesay effectay."
# gui.rpy:36
# gui/game/gui.rpy:36
old "## The color that is used for buttons and bars that are hovered."
new "## Hetay olorcay hattay isay useday orfay uttonsbay anday arsbay hattay areay overedhay."
# gui.rpy:39
# gui/game/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 "## Hetay olorcay useday orfay aay exttay uttonbay henway itay isay electedsay utbay otnay ocusedfay. Aay uttonbay isay electedsay ifay itay isay hetay urrentcay creensay oray referencepay aluevay."
# gui.rpy:43
# gui/game/gui.rpy:43
old "## The color used for a text button when it cannot be selected."
new "## Hetay olorcay useday orfay aay exttay uttonbay henway itay annotcay ebay electedsay."
# gui.rpy:46
# gui/game/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 "## Olorscay useday orfay hetay ortionspay ofay arsbay hattay areay otnay illedfay inay. Hesetay areay otnay useday irectlyday, utbay areay useday henway eray-eneratinggay arbay imageay ilesfay."
# gui.rpy:51
# gui/game/gui.rpy:51
old "## The colors used for dialogue and menu choice text."
new "## Hetay olorscay useday orfay ialogueday anday enumay oicechay exttay."
# gui.rpy:56
# gui/game/gui.rpy:56
old "## Fonts and Font Sizes"
new "## Ontsfay anday Ontfay Izessay"
# gui.rpy:58
# gui/game/gui.rpy:58
old "## The font used for in-game text."
new "## Hetay ontfay useday orfay inay-amegay exttay."
# gui.rpy:61
# gui/game/gui.rpy:61
old "## The font used for character names."
new "## Hetay ontfay useday orfay aracterchay amesnay."
# gui.rpy:64
# gui/game/gui.rpy:64
old "## The font used for out-of-game text."
new "## Hetay ontfay useday orfay outay-ofay-amegay exttay."
# gui.rpy:67
# gui/game/gui.rpy:67
old "## The size of normal dialogue text."
new "## Hetay izesay ofay ormalnay ialogueday exttay."
# gui.rpy:70
# gui/game/gui.rpy:70
old "## The size of character names."
new "## Hetay izesay ofay aracterchay amesnay."
# gui.rpy:73
# gui/game/gui.rpy:73
old "## The size of text in the game's user interface."
new "## Hetay izesay ofay exttay inay hetay amegay'say useray interfaceay."
# gui.rpy:76
# gui/game/gui.rpy:76
old "## The size of labels in the game's user interface."
new "## Hetay izesay ofay abelslay inay hetay amegay'say useray interfaceay."
# gui.rpy:79
# gui/game/gui.rpy:79
old "## The size of text on the notify screen."
new "## Hetay izesay ofay exttay onay hetay otifynay creensay."
# gui.rpy:82
# gui/game/gui.rpy:82
old "## The size of the game's title."
new "## Hetay izesay ofay hetay amegay'say itletay."
# gui.rpy:86
# gui/game/gui.rpy:86
old "## Main and Game Menus"
new "## Ainmay anday Amegay Enusmay"
# gui.rpy:88
# gui/game/gui.rpy:88
old "## The images used for the main and game menus."
new "## Hetay imagesay useday orfay hetay ainmay anday amegay enusmay."
# gui.rpy:93
# gui/game/gui.rpy:93
old "## Dialogue"
new "## Ialogueday"
# gui.rpy:95
# gui/game/gui.rpy:95
old "## These variables control how dialogue is displayed on the screen one line at a time."
new "## Hesetay ariablesvay ontrolcay owhay ialogueday isay isplayedday onay hetay creensay oneay inelay atay aay imetay."
# gui.rpy:98
# gui/game/gui.rpy:98
old "## The height of the textbox containing dialogue."
new "## Hetay eighthay ofay hetay extboxtay ontainingcay ialogueday."
# gui.rpy:101
# gui/game/gui.rpy:101
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 "## Hetay acementplay ofay hetay extboxtay erticallyvay onay hetay creensay. 0ay.0ay isay hetay optay, 0ay.5ay isay entercay, anday 1ay.0ay isay hetay ottombay."
# gui.rpy:106
# gui/game/gui.rpy:106
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 "## Hetay acementplay ofay hetay peakingsay aracterchay'say amenay, elativeray otay hetay extboxtay. Hesetay ancay ebay aay holeway umbernay ofay ixelspay omfray hetay eftlay oray optay, oray 0ay.5ay otay entercay."
# gui.rpy:111
# gui/game/gui.rpy:111
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 "## Hetay orizontalhay alignmentay ofay hetay aracterchay'say amenay. Histay ancay ebay 0ay.0ay orfay eftlay-aligneday, 0ay.5ay orfay enteredcay, anday 1ay.0ay orfay ightray-aligneday."
# gui.rpy:115
# gui/game/gui.rpy:115
old "## The width, height, and borders of the box containing the character's name, or None to automatically size it."
new "## Hetay idthway, eighthay, anday ordersbay ofay hetay oxbay ontainingcay hetay aracterchay'say amenay, oray Onenay otay automaticallyay izesay itay."
# gui.rpy:120
# gui/game/gui.rpy:120
old "## The borders of the box containing the character's name, in left, top, right, bottom order."
new "## Hetay ordersbay ofay hetay oxbay ontainingcay hetay aracterchay'say amenay, inay eftlay, optay, ightray, ottombay orderay."
# gui.rpy:124
# gui/game/gui.rpy:124
old "## If True, the background of the namebox will be tiled, if False, the background of the namebox will be scaled."
new "## Fiay Ruetay, hetay ackgroundbay ofay hetay ameboxnay illway ebay iledtay, ifay Alsefay, hetay ackgroundbay ifay hetay ameboxnay illway ebay caledsay."
new "## Fiay Ruetay, hetay ackgroundbay ofay hetay ameboxnay illway ebay iledtay, ifay Alsefay, hetay ackgroundbay ofay hetay ameboxnay illway ebay caledsay."
# gui.rpy:129
# gui/game/gui.rpy:129
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 "## Hetay acementplay ofay ialogueday elativeray otay hetay extboxtay. Hesetay ancay ebay aay holeway umbernay ofay ixelspay elativeray otay hetay eftlay oray optay idesay ofay hetay extboxtay, oray 0ay.5ay otay entercay."
# gui.rpy:135
# gui/game/gui.rpy:135
old "## The maximum width of dialogue text, in pixels."
new "## Hetay aximummay idthway ofay ialogueday exttay, inay ixelspay."
# gui.rpy:138
# gui/game/gui.rpy:138
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 "## Hetay orizontalhay alignmentay ofay hetay ialogueday exttay. Histay ancay ebay 0ay.0ay orfay eftlay-aligneday, 0ay.5ay orfay enteredcay, anday 1ay.0ay orfay ightray-aligneday."
# gui.rpy:143
# gui/game/gui.rpy:143
old "## Buttons"
new "## Uttonsbay"
# gui.rpy:145
# gui/game/gui.rpy:145
old "## These variables, along with the image files in gui/button, control aspects of how buttons are displayed."
new "## Hesetay ariablesvay, alongay ithway hetay imageay ilesfay inay uigay/uttonbay, ontrolcay aspectsay ofay owhay uttonsbay areay isplayedday."
# gui.rpy:148
# gui/game/gui.rpy:148
old "## The width and height of a button, in pixels. If None, Ren'Py computes a size."
new "## Hetay idthway anday eighthay ofay aay uttonbay, inay ixelspay. Fiay Onenay, Enray'Ypay omputescay aay izesay."
# gui.rpy:152
# gui/game/gui.rpy:152
old "## The borders on each side of the button, in left, top, right, bottom order."
new "## Hetay ordersbay onay eachay idesay ofay hetay uttonbay, inay eftlay, optay, ightray, ottombay orderay."
# gui.rpy:155
# gui/game/gui.rpy:155
old "## If True, the background image will be tiled. If False, the background image will be linearly scaled."
new "## Fiay Ruetay, hetay ackgroundbay imageay illway ebay iledtay. Fiay Alsefay, hetay ackgroundbay imageay illway ebay inearlylay caledsay."
# gui.rpy:159
# gui/game/gui.rpy:159
old "## The font used by the button."
new "## Hetay ontfay useday ybay hetay uttonbay."
# gui.rpy:162
# gui/game/gui.rpy:162
old "## The size of the text used by the button."
new "## Hetay izesay ofay hetay exttay useday ybay hetay uttonbay."
# gui.rpy:165
# gui/game/gui.rpy:165
old "## The color of button text in various states."
new "## Hetay olorcay ofay uttonbay exttay inay ariousvay atesstay."
# gui.rpy:171
# gui/game/gui.rpy:171
old "## The horizontal alignment of the button text. (0.0 is left, 0.5 is center, 1.0 is right)."
new "## Hetay orizontalhay alignmentay ofay hetay uttonbay exttay. (0ay.0ay isay eftlay, 0ay.5ay isay entercay, 1ay.0ay isay ightray)."
# gui.rpy:176
# gui/game/gui.rpy:176
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 "## Hesetay ariablesvay overrideay ettingssay orfay ifferentday indskay ofay uttonsbay. Leasepay eesay hetay uigay ocumentationday orfay hetay indskay ofay uttonsbay availableay, anday hatway eachay isay useday orfay."
# gui.rpy:180
# gui/game/gui.rpy:180
old "## These customizations are used by the default interface:"
new "## Hesetay ustomizationscay areay useday ybay hetay efaultday interfaceay:"
# gui.rpy:195
# gui/game/gui.rpy:195
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 "## Ouyay ancay alsoay adday ouryay ownay ustomizationscay, ybay addingay roperlypay-amednay ariablesvay. Orfay exampleay, ouyay ancay uncommentay hetay ollowingfay inelay otay etsay hetay idthway ofay aay avigationnay uttonbay."
# gui.rpy:202
# gui/game/gui.rpy:202
old "## Choice Buttons"
new "## Hoicecay Uttonsbay"
# gui.rpy:204
# gui/game/gui.rpy:204
old "## Choice buttons are used in the in-game menus."
new "## Hoicecay uttonsbay areay useday inay hetay inay-amegay enusmay."
# gui.rpy:217
# gui/game/gui.rpy:218
old "## File Slot Buttons"
new "## Ilefay Lotsay Uttonsbay"
# gui.rpy:219
# gui/game/gui.rpy:220
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 "## Aay ilefay otslay uttonbay isay aay pecialsay indkay ofay uttonbay. Tiay ontainscay aay humbnailtay imageay, anday exttay escribingday hetay ontentscay ofay hetay avesay otslay. Aay avesay otslay usesay imageay ilesfay inay uigay/uttonbay, ikelay hetay otheray indskay ofay uttonsbay."
# gui.rpy:223
# gui/game/gui.rpy:224
old "## The save slot button."
new "## Hetay avesay otslay uttonbay."
# gui.rpy:233
# gui/game/gui.rpy:234
old "## The width and height of thumbnails used by the save slots."
new "## Hetay idthway anday eighthay ofay humbnailstay useday ybay hetay avesay otsslay."
# gui.rpy:237
# gui/game/gui.rpy:238
old "## The number of columns and rows in the grid of save slots."
new "## Hetay umbernay ofay olumnscay anday owsray inay hetay idgray ofay avesay otsslay."
# gui.rpy:242
# gui/game/gui.rpy:243
old "## Positioning and Spacing"
new "## Ositioningpay anday Pacingsay"
# gui.rpy:244
# gui/game/gui.rpy:245
old "## These variables control the positioning and spacing of various user interface elements."
new "## Hesetay ariablesvay ontrolcay hetay ositioningpay anday pacingsay ofay ariousvay useray interfaceay elementsay."
# gui.rpy:247
# gui/game/gui.rpy:248
old "## The position of the left side of the navigation buttons, relative to the left side of the screen."
new "## Hetay ositionpay ofay hetay eftlay idesay ofay hetay avigationnay uttonsbay, elativeray otay hetay eftlay idesay ofay hetay creensay."
# gui.rpy:251
# gui/game/gui.rpy:252
old "## The vertical position of the skip indicator."
new "## Hetay erticalvay ositionpay ofay hetay kipsay indicatoray."
# gui.rpy:254
# gui/game/gui.rpy:255
old "## The vertical position of the notify screen."
new "## Hetay erticalvay ositionpay ofay hetay otifynay creensay."
# gui.rpy:257
# gui/game/gui.rpy:258
old "## The spacing between menu choices."
new "## Hetay pacingsay etweenbay enumay oiceschay."
# gui.rpy:260
# gui/game/gui.rpy:261
old "## Buttons in the navigation section of the main and game menus."
new "## Uttonsbay inay hetay avigationnay ectionsay ofay hetay ainmay anday amegay enusmay."
# gui.rpy:263
# gui/game/gui.rpy:264
old "## Controls the amount of spacing between preferences."
new "## Ontrolscay hetay amountay ofay pacingsay etweenbay referencespay."
# gui.rpy:266
# gui/game/gui.rpy:267
old "## Controls the amount of spacing between preference buttons."
new "## Ontrolscay hetay amountay ofay pacingsay etweenbay referencepay uttonsbay."
# gui.rpy:269
# gui/game/gui.rpy:270
old "## The spacing between file page buttons."
new "## Hetay pacingsay etweenbay ilefay agepay uttonsbay."
# gui.rpy:272
# gui/game/gui.rpy:273
old "## The spacing between file slots."
new "## Hetay pacingsay etweenbay ilefay otsslay."
# gui.rpy:275
# gui/game/gui.rpy:276
old "## The position of the main menu text."
new "## Hetay ositionpay ofay hetay ainmay enumay exttay."
# gui.rpy:279
# gui/game/gui.rpy:280
old "## Frames"
new "## Ramesfay"
# gui.rpy:281
# gui/game/gui.rpy:282
old "## These variables control the look of frames that can contain user interface components when an overlay or window is not present."
new "## Hesetay ariablesvay ontrolcay hetay ooklay ofay amesfray hattay ancay ontaincay useray interfaceay omponentscay henway anay overlayay oray indowway isay otnay resentpay."
# gui.rpy:284
# gui/game/gui.rpy:285
old "## Generic frames."
new "## Enericgay amesfray."
# gui.rpy:287
# gui/game/gui.rpy:288
old "## The frame that is used as part of the confirm screen."
new "## Hetay amefray hattay isay useday asay artpay ofay hetay onfirmcay creensay."
# gui.rpy:290
# gui/game/gui.rpy:291
old "## The frame that is used as part of the skip screen."
new "## Hetay amefray hattay isay useday asay artpay ofay hetay kipsay creensay."
# gui.rpy:293
# gui/game/gui.rpy:294
old "## The frame that is used as part of the notify screen."
new "## Hetay amefray hattay isay useday asay artpay ofay hetay otifynay creensay."
# gui.rpy:296
# gui/game/gui.rpy:297
old "## Should frame backgrounds be tiled?"
new "## Houldsay amefray ackgroundsbay ebay iledtay?"
# gui.rpy:300
# gui/game/gui.rpy:301
old "## Bars, Scrollbars, and Sliders"
new "## Arsbay, Crollbarssay, anday Liderssay"
# gui.rpy:302
# gui/game/gui.rpy:303
old "## These control the look and size of bars, scrollbars, and sliders."
new "## Hesetay ontrolcay hetay ooklay anday izesay ofay arsbay, crollbarssay, anday idersslay."
# gui.rpy:304
# gui/game/gui.rpy:305
old "## The default GUI only uses sliders and vertical scrollbars. All of the other bars are only used in creator-written screens."
new "## Hetay efaultday Uigay onlyay usesay idersslay anday erticalvay crollbarssay. Llaay ofay hetay otheray arsbay areay onlyay useday inay reatorcay-rittenway creenssay."
# gui.rpy:307
# gui/game/gui.rpy:308
old "## The height of horizontal bars, scrollbars, and sliders. The width of vertical bars, scrollbars, and sliders."
new "## Hetay eighthay ofay orizontalhay arsbay, crollbarssay, anday idersslay. Hetay idthway ofay erticalvay arsbay, crollbarssay, anday idersslay."
# gui.rpy:313
# gui/game/gui.rpy:314
old "## True if bar images should be tiled. False if they should be linearly scaled."
new "## Ruetay ifay arbay imagesay ouldshay ebay iledtay. Alsefay ifay heytay ouldshay ebay inearlylay caledsay."
# gui.rpy:318
# gui/game/gui.rpy:319
old "## Horizontal borders."
new "## Orizontalhay ordersbay."
# gui.rpy:323
# gui/game/gui.rpy:324
old "## Vertical borders."
new "## Erticalvay ordersbay."
# gui.rpy:328
# gui/game/gui.rpy:329
old "## What to do with unscrollable scrollbars in the gui. \"hide\" hides them, while None shows them."
new "## Hatway otay oday ithway unscrollableay crollbarssay inay hetay uigay. \"idehay\" ideshay hemtay, hileway Onenay owsshay hemtay."
# gui.rpy:333
# gui/game/gui.rpy:334
old "## History"
new "## Istoryhay"
# gui.rpy:335
# gui/game/gui.rpy:336
old "## The history screen displays dialogue that the player has already dismissed."
new "## Hetay istoryhay creensay isplaysday ialogueday hattay hetay ayerplay ashay alreadyay ismissedday."
# gui.rpy:337
# gui/game/gui.rpy:338
old "## The number of blocks of dialogue history Ren'Py will keep."
new "## Hetay umbernay ofay ocksblay ofay ialogueday istoryhay Enray'Ypay illway eepkay."
# gui.rpy:340
# gui/game/gui.rpy:341
old "## The height of a history screen entry, or None to make the height variable at the cost of performance."
new "## Hetay eighthay ofay aay istoryhay creensay entryay, oray Onenay otay akemay hetay eighthay ariablevay atay hetay ostcay ofay erformancepay."
# gui.rpy:344
# gui/game/gui.rpy:345
old "## The position, width, and alignment of the label giving the name of the speaking character."
new "## Hetay ositionpay, idthway, anday alignmentay ofay hetay abellay ivinggay hetay amenay ofay hetay peakingsay aracterchay."
# gui.rpy:351
# gui/game/gui.rpy:352
old "## The position, width, and alignment of the dialogue text."
new "## Hetay ositionpay, idthway, anday alignmentay ofay hetay ialogueday exttay."
# gui.rpy:358
# gui/game/gui.rpy:359
old "## NVL-Mode"
new "## Vlnay-Odemay"
# gui.rpy:360
# gui/game/gui.rpy:361
old "## The NVL-mode screen displays the dialogue spoken by NVL-mode characters."
new "## Hetay Vlnay-odemay creensay isplaysday hetay ialogueday pokensay ybay Vlnay-odemay aracterschay."
# gui.rpy:362
# gui/game/gui.rpy:363
old "## The borders of the background of the NVL-mode background window."
new "## Hetay ordersbay ofay hetay ackgroundbay ofay hetay Vlnay-odemay ackgroundbay indowway."
# gui.rpy:365
# gui/game/gui.rpy:366
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 "## Hetay aximummay umbernay ofay Vlnay-odemay entriesay Enray'Ypay illway isplayday. Henway oremay entriesay hantay histay areay otay ebay owshay, hetay oldestay entryay illway ebay emovedray."
# gui.rpy:369
# gui/game/gui.rpy:370
old "## The height of an NVL-mode entry. Set this to None to have the entries dynamically adjust height."
new "## Hetay eighthay ofay anay Vlnay-odemay entryay. Etsay histay otay Onenay otay avehay hetay entriesay ynamicallyday adjustay eighthay."
# gui.rpy:373
# gui/game/gui.rpy:374
old "## The spacing between NVL-mode entries when gui.nvl_height is None, and between NVL-mode entries and an NVL-mode menu."
new "## Hetay pacingsay etweenbay Vlnay-odemay entriesay henway uigay.vl_heightnay isay Onenay, anday etweenbay Vlnay-odemay entriesay anday anay Vlnay-odemay enumay."
# gui.rpy:390
# gui/game/gui.rpy:391
old "## The position, width, and alignment of nvl_thought text (the text said by the nvl_narrator character.)"
new "## Hetay ositionpay, idthway, anday alignmentay ofay vl_thoughtnay exttay (hetay exttay aidsay ybay hetay vl_narratornay aracterchay.)"
# gui.rpy:397
# gui/game/gui.rpy:398
old "## The position of nvl menu_buttons."
new "## Hetay ositionpay ofay vlnay enu_buttonsmay."
# gui.rpy:401
# gui/game/gui.rpy:402
old "## Localization"
new "## Ocalizationlay"
# gui.rpy:403
# gui/game/gui.rpy:404
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 "## Histay ontrolscay hereway aay inelay eakbray isay ermittedpay. Hetay efaultday isay uitablesay orfay ostmay anguageslay. Aay istlay ofay availableay aluesvay ancay ebay oundfay atay ttpshay://wwway.enpyray.orgay/ocday/tmlhay/yle_propertiesstay.tmlhay#ylestay-ropertypay-anguagelay"
# gui.rpy:411
# gui/game/gui.rpy:412
old "## Mobile devices"
new "## Obilemay evicesday"
# gui.rpy:416
# gui/game/gui.rpy:417
old "## This increases the size of the quick buttons to make them easier to touch on tablets and phones."
new "## Histay increasesay hetay izesay ofay hetay uickqay uttonsbay otay akemay hemtay easieray otay ouchtay onay abletstay anday onesphay."
# gui.rpy:422
# gui/game/gui.rpy:423
old "## This changes the size and spacing of various GUI elements to ensure they are easily visible on phones."
new "## Histay angeschay hetay izesay anday pacingsay ofay ariousvay Uigay elementsay otay ensureay heytay areay easilyay isiblevay onay onesphay."
# gui.rpy:426
# gui/game/gui.rpy:427
old "## Font sizes."
new "## Ontfay izessay."
# gui.rpy:434
# gui/game/gui.rpy:435
old "## Adjust the location of the textbox."
new "## Djustaay hetay ocationlay ofay hetay extboxtay."
# gui.rpy:440
# gui/game/gui.rpy:441
old "## Change the size and spacing of various things."
new "## Hangecay hetay izesay anday pacingsay ofay ariousvay hingstay."
# gui.rpy:453
# gui/game/gui.rpy:454
old "## File button layout."
new "## Ilefay uttonbay ayoutlay."
# gui.rpy:457
# gui/game/gui.rpy:458
old "## NVL-mode."
new "## Vlnay-odemay."
File diff suppressed because it is too large Load Diff
+6 -6
View File
@@ -1,27 +1,27 @@

translate piglatin strings:
# _layout/classic_joystick_preferences.rpym:94
# renpy/common/_layout/classic_joystick_preferences.rpym:94
old "Joystick Mapping"
new "Oystickjay Appingmay"
# _layout/classic_load_save.rpym:138
# renpy/common/_layout/classic_load_save.rpym:138
old "Empty Slot."
new "Mptyeay Lotsay."
# _layout/classic_load_save.rpym:170
# renpy/common/_layout/classic_load_save.rpym:170
old "a"
new "aay"
# _layout/classic_load_save.rpym:179
# renpy/common/_layout/classic_load_save.rpym:179
old "q"
new "qay"
# _compat/gamemenu.rpym:355
# renpy/common/_compat/gamemenu.rpym:355
old "Previous"
new "Reviouspay"
# _compat/gamemenu.rpym:362
# renpy/common/_compat/gamemenu.rpym:362
old "Next"
new "Extnay"
+49 -53
View File
@@ -1,203 +1,199 @@

translate piglatin strings:
# options.rpy:1
# gui/game/options.rpy:1
old "## This file contains options that can be changed to customize your game."
new "## Histay ilefay ontainscay optionsay hattay ancay ebay angedchay otay ustomizecay ouryay amegay."
# options.rpy:4
# 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 "## Ineslay eginningbay ithway wotay '#' arksmay areay ommentscay, anday ouyay ouldnshay'tay uncommentay hemtay. Ineslay eginningbay ithway aay inglesay '#' arkmay areay ommentedcay-outay odecay, anday ouyay aymay antway otay uncommentay hemtay henway appropriateay."
# options.rpy:10
# gui/game/options.rpy:10
old "## Basics"
new "## Asicsbay"
# options.rpy:12
# 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 "## Aay umanhay-eadableray amenay ofay hetay amegay. Histay isay useday otay etsay hetay efaultday indowway itletay, anday owsshay upay inay hetay interfaceay anday erroray eportsray."
# options.rpy:15
# gui/game/options.rpy:15
old "## The _() surrounding the string marks it as eligible for translation."
new "## Hetay _ay() urroundingsay hetay ringstay arksmay itay asay eligibleay orfay anslationtray."
# options.rpy:17
# gui/game/options.rpy:17
old "Ren'Py 7 Default GUI"
new "Enray'Ypay 7ay Efaultday Uigay"
# options.rpy:20
# 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 "## Eterminesday ifay hetay itletay ivengay aboveay isay ownshay onay hetay ainmay enumay creensay. Etsay histay otay Alsefay otay idehay hetay itletay."
# options.rpy:26
# gui/game/options.rpy:26
old "## The version of the game."
new "## Hetay ersionvay ofay hetay amegay."
# options.rpy:31
# 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 "## Exttay hattay isay acedplay onay hetay amegay'say aboutay creensay. Lacepay hetay exttay etweenbay hetay ipletray-uotesqay, anday eavelay aay ankblay inelay etweenbay aragraphspay."
# options.rpy:38
# 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 "## Aay ortshay amenay orfay hetay amegay useday orfay executablesay anday irectoriesday inay hetay uiltbay istributionday. Histay ustmay ebay Sciiaay-onlyay, anday ustmay otnay ontaincay pacessay, olonscay, oray emicolonssay."
# options.rpy:45
# gui/game/options.rpy:45
old "## Sounds and music"
new "## Oundssay anday usicmay"
# options.rpy:47
# gui/game/options.rpy:47
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 "## Hesetay hreetay ariablesvay ontrolcay hichway ixersmay areay ownshay otay hetay ayerplay ybay efaultday. Ettingsay oneay ofay hesetay otay Alsefay illway idehay hetay appropriateay ixermay."
# options.rpy:56
# 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 "## Otay alloway hetay useray otay ayplay aay esttay oundsay onay hetay oundsay oray oicevay annelchay, uncommentay aay inelay elowbay anday useay itay otay etsay aay amplesay oundsay otay ayplay."
# options.rpy:63
# 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 "## Ncommentuay hetay ollowingfay inelay otay etsay anay audioay ilefay hattay illway ebay ayedplay hileway hetay ayerplay isay atay hetay ainmay enumay. Histay ilefay illway ontinuecay ayingplay intoay hetay amegay, untilay itay isay oppedstay oray anotheray ilefay isay ayedplay."
# options.rpy:70
# gui/game/options.rpy:70
old "## Transitions"
new "## Ransitionstay"
# options.rpy:72
# 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 "## Hesetay ariablesvay etsay ansitionstray hattay areay useday henway ertaincay eventsay occuray. Acheay ariablevay ouldshay ebay etsay otay aay ansitiontray, oray Onenay otay indicateay hattay onay ansitiontray ouldshay ebay useday."
# options.rpy:76
# gui/game/options.rpy:76
old "## Entering or exiting the game menu."
new "## Nteringeay oray exitingay hetay amegay enumay."
# options.rpy:82
# gui/game/options.rpy:82
old "## Between screens of the game menu."
new "## Etweenbay creenssay ofay hetay amegay enumay."
# options.rpy:87
# gui/game/options.rpy:87
old "## A transition that is used after a game has been loaded."
new "## Aay ansitiontray hattay isay useday afteray aay amegay ashay eenbay oadedlay."
# options.rpy:92
# gui/game/options.rpy:92
old "## Used when entering the main menu after the game has ended."
new "## Seduay henway enteringay hetay ainmay enumay afteray hetay amegay ashay endeday."
# options.rpy:97
# 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 "## Aay ariablevay otay etsay hetay ansitiontray useday henway hetay amegay artsstay oesday otnay existay. Nsteadiay, useay aay ithway atementstay afteray owingshay hetay initialay cenesay."
# options.rpy:102
# gui/game/options.rpy:102
old "## Window management"
new "## Indowway anagementmay"
# options.rpy:104
# 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 "## Histay ontrolscay henway hetay ialogueday indowway isay isplayedday. Fiay \"owshay\", itay isay alwaysay isplayedday. Fiay \"idehay\", itay isay onlyay isplayedday henway ialogueday isay resentpay. Fiay \"autoay\", hetay indowway isay iddenhay eforebay cenesay atementsstay anday ownshay againay onceay ialogueday isay isplayedday."
# options.rpy:109
# 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 "## Fteraay hetay amegay ashay artedstay, histay ancay ebay angedchay ithway hetay \"indowway owshay\", \"indowway idehay\", anday \"indowway autoay\" atementsstay."
# options.rpy:115
# gui/game/options.rpy:115
old "## Transitions used to show and hide the dialogue window"
new "## Ransitionstay useday otay owshay anday idehay hetay ialogueday indowway"
# options.rpy:121
# gui/game/options.rpy:121
old "## Preference defaults"
new "## Referencepay efaultsday"
# options.rpy:123
# 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 "## Ontrolscay hetay efaultday exttay peedsay. Hetay efaultday, 0ay, isay infiniteay, hileway anyay otheray umbernay isay hetay umbernay ofay aracterschay erpay econdsay otay ypetay outay."
# options.rpy:129
# 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 "## Hetay efaultday autoay-orwardfay elayday. Argerlay umbersnay eadlay otay ongerlay aitsway, ithway 0ay otay 03ay eingbay hetay alidvay angeray."
# options.rpy:135
# gui/game/options.rpy:135
old "## Save directory"
new "## Avesay irectoryday"
# options.rpy:137
# 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 "## Ontrolscay hetay atformplay-pecificsay aceplay Enray'Ypay illway aceplay hetay avesay ilesfay orfay histay amegay. Hetay avesay ilesfay illway ebay acedplay inay:"
# options.rpy:140
# gui/game/options.rpy:140
old "## Windows: %APPDATA\\RenPy\\<config.save_directory>"
new "## Indowsway: %Ppdataaay\\Enpyray\\<onfigcay.ave_directorysay>"
# options.rpy:142
# gui/game/options.rpy:142
old "## Macintosh: $HOME/Library/RenPy/<config.save_directory>"
new "## Acintoshmay: $Omehay/Ibrarylay/Enpyray/<onfigcay.ave_directorysay>"
# options.rpy:144
# gui/game/options.rpy:144
old "## Linux: $HOME/.renpy/<config.save_directory>"
new "## Inuxlay: $Omehay/.enpyray/<onfigcay.ave_directorysay>"
# options.rpy:146
# 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 "## Histay enerallygay ouldshay otnay ebay angedchay, anday ifay itay isay, ouldshay alwaysay ebay aay iterallay ringstay, otnay anay expressionay."
# options.rpy:152
# gui/game/options.rpy:152
old "## Icon"
new "## Coniay"
# options.rpy:154
# gui/game/options.rpy:154
old "## The icon displayed on the taskbar or dock."
new "## Hetay iconay isplayedday onay hetay askbartay oray ockday."
# options.rpy:159
# gui/game/options.rpy:159
old "## Build configuration"
new "## Uildbay onfigurationcay"
# options.rpy:161
# gui/game/options.rpy:161
old "## This section controls how Ren'Py turns your project into distribution files."
new "## Histay ectionsay ontrolscay owhay Enray'Ypay urnstay ouryay rojectpay intoay istributionday ilesfay."
# options.rpy:166
# 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 "## Hetay ollowingfay unctionsfay aketay ilefay atternspay. Ilefay atternspay areay asecay- insensitiveay, anday atchedmay againstay hetay athpay elativeray otay hetay asebay irectoryday, ithway anday ithoutway aay eadinglay /. Fiay ultiplemay atternspay atchmay, hetay irstfay isay useday."
# options.rpy:171
# gui/game/options.rpy:171
old "## In a pattern:"
new "## Niay aay atternpay:"
# options.rpy:173
# gui/game/options.rpy:173
old "## / is the directory separator."
new "## / isay hetay irectoryday eparatorsay."
# options.rpy:175
# gui/game/options.rpy:175
old "## * matches all characters, except the directory separator."
new "## * atchesmay allay aracterschay, exceptay hetay irectoryday eparatorsay."
# options.rpy:177
# gui/game/options.rpy:177
old "## ** matches all characters, including the directory separator."
new "## ** atchesmay allay aracterschay, includingay hetay irectoryday eparatorsay."
# options.rpy:179
# 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 "## Orfay exampleay, \"*.xttay\" atchesmay xttay ilesfay inay hetay asebay irectoryday, \"amegay/**.oggay\" atchesmay oggay ilesfay inay hetay amegay irectoryday oray anyay ofay itsay ubdirectoriessay, anday \"**.sdpay\" atchesmay sdpay ilesfay anywhereay inay hetay rojectpay."
# options.rpy:183
# gui/game/options.rpy:183
old "## Classify files as None to exclude them from the built distributions."
new "## Lassifycay ilesfay asay Onenay otay excludeay hemtay omfray hetay uiltbay istributionsday."
# options.rpy:191
# gui/game/options.rpy:191
old "## To archive files, classify them as 'archive'."
new "## Otay archiveay ilesfay, assifyclay hemtay asay 'archiveay'."
# options.rpy:196
# 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 "## Ilesfay atchingmay ocumentationday atternspay areay uplicatedday inay aay acmay appay uildbay, osay heytay appearay inay othbay hetay appay anday hetay ipzay ilefay."
# options.rpy:202
old "## Set this to a string containing your Apple Developer ID Application to enable codesigning on the Mac. Be sure to change it to your own Apple-issued ID."
new "## Etsay histay otay aay ringstay ontainingcay ouryay Ppleaay Eveloperday Diay Pplicationaay otay enableay odesigningcay onay hetay Acmay. Ebay uresay otay angechay itay otay ouryay ownay Ppleaay-issueday Diay."
# options.rpy:209
# gui/game/options.rpy:203
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 "## Aay Ooglegay Laypay icenselay eykay isay equiredray otay ownloadday expansionay ilesfay anday erformpay inay-appay urchasespay. Tiay ancay ebay oundfay onay hetay \"Ervicessay & Pisaay\" agepay ofay hetay Ooglegay Laypay eveloperday onsolecay."
# options.rpy:216
# gui/game/options.rpy:210
old "## The username and project name associated with an itch.io project, separated by a slash."
new "## Hetay usernameay anday rojectpay amenay associateday ithway anay itchay.ioay rojectpay, eparatedsay ybay aay ashslay."
+169 -173
View File
@@ -1,675 +1,671 @@

translate piglatin strings:
# screens.rpy:9
# gui/game/screens.rpy:9
old "## Styles"
new "## Tylessay"
# screens.rpy:81
# gui/game/screens.rpy:81
old "## In-game screens"
new "## Niay-amegay creenssay"
# screens.rpy:85
# gui/game/screens.rpy:85
old "## Say screen"
new "## Aysay creensay"
# screens.rpy:87
# 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 "## Hetay aysay creensay isay useday otay isplayday ialogueday otay hetay ayerplay. Tiay akestay wotay arameterspay, howay anday hatway, hichway areay hetay amenay ofay hetay peakingsay aracterchay anday hetay exttay otay ebay isplayedday, espectivelyray. (Hetay howay arameterpay ancay ebay Onenay ifay onay amenay isay ivengay.)"
# screens.rpy:92
# 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 "## Histay creensay ustmay reatecay aay exttay isplayableday ithway iday \"hatway\", asay Enray'Ypay usesay histay otay anagemay exttay isplayday. Tiay ancay alsoay reatecay isplayablesday ithway iday \"howay\" anday iday \"indowway\" otay applyay ylestay ropertiespay."
# screens.rpy:96
# gui/game/screens.rpy:96
old "## https://www.renpy.org/doc/html/screen_special.html#say"
new "## ttpshay://wwway.enpyray.orgay/ocday/tmlhay/creen_specialsay.tmlhay#aysay"
# screens.rpy:114
# 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 "## Fiay heretay'say aay idesay imageay, isplayday itay aboveay hetay exttay. Oday otnay isplayday onay hetay onephay ariantvay - heretay'say onay oomray."
# screens.rpy:120
# gui/game/screens.rpy:120
old "## Make the namebox available for styling through the Character object."
new "## Akemay hetay ameboxnay availableay orfay ylingstay hroughtay hetay Haractercay objectay."
# screens.rpy:164
# gui/game/screens.rpy:164
old "## Input screen"
new "## Nputiay creensay"
# screens.rpy:166
# gui/game/screens.rpy:166
old "## This screen is used to display renpy.input. The prompt parameter is used to pass a text prompt in."
new "## Histay creensay isay useday otay isplayday enpyray.inputay. Hetay romptpay arameterpay isay useday otay asspay aay exttay romptpay inay."
# screens.rpy:169
# gui/game/screens.rpy:169
old "## This screen must create an input displayable with id \"input\" to accept the various input parameters."
new "## Histay creensay ustmay reatecay anay inputay isplayableday ithway iday \"inputay\" otay acceptay hetay ariousvay inputay arameterspay."
# screens.rpy:172
# gui/game/screens.rpy:172
old "## https://www.renpy.org/doc/html/screen_special.html#input"
new "## ttpshay://wwway.enpyray.orgay/ocday/tmlhay/creen_specialsay.tmlhay#inputay"
# screens.rpy:199
# gui/game/screens.rpy:199
old "## Choice screen"
new "## Hoicecay creensay"
# screens.rpy:201
# gui/game/screens.rpy:201
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 "## Histay creensay isay useday otay isplayday hetay inay-amegay oiceschay resentedpay ybay hetay enumay atementstay. Hetay oneay arameterpay, itemsay, isay aay istlay ofay objectsay, eachay ithway aptioncay anday actionay ieldsfay."
# screens.rpy:205
# gui/game/screens.rpy:205
old "## https://www.renpy.org/doc/html/screen_special.html#choice"
new "## ttpshay://wwway.enpyray.orgay/ocday/tmlhay/creen_specialsay.tmlhay#oicechay"
# screens.rpy:215
# gui/game/screens.rpy:215
old "## When this is true, menu captions will be spoken by the narrator. When false, menu captions will be displayed as empty buttons."
new "## Henway histay isay uetray, enumay aptionscay illway ebay pokensay ybay hetay arratornay. Henway alsefay, enumay aptionscay illway ebay isplayedday asay emptyay uttonsbay."
# screens.rpy:238
# gui/game/screens.rpy:238
old "## Quick Menu screen"
new "## Uickqay Enumay creensay"
# screens.rpy:240
# gui/game/screens.rpy:240
old "## The quick menu is displayed in-game to provide easy access to the out-of-game menus."
new "## Hetay uickqay enumay isay isplayedday inay-amegay otay rovidepay easyay accessay otay hetay outay-ofay-amegay enusmay."
# screens.rpy:245
# gui/game/screens.rpy:245
old "## Ensure this appears on top of other screens."
new "## Nsureeay histay appearsay onay optay ofay otheray creenssay."
# screens.rpy:256
# gui/game/screens.rpy:256
old "Back"
new "Ackbay"
# screens.rpy:257
# gui/game/screens.rpy:257
old "History"
new "Istoryhay"
# screens.rpy:258
# gui/game/screens.rpy:258
old "Skip"
new "Kipsay"
# screens.rpy:259
# gui/game/screens.rpy:259
old "Auto"
new "Utoaay"
# screens.rpy:260
# gui/game/screens.rpy:260
old "Save"
new "Avesay"
# screens.rpy:261
# gui/game/screens.rpy:261
old "Q.Save"
new "Qay.Avesay"
# screens.rpy:262
# gui/game/screens.rpy:262
old "Q.Load"
new "Qay.Oadlay"
# screens.rpy:263
# gui/game/screens.rpy:263
old "Prefs"
new "Refspay"
# screens.rpy:266
# gui/game/screens.rpy:266
old "## This code ensures that the quick_menu screen is displayed in-game, whenever the player has not explicitly hidden the interface."
new "## Histay odecay ensuresay hattay hetay uick_menuqay creensay isay isplayedday inay-amegay, heneverway hetay ayerplay ashay otnay explicitlyay iddenhay hetay interfaceay."
# screens.rpy:284
# gui/game/screens.rpy:284
old "## Main and Game Menu Screens"
new "## Ainmay anday Amegay Enumay Creenssay"
# screens.rpy:287
# gui/game/screens.rpy:287
old "## Navigation screen"
new "## Avigationnay creensay"
# screens.rpy:289
# gui/game/screens.rpy:289
old "## This screen is included in the main and game menus, and provides navigation to other menus, and to start the game."
new "## Histay creensay isay includeday inay hetay ainmay anday amegay enusmay, anday rovidespay avigationnay otay otheray enusmay, anday otay artstay hetay amegay."
# screens.rpy:304
# gui/game/screens.rpy:304
old "Start"
new "Tartsay"
# screens.rpy:312
# gui/game/screens.rpy:312
old "Load"
new "Oadlay"
# screens.rpy:314
# gui/game/screens.rpy:314
old "Preferences"
new "Referencespay"
# screens.rpy:318
# gui/game/screens.rpy:318
old "End Replay"
new "Ndeay Eplayray"
# screens.rpy:322
# gui/game/screens.rpy:322
old "Main Menu"
new "Ainmay Enumay"
# screens.rpy:324
# gui/game/screens.rpy:324
old "About"
new "Boutaay"
# screens.rpy:328
# gui/game/screens.rpy:328
old "## Help isn't necessary or relevant to mobile devices."
new "## Elphay isnay'tay ecessarynay oray elevantray otay obilemay evicesday."
# screens.rpy:329
# gui/game/screens.rpy:329
old "Help"
new "Elphay"
# screens.rpy:331
old "## The quit button is banned on iOS and unnecessary on Android."
new "## Hetay uitqay uttonbay isay annedbay onay iOSay anday unnecessaryay onay Ndroidaay."
# gui/game/screens.rpy:333
old "## The quit button is banned on iOS and unnecessary on Android and Web."
new "## Hetay uitqay uttonbay isay annedbay onay iOSay anday unnecessaryay onay Ndroidaay anday Ebway."
# screens.rpy:332
# gui/game/screens.rpy:334
old "Quit"
new "Uitqay"
# screens.rpy:346
# gui/game/screens.rpy:348
old "## Main Menu screen"
new "## Ainmay Enumay creensay"
# screens.rpy:348
# gui/game/screens.rpy:350
old "## Used to display the main menu when Ren'Py starts."
new "## Seduay otay isplayday hetay ainmay enumay henway Enray'Ypay artsstay."
# screens.rpy:350
# gui/game/screens.rpy:352
old "## https://www.renpy.org/doc/html/screen_special.html#main-menu"
new "## ttpshay://wwway.enpyray.orgay/ocday/tmlhay/creen_specialsay.tmlhay#ainmay-enumay"
# screens.rpy:354
# gui/game/screens.rpy:356
old "## This ensures that any other menu screen is replaced."
new "## Histay ensuresay hattay anyay otheray enumay creensay isay eplacedray."
# screens.rpy:361
# gui/game/screens.rpy:363
old "## This empty frame darkens the main menu."
new "## Histay emptyay amefray arkensday hetay ainmay enumay."
# screens.rpy:365
# gui/game/screens.rpy:367
old "## The use statement includes another screen inside this one. The actual contents of the main menu are in the navigation screen."
new "## Hetay useay atementstay includesay anotheray creensay insideay histay oneay. Hetay actualay ontentscay ofay hetay ainmay enumay areay inay hetay avigationnay creensay."
# screens.rpy:408
# gui/game/screens.rpy:410
old "## Game Menu screen"
new "## Amegay Enumay creensay"
# screens.rpy:410
# gui/game/screens.rpy:412
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 "## Histay ayslay outay hetay asicbay ommoncay ructurestay ofay aay amegay enumay creensay. Tiay'say alledcay ithway hetay creensay itletay, anday isplaysday hetay ackgroundbay, itletay, anday avigationnay."
# screens.rpy:413
# gui/game/screens.rpy:415
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 "## Hetay crollsay arameterpay ancay ebay Onenay, oray oneay ofay \"iewportvay\" oray \"pgridvay\". Henway histay creensay isay intendeday otay ebay useday ithway oneay oray oremay ildrenchay, hichway areay anscludedtray (acedplay) insideay itay."
# screens.rpy:431
# gui/game/screens.rpy:433
old "## Reserve space for the navigation section."
new "## Eserveray pacesay orfay hetay avigationnay ectionsay."
# screens.rpy:473
# gui/game/screens.rpy:475
old "Return"
new "Eturnray"
# screens.rpy:536
# gui/game/screens.rpy:538
old "## About screen"
new "## Boutaay creensay"
# screens.rpy:538
# gui/game/screens.rpy:540
old "## This screen gives credit and copyright information about the game and Ren'Py."
new "## Histay creensay ivesgay reditcay anday opyrightcay informationay aboutay hetay amegay anday Enray'Ypay."
# screens.rpy:541
# gui/game/screens.rpy:543
old "## There's nothing special about this screen, and hence it also serves as an example of how to make a custom screen."
new "## Heretay'say othingnay pecialsay aboutay histay creensay, anday encehay itay alsoay ervessay asay anay exampleay ofay owhay otay akemay aay ustomcay creensay."
# screens.rpy:548
# gui/game/screens.rpy:550
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 "## Histay useay atementstay includesay hetay ame_menugay creensay insideay histay oneay. Hetay boxvay ildchay isay hentay includeday insideay hetay iewportvay insideay hetay ame_menugay creensay."
# screens.rpy:558
# gui/game/screens.rpy:560
old "Version [config.version!t]\n"
new "Ersionvay [config.version!t]\n"
# screens.rpy:560
# gui/game/screens.rpy:562
old "## gui.about is usually set in options.rpy."
new "## uigay.aboutay isay usuallyay etsay inay optionsay.pyray."
# screens.rpy:564
# gui/game/screens.rpy:566
old "Made with {a=https://www.renpy.org/}Ren'Py{/a} [renpy.version_only].\n\n[renpy.license!t]"
new "Ademay ithway {a=https://www.renpy.org/}Enray'Ypay{/a} [renpy.version_only].\n\n[renpy.license!t]"
# screens.rpy:567
old "## This is redefined in options.rpy to add text to the about screen."
new "## Histay isay edefinedray inay optionsay.pyray otay adday exttay otay hetay aboutay creensay."
# screens.rpy:579
# gui/game/screens.rpy:577
old "## Load and Save screens"
new "## Oadlay anday Avesay creenssay"
# screens.rpy:581
# gui/game/screens.rpy:579
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 "## Hesetay creenssay areay esponsibleray orfay ettinglay hetay ayerplay avesay hetay amegay anday oadlay itay againay. Incesay heytay areshay earlynay everythingay inay ommoncay, othbay areay implementeday inay ermstay ofay aay hirdtay creensay, ile_slotsfay."
# screens.rpy:585
# gui/game/screens.rpy:583
old "## https://www.renpy.org/doc/html/screen_special.html#save https://www.renpy.org/doc/html/screen_special.html#load"
new "## ttpshay://wwway.enpyray.orgay/ocday/tmlhay/creen_specialsay.tmlhay#avesay ttpshay://wwway.enpyray.orgay/ocday/tmlhay/creen_specialsay.tmlhay#oadlay"
# screens.rpy:604
# gui/game/screens.rpy:602
old "Page {}"
new "Agepay {}"
# screens.rpy:604
# gui/game/screens.rpy:602
old "Automatic saves"
new "Utomaticaay avessay"
# screens.rpy:604
# gui/game/screens.rpy:602
old "Quick saves"
new "Uickqay avessay"
# screens.rpy:610
# gui/game/screens.rpy:608
old "## This ensures the input will get the enter event before any of the buttons do."
new "## Histay ensuresay hetay inputay illway etgay hetay enteray eventay eforebay anyay ofay hetay uttonsbay oday."
# screens.rpy:614
# gui/game/screens.rpy:612
old "## The page name, which can be edited by clicking on a button."
new "## Hetay agepay amenay, hichway ancay ebay editeday ybay ickingclay onay aay uttonbay."
# screens.rpy:626
# gui/game/screens.rpy:624
old "## The grid of file slots."
new "## Hetay idgray ofay ilefay otsslay."
# screens.rpy:646
# gui/game/screens.rpy:644
old "{#file_time}%A, %B %d %Y, %H:%M"
new "{#file_time}%Aay, %Bay %day %Yay, %Hay:%May"
# screens.rpy:646
# gui/game/screens.rpy:644
old "empty slot"
new "emptyay otslay"
# screens.rpy:654
# gui/game/screens.rpy:652
old "## Buttons to access other pages."
new "## Uttonsbay otay accessay otheray agespay."
# screens.rpy:663
# gui/game/screens.rpy:661
old "<"
new "<"
# screens.rpy:666
# gui/game/screens.rpy:664
old "{#auto_page}A"
new "{#auto_page}Aay"
# screens.rpy:669
# gui/game/screens.rpy:667
old "{#quick_page}Q"
new "{#quick_page}Qay"
# screens.rpy:671
# gui/game/screens.rpy:669
old "## range(1, 10) gives the numbers from 1 to 9."
new "## angeray(1ay, 01ay) ivesgay hetay umbersnay omfray 1ay otay 9ay."
# screens.rpy:675
# gui/game/screens.rpy:673
old ">"
new ">"
# screens.rpy:710
# gui/game/screens.rpy:708
old "## Preferences screen"
new "## Referencespay creensay"
# screens.rpy:712
# gui/game/screens.rpy:710
old "## The preferences screen allows the player to configure the game to better suit themselves."
new "## Hetay referencespay creensay allowsay hetay ayerplay otay onfigurecay hetay amegay otay etterbay uitsay hemselvestay."
# screens.rpy:715
# gui/game/screens.rpy:713
old "## https://www.renpy.org/doc/html/screen_special.html#preferences"
new "## ttpshay://wwway.enpyray.orgay/ocday/tmlhay/creen_specialsay.tmlhay#referencespay"
# screens.rpy:732
# gui/game/screens.rpy:730
old "Display"
new "Isplayday"
# screens.rpy:733
# gui/game/screens.rpy:731
old "Window"
new "Indowway"
# screens.rpy:734
# gui/game/screens.rpy:732
old "Fullscreen"
new "Ullscreenfay"
# screens.rpy:738
# gui/game/screens.rpy:736
old "Rollback Side"
new "Ollbackray Idesay"
# screens.rpy:739
# gui/game/screens.rpy:737
old "Disable"
new "Isableday"
# screens.rpy:740
# gui/game/screens.rpy:738
old "Left"
new "Eftlay"
# screens.rpy:741
# gui/game/screens.rpy:739
old "Right"
new "Ightray"
# screens.rpy:746
# gui/game/screens.rpy:744
old "Unseen Text"
new "Nseenuay Exttay"
# screens.rpy:747
# gui/game/screens.rpy:745
old "After Choices"
new "Fteraay Hoicescay"
# screens.rpy:748
# gui/game/screens.rpy:746
old "Transitions"
new "Ransitionstay"
# screens.rpy:750
# gui/game/screens.rpy:748
old "## Additional vboxes of type \"radio_pref\" or \"check_pref\" can be added here, to add additional creator-defined preferences."
new "## Dditionalaay boxesvay ofay ypetay \"adio_prefray\" oray \"eck_prefchay\" ancay ebay addeday erehay, otay adday additionalay reatorcay-efinedday referencespay."
# screens.rpy:761
# gui/game/screens.rpy:759
old "Text Speed"
new "Exttay Peedsay"
# screens.rpy:765
# gui/game/screens.rpy:763
old "Auto-Forward Time"
new "Utoaay-Orwardfay Imetay"
# screens.rpy:772
# gui/game/screens.rpy:770
old "Music Volume"
new "Usicmay Olumevay"
# screens.rpy:779
# gui/game/screens.rpy:777
old "Sound Volume"
new "Oundsay Olumevay"
# screens.rpy:785
# gui/game/screens.rpy:783
old "Test"
new "Esttay"
# screens.rpy:789
# gui/game/screens.rpy:787
old "Voice Volume"
new "Oicevay Olumevay"
# screens.rpy:800
# gui/game/screens.rpy:798
old "Mute All"
new "Utemay Llaay"
# screens.rpy:876
# gui/game/screens.rpy:874
old "## History screen"
new "## Istoryhay creensay"
# screens.rpy:878
# gui/game/screens.rpy:876
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 "## Histay isay aay creensay hattay isplaysday hetay ialogueday istoryhay otay hetay ayerplay. Hileway heretay isnay'tay anythingay pecialsay aboutay histay creensay, itay oesday avehay otay accessay hetay ialogueday istoryhay oredstay inay history_list_ay."
# screens.rpy:882
# gui/game/screens.rpy:880
old "## https://www.renpy.org/doc/html/history.html"
new "## ttpshay://wwway.enpyray.orgay/ocday/tmlhay/istoryhay.tmlhay"
# screens.rpy:888
# gui/game/screens.rpy:886
old "## Avoid predicting this screen, as it can be very large."
new "## Voidaay redictingpay histay creensay, asay itay ancay ebay eryvay argelay."
# screens.rpy:899
# gui/game/screens.rpy:897
old "## This lays things out properly if history_height is None."
new "## Histay ayslay hingstay outay roperlypay ifay istory_heighthay isay Onenay."
# screens.rpy:908
# gui/game/screens.rpy:907
old "## Take the color of the who text from the Character, if set."
new "## Aketay hetay olorcay ofay hetay howay exttay omfray hetay Haractercay, ifay etsay."
# screens.rpy:916
# gui/game/screens.rpy:916
old "The dialogue history is empty."
new "Hetay ialogueday istoryhay isay emptyay."
# screens.rpy:919
# gui/game/screens.rpy:919
old "## This determines what tags are allowed to be displayed on the history screen."
new "## Histay eterminesday hatway agstay areay alloweday otay ebay isplayedday onay hetay istoryhay creensay."
# screens.rpy:966
# gui/game/screens.rpy:966
old "## Help screen"
new "## Elphay creensay"
# screens.rpy:968
# 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 "## Aay creensay hattay ivesgay informationay aboutay eykay anday ousemay indingsbay. Tiay usesay otheray creenssay (eyboard_helpkay, ouse_helpmay, anday amepad_helpgay) otay isplayday hetay actualay elphay."
# screens.rpy:987
# gui/game/screens.rpy:987
old "Keyboard"
new "Eyboardkay"
# screens.rpy:988
# gui/game/screens.rpy:988
old "Mouse"
new "Ousemay"
# screens.rpy:991
# gui/game/screens.rpy:991
old "Gamepad"
new "Amepadgay"
# screens.rpy:1004
# gui/game/screens.rpy:1004
old "Enter"
new "Ntereay"
# screens.rpy:1005
# gui/game/screens.rpy:1005
old "Advances dialogue and activates the interface."
new "Dvancesaay ialogueday anday activatesay hetay interfaceay."
# screens.rpy:1008
# gui/game/screens.rpy:1008
old "Space"
new "Pacesay"
# screens.rpy:1009
# gui/game/screens.rpy:1009
old "Advances dialogue without selecting choices."
new "Dvancesaay ialogueday ithoutway electingsay oiceschay."
# screens.rpy:1012
# gui/game/screens.rpy:1012
old "Arrow Keys"
new "Rrowaay Eyskay"
# screens.rpy:1013
# gui/game/screens.rpy:1013
old "Navigate the interface."
new "Avigatenay hetay interfaceay."
# screens.rpy:1016
# gui/game/screens.rpy:1016
old "Escape"
new "Scapeeay"
# screens.rpy:1017
# gui/game/screens.rpy:1017
old "Accesses the game menu."
new "Ccessesaay hetay amegay enumay."
# screens.rpy:1020
# gui/game/screens.rpy:1020
old "Ctrl"
new "Trlcay"
# screens.rpy:1021
# gui/game/screens.rpy:1021
old "Skips dialogue while held down."
new "Kipssay ialogueday hileway eldhay ownday."
# screens.rpy:1024
# gui/game/screens.rpy:1024
old "Tab"
new "Abtay"
# screens.rpy:1025
# gui/game/screens.rpy:1025
old "Toggles dialogue skipping."
new "Ogglestay ialogueday kippingsay."
# screens.rpy:1028
# gui/game/screens.rpy:1028
old "Page Up"
new "Agepay Puay"
# screens.rpy:1029
# gui/game/screens.rpy:1029
old "Rolls back to earlier dialogue."
new "Ollsray ackbay otay earlieray ialogueday."
# screens.rpy:1032
# gui/game/screens.rpy:1032
old "Page Down"
new "Agepay Ownday"
# screens.rpy:1033
# gui/game/screens.rpy:1033
old "Rolls forward to later dialogue."
new "Ollsray orwardfay otay aterlay ialogueday."
# screens.rpy:1037
# gui/game/screens.rpy:1037
old "Hides the user interface."
new "Ideshay hetay useray interfaceay."
# screens.rpy:1041
# gui/game/screens.rpy:1041
old "Takes a screenshot."
new "Akestay aay creenshotsay."
# screens.rpy:1045
# gui/game/screens.rpy:1045
old "Toggles assistive {a=https://www.renpy.org/l/voicing}self-voicing{/a}."
new "Ogglestay assistiveay {a=https://www.renpy.org/l/voicing}elfsay-oicingvay{/a}."
# screens.rpy:1051
# gui/game/screens.rpy:1051
old "Left Click"
new "Eftlay Lickcay"
# screens.rpy:1055
# gui/game/screens.rpy:1055
old "Middle Click"
new "Iddlemay Lickcay"
# screens.rpy:1059
# gui/game/screens.rpy:1059
old "Right Click"
new "Ightray Lickcay"
# screens.rpy:1063
# gui/game/screens.rpy:1063
old "Mouse Wheel Up\nClick Rollback Side"
new "Ousemay Heelway Puay\nLickcay Ollbackray Idesay"
# screens.rpy:1067
# gui/game/screens.rpy:1067
old "Mouse Wheel Down"
new "Ousemay Heelway Ownday"
# screens.rpy:1074
# gui/game/screens.rpy:1074
old "Right Trigger\nA/Bottom Button"
new "Ightray Riggertay\nAay/Ottombay Uttonbay"
# screens.rpy:1078
# gui/game/screens.rpy:1078
old "Left Trigger\nLeft Shoulder"
new "Eftlay Riggertay\nEftlay Houldersay"
# screens.rpy:1082
# gui/game/screens.rpy:1082
old "Right Shoulder"
new "Ightray Houldersay"
# screens.rpy:1087
# gui/game/screens.rpy:1087
old "D-Pad, Sticks"
new "Day-Adpay, Tickssay"
# screens.rpy:1091
# gui/game/screens.rpy:1091
old "Start, Guide"
new "Tartsay, Uidegay"
# screens.rpy:1095
# gui/game/screens.rpy:1095
old "Y/Top Button"
new "Yay/Optay Uttonbay"
# screens.rpy:1098
# gui/game/screens.rpy:1098
old "Calibrate"
new "Alibratecay"
# screens.rpy:1126
# gui/game/screens.rpy:1126
old "## Additional screens"
new "## Dditionalaay creenssay"
# screens.rpy:1130
# gui/game/screens.rpy:1130
old "## Confirm screen"
new "## Onfirmcay creensay"
# screens.rpy:1132
# gui/game/screens.rpy:1132
old "## The confirm screen is called when Ren'Py wants to ask the player a yes or no question."
new "## Hetay onfirmcay creensay isay alledcay henway Enray'Ypay antsway otay askay hetay ayerplay aay esyay oray onay uestionqay."
# screens.rpy:1135
# gui/game/screens.rpy:1135
old "## https://www.renpy.org/doc/html/screen_special.html#confirm"
new "## ttpshay://wwway.enpyray.orgay/ocday/tmlhay/creen_specialsay.tmlhay#onfirmcay"
# screens.rpy:1139
# gui/game/screens.rpy:1139
old "## Ensure other screens do not get input while this screen is displayed."
new "## Nsureeay otheray creenssay oday otnay etgay inputay hileway histay creensay isay isplayedday."
# screens.rpy:1163
# gui/game/screens.rpy:1163
old "Yes"
new "Esyay"
# screens.rpy:1164
# gui/game/screens.rpy:1164
old "No"
new "Onay"
# screens.rpy:1166
# gui/game/screens.rpy:1166
old "## Right-click and escape answer \"no\"."
new "## Ightray-ickclay anday escapeay answeray \"onay\"."
# screens.rpy:1193
# gui/game/screens.rpy:1193
old "## Skip indicator screen"
new "## Kipsay indicatoray creensay"
# screens.rpy:1195
# gui/game/screens.rpy:1195
old "## The skip_indicator screen is displayed to indicate that skipping is in progress."
new "## Hetay kip_indicatorsay creensay isay isplayedday otay indicateay hattay kippingsay isay inay rogresspay."
# screens.rpy:1198
# gui/game/screens.rpy:1198
old "## https://www.renpy.org/doc/html/screen_special.html#skip-indicator"
new "## ttpshay://wwway.enpyray.orgay/ocday/tmlhay/creen_specialsay.tmlhay#kipsay-indicatoray"
# screens.rpy:1210
# gui/game/screens.rpy:1210
old "Skipping"
new "Kippingsay"
# screens.rpy:1217
# gui/game/screens.rpy:1217
old "## This transform is used to blink the arrows one after another."
new "## Histay ansformtray isay useday otay inkblay hetay arrowsay oneay afteray anotheray."
# screens.rpy:1244
# gui/game/screens.rpy:1244
old "## We have to use a font that has the BLACK RIGHT-POINTING SMALL TRIANGLE glyph in it."
new "## Eway avehay otay useay aay ontfay hattay ashay hetay Lackbay Ightray-Ointingpay Mallsay Riangletay yphglay inay itay."
# screens.rpy:1249
# gui/game/screens.rpy:1249
old "## Notify screen"
new "## Otifynay creensay"
# screens.rpy:1251
# gui/game/screens.rpy:1251
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 "## Hetay otifynay creensay isay useday otay owshay hetay ayerplay aay essagemay. (Orfay exampleay, henway hetay amegay isay uicksavedqay oray aay creenshotsay ashay eenbay akentay.)"
# screens.rpy:1254
# gui/game/screens.rpy:1254
old "## https://www.renpy.org/doc/html/screen_special.html#notify-screen"
new "## ttpshay://wwway.enpyray.orgay/ocday/tmlhay/creen_specialsay.tmlhay#otifynay-creensay"
# screens.rpy:1288
# gui/game/screens.rpy:1288
old "## NVL screen"
new "## Vlnay creensay"
# screens.rpy:1290
# gui/game/screens.rpy:1290
old "## This screen is used for NVL-mode dialogue and menus."
new "## Histay creensay isay useday orfay Vlnay-odemay ialogueday anday enusmay."
# screens.rpy:1292
# gui/game/screens.rpy:1292
old "## https://www.renpy.org/doc/html/screen_special.html#nvl"
new "## ttpshay://wwway.enpyray.orgay/ocday/tmlhay/creen_specialsay.tmlhay#vlnay"
# screens.rpy:1303
# gui/game/screens.rpy:1303
old "## Displays dialogue in either a vpgrid or the vbox."
new "## Isplaysday ialogueday inay eitheray aay pgridvay oray hetay boxvay."
# screens.rpy:1316
# gui/game/screens.rpy:1316
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 "## Isplaysday hetay enumay, ifay ivengay. Hetay enumay aymay ebay isplayedday incorrectlyay ifay onfigcay.arrator_menunay isay etsay otay Ruetay, asay itay isay aboveay."
# screens.rpy:1346
# gui/game/screens.rpy:1346
old "## This controls the maximum number of NVL-mode entries that can be displayed at once."
new "## Histay ontrolscay hetay aximummay umbernay ofay Vlnay-odemay entriesay hattay ancay ebay isplayedday atay onceay."
# screens.rpy:1408
# gui/game/screens.rpy:1408
old "## Mobile Variants"
new "## Obilemay Ariantsvay"
# screens.rpy:1415
# gui/game/screens.rpy:1415
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 "## Incesay aay ousemay aymay otnay ebay resentpay, eway eplaceray hetay uickqay enumay ithway aay ersionvay hattay usesay ewerfay anday iggerbay uttonsbay hattay areay easieray otay ouchtay."
# screens.rpy:1431
# gui/game/screens.rpy:1433
old "Menu"
new "Enumay"
+2 -2
View File
@@ -61,8 +61,8 @@
new "ERROR"
# game/interface.rpy:328
old "While [what!q], an error occured:"
new "Enquanto [what!q], ocorreu um erro:"
old "While [what!qt], an error occured:"
new "Enquanto [what!qt], ocorreu um erro:"
# game/interface.rpy:329
old "[exception!q]"
+79
View File
@@ -813,3 +813,82 @@ translate russian strings:
old "return"
new "вернуться"
# _developer\developer.rpym:154
old "Hide deleted"
new "Скрыть удалённые"
# _developer\developer.rpym:154
old "Show deleted"
new "Показать удалённые"
# 00accessibility.rpy:76
old "Font Override"
new "Переопределение шрифта"
# 00accessibility.rpy:80
old "Default"
new "По умолчанию"
# 00accessibility.rpy:84
old "DejaVu Sans"
new "DejaVu Sans"
# 00accessibility.rpy:88
old "Opendyslexic"
new "Opendyslexic"
# 00accessibility.rpy:94
old "Text Size Scaling"
new "Масштабирование размера текста"
# 00accessibility.rpy:100
old "Reset"
new "Сбросить"
# 00accessibility.rpy:105
old "Line Spacing Scaling"
new "Масштабирование межстрочного интервала"
# 00accessibility.rpy:117
old "Self-Voicing"
new "Озвучка через синтезатор речи"
# 00accessibility.rpy:121
old "Off"
new "Выключить"
# 00accessibility.rpy:125
old "Text-to-speech"
new "Преобразование текста в речь"
# 00accessibility.rpy:129
old "Clipboard"
new "Из буфера обмена"
# 00preferences.rpy:430
old "font transform"
new "преобразование шрифта"
# 00preferences.rpy:433
old "font size"
new "размер шрифта"
# 00preferences.rpy:441
old "font line spacing"
new "межстрочный интервал"
# renpy/common/00accessibility.rpy:191
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 "Параметры этого меню предназначены для увеличения доступности. Они могут работать не со всеми играми, а некоторые комбинации опций могут сделать игру отображаемой некорректно. Это не проблема с игрой или движком. Для достижения наилучших результатов при изменении шрифтов старайтесь сохранять размер текста таким, каким он был изначально."
# renpy/common/00accessibility.rpy:193
old "Self-Voicing Volume Drop"
new "Уменьшение громкости при озвучке через синтезатор речи"
# renpy/common/00preferences.rpy:384
old "self voicing volume drop"
new "уменьшение громкости при озвучке через синтезатор речи"
# renpy/common/00preferences.rpy:464
old "system cursor"
new "системный курсор"
+19
View File
@@ -65,3 +65,22 @@ translate russian strings:
old "jump <label>: jumps to label"
new "jump <label>: прыжок на метку"
# 00console.rpy:685
old "short: Shorten the representation of objects on the console (default)."
new "short: Сокращённое представление обектов (repr) в консоли (по умолчанию)."
# 00console.rpy:690
old "long: Print the full representation of objects on the console."
new "long: Выводить полное представление обектов (repr) в консоли."
# renpy/common/00console.rpy:814
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 <выражение>: наблюдать за выражением python\n watch short: укорачивает отображение отслеживаемых выражений (по умолчанию)\n watch long: делает отображение отслеживаемых выражений как есть"
# renpy/common/00console.rpy:925
old "escape: Enables escaping of unicode symbols in unicode strings."
new "escape: Включает экранирование Unicode символов в строках unicode."
# renpy/common/00console.rpy:929
old "unescape: Disables escaping of unicode symbols in unicode strings and print it as is (default)."
new "unescape: Выключает экранирование Unicode символов в строках unicode и выводит их как есть (по умолчанию)."

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