dhusemann / idlecombos

55 stars 17 forks source link

How to find the game with Epic Game Store #3

Open HenryLoenwind opened 3 years ago

HenryLoenwind commented 3 years ago

The installation location can be read from the file %programdata%\Epic\UnrealEngineLauncher\LauncherInstalled.dat. It is a json file:

{
    "InstallationList": [
        {
            "InstallLocation": "D:\\Games\\Epic\\IdleChampions",
            "AppName": "40cb42e38c0b4a14a1bb133eb3291572",

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

djravine commented 2 years ago

Please mark as resolved :D