Fuzznuts Posted November 10, 2014 Share Posted November 10, 2014 Hi All, I have knocked up a very simple profile and Mode conversion tool to swap convert profiles / Modes for the K65,K70 and K95 Simply run the app browse to the file you wish to convert and hit the convert button select as destination file name once done import the profile into CUE. If you wish to convert a mode file change the file type selection from prf to mode. You'll need .net framework 3.5 installed for it to work. Added the source in case anyone wants to extend it I haven't looked at this for ages. The project is C# winforms project so you will need a copy of visual studio (the free version will be fine) to work with the src. This is a tool I knocked up for my own use, so use it at your own risk! Features Converts profiles and modes from one keyboard type to another. Removes actions that are not associated to a light profile (No more test (1) etc in the action list). Removes lighting effects that are not associated with a profile. Removes G and M keys when converting from a K95 to 70 or 65. Todo Rename Modes / Profiles prior to conversion Fixed Fixed crash when checking for non existent registry entries. Fixed instances where some orphan lighting elements were being left behind (thanks zheren159) Fixed bug where lighting would be removed even though it was assigned to a valid action. (thanks Reapexx) Fixed bug where exporting the same profile to the output directory would get overwritten rather than create a new file.ProfileConverterAndCleaner.zipProfileConverter_SRC.zip Link to comment Share on other sites More sharing options...
Fuzznuts Posted November 11, 2014 Author Share Posted November 11, 2014 Updated the application to purge the profiles of unwanted actions and lighting effects if checked. Any actions or lighting effects that are not assigned to anything are removed as part of the conversion process (if selected) This reduces profile bloat and the annoyance of having all those actions etc imported when you neither want or need them for the lights you wish to look at. If you wish you can use this process to clean up your current profiles by importing them and exporting them again as the same type. Again use at your own risk I have had no problems thus far but YMMV :) Link to comment Share on other sites More sharing options...
Inheritance Posted November 11, 2014 Share Posted November 11, 2014 what was this writen in Link to comment Share on other sites More sharing options...
Fuzznuts Posted November 11, 2014 Author Share Posted November 11, 2014 It is a c# winforms app that i knocked up in visual studio. Link to comment Share on other sites More sharing options...
Goat1 Posted November 12, 2014 Share Posted November 12, 2014 It is a c# winforms app that i knocked up in visual studio. Just don't knock "her" up.. :D: Link to comment Share on other sites More sharing options...
Inheritance Posted November 12, 2014 Share Posted November 12, 2014 Ah that explain why it runs faster. I wrote pretty much the same program in java but it runs quite a bit slower. Link to comment Share on other sites More sharing options...
Fuzznuts Posted November 12, 2014 Author Share Posted November 12, 2014 Ah that explain why it runs faster. I wrote pretty much the same program in java but it runs quite a bit slower. You should get it out there. Give a man a fish etc :) Did you think the cue profile export was buggy too? A lot of dead and deleted keys seem to get left in the XML mode exports seem a lot neater but profiles yuck! Link to comment Share on other sites More sharing options...
Inheritance Posted November 12, 2014 Share Posted November 12, 2014 You should get it out there. Give a man a fish etc :) Did you think the cue profile export was buggy too? A lot of dead and deleted keys seem to get left in the XML mode exports seem a lot neater but profiles yuck! Yea i already informed Corsair James of this issue. The extra lighting and actions bloat the files by so much Link to comment Share on other sites More sharing options...
Inheritance Posted November 12, 2014 Share Posted November 12, 2014 I would get the program out there but i need a way to make it an exe and im going to clean it up a bit first. I just made the program like 3 days ago before i cleaned everything by hand which took about an hour each X.X lol. yay for automation !!! Link to comment Share on other sites More sharing options...
Fuzznuts Posted November 13, 2014 Author Share Posted November 13, 2014 Updated App Added Option to Auto Check Remove Orphans Changed output to directory a default directory can be specified in the options if one is not set you are asked per file. If a default directory is set all files are output to that dir prefixed with CONV_ Added K65 volumeup and volumedown keys. Link to comment Share on other sites More sharing options...
Inheritance Posted November 13, 2014 Share Posted November 13, 2014 um... your broke it lol See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at ProfileConverter.RegistryHelper.GetAutoCleanOrphans() at ProfileConverter.Form1.LoadOptions() at ProfileConverter.Form1.Form1_Load(Object sender, EventArgs e) at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.8009 (FX35W81RTMGDR.050727-8000) CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll ---------------------------------------- ProfileConverterAndCleaner Assembly Version: 1.0.5430.23517 Win32 Version: 1.0.* CodeBase: file:///G:/Chrome%20Dowloads/Corsair%20Stuff/ProfileConverterAndCleaner.exe ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.8008 (FX35W81RTMGDR.050727-8000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.8009 (FX35W81RTMGDR.050727-8000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.8007 (FX35W81RTMGDR.050727-8000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Core Assembly Version: 3.5.0.0 Win32 Version: 3.5.30729.7903 built by: Win9Rel CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box. the new default location thing is causing this i think Link to comment Share on other sites More sharing options...
dbase Posted November 13, 2014 Share Posted November 13, 2014 Fehler bei Programmstart Link to comment Share on other sites More sharing options...
Fuzznuts Posted November 13, 2014 Author Share Posted November 13, 2014 All Fixed sorry :) Link to comment Share on other sites More sharing options...
Fuzznuts Posted November 13, 2014 Author Share Posted November 13, 2014 Fixed instances where some orphan lighting elements were being left behind (thanks zheren159) Link to comment Share on other sites More sharing options...
ScarredMecha Posted November 18, 2014 Share Posted November 18, 2014 The program seems to delete lighting effects that are being used as part of an action if they're not being assigned to an actual key. Link to comment Share on other sites More sharing options...
Fuzznuts Posted November 18, 2014 Author Share Posted November 18, 2014 The program seems to delete lighting effects that are being used as part of an action if they're not being assigned to an actual key. Can you attach a profile where this is occurring so I can take a look at fixing it? Link to comment Share on other sites More sharing options...
ScarredMecha Posted November 18, 2014 Share Posted November 18, 2014 Can you attach a profile where this is occurring so I can take a look at fixing it? This profile only has an action that triggers a ripple lighting and keystroke "G" when G is pressed, named "TestAction." Converting it from K70 to K70 with "Clean Orphaned Lights" and "Clean Orphaned Entries" retains the action, but deletes the lighting effect "TestLighting."TestProfile.prf Link to comment Share on other sites More sharing options...
Fuzznuts Posted November 19, 2014 Author Share Posted November 19, 2014 Fixed bug where lighting would be removed even though it was assigned to a valid action. (thanks Reapexx) Link to comment Share on other sites More sharing options...
cheech1 Posted December 17, 2014 Share Posted December 17, 2014 i tired converting it doesnt work can you help me Link to comment Share on other sites More sharing options...
Jeff810 Posted December 21, 2014 Share Posted December 21, 2014 Doesn't work...nothing I convert works. Please help me out I'm about to return my k65 for a k70 this is pretty lame Link to comment Share on other sites More sharing options...
Corsair Employees Corsair James Posted January 9, 2015 Corsair Employees Share Posted January 9, 2015 Are you guys still working on improving this tool? This is quite fantastic. Link to comment Share on other sites More sharing options...
BlazzedTroll Posted January 14, 2015 Share Posted January 14, 2015 The profile I convert from k70 to k95 gives the following output. Profile was successfully imported, but the following errors occurred while processing profile date. Profile: Device: Device doesn't contain all required default Modes. Then the profile appears to be blank and has the default modes in the profile. The lighting effects all import. Link to comment Share on other sites More sharing options...
terabyte Posted January 14, 2015 Share Posted January 14, 2015 Are you guys still working on improving this tool? This is quite fantastic. It would be great if you include it in CUE :P Link to comment Share on other sites More sharing options...
Inheritance Posted January 20, 2015 Share Posted January 20, 2015 It would be great if you include it in CUE :P This might not be needed in the future if corsair fixes a few issues. Link to comment Share on other sites More sharing options...
ravage007 Posted March 7, 2015 Share Posted March 7, 2015 Hey I'm wondering will you be updating your program to work with the new profiles maybe even making it to convert old profiles to new it would really be nice please and thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.