Archive for category windows
Forcing Logitech G-Series Key Profiler to load game profile
I recently ran into an annoying problem with my Logitech G15 keyboard or more specifically the software (Logitech G-Series Key Profiler) which would not recognize all the games I have installed (using “Scan for new games”) so I couldn’t retrieve the pre-defined profiles the software comes with for a large portion of games.
Naturally all “official” solutions were to uninstall the software and do a clean install – but that should never be the solution. But a quick look around the resources that come with the software I discovered the file:
C:\ProgramData\Logitech\G-series Software\Keyboard\Profiles\LGDDefault.lgp
Which is one large XML file describing each and every profile for the games the software can recognize. The quick hack is then to simply import this profile file from the Logitech software (via Profile -> Import), but this will import each and every profile resulting in a rather large list of profiles (most of which you probably don’t have the game for).
So the way cleaner solution is to manually retrieve the relevant profiles from the “master” profiles file and put them into another XML file also ensuring said file has the correct formatting as expected by the Logitech software. The following is a step-by-step guide to doing that.
1. Retrieving the profile(s)
Open the file “C:\ProgramData\Logitech\G-series Software\Keyboard\Profiles\LGDDefault.lgp” and do a string-search for the game title in question, which will lead you (assuming there is a profile for that game) a profile description tag, like:
<profile guid="{BBB9D9AF-1F92-4AD9-9DA5-79D8927403A0}" name="Lord of the Rings Online" revision="3.00" lock="0"> <description/> <macros> <macro name="F6" guid="{DCF50AE2-0005-4381-000D-4F0F5A9E9803}" type="singlekey"> <event type="key" keyname="F6"/> </macro> ... </macros> <assignments> <assignment gamekey="G26" shiftstate="1" macroguid="{AD0FFB44-1449-46C7-AC06-C0108BB259B6}" playmode="oneshot" family="lhc"/> ... </assignments> <script/> <signature key="HKEY_LOCAL_MACHINE" subkey="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\12bbe590-c890-11d9-9669-0800200c9a66_is1" value="InstallLocation" executable="lotroclient.exe"/> </profile>
Now copy the entire profile tag (from <profile…> to and including </profile>) for usage in the next step.
2. Creating single profile from copied content
Create a new file with your favorite XML editor (or Notepad if you have nothing else, it really doesn’t matter) and wrap your copied profile from step 1., with the following XML to make it readable by the Logitech software.
<?xml version="1.0" encoding="UTF-8"?> <profiles> <profile guid="{BBB9D9AF-1F92-4AD9-9DA5-79D8927403A0}" name="Lord of the Rings Online" revision="3.00" lock="0"> ... </profile> </profiles>
Now just go ahead and save this XML file anywhere with the extension .lgp (like “lotro.lgp”) as this is the extension the software expects (I suspect it is a acronym for Logitech Gaming Profile).
3. Importing the new gaming profile
Load up the Logitech G-Series Key Profiler and navigate to “Profile -> Import” and select and open the file you created in step 2. Now you will have a new profile in your profiles list for the game you just retrieved with all the macro’s available for that particular game.
Happy hacking.
Facebook
Twitter
Youtube
Last
Ping