Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 27 12:48
    MasterR8 closed #273
  • Sep 05 16:31
    MasterR8 commented #273
  • Sep 05 16:23
    Sharparam commented #273
  • Sep 05 16:07
    MasterR8 commented #273
  • Sep 03 09:46
    Sharparam commented #273
  • Sep 03 09:44
    Sharparam edited #273
  • Sep 03 09:44
    Sharparam edited #273
  • Sep 03 09:43
    Sharparam milestoned #274
  • Sep 03 09:43
    Sharparam commented #274
  • Sep 03 09:42
    Sharparam labeled #274
  • Sep 03 09:06
    poveden edited #274
  • Sep 03 09:06
    poveden opened #274
  • Aug 15 16:13
    MasterR8 opened #273
  • Aug 14 17:14
    Coveralls chroma-sdk/Colore (release/6.0.0) 0%
  • Aug 12 21:58
    Build #178 passed
  • Aug 12 21:50

    Sharparam on 6.0.0

    Updating the Getting Started Gu… Assuming that v6.0 is not be a … Restore Front Matter and 9 more (compare)

  • Aug 12 21:50
    Sharparam closed #271
  • Aug 12 21:50
    Sharparam edited #271
  • Aug 12 21:46
    leonardoInf commented #271
  • Aug 12 21:46
    leonardoInf commented #271
Roxas Keyheart
@roxaskeyheart
I just updated all my code in my app to 6.0 (develop) and I'm also getting a "Failed to dynamically load Chroma SDK library" when running ColoreProvider.CreateNativeAsync(); with error 193 :/
Roxas Keyheart
@roxaskeyheart

I am trying to initiate Colore synchronously though, not sure if that has anything to do with it:

var task = ColoreProvider.CreateNativeAsync();
task.Wait();
var Chroma = task.Result;

Roxas Keyheart
@roxaskeyheart
Further investigation is revealing it has something to do with my project targeting x64. If I setup a new project and target AnyCPU it works but not x64
Adam Hellberg
@Sharparam
@roxaskeyheart possibly targeting x64 makes it locate the wrong DLL, but that would be strange
193 is
ERROR_BAD_EXE_FORMAT
    193 (0xC1)
    %1 is not a valid Win32 application.
(note that "32" here is not referring to the "bitness" of the OS)
Roxas Keyheart
@roxaskeyheart
I downloaded the Colore develop master and pointed the Load function directly at the x64 DLL in ProgramFiles and it started working, so perhaps it is something to do with the dynamic locating of the correct DLL.
Adam Hellberg
@Sharparam
hm
@roxaskeyheart can you create an issue for it in the repo?
Daniel
@Paladinleeds
If I may ask, how nicely does Colore play with Windows Presentation Foundation (WPF)?
Daniel
@Paladinleeds
However this is more for Roxas Keyheart to work with, but is there any way to separate lighting between the Razer Base Station Chroma, Razer Chroma Mug Holder, and Razer Firefly, and possibly the Razer Nommo Chroma if it uses the Master Super Ring profile.
Adam Hellberg
@Sharparam
@Paladinleeds Colore is completely framework agnostic, so you can use it in anything where you can use C#/.NET. There is a WPF library that provides some color conversion functions between WPF's color class and Colore's, but it has not been upgraded to support Colore 6.0 yet
Daniel
@Paladinleeds
Thanks, what about separate lighting for decided within the same type (e.g. Firefly and Base Station Chroma)? Any way to do that. An app that Roxas is working on (that I'm helping with) would make use of it.
Adam Hellberg
@Sharparam
is firefly and base station in the same category? firefly is a mousepad, isn't base station part of something else?
but anyway, two devices of the same type (like if you have two mice connected to the computer) cannot be individually controlled, this is an SDK limitation
@Paladinleeds
Daniel
@Paladinleeds
Firefly and Base Station Chroma are part of the Super Master Ring
Adam Hellberg
@Sharparam
@Paladinleeds then they probably cannot be individually controlled via the SDK, if setting a mousepad effect (which corresponds to the super ring pattern) affects them both, then they would need to add something to the SDK to allow controlling multiple devices separately
Móricz Gergő
@moriczgergo
how can i configure the colors of the breathing effect?
(in 5.2)
Daniel
@Paladinleeds
I'm wondering, as I'm building out a UI for an app that's being redesigned, do we have support for controlling the RGB on motherboards, graphics cards, and RAM? Potentially cases connected via something like Asus Aura Sync also?
Adam Hellberg
@Sharparam
@moriczgergo You can pass in the colors to the SetBreathing method on the Keyboard instance (see here for supported methods: https://chroma-sdk.github.io/Colore/docs/interface_corale_1_1_colore_1_1_core_1_1_i_keyboard.html) or if you construct the Breathing effect struct yourself, you can pass the colors in its constructor (see: https://chroma-sdk.github.io/Colore/docs/struct_corale_1_1_colore_1_1_razer_1_1_effects_1_1_breathing.html)
@Paladinleeds i don't think the SDK has support for that unfortunately :(
@Paladinleeds for a library that supports RGB solutions other than Razer's own, you can look at RGB.NET, do note that some of its APIs are more low level compared to Colore, due to having a more generalized support.
Daniel
@Paladinleeds
That's what we're moving to with our project... I got mixed up and thought we were gonna be using this library, my bad xD
It turns out we're currently using this then
Adam Hellberg
@Sharparam
yeah Colore is strictly for Razer stuff since it just wraps their own SDK
Daniel
@Paladinleeds
Colore is what I'll be using for my own project then.
Adam Hellberg
@Sharparam
^^
i really should get back to releasing a proper 6.0
but been so caught up in work and other stuff
Daniel
@Paladinleeds
That's fine. I only found out we were using Colore currently but moving to RGB.NET because Discord chat search is a godsend
btw, slightly off-topic here, but anyone know any beginner friendly tutorials to XAML/C# databinding? Something that only requires a basic understanding of C# preferably. Got a DB problem I wanna try and get my head round xD
Adam Hellberg
@Sharparam
i usually just googled around for answers and learned that way
"how do i do this thing?" googles it "ah that's how" hopefully remembers for next time
Daniel
@Paladinleeds
I've not dabbled into databinding before, so a beginner friendly tutorial would be a great help!
QIncarnate
@QIncarnate
heya
Can I get some help with colore? I'm having some trouble.
Adam Hellberg
@Sharparam
@QIncarnate what is your question?
TableFlipGod
@TableFlipGod1_twitter
AYello?
Adam Hellberg
@Sharparam
@TableFlipGod1_twitter what?
Roxas Keyheart
@roxaskeyheart

I was hoping someone could look over some effect code im using with colore to see how i can improve its efficiency? I think its pretty inefficient right now, and also has the potential for memory leaks but not sure how to improve it. The effect is suppose to be a particle rain drop effect where a set of keys passed in (regions[]) to different colors (tocolor[]) in a looping effect.

https://pastebin.com/FLNZ2fuu

Any help or suggestions to make it run or look better would be much appreciated. ^^

Tim Graupmann
@tgraupmann_twitter
Is Adrian Brettschneider around?
I have a CSGO user pinging me desperate to add ChromaLink effects so it works for his LIFX setup.