In Memoriam: Tai'lahr

OpenUru.org, along with the rest of the Mystonline community, is mourning the loss of Tai'lahr on October 16th, 2019.

Rest in Peace, friend.

Difference between revisions of "CWE Libraries and SDKs"

From OpenUru
Jump to navigation Jump to search
(Add See Also, Licesning cat)
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
<blockquote class="biegebox">The information on this page is not guaranteed to be fully complete or accurate, but is the best understanding avalable at the time of preparation. Consider this to be a "quick start" for information on the libraries, and a hub for further research. It is also likely that as development progresses, the information here will be superceded. Everyone should feel free to propose amendments to this page on the OU forums.</blockquote>
 +
{{Draft}}
 +
 +
<div style="float: right; padding: 10px;">http://assets.openuru.org/logos/gpl/gplv3-127x51.png</div>
 
The CyanWorlds.com Engine (CWE) is released under the [http://www.gnu.org/licenses/gpl.html GPLv3 Open Source license] but uses a number of libraries or SDKs that are not part of the development tool suite and are either commercially licensed or use licenses that are otherwise incompatible with the GPL. Consequently, these are not included within the Open Source release. However, many of these are readily available to any developers wishing to work on the CWE code.
 
The CyanWorlds.com Engine (CWE) is released under the [http://www.gnu.org/licenses/gpl.html GPLv3 Open Source license] but uses a number of libraries or SDKs that are not part of the development tool suite and are either commercially licensed or use licenses that are otherwise incompatible with the GPL. Consequently, these are not included within the Open Source release. However, many of these are readily available to any developers wishing to work on the CWE code.
 
   
 
   
Line 5: Line 9:
 
</blockquote>
 
</blockquote>
  
What this means is that you may build and distribute a GPLv3 application as a binary that uses those libraries, but in distributing the source you need not distribute the library or its source (and you may be expressly prohibited from doing so by the applicable license).
+
What this means is that you may build and distribute a GPLv3 application as a binary that uses those libraries, but in distributing the source you need not distribute the library or its source (and you may be expressly prohibited from doing so by the applicable license). Please note that this only applies to libraries that fall within the definition of "system libraries", i.e. libraries that might reasonably be expected to be provided as part of the operating system installation of the end user machine, or (for GPLv3) that are supplied as part of any common programming language. The use of other incompatible libraries/SDKs, and in particular non-free libraries, requires the copyright owner to provide express permission within the GPL license to link to those libraries.
  
The following paragraphs summarize the situation regarding each of these libraries/SDKs.
+
The following paragraphs summarize the situation regarding each of these libraries/SDKs: It should be the aim of developers to progressively remove the dependencies on non-free and GPL incompatible libraries wherever practical.
  
 +
== Non-free Libraries ==
 +
=== 3ds Max 7 SDK (Autodesk) ===
 +
This is apparently only required to build the plugin. The Max 7 SDK is supplied on the 3ds Max product DVD [http://usa.autodesk.com/3ds-max/] and is not available for download. It is commercially licensed alongside 3ds Max. 3ds Max 7 is no longer available as a retail product although some pre-owned copies may be available. Current editions (3ds Max 2011 and 3ds Max 2012) are priced at US$3495 [http://store.autodesk.com/store?SiteID=adsk&Action=DisplayProductDetailsPage&productID=226380200&pgm=76836900&ThemeID=1293100&resid=TPARmgoHAtYAACCXP7QAAAAM&rests=1301600299797] putting this outside the reach of many fan developers.
  
== Bink ==
+
=== Bink ===
 
The Bink Video Codec [http://www.radgametools.com/bnkmain.htm] is a commercially licensed product by RAD Game Tools. At around US$6000 for a single product license this is probably beyond the price range of most private open source developers. Fortunately this only appears to be used at present for the introductory videos.
 
The Bink Video Codec [http://www.radgametools.com/bnkmain.htm] is a commercially licensed product by RAD Game Tools. At around US$6000 for a single product license this is probably beyond the price range of most private open source developers. Fortunately this only appears to be used at present for the introductory videos.
  
== Direct X ==
+
=== EAX ===
{{tba}}
+
(Deprecated)
 +
 
 +
The CyanWorlds.com Engine originally used Creative Labs EAX 3D audio technology [http://www.creative.com/soundblaster/technology/eax/welcome.aspx]. EAX is a commercially licensed product, and beyond the reach of most private developers.
 +
 
 +
The alternative is to use [[#OpenAL/EFX SDK|OpenAL with EFX]] which supports EAX effects.
 +
 
 +
=== Intel JPEG Library ===
 +
(Obsolete)
 +
 
 +
The Intel JPEG Library (IJL) is no longer available for download, and no new licenses are being offered. Intel recommend using the Integrated Performance Primitives (IPP)[http://software.intel.com/en-us/intel-ipp] instead. This is commercially licensed (US$199) and is not currently available for Mac platforms.
 +
 
 +
See [[#IJG jpeglib|IJG jpeglib]] for an open source alternative.
  
==EAX ==
+
== GPL Incompatible Libraries ==
{{tba}}
+
=== PhysX (Ageia/nVIDIA) ===
 +
There are two components to PhysX - the Drivers (run-time elements) and the SDK. Each are subject to different licensing conditions. The CyanWorlds.com Engine was originally built using version 2.6.0. of the SDK, which is no longer available for download - the earliest version currently avaliable is 2.6.4.
  
== Expat ==
+
Please note that it is important that the version of Driver used provides support for the version of SDK in use.
http://expat.sourceforge.net/
 
{{tba}}
 
  
== FreeType 2 ==
+
==== SDK ====
FreeType 2, from the FreeType Project, is a font service supporting OpenType, TrueType, Windows .fnt and Type 1 fonts amongst many others. FreeType 2 used methods that were subject to patent protection, but these expired in May 2010. [http://www.freetype.org/freetype2/index.html#patents]
+
Starting from version 2.6.0 of the SDK, the End User License Agreement [http://developer.download.nvidia.com/PhysX/EULA/NVIDIA%20PhysX%20SDK%20EULA.pdf] was changed to make this free for commercial and non-commercial use. However each developer is required to register on the nVIDIA Developer site [http://developer.nvidia.com/object/physx_downloads.html] prior to downloading the SDK. The SDK license is exclusive to the registered developer, and it is not permissable to re-distribute the SDK in any form.
  
Two licenses are available to use with FreeType 2: The [http://www.freetype.org/FTL.TXT FreeType License] (BSD-like) and the [http://www.freetype.org/GPL.TXT GPL]. The latter is obviously more appropriate for compatibility with CWE.
+
==== Driver ====
 +
The driver (or "PhysX System Software") is required for all client installs and may be freely downloaded from the nVIDIA site. It is also permissable to redistribute the driver alongside a compiled application. [http://developer.download.nvidia.com/PhysX/EULA/NVIDIA%20System%20Software.pdf]
  
== Intel JPEG Library ==
+
It is recommended that you use the the latest version of the PhysX driver (currently 9.10.0513 [http://www.nvidia.com/object/physx-9.10.0513-driver.html]) as this provides support for all versions of the SDK from v2.3.1 and onwards.
(No longer available - See IPP)
 
{{tba}}
 
  
== Max 7 SDK ==
+
=== Windows SDK (Microsoft) ===
{{tba}}
+
The Windows Platform SDK (February 2003) as used by CWE is longer available from the Microsoft Download center, but direct links to download each of the .CAB files and the Extractor are available on the Microsoft forums [http://social.msdn.microsoft.com/Forums/en/windowssdk/thread/83205c43-ef46-447d-ae54-92bbeb543c38] and in the [[Build the client with MSVC 2003|build instructions]]. The EULA accompanies the SDK, and allows for free redistribution within the compiled application.
  
== Ogg Vorbis ==
+
=== Direct X ===
Ogg Vorbis is an open specification for audio compression, designed by Xiph.org Foundation. [http://xiph.org/vorbis/]. The reference library implementation is supplied under a BSD license. This is the newer, three clause BSD license that omits the controversial advertising clause of the original BSD license, and is verified as GPL compatible by the [http://en.wikipedia.org/wiki/Free_Software_Foundation Free Software Foundation].
+
CWE was built using the DirectX 9.0c SDK which is readily downloadable.[http://www.microsoft.com/downloads/en/details.aspx?familyid=1c8dc451-2dbe-4ecc-8c57-c52eea50c20a&displaylang=en&pf=true] The EULA for the SDK permits free re-distribution in object form.
  
== OpenAL/EFX SDK ==
+
=== IJG jpeglib ===
http://connect.creativelabs.com/openal
+
The Independent JPEG Group (IJG)[http://www.ijg.org/] jpeglib is an open source alternative to the [[#Intel JPEG Library|Intel Jpeg Library]], and has already been succesfully integrated with CWE. The license for this is embedded within the README file accompanying the library and is specific to jpeglib. Please note that binary distributions that use jpeglig '''must''' give credit to IJG in the form: "This software is based in part on the work of the Independent JPEG Group." This may either be in the form of in-game credits or an accompanying README file.
{{tba}}
 
  
== OpenSSL ==
+
=== OpenSSL Toolkit ===
 
OpenSSL is a Secure Sockets Layer implementation originally developed by Eric Young. OpenSSl is "dual licensed" in that that both the OpenSSL License (BSD-like) and the original SSLeay License are applied concurrently [http://www.openssl.org/source/license.html]. From Gnu.org: [http://www.gnu.org/licenses/license-list.html]
 
OpenSSL is a Secure Sockets Layer implementation originally developed by Eric Young. OpenSSl is "dual licensed" in that that both the OpenSSL License (BSD-like) and the original SSLeay License are applied concurrently [http://www.openssl.org/source/license.html]. From Gnu.org: [http://www.gnu.org/licenses/license-list.html]
  
Line 48: Line 63:
 
<br>
 
<br>
 
We recommend using GNUTLS instead of OpenSSL in software you write. However, there is no reason not to use OpenSSL and applications that work with OpenSSL.</blockquote>
 
We recommend using GNUTLS instead of OpenSSL in software you write. However, there is no reason not to use OpenSSL and applications that work with OpenSSL.</blockquote>
It is the "advertising clause" that presents the incompatibility with GPLv3.
+
It is the "advertising clause" that presents the incompatibility with GPLv3, and requires that all "advertising material" should include the credits noted below.
 +
 
 +
Binary distributions that use the OpenSSL Toolkit '''must''' give credit to the OpenSSL group and the original creators: "This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/). This product includes cryptographic software written by Eric A. Young (eay@cryptsoft.com). This product includes software written by Tim J. Hudson (tjh@cryptsoft.com)." This may either be in the form of in-game credits or an accompanying README file.
 +
 +
The credit to Tim J. Hudson may be omitted if you can determine that no Windows specific code from the toolkit, or any derivative of it, is used in your application.
 +
 
 +
=== Quicktime for Windows ===
 +
Not currently required for the CyanWorlds.com Engine.
  
== PhysX (Ageia/nVIDIA) ==
+
Quicktime is integrated with Mac OS X making it a system library on that platform, but is an optional feature on other platforms and older versions on Mac OS. The basic [http://www.apple.com/quicktime/ Quicktime Player] is freely available to download, while Quicktime Pro is a non-free application. Both versions are closed source and covered by proprietary licenses.
There are two components to PhysX - the Drivers (run-time elements) and the SDK. Each are subject to different licensing conditions. The CyanWorlds.com Engine was originally built using version 2.6.0. of the SDK, which is no longer available for download - the earliest version currently avaliable is 2.6.4.  
+
 
 +
=== Windows Media SDK ===
 +
Not currently required for the CyanWorlds.com Engine.
 +
 
 +
A proprietary SDK for the creation and distribution of Windows based media, it is available in a number of versions, depending the version of Windows (XP, Vista, Win 7) in use. All are available for download from the [http://www.microsoft.com/windows/windowsmedia/licensing/Licensing_Win_Apps_CustApp.aspx Windows Media Licensing page]: The applicable EULA is shown during the download.
 +
 
 +
== GPL Compatible Libraries ==
 +
=== OpenAL/EFX SDK ===
 +
OpenAL [http://kcat.strangesoft.net/openal.html] with EFX (Effects Extension) is an open specification replacement for [[#EAX|EAX]] provided under a [http://www.gnu.org/copyleft/lesser.html LGPL license]. Installers and SDKs for various platforms are readily available for download from Creative Labs website. [http://connect.creativelabs.com/openal/Downloads/Forms/AllItems.aspx]
 +
 
 +
=== Ogg Vorbis ===
 +
Ogg Vorbis is an open specification for audio compression, designed by Xiph.org Foundation. [http://xiph.org/vorbis/]. The reference library implementation is supplied under a BSD license. This is the newer, three clause BSD license that omits the controversial advertising clause of the original BSD license, and is verified as GPL compatible by the [http://en.wikipedia.org/wiki/Free_Software_Foundation Free Software Foundation].
 +
 
 +
Note that Ogg [http://downloads.xiph.org/releases/ogg/libogg-1.2.0.zip] and Vorbis [http://downloads.xiph.org/releases/vorbis/libvorbis-1.2.0.zip] are supplied as separate libraries and that both are required.
 +
 
 +
=== Speex ===
 +
Speex is an audio compression sepcification for speech from Xiph.org Foundation. [http://www.speex.org/]. Like Ogg and Vorbis (also from Xiph) the license is a modified BSD license that is compatible with GPL.
 +
 
 +
Downloads are available from [http://www.speex.org/downloads/ http://www.speex.org/downloads/].
 +
 
 +
=== FreeType 2 ===
 +
FreeType 2, from the FreeType Project, is a font service supporting OpenType, TrueType, Windows .fnt and Type 1 fonts amongst many others. FreeType 2 used methods that were subject to patent protections, but these expired in May 2010. [http://www.freetype.org/freetype2/index.html#patents]
 +
 
 +
Two licenses are available to use with FreeType 2: The [http://www.freetype.org/FTL.TXT FreeType License] (BSD-like) and the [http://www.freetype.org/GPL.TXT GPL]. The latter is obviously more appropriate for compatibility with CWE.
  
Please note that it is important that the version of Driver used provides support for the version of SDK in use.
+
FreeType may only be required when generating content (age building using the plugin).
  
=== SDK ===
+
=== Expat ===
Starting from version 2.6.0 of the SDK, the End User License Agreement [http://developer.download.nvidia.com/PhysX/EULA/NVIDIA%20PhysX%20SDK%20EULA.pdf] was changed to make this free for commercial and non-commercial use. However each developer is required to register on the nVIDIA Developer site [http://developer.nvidia.com/object/physx_downloads.html] prior to downloading the SDK. The SDK license is exclusive to the registered developer, and it is not permissable to re-distribute the SDK in any form.
+
The Expat XML parsing library [http://sourceforge.net/projects/expat/] is believed to only be required when building the server code. As Cyan's server code is not yet ready for Open Source release, the omission of Expat is of little significance at this time. However, for reference, the Expat license is a form of the [http://www.opensource.org/licenses/mit-license.php MIT License] and is GPL compatible.
  
=== Driver ===
 
The driver (or "PhysX System Software") is required for all client installs and may be freely downloaded from the nVIDIA site. It is also permissable to redistribute the driver alongside a compiled application. [http://developer.download.nvidia.com/PhysX/EULA/NVIDIA%20System%20Software.pdf]
 
  
Note that the latest version of the PhysX driver (9.10.0513 [http://www.nvidia.com/object/physx-9.10.0513-driver.html]) only provides support for versions 2.7.1 and above of the SDK; since CWE builds will typically use SDK 2.6.x, you should use an older driver (e.g. v8.09.04 [http://www.nvidia.com/object/physx_8.09.04_whql.html])
+
== See Also ==
  
== Quicktime for Windows ==
+
{{:CWE/See Also}}
Not currently required for the CyanWorlds.com Engine.
 
  
  
 
[[Category:Cyan_Worlds]]
 
[[Category:Cyan_Worlds]]
 +
[[Category:Licensing]]

Latest revision as of 13:31, 19 July 2012

The information on this page is not guaranteed to be fully complete or accurate, but is the best understanding avalable at the time of preparation. Consider this to be a "quick start" for information on the libraries, and a hub for further research. It is also likely that as development progresses, the information here will be superceded. Everyone should feel free to propose amendments to this page on the OU forums.

This page contains draft content
The content of this page is a "work-in-progress" and is subject to change. Do not place undue reliance on the completeness or accuracy of the material presented here!


http://assets.openuru.org/logos/gpl/gplv3-127x51.png

The CyanWorlds.com Engine (CWE) is released under the GPLv3 Open Source license but uses a number of libraries or SDKs that are not part of the development tool suite and are either commercially licensed or use licenses that are otherwise incompatible with the GPL. Consequently, these are not included within the Open Source release. However, many of these are readily available to any developers wishing to work on the CWE code.

The GPL FAQ addresses allowance of incompatible libraries: [1]

Both versions of the GPL have an exception to their copyleft, commonly called the system library exception. If the GPL-incompatible libraries you want to use meet the criteria for a system library, then you don't have to do anything special to use them; the requirement to distribute source code for the whole program does not include those libraries, even if you distribute a linked executable containing them.

What this means is that you may build and distribute a GPLv3 application as a binary that uses those libraries, but in distributing the source you need not distribute the library or its source (and you may be expressly prohibited from doing so by the applicable license). Please note that this only applies to libraries that fall within the definition of "system libraries", i.e. libraries that might reasonably be expected to be provided as part of the operating system installation of the end user machine, or (for GPLv3) that are supplied as part of any common programming language. The use of other incompatible libraries/SDKs, and in particular non-free libraries, requires the copyright owner to provide express permission within the GPL license to link to those libraries.

The following paragraphs summarize the situation regarding each of these libraries/SDKs: It should be the aim of developers to progressively remove the dependencies on non-free and GPL incompatible libraries wherever practical.

Non-free Libraries

3ds Max 7 SDK (Autodesk)

This is apparently only required to build the plugin. The Max 7 SDK is supplied on the 3ds Max product DVD [2] and is not available for download. It is commercially licensed alongside 3ds Max. 3ds Max 7 is no longer available as a retail product although some pre-owned copies may be available. Current editions (3ds Max 2011 and 3ds Max 2012) are priced at US$3495 [3] putting this outside the reach of many fan developers.

Bink

The Bink Video Codec [4] is a commercially licensed product by RAD Game Tools. At around US$6000 for a single product license this is probably beyond the price range of most private open source developers. Fortunately this only appears to be used at present for the introductory videos.

EAX

(Deprecated)

The CyanWorlds.com Engine originally used Creative Labs EAX 3D audio technology [5]. EAX is a commercially licensed product, and beyond the reach of most private developers.

The alternative is to use OpenAL with EFX which supports EAX effects.

Intel JPEG Library

(Obsolete)

The Intel JPEG Library (IJL) is no longer available for download, and no new licenses are being offered. Intel recommend using the Integrated Performance Primitives (IPP)[6] instead. This is commercially licensed (US$199) and is not currently available for Mac platforms.

See IJG jpeglib for an open source alternative.

GPL Incompatible Libraries

PhysX (Ageia/nVIDIA)

There are two components to PhysX - the Drivers (run-time elements) and the SDK. Each are subject to different licensing conditions. The CyanWorlds.com Engine was originally built using version 2.6.0. of the SDK, which is no longer available for download - the earliest version currently avaliable is 2.6.4.

Please note that it is important that the version of Driver used provides support for the version of SDK in use.

SDK

Starting from version 2.6.0 of the SDK, the End User License Agreement [7] was changed to make this free for commercial and non-commercial use. However each developer is required to register on the nVIDIA Developer site [8] prior to downloading the SDK. The SDK license is exclusive to the registered developer, and it is not permissable to re-distribute the SDK in any form.

Driver

The driver (or "PhysX System Software") is required for all client installs and may be freely downloaded from the nVIDIA site. It is also permissable to redistribute the driver alongside a compiled application. [9]

It is recommended that you use the the latest version of the PhysX driver (currently 9.10.0513 [10]) as this provides support for all versions of the SDK from v2.3.1 and onwards.

Windows SDK (Microsoft)

The Windows Platform SDK (February 2003) as used by CWE is longer available from the Microsoft Download center, but direct links to download each of the .CAB files and the Extractor are available on the Microsoft forums [11] and in the build instructions. The EULA accompanies the SDK, and allows for free redistribution within the compiled application.

Direct X

CWE was built using the DirectX 9.0c SDK which is readily downloadable.[12] The EULA for the SDK permits free re-distribution in object form.

IJG jpeglib

The Independent JPEG Group (IJG)[13] jpeglib is an open source alternative to the Intel Jpeg Library, and has already been succesfully integrated with CWE. The license for this is embedded within the README file accompanying the library and is specific to jpeglib. Please note that binary distributions that use jpeglig must give credit to IJG in the form: "This software is based in part on the work of the Independent JPEG Group." This may either be in the form of in-game credits or an accompanying README file.

OpenSSL Toolkit

OpenSSL is a Secure Sockets Layer implementation originally developed by Eric Young. OpenSSl is "dual licensed" in that that both the OpenSSL License (BSD-like) and the original SSLeay License are applied concurrently [14]. From Gnu.org: [15]

The license of OpenSSL is a conjunction of two licenses, one of them being the license of SSLeay. You must follow both. The combination results in a copyleft free software license that is incompatible with the GNU GPL. It also has an advertising clause like the original BSD license and the Apache license.


We recommend using GNUTLS instead of OpenSSL in software you write. However, there is no reason not to use OpenSSL and applications that work with OpenSSL.

It is the "advertising clause" that presents the incompatibility with GPLv3, and requires that all "advertising material" should include the credits noted below.

Binary distributions that use the OpenSSL Toolkit must give credit to the OpenSSL group and the original creators: "This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/). This product includes cryptographic software written by Eric A. Young (eay@cryptsoft.com). This product includes software written by Tim J. Hudson (tjh@cryptsoft.com)." This may either be in the form of in-game credits or an accompanying README file.

The credit to Tim J. Hudson may be omitted if you can determine that no Windows specific code from the toolkit, or any derivative of it, is used in your application.

Quicktime for Windows

Not currently required for the CyanWorlds.com Engine.

Quicktime is integrated with Mac OS X making it a system library on that platform, but is an optional feature on other platforms and older versions on Mac OS. The basic Quicktime Player is freely available to download, while Quicktime Pro is a non-free application. Both versions are closed source and covered by proprietary licenses.

Windows Media SDK

Not currently required for the CyanWorlds.com Engine.

A proprietary SDK for the creation and distribution of Windows based media, it is available in a number of versions, depending the version of Windows (XP, Vista, Win 7) in use. All are available for download from the Windows Media Licensing page: The applicable EULA is shown during the download.

GPL Compatible Libraries

OpenAL/EFX SDK

OpenAL [16] with EFX (Effects Extension) is an open specification replacement for EAX provided under a LGPL license. Installers and SDKs for various platforms are readily available for download from Creative Labs website. [17]

Ogg Vorbis

Ogg Vorbis is an open specification for audio compression, designed by Xiph.org Foundation. [18]. The reference library implementation is supplied under a BSD license. This is the newer, three clause BSD license that omits the controversial advertising clause of the original BSD license, and is verified as GPL compatible by the Free Software Foundation.

Note that Ogg [19] and Vorbis [20] are supplied as separate libraries and that both are required.

Speex

Speex is an audio compression sepcification for speech from Xiph.org Foundation. [21]. Like Ogg and Vorbis (also from Xiph) the license is a modified BSD license that is compatible with GPL.

Downloads are available from http://www.speex.org/downloads/.

FreeType 2

FreeType 2, from the FreeType Project, is a font service supporting OpenType, TrueType, Windows .fnt and Type 1 fonts amongst many others. FreeType 2 used methods that were subject to patent protections, but these expired in May 2010. [22]

Two licenses are available to use with FreeType 2: The FreeType License (BSD-like) and the GPL. The latter is obviously more appropriate for compatibility with CWE.

FreeType may only be required when generating content (age building using the plugin).

Expat

The Expat XML parsing library [23] is believed to only be required when building the server code. As Cyan's server code is not yet ready for Open Source release, the omission of Expat is of little significance at this time. However, for reference, the Expat license is a form of the MIT License and is GPL compatible.


See Also