Menu
- REST Sample App - This repository expands from the sample app to include support for
Chroma
animation playback.
Table of Contents
Related
- CChromaEditor - C++ Native MFC Library for playing and editing Chroma animations
- GameMakerChromaExtension - GameMaker Extension to control lighting for Razer Chroma
- HTML5ChromaSDK - JS Library for playing Chroma animations
- UE4ChromaSDK - Unreal Engine 4 (UE4) Blueprint library to control lighting for Razer Chroma
- UnityNativeChromaSDK - Unity native library for the ChromaSDK
- UnityChromaSDK - Unity C# library for the Chroma Rest API
Frameworks supported
- Windows ChromaSDK (32-bit)
- Windows ChromaSDK (64-bit)
Prerequisites
- Install Synapse
- Install Chroma SDK 2.5.3
- (Optional) Node.js - Use to host the sample locally
Getting Started
Browser Security
In order to allow an HTML5 page to talk with the Chroma REST API (cross-site scripting), add the response header for
Access-Control-Allow-Origin
.Node.JS (Optional) The sample project can be hosted in
Node.js
1 Install
Node.js
2 Open a terminal in the project folder
3 Install
Node.js
dependencies4 Start the server
5 Browse the
Node.js
server and pick one of the samples at http://localhost:1337/Hosted
1 Upload the project files to an online website
2 Browse
PlayAnimationSample.html
3 Browse
RazerChromaSDKSampleApplication.html
4 Browse 'LayerSample.html'
Assets
This library supports the
Chroma
animation exports from UE4, Unity, and GameMaker.Import Animation From Unity
- The same
Chroma
animation files can be played on HTTP and HTTPS websites.
API
Initialization
Include the
JS
includes to get access to the API
.Initialize/Uninitialize the
Chroma
SDK from the body events.Clear
The
clear
method will turn off the lighting effect for a device.Clear All
The
clearAll
method sets the clear state for all devices.Static Color
The
staticColor
method will set the Chroma
lighting to all the same color for the device, given a color.Play Animation
The
playAnimation
method will play a Chroma
animation file. With loop
set to true
, the animation will repeat. With loop
set to false
, the animation will play once.Stop Animation
The
stopAnimation
method will stop playing a Chroma
animation file.Stop All
The
stopAll
method stops all animations from playing for all devices.Play Composite
The
playComposite
method will play a set of Chroma
animation files. With loop
set to true
, the animations will repeat. With loop
set to false
, the animations will play once.No, Dying Light offers way far more content than just 100 hours, one play through can take up to 100 hours without rushing involved, just one. There's NG+, Hard and Nightmare modes. You can't complete 100% the game in 100 hours without rushing, takes way more than that, possibly few hundred hours. Make sure you set dying light online options. To solo game before to play with mods cause. The mods are only supported by the game. If your online coop friends have the same. Mod installed so disable online mode. Also the dying light updates could change. The way you install mods that's why manual. Mod install is the better option for applying. Mods on dying light in my opinion. Edited April 23, 2015 by cr1m3. C:/user/'username'/my files/Dying Light/out/data you need create data file by yourself I managed to get it to work. But still with the use of Dying Light Manager. How to install dying light mods. Posts and comments should be related to Dying Light. No duplication, exploitation, glitching, hacking or piracy discussions. No memes, low-quality, nsfw or political content. No advertising, selling, buying or trading accounts. Shameless self-promotion will result in a ban. We do encourage original content, however.
Open Animation
The
openAnimation
method downloads a Chroma
animation and invokes a callback after the animation has loaded.Close Animation
The
closeAnimation
method stops an animation if playing and then removes the animation so that it can be reloaded. This allows an animation to go back to the original state before any modifications had taken place.Multiply Intensity All Frames
The
multiplyIntensityAllFrames
method multiplies a color intensity for all frames of an animation. This is useful to control the intensity of a layer. 0.0
results in a completely black layer. 0.5
would half the color values for all frames.Offset Nonzero Colors All Frames
The
offsetNonZeroColorsAllFrames
method offsets the RGB values for all frames in the animation that aren't black. This method allows a gray animation layer to be tinted to any color while keeping the black colors black. Red, green, blue use expected values 0
to 255
.Copy NonZero All Keys All Frames
The
copyNonZeroAllKeysAllFrames
method copies all non-black colors for all frames from a source animation to a target animation. This is useful for combining multiple layers into a base layer.Copy Keys Colors All Frames
The
copyKeysColorAllFrames
method copies all specified keys from one source animation to a target animation.I use Razer Synapse with my Razer keyboard to control profiles for various uses. Each profile contains different lighting and macro configurations.
Whenever my computer first starts up, or wakes up from sleep or lock, Razer Synapse automatically uses the profile 'TF2' (at the bottom of the list).
Is there a way I can change the default profile? Can I change it to 'Backlit' (the highlighted profile)?
angussidneyangussidney5,37566 gold badges3434 silver badges5858 bronze badges
3 Answers
The list of profiles is alphabetical, and the last item in the list is always chosen. Just put a Z in the beginning of the profile which you wish to be the default.
angussidney5,37566 gold badges3434 silver badges5858 bronze badges
RobRob
I just set my default profile to launch for 'explorer.exe' in windows. Just be warned it will switch in the file explorer and any time you return to desktop..
OnionikeOnionike
I've found that if you actually put A in front of the name instead of Z that solves the problem. I don't know if its mine or yours that is a little odd, but that's what worked for me. Never would have figured it out if you didn't mention the alphabetical thing though, so thanks for that.
Jake SturtevantJake Sturtevant
Not the answer you're looking for? Browse other questions tagged razer-synapse or ask your own question.
Razer is among the most popular peripheral manufacturers for PC gamers. The company also ships the Razer Synapse suite, which can be deployed to personalize the experience of accessories like mice and keyboards. We'll take a quick look at how you can get started with the software and set up new profiles.
First things first, though: you'll need to plug in your shiny new Razer toy and download the Synapse suite. It doesn't matter whether you have a mouse, keyboard or both — everything that can be configured will use the same software.
- Download Synapse from the Razer website.
- Install the Synapse suite.
- Restart your PC.
Great! We're now good to go. One thing you will need to decide on as we mess around with settings and whatnot is whether you'll want to create a Razer Account. Doing so will unlock cloud-saving functionality, allowing you to log into your Razer Account on another PC and pull down these profiles we'll have set up. It's not mandatory, but is handy if you switch between computers.
Adding macros
Customizing your Razer keyboard couldn't be easier. Having profiles for different games and software can help remove the requirement to fine tune the experience should you happen to be switching back and forth. It also means you only have to configure all your macros once.
- Select your keyboard from the bottom menu, if not already selected.
- Hit '+' under Select Profile to create a new profile. The trash icon deletes the selected profile and the contextual menu lets you import/export.
- Name the new profile. (Tip: I use game titles.)
- Add a keyboard shortcut to switch to this profile on the fly. (FN + number keys.)
- Link this profile to a game or program.
Linking the profile to a specific program will cause Razer Synapse to load up the settings of this profile when the target software is launched. For example, as shown in the screen shots here, should League of Legends launch and be detected by the suite, the 'LoL' profile will be loaded as it's configured to launch alongside League of Legends.
Fine-tuning clicks
Likewise with the mouse, there's nothing more bothersome than having to re-do all your button customizations and fine-tuning the sensitivity when switching between games. Some prefer a more sensitive experience in first-person shooter games, only then to lower sliders when hopping into DOTA2. Setting up profiles in Synapse will help make it a seamless transition.
- Select your mouse from the bottom menu, if not already selected.
- Hit '+' under Select Profile to create a new profile. The trash icon deletes the selected profile and the contextual menu lets you import/export.
- Name the new profile. (Tip: I use game titles.)
- Add a keyboard shortcut to switch to this profile on the fly. (FN + number keys.)
- Link this profile to a game or program.
You're all set! You can now configure and made alterations to individual profiles without affecting how the mouse performs in games and software with dedicated profiles.
How To Load Razer Chroma Profiles Download
Take your profiles with you
The import and export functionality is for local back-ups and restoration. You can move these files around with you, which is ideal for LAN events and should you need to update profiles on another PC. Razer also allows for a Tournament Drivers installer to be created using Synapse, which contains profiles, settings and macros that have been configured. Simply take this file with you and install it on a PC to load up all your personalizations.
Load Chroma Profiles
That said, if you do wish to make things that little bit easier, then be sure to set up a Razer Account. It only takes a minute and everything will subsequently be saved to the cloud for convenient retrieval. All you need to do to get started is to hit the arrow in the top right-hand corner and you'll be able to either register a new account or log into an existing one.