If using a json parser, look for an object with the key/value AppName/40cb42e38c0b4a14a1bb133eb3291572 inside the array in the key InstallationList.
If parsing it line-by-line, look for a line "InstallLocation": " ... \\IdleChampions",. The final folder name cannot be changed by the user, so just using that for detection works fine.
PS: To start the game, execute com.epicgames.launcher://apps/40cb42e38c0b4a14a1bb133eb3291572?action=launch&silent=true
The installation location can be read from the file
%programdata%\Epic\UnrealEngineLauncher\LauncherInstalled.dat
. It is a json file:If using a json parser, look for an object with the key/value AppName/40cb42e38c0b4a14a1bb133eb3291572 inside the array in the key InstallationList.
If parsing it line-by-line, look for a line
"InstallLocation": "
...\\IdleChampions",
. The final folder name cannot be changed by the user, so just using that for detection works fine.PS: To start the game, execute
com.epicgames.launcher://apps/40cb42e38c0b4a14a1bb133eb3291572?action=launch&silent=true