RenMori License
Version 1.0

Copyright (c) 2026 MewBaka (the RenMori authors)

RenMori is software for protecting the assets and compiled scripts of Ren'Py
visual novels. This license governs the RenMori framework and tools, together
with the runtime components RenMori embeds into a protected game — the loader
extension, the encrypted container format, and the native core and launcher
(collectively, the "Software").

Plain-language summary (the numbered terms below are what govern):

- Using RenMori to protect a Ren'Py game is free for everyone, including
  commercial games, with no royalty. You may sell your game and ship the
  embedded RenMori runtime inside it at no charge.
- You may not sell RenMori itself or a modified version of it, and you may not
  run a paid service that encrypts other people's Ren'Py games with it.

1. Grant of use

   You are granted a worldwide, royalty-free, non-exclusive right to install and
   use the Software to protect Ren'Py games, including games that you sell,
   regardless of the game's own content or licensing.

2. Grant to redistribute the runtime inside your game

   You may reproduce and distribute the RenMori runtime components solely as
   embedded in a Ren'Py game that you have protected with RenMori and that you
   distribute. This grant is what lets you lawfully sell or give away your
   protected game with the RenMori runtime inside it.

3. Modification for your own use

   You may modify the Software for your own use in protecting your own games.

4. Restrictions

   Whether for a fee or free of charge, you may not:

   (a) sell, resell, rent, lease, sublicense, or distribute the Software itself,
       or any substantial part of it, as a product or an offering, whether
       unmodified or modified;
   (b) offer a paid or commercial service that protects or encrypts Ren'Py games
       for others using the Software — for example a "Ren'Py encryption" or
       "代加密" service;
   (c) distribute a modified version of the Software to third parties, or present
       any modified version as RenMori.

   The grants in sections 1 through 3 are the only distribution permitted: the
   Software leaves your hands only as the runtime embedded in your own protected
   game, under section 2.

5. Trademarks

   "RenMori" and its logo are marks of the RenMori authors. This license grants
   no right to use them, except to state accurately that a game was protected
   with RenMori.

6. No warranty

   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.

7. No guarantee of protection

   No local content protection is unbreakable. RenMori raises the cost and skill
   required to extract a protected game's assets and scripts; it does not and
   cannot guarantee that a determined attacker will not succeed. The authors are
   not liable for any extraction, piracy, or other loss.

8. Limitation of liability

   IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER
   LIABILITY, WHETHER IN CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF, OR
   IN CONNECTION WITH THE SOFTWARE OR ITS USE.

9. Third-party components

   The Software includes or links third-party components that are licensed under
   their own terms; see the NOTICE file. Nothing in this license limits any right
   you have under those terms for those components.

10. Termination

   Any use outside the grants above terminates the rights this license gives
   you. Your rights under sections 1 and 2 for games you have already lawfully
   distributed are not affected.

This English text is the authoritative version of this license. A Chinese
translation is provided in LICENSE.zh-CN.md for convenience; if the two differ,
this English text governs.

Not legal advice: this text was prepared for the project and has not been
reviewed by a lawyer. Have counsel review it before relying on it.
