andsfonseca / dota2-rpc-client

Allows you to observe the status of your DotA 2 (Defense of the Ancients 2) match within the Discord, through the Rich Presence service. 🎮
https://andsfonseca.github.io/dota2-rpc-client/
MIT License
41 stars 8 forks source link

[Feature]: Dynamically get dota2 folder when installing the service #60

Open KKire opened 1 month ago

KKire commented 1 month ago

Is your feature request related to a problem? Please describe the problem.

If you have changed the default foler of dota 2, it fails to find it because it searches for the default dota 2 beta folder when trying to create the gamestate_integration_rpc.cfg file

Describe the solution you'd like

It would be ideal if the app gets the folder from the steamapps\appmanifest_570.acf file from the installdir value so it properly gets the game folder.

andsfonseca commented 1 month ago

I didn't know it was possible to change the "dota 2 beta" folder path. I'll try checking the appmanifest_570.acf after reading the library folder in libraryfolders.vdf.

I'm not able to work as much as I want on this project, but I'll try to put this feature in the next update!

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open for 30 days with no activity.

andsfonseca commented 2 weeks ago

Still working on it