coralestudios - Colore 6.0.0-unstable0174

A C#/.NET library for interacting with Razer's Chroma SDK.

PM> Install-Package Colore -Version 6.0.0-unstable0174 -Source https://www.myget.org/F/coralestudios/api/v3/index.json

Copy to clipboard

> nuget.exe install Colore -Version 6.0.0-unstable0174 -Source https://www.myget.org/F/coralestudios/api/v3/index.json

Copy to clipboard

> dotnet add package Colore --version 6.0.0-unstable0174 --source https://www.myget.org/F/coralestudios/api/v3/index.json

Copy to clipboard
<PackageReference Include="Colore" Version="6.0.0-unstable0174" />
Copy to clipboard
source https://www.myget.org/F/coralestudios/api/v3/index.json

nuget Colore  ~> 6.0.0-unstable0174
Copy to clipboard

> choco install Colore --version 6.0.0-unstable0174 --source https://www.myget.org/F/coralestudios/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "coralestudios" -SourceLocation "https://www.myget.org/F/coralestudios/api/v2"
Install-Module -Name "Colore" -RequiredVersion "6.0.0-unstable0174" -Repository "coralestudios" -AllowPreRelease
Copy to clipboard

Browse the sources in this package using Visual Studio or WinDbg by configuring the following legacy symbol server URL: https://www.myget.org/F/coralestudios/symbols/


Colore

MIT License Latest GitHub release NuGet package

A powerful and elegant C# library for Razer Chroma's SDK.

GitHub AppVeyor Travis
master Workflow status Build status TravisCI Status
develop Workflow status Build status TravisCI Status
master Test status Codecov coverage CodeFactor
develop Test status Codecov coverage CodeFactor

Getting started

If you are a new developer and are looking for a helpful guide on how to get started, head on over to the documentation which describes getting Colore installed and running some example code.

Contributing

Discussions Discord

For discussing, you can discuss right here in the repo or join the Razer Community Discord server using the badges above. If you want to join the Slack chat, contact Adam Hellberg (sharparam@sharparam.com).

Contributors are very welcome! If you have code fixes, please submit a pull request here on GitHub.

If you want to join the development team, please contact Sharparam on GitHub.

All authors and contributors are listed in the AUTHORS file. Feel free to add yourself to this file under a relevant section in your pull request.

Please read the CONTRIBUTING.md file before making a pull request.

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

License

Copyright © 2015-2021 by Adam Hellberg and Brandon Scott.

This project is licensed under the MIT license, please see the file LICENSE for more information.

Razer is a trademark and/or a registered trademark of Razer USA Ltd. All other trademarks are property of their respective owners.

Installing

Using Colore in your project is simple, all you have to do is install it with NuGet!

Install-Package Colore

Or using the .NET CLI tools:

dotnet add package Colore

You can also search for it in Visual Studio by right clicking your project and choosing "Manage NuGet Packages..." and install it the GUI way.

Pre-releases

New release candidate versions will be uploaded to NuGet and marked as pre-releases there (vX.Y.Z-rcDDDD).

You can also find pre-release versions for Colore and any additional extensions in the GitHub package registry. The GitHub package registry will be the place where you'll always find the most bleeding edge packages.

Extensions

The WPF and WinForms extension packages for Colore are not yet available for the new Colore version, but will be on NuGet soon™, so stay tuned!

Using

Obtain a reference to an IChroma instance by calling Colore.ColoreProvider.CreateNative().

This instance initializes the Chroma SDK so it is important you save this reference for the lifetime of your application! If you need to dispose of it and obtain a new one later, be sure to call the uninitialize method first!

Colore supports binding to both the native Chroma SDK and the REST API. To use the REST API, create an IChroma instance by calling Colore.ColoreProvider.CreateRestAsync(AppInfo). The REST API requires information about your application, so you'll have to pass an instance of AppInfo to CreateRestAsync containing details about your application or game.

For a more in-depth guide on how to get started, check out our wiki.

For more information on the native and REST SDKs that Colore uses, check out Razer's official page for the Chroma SDK and their page about SDK tools.

Dependencies

Colore depends on the Razer Chroma SDK (RzChromaSDK64.dll or RzChromaSDK.dll).

The Razer Chroma SDK is provided by Razer and installed together with the Synapse application. More information can be read on their website.

Other dependencies are installed via NuGet and listed in each project file.

Building

Colore supports building for multiple target frameworks. At the moment, these are .NET Standard 1.3 and .NET Framework 4.5.1. When building the project, DLLs for both frameworks will be generated in the output folders, under the folder names netstandard1.3 and net451. Use the ones fitting for your application.

The below examples compiles Colore in Release mode.

.\build.ps1 -Configuration Release

You can also use the "CI" build target to generate the same artifacts made available for each release of Colore.

.\build.ps1 -Configuration Release -Target CI

You will find the resulting artifact files under the artifacts folder in the root of the repository.

Note that the above commands are executed with PowerShell. If you are building on a Linux system or macOS, use the build.sh script in place of build.ps1 (you may have to make it executable first with chmod +x build.sh).

Native Documentation

As Colore is built upon the native Chroma SDK for C++, it can be worth taking a look at their documentation.

REST Documentation

Colore's REST mode is built on Razer's official REST API, which has its own documentation.

Razer Chroma Workshop

Many of the games and apps featured on the Razer Chroma Workshop have used the Colore library.

The official Razer Chroma Workshop is your one-stop-shop to get the most out of your Chroma devices. Whether it's smart lighting based on in-game events, standalone apps or stunning profiles created by fans around the world, the Chroma Workshop is where you can explore, download and even share your own creations.

Games using Colore

The following games (powered by Unity) are using Colore:

DubWars Masquerada: Songs and Shadows Nevermind Please, Don't Touch Anything 3D Starcrawlers The Little Acre

Projects using Colore

Aurora - Unified lighting effects across multiple brands and various games. (GitHub)

There may be others we are unaware of, so please let us know if there are any others.

  • .NETFramework 4.5.1
    • JetBrains.Annotations (>= 11.1.0)
    • Microsoft.Net.Http (>= 2.2.29)
    • Newtonsoft.Json (>= 10.0.3)
    • System.Runtime.InteropServices.RuntimeInformation (>= 4.3.0)
    • System.ValueTuple (>= 4.4.0)
  • .NETStandard 1.3
    • JetBrains.Annotations (>= 11.1.0)
    • Microsoft.Win32.Registry (>= 4.4.0)
    • NETStandard.Library (>= 1.6.1)
    • Newtonsoft.Json (>= 10.0.3)
    • System.Reflection (>= 4.3.0)
    • System.Reflection.Extensions (>= 4.3.0)
    • System.Reflection.TypeExtensions (>= 4.4.0)
    • System.Runtime.InteropServices.RuntimeInformation (>= 4.3.0)
    • System.ValueTuple (>= 4.4.0)
  • .NETFramework 4.5.1: 4.5.1.0
  • .NETStandard 1.3: 1.3.0.0

                        
Assembly Assembly hash Match
/lib/net451/colore.dll a0691d1d77f541e89cfd0c91b56066b61
/lib/netstandard1.3/colore.dll c20f4797a5b64b5d8be669929c443c731

Owners

Adam Hellberg

Authors

Sharparam

Project URL

https://github.com/CoraleStudios/Colore

License

MIT

Tags

razer chroma corale led light peripheral gaming

Info

132 total downloads
2 downloads for version 6.0.0-unstable0174
Download (200.91 KB)
Download legacy symbols (617.75 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
6.0.0-unstable0185 201.94 KB Wed, 02 May 2018 00:21:10 GMT 17
6.0.0-unstable0184 201.31 KB Wed, 02 May 2018 00:16:54 GMT 1
6.0.0-unstable0183 200.91 KB Tue, 01 May 2018 23:58:28 GMT 1
6.0.0-unstable0182 200.91 KB Tue, 01 May 2018 23:09:49 GMT 1
6.0.0-unstable0181 200.9 KB Tue, 01 May 2018 22:52:52 GMT 1
6.0.0-unstable0179 200.91 KB Tue, 01 May 2018 22:37:20 GMT 3
6.0.0-unstable0176 200.91 KB Tue, 01 May 2018 22:28:48 GMT 1
6.0.0-unstable0174 200.91 KB Tue, 01 May 2018 22:17:41 GMT 2
6.0.0-unstable0173 200.91 KB Tue, 01 May 2018 22:11:57 GMT 1
6.0.0-unstable0171 200.9 KB Tue, 01 May 2018 22:01:20 GMT 2
6.0.0-unstable0168 200.9 KB Tue, 01 May 2018 21:43:00 GMT 2
6.0.0-unstable0166 200.91 KB Tue, 01 May 2018 19:46:41 GMT 1
6.0.0-unstable0164 200.9 KB Tue, 01 May 2018 19:31:53 GMT 1
6.0.0-unstable0162 200.21 KB Tue, 01 May 2018 16:00:30 GMT 1
6.0.0-unstable0160 200.21 KB Tue, 01 May 2018 15:01:29 GMT 2
6.0.0-unstable0159 200.2 KB Tue, 01 May 2018 14:22:57 GMT 1
6.0.0-unstable0158 200.2 KB Tue, 01 May 2018 13:24:13 GMT 1
6.0.0-unstable0156 200.2 KB Tue, 01 May 2018 12:58:14 GMT 1
6.0.0-unstable0155 200.21 KB Tue, 01 May 2018 12:54:18 GMT 0
6.0.0-unstable0152 199 KB Tue, 01 May 2018 11:09:42 GMT 1
6.0.0-unstable0151 199 KB Sun, 29 Apr 2018 11:07:54 GMT 5
6.0.0-unstable0150 198.99 KB Sat, 24 Mar 2018 17:15:47 GMT 39
6.0.0-unstable0149 198.99 KB Sat, 24 Mar 2018 17:12:24 GMT 4
6.0.0-unstable0145 198.99 KB Sat, 24 Mar 2018 03:35:41 GMT 6
6.0.0-unstable0144 198.99 KB Thu, 15 Mar 2018 18:21:35 GMT 2
6.0.0-unstable0143 198.63 KB Thu, 15 Mar 2018 17:45:26 GMT 2
6.0.0-unstable0142 198.31 KB Wed, 14 Mar 2018 22:50:29 GMT 3
6.0.0-unstable0135 199.94 KB Wed, 14 Mar 2018 21:49:13 GMT 2
6.0.0-unstable0131 167.08 KB Tue, 13 Mar 2018 23:24:57 GMT 3
6.0.0-unstable0127 162.45 KB Tue, 13 Mar 2018 22:09:30 GMT 2
6.0.0-unstable0121 158.58 KB Sun, 11 Mar 2018 16:30:51 GMT 3
6.0.0-unstable0120 158.4 KB Sat, 10 Mar 2018 18:50:36 GMT 0
6.0.0-unstable0119 158.41 KB Sat, 10 Mar 2018 18:08:15 GMT 3
6.0.0-unstable0118 158.41 KB Sat, 10 Mar 2018 18:03:02 GMT 2
6.0.0-unstable0117 158.36 KB Sat, 10 Mar 2018 17:51:37 GMT 2
6.0.0-unstable0116 158.1 KB Sat, 10 Mar 2018 17:34:32 GMT 2
6.0.0-unstable0111 155.72 KB Sun, 19 Nov 2017 01:40:42 GMT 2
6.0.0-unstable0110 155.72 KB Sun, 19 Nov 2017 01:29:30 GMT 2
6.0.0-unstable0108 155.71 KB Sun, 19 Nov 2017 01:24:05 GMT 0
6.0.0-unstable0092 120.38 KB Sun, 12 Nov 2017 10:35:05 GMT 2
6.0.0-unstable0090 120.39 KB Sat, 11 Nov 2017 21:03:57 GMT 2
6.0.0-unstable0089 120.39 KB Sat, 11 Nov 2017 19:02:01 GMT 1
6.0.0-unstable0088 120.38 KB Sat, 11 Nov 2017 18:58:09 GMT 2