RGB-Fusion-Tool icon indicating copy to clipboard operation
RGB-Fusion-Tool copied to clipboard

any luck using this with Aero 15x?

Open plj5003 opened this issue 6 years ago • 10 comments

Looking to give CLI based RGB instructions to various components. No idea if it meets the Motherboard or Keyboard criteria as its not listed under ready or core.

plj5003 avatar Oct 31 '18 15:10 plj5003

I suspect they may be under the peripherals; this might work after peripheral support is added (#37 )

tylerszabo avatar Nov 01 '18 22:11 tylerszabo

Try v0.9.3

tylerszabo avatar Nov 02 '18 09:11 tylerszabo

Thanks for getting back to me, I'll try it tonight!

plj5003 avatar Nov 02 '18 13:11 plj5003

getting an error:

Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at GLedApiDotNet.Raw.GLedAPIv1_0_0Impl.dllexp_InitAPI() at GLedApiDotNet.Raw.GLedAPIv1_0_0Impl.InitAPI() at GLedApiDotNet.Raw.GLedAPIv1_0_0Wrapper.Initialize() at GLedApiDotNet.RGBFusionMotherboard..ctor(GLedAPIv1_0_0Wrapper wrapperAPI) at GLedApiDotNet.RGBFusionMotherboard..ctor() --- End of inner exception stack trace --- at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Activator.CreateInstance(Type type) at System.Lazy1.CreateValue() at System.Lazy1.LazyInitValue() at System.Lazy1.get_Value() at RGBFusionTool.RGBFusionMain.LazyMotherboard.SetAll(LedSetting ledSetting) at RGBFusionTool.Application.Main(String[] args)`

plj5003 avatar Nov 04 '18 12:11 plj5003

ran with admin prompt

plj5003 avatar Nov 04 '18 12:11 plj5003

Ah; right - even if you have only peripherals --list will try to initialize the motherboard and fail if it's not working. I've made a minor change to list peripherals first in 116a61f. It'll still throw (I'm trying to think of how I want to handle the exceptions - I don't want to get too far away from wrapping the API; I definitely need to refactor now).

tylerszabo avatar Nov 06 '18 05:11 tylerszabo

Gotcha, it looks like the sdk was kind of half baked to begin with from the research I've done, so the fact you made it this far already makes you a saint lol. I only know my way around data pipelines and python but if there is anyway I can aid your struggle let me know!

plj5003 avatar Nov 06 '18 16:11 plj5003

I've attached a build of just the binaries for 116a61f in case you don't have an easy local build environment. I didn't go to the work of packaging the dependencies in this one; I'm still working on making an easy CI build pipeline.

RGBFusionTool_master_116a61f0b44b55435636eee4a24347caeb726067_22.zip

tylerszabo avatar Nov 06 '18 22:11 tylerszabo

Error: System.DllNotFoundException: Unable to load DLL 'GvLedLib.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) at GvLedLibDotNet.Raw.GvLedLibv1_0Impl.dllexp_GvLedInitial(Int32& iDeviceCount, Int32[] iDeviceIdArray) at GvLedLibDotNet.Raw.GvLedLibv1_0Impl.GvLedInitial(Int32& iDeviceCount, Int32[] iDeviceIdArray) in D:\a\1\s\GvLedLibDotNet\Raw\GvLedLibv1_0Impl.cs:line 17 at GvLedLibDotNet.Raw.GvLedLibv1_0Wrapper.Initialize() in D:\a\1\s\GvLedLibDotNet\Raw\GvLedLibv1_0Wrapper.cs:line 42 at GvLedLibDotNet.RGBFusionPeripherals.<.ctor>b__3_0() in D:\a\1\s\GvLedLibDotNet\RGBFusionPeripherals.cs:line 75 at System.Lazy1.CreateValue() at System.Lazy1.LazyInitValue() at System.Lazy`1.get_Value() at GvLedLibDotNet.RGBFusionPeripherals.get_Devices() in D:\a\1\s\GvLedLibDotNet\RGBFusionPeripherals.cs:line 84 at RGBFusionTool.Application.Main(String[] args) in D:\a\1\s\RGBFusionTool\Application.cs:line 220 PS C:\Users\plj50\Downloads\RGBFusionTool_master_116a61f0b44b55435636eee4a24347caeb726067_22\RGBFusionTool_master_116a61

plj5003 avatar Nov 13 '18 01:11 plj5003

I didn't include the dependencies in that zip; could you use the dependencies from the previous release?

tylerszabo avatar Nov 13 '18 02:11 tylerszabo