pointfeev / CreamInstaller

Automatically finds all installed Steam, Epic and Ubisoft games with their respective DLC-related DLL locations on the user's computer, parses SteamCMD, Steam Store and Epic Games Store for user-selected games' DLCs, then provides a very simple graphical interface utilizing the gathered information for the maintenance of DLC unlockers.
https://cs.rin.ru/forum/viewtopic.php?f=29&t=117227
GNU General Public License v3.0
3.66k stars 181 forks source link

cream installer can't detect epic games installed by heroic launcher #250

Open Stargazer1209 opened 1 month ago

Stargazer1209 commented 1 month ago

it's 2024/8/10 now and i am still encountering the same problem as issue106 which cream installer can't detect any epic games installed through heroic launcher. At first, I uninstalled epic itself and deleted all its data files (located in C:\ProgramData, C:\Users\USERNAME\AppData and any registry keys i can find), and in this process epic uninstallation program also deleted the game files for me. Then I reboot the computer, and reinstall the game files through heroic launcher(for example cities skylines, alan wake 2, etc). But all the games did not show up in cream installer. Then I take a look at the previous issue, checked the "heroiclibrary.cs" and I am sure that my computer has the "legendary_library.json" file in the desired location which comes with the install path info in it, however, cream installer is still not working. I noticed that in the code it uses "appData.Install.InstallPath" but in the json file it's "install_path", i don't know much about c# and am not sure if this is right. Below are the legendary_library.json file on my computer. legendary_library.json

Stargazer1209 commented 1 month ago

I noticed that there is a open pull request related to heroic launcher issue.

Stargazer1209 commented 1 month ago

based on the open pull request, and related code under platform/epiclibrary.cs, I temporarily add a fake epic registry entry and a fake folder on disk, which works for creaminstaller v5.0.0 and heroic launcher v2.14.1.