The magic happens in 'C:\Program Files\LGHUB\data\applications.json'
The important thing to note is the per-entry "detection" object, which is a list of detection methods, e.g.
Key:
- c = character
- d = digit
- "/ppp/ppp" = path
- {uuu} = UUID
- x = hexchara
| ... | |
| // e.g. ONCE_HUMAN | |
| { | |
| "applicationId": "6f668fd3-9b79-4295-b4d0-22af06df6639", | |
| "categoryColors": [ | |
| { | |
| "hex": "#f51919", | |
| "tag": "Build" | |
| }, | |
| { | |
| "hex": "#0c25e4", | |
| "tag": "Combat" | |
| }, | |
| { | |
| "hex": "#09fb66", | |
| "tag": "Standard" | |
| }, | |
| { | |
| "hex": "#e3f207", | |
| "tag": "Vehicle" | |
| } | |
| ], | |
| "commands": [ | |
| ... | |
| // actual button mappings | |
| ... | |
| ], | |
| // Game detection | |
| "detection": [ | |
| { | |
| "steam": { | |
| "appId": "2139460" | |
| } | |
| }, | |
| { | |
| "glob": "/Games/ONCE HUMAN/ONCE_HUMAN.exe" | |
| }, | |
| { | |
| "winRegistry": { | |
| "registryPath": "HKEY_CURRENT_USER/Software/LoadingBay/LoadingBayInstaller/game/23", | |
| "registryKey": "InstallPath", | |
| "executable": "ONCE_HUMAN.exe" | |
| } | |
| } | |
| ], | |
| ... |