# SoulsRandomizers License, Version 1.0

The license for SoulsRandomizers is mostly all rights reserved by Matthew Gruen (thefifthmatt) who is also the author of this document and licensor.

This is an independent tool and is not affiliated with, endorsed by, or authorized by FromSoftware, Bandai Namco, Sony, or any of their publishing partners. Using this software to modify third-party video games may constitute a material breach of the End User License Agreement (EULA) or Terms of Service (ToS) governing those games.

## Preamble
The intent of the terms in this license is so that I reserve the right to guide technical, design, and user interface aspects of randomizer, as well as take action against what I deem to be inappropriate commercial use or extensions. I am committed to keeping randomizer freely available, and I want to balance the personal investment I have in it with the success of other projects that interoperate with it or wish to.

Please see [contributing guidelines](https://github.com/thefifthmatt/SoulsRandomizers/blob/master/CONTRIBUTING.md) to understand ways in which randomizer can be extended or randomizer code can be used in other projects. Many parts of the randomizer which are useful for other mods have been split out into permissively licensed dependencies which you can freely use.

## Definitions
- The "software" refers to the source files and object code in or derived from SoulsRandomizers.
- The "source files" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work.
- To "convey" a work means any kind of propagation that enables other parties to make or receive copies.

## Copyright license
The licensor grants you a non-exclusive, royalty-free, worldwide, non-sublicensable, non-transferable license to perform the following actions, free of charge, subject to the below restrictions.
1. You may execute the unmodified software by using its graphical user interface provided that such execution utilizes local, client-side extraction of video game files from your own legally purchased installation of the underlying game.
2. You may convey settings files produced by the unmodified software, namely, files produced by using "Export options file" functionality and files produced in the "presets" and "spoiler_logs" directories.
3. You may view, access, and reproduce (by forking on GitHub) the software's unmodified source files.
4. Solely for your own personal, private, and non-conveyed use, you may: modify the software's source files, compile such modifications, execute the modified software, and use files produced by the modified software. You may not publicly perform (including posting or broadcasting video content featuring) such derived works without the express prior written permission of the licensor.
5. Additionally, if you have signed the [Contributor License Agreement (CLA)](https://cla-assistant.io/thefifthmatt/SoulsRandomizers), you may convey modifications of the software's source files for the sole purpose of contributing the modifications in accordance with contributing guidelines and the terms of the CLA.

## Restrictions
Outside of terms in the copyright license which explicitly license conveyance or reproduction, you may not convey the software or any part of it or works derived from the software or any part of it. Derived works include extensions, adaptations, compiled object code, and any output of the software which, given its content, constitutes a work based on the software.

You may not provide the software to third parties as a hosted or managed service, where the service provides users with access to any substantial set of the features or functionality of the software. You may not programmatically convey or invoke the software or any part of it in any software application intended for distribution or sale.

You may not alter, remove, or obscure any licensing, copyright, or other notices of the licensor in the software or files produced by the software.

These restrictions may be wholly or partly lifted on a case-by-case basis only with the express prior written permission of the licensor.

## Other terms
As far as the law allows, the software is provided "AS IS", without warranty of any kind, either express or implied. The licensor shall not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim. By using the software, you expressly assume all risk and liability for any direct or indirect consequences of such use, including but not limited to: 
(a) the banning, suspension, or termination of your online platform accounts (including video game network accounts); 
(b) the corruption, loss, or destruction of save data, installation files, or computer systems; and 
(c) any claims brought by third-party publishers or developers for breach of contract or license terms.

You agree to indemnify, defend, and hold harmless the licensor against any claims, damages, liabilities, and expenses (including reasonable attorneys' fees) arising out of or related to your breach of third-party EULAs, unauthorized distribution of proprietary files, or misuse of the software.

These terms do not imply any licenses other than those expressly granted in these terms.

If you use the software in violation of these terms, such use is not licensed, and your licenses will automatically terminate. If the licensor provides you with a notice of your violation, and you cease all violation of this license no later than 30 days after you receive that notice, your licenses will be reinstated retroactively. However, if you violate these terms after such reinstatement, any additional violation of these terms will cause your licenses to terminate automatically and permanently.

If any term of this license is deemed unenforceable, it shall be modified only to the minimum extent necessary to make it enforceable, and all other terms shall remain in full force.

The laws of the State of California, excluding the state's conflict of laws rules, apply to any disputes or claims arising out of or relating to this license, which shall be litigated exclusively in state and federal courts in Santa Clara County, California.
