Loading...
 
Copyright        

Copyright

Grit is an open source community-driven project, and thus we have liberal licensing. However there is not a single license for the whole project. This page documents the copyright and licensing situation within svn and details what actions contributors must follow in order to protect their own assets and the project from legal problems.

Core Source Code

Core source code includes C files, C++ files, ms files (maxscript), Python, and Lua, as well as build scripts like vcproj files and Makefiles.

All core source code is (c) Dave Cunningham and MIT licensed. Each file contains the copyright holder and license at the top of the file.

Core source code is found in the following directories:

 ./gtasa/src
 ./gtasa/linux

 ./exporters
 ./high_freq_noise
 ./launcher

 ./grit_core/src
 ./grit_core/linux
 ./grit_core/win32

 ./grit_core/media/Tools
 ./grit_core/media/system
 ./grit_core/media/vehicles
 ./grit_core/media/common
 ./grit_core/media/gtasa (note this is the content of the svn directory, we make no copyright claims on files put into this directory after checkout, using the GTA extractor tool)
 ./grit_core/media/gostown (as above)

This is enough source code to produce a 3rd party project with completely custom assets.

Assets

The licensing situation for meshes and textures is more complex. Some assets have copyright owned by project contributors, and are released under highly liberal licenses such as MIT. Some assets have less liberal licenses such as CC SA-BY or GPL. Further more, many assets are taken from stock image sites and thus copyright is not owned by anyone in the project and we are only using it under licensing restrictions from these sites.

Each directory has a copyright.txt file that lists the copyright owner, license of each asset in that directory. Each element of an atlas will be described in copyright.txt unless all elements of the atlas are subject to the same license. Modifications to assets may also be mentioned in copyright.txt. Any important restrictions on the license is also given.

This is somewhat chaotic and may be a burden for users who are worried about infringing 3rd party licenses. To help with this, Grit defines three separate kinds of assets in the repository:

Core Assets

Core assets covers abstract things such as skidmarks, particles, and light flares that are used by the engine. These assets are all licensed under the MIT license. They are safe to use in 3rd party projects, just like the source code. The intention here is to provide some of the basic functionality of a game and allow 3rd party content developers to focus on the buildings, scenery etc. for their scene.

It also includes highly reusable example content such as streetlamps and generic textures.

This covers the following directories:

 ./grit_core/media/system
 ./grit_core/*.ico *.psd etc

It also includes some of the contents of ./common and ./vehicles — in future we will split common into two directories based on the distinction between core assets and contributed assets. This will make it simpler for users to avoid including any non-MIT-licensed content in their derived works.

We will also try to replace assets over time so that more assets can be in this category.

Contributed Assets

These assets are owned by various project contributors or 3rd party projects, but may contain licenses that are more restrictive than MIT, such as GPL or CC BY-SA. This may make it more complex to include them in other projects, depending on what the licensing requirements of those projects are. However they exist as examples that can be studied, or cherry-picked based on licensing requirements.

Assets based on CGTextures or other stock image sites are in this category.

3rd Party Example Environments

Some contributors have made their own worlds powered by the Grit engine, that do not follow any of the rules above. One cannot assume that their content can be used outside of the Grit distribution.

This covers the following directories:

 ./grit_core/media/adventureland
 ./grit_core/media/darkrock
 ./grit_core/media/dev
 ./grit_core/media/heavydoor
 ./grit_core/media/playground
 ./grit_core/media/sponza
 ./grit_core/media/testville
 ./grit_core/media/top_gear
 ./grit_core/media/urban
 ./grit_core/media/wipeout

Starbox Generator (Source Code and Assets)



 ./starbox

This is a separate project included in the Grit SVN for convenience. It does not follow the licensing conventions of the rest of the project.