Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 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 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
  • Aug 12 21:46
    leonardoInf commented #271
  • Aug 12 19:13
    codecov-io commented #271
  • Aug 12 19:13
    codecov-io commented #271
Brandon Scott
@brandonscott
They're very good compared to the average
Adam Hellberg
@Sharparam
every single entity in Colore is documented, i fail to see how that constitutes "lacking docs"
Brandon Scott
@brandonscott
I'm reluctant to open source the apps as it opens it up for easy abuse if people want to maliciously attack users.
I know there are some caveats to the above that @Sharparam would say to me.
On my return from holiday I'll write example apps
Adam Hellberg
@Sharparam
it's .net, anyone who wants to "attack users" (whatever that's supposed to mean with locally running apps that do not have interaction capabilities) can use any run-of-the-mill .NET decompiler to obtain the source almost as it was written from actual source
Brandon Scott
@brandonscott
Not up for public discussion Adam.
Nico
@njbmartin
I agree that sample apps would be useful, but not necessarily the apps Brandon and Adam have worked on
Dariusz Niemczyk
@Palid
@Sharparam right, sorry guys about the docs, guess I was thinking about examples but said docs, haha
@brandonscott I don't understand your point of view in this case, can you elaborate please? How does opensourcing an end-app makes it easier to maliciously attack users? It would be the case for serverside software or sth, but right now you're talking like you have some kind of backdoor in your snake ;)
Bart van Vliet
@Kapulara
@njbmartin It's a simple paint application to use on chroma keyboard, You can view the usage on in the release. https://github.com/Kapulara/ChromaPaint/releases
Bart van Vliet
@Kapulara
@Sharparam How do i start the Razer Chroma SDK .exe manually ?
RzSDKService.exe to be specific
Adam Hellberg
@Sharparam
@Kapulara not sure, Razer would probably recommend against doing it manually. The SDK should be available after installing the latest synapse (you should probably Uninstall previous SDK versions first)
Nico
@njbmartin
@Palid I believe he means malicious users who repackage the app with malware or some other nasty stuff
Adrian
@WolfspiritM
How comes that Color.Orange isn't actually Orange but R=0, G=165, B=255 :P
Adam Hellberg
@Sharparam
@WolfspiritMhttps://CoraleStudios/Colore#67
damn formatting
@WolfspiritM CoraleStudios/Colore#67
Adrian
@WolfspiritM
Oh great.... Just notice IsSdkAvailable doesn't work anymore with latest Synapse update. It always returns false. Enabling Chroma Apps in Synapse sets Enable to Dword instead of byte now.
Adrian
@WolfspiritM
nevermind...just noticed you guys are lightning fast in develop :-)
Adrian
@WolfspiritM
@Sharparam Would it be possible to try-catch the NativeCallException in the Finalizer of Chroma and send it to /dev/null or at least around the NativeWrapper UnInit in Colore? Throwing exceptions in the Finalizer is pretty bad causing the whole application to crash and it's pretty hard to catch from the outside without any hooks.
(Destructor)
Adam Hellberg
@Sharparam
@WolfspiritM Does this mean that you have confirmed exceptions are being thrown under some occasions in the finalizer? Do you have more details about the situations where Uninit is returning back an error? And as you say finalizers are not supposed to throw exceptions, we'll have to look into that. Thanks for bringing it up!
Adrian
@WolfspiritM
@Sharparam Yes. It is reproducable for example if the SDK Service is not running but SDK is installed and enabled. Init throws an exception (catchable on the first call to Instance but the Finalizer is called somewhere later calling uninit and throwing a NativeCallException.
Adam Hellberg
@Sharparam
@WolfspiritM What causes the SDK service to not be running?
Adrian
@WolfspiritM
@Sharparam Not sure. A user disabled the Service for example or it crashed somehow earlier. Or a user killed it with the Taskmanager. It's just one case to reproduce it. If the Init fails in any way, then the uninit is called by the Finalizer and will fail, too. I also had that happen as the SDK got stuck somehow resulting in a NativeCallException saying device is not available or something like that.
Bart van Vliet
@Kapulara
@WolfspiritM that was also the question i had. You would have to restart ur computer.
Adam Hellberg
@Sharparam
@WolfspiritM #107
Adrian
@WolfspiritM
@Kapulara Yeah there seems to be a rare case the SDK can get stuck like that. I luckily only had that happen once and only got it fixed with a restarted. Even restarting the service or unplugging the Keyboard didn't work.
@Sharparam Thanks!
Dariusz Niemczyk
@Palid
@njbmartin That's why you should always, ALWAYS, with no exceptions link to the Github releases page for your project. ;)
Nico
@njbmartin
@Palid Certainly wouldn't stop others distrubuting via other means
Dariusz Niemczyk
@Palid
@njbmartin Right now it doesn't stop, either.
you just have to repackage the current binary in your own
Adam Hellberg
@Sharparam
big studios with closed source, obfuscated projects with DRM manage to have their games cracked and redistributed, amazing isn't it?
Dariusz Niemczyk
@Palid
@Sharparam Big studios are considered fucking assholes when using DRM. Amazing, isn't it? ;)
Also, DRMs are usually defeated in a few months anyways.
Witcher 3 didn't have DRM. They didn't lose any sales - pretty much the otherwise. Same goes for Minecraft.
Adam Hellberg
@Sharparam
@Palid that is entirely my point
it doesn't matter how much security you add, people who want to find a way, find a way
Dariusz Niemczyk
@Palid
@Sharparam I can't get your point of not open sourcing your games even more, then. ;)
Adam Hellberg
@Sharparam
that was @brandonscott's point :P
Dariusz Niemczyk
@Palid
@Sharparam so where's your whack-a-mole? OSS'd? :D
Adam Hellberg
@Sharparam
@Palid As it's done in collaboration with Razer and as such officially endorsed by them I cannot currently open-source it. But we'll be looking into making available example app(s) to demonstrate how to achieve various tasks with Colore.
Dariusz Niemczyk
@Palid
Oh, okay. It's really sad that Razer doesn't want to opensource it.
Oh, nevermind.
PsychoTea
@PsychoTea
@Sharparam Is there anywhere I can find any example code? An API doc? Anything to help me get started?
Adam Hellberg
@Sharparam
Dariusz Niemczyk
@Palid
@PsychoTea If you need some examples you can check my game, though it's really badly written and needs some fixes. It'll tell you how to interact with the library, though.