Page 1 of 1

I may need some help.

Posted: January 30th, 2018, 3:24 pm
by judg3
I've made a quick code.

Code: Select all

[game]
Meter=Image
ImageName=#@#Images\game.png
W=90
H=90
LeftMouseUpAction=["steam://rungameid/698780"]

[Rainmeter]
Update=1000

[Metadata]
Name=game
Author=Judg3
Information= Quick Launch for DDLC/MAS
License=
Version=1.0
The said game is DDLC. I'm making a public shortcut for it.
The sent code opens Steam, and then the game.

I want to make a a code that can recognize the route where the said executable of the game is found, no matter which disk drive it is. And without opening Steam, since the game executable of DDLC is capable to run without opening Steam.
I want to make it like this:

{DISK}:\Steam\steamapps\common\Doki Doki Literature Club\DDLC.exe

I'd appreciate if I would get help.

Re: I may need some help.

Posted: January 30th, 2018, 3:36 pm
by jsmorley
I think the only way you will be able to automatically know where your Steam folder is will be if it stores some key in the Windows Registry. I don't have Steam installed, so I don't know if/where this would be.

https://docs.rainmeter.net/manual/measures/registry/

Re: I may need some help.

Posted: January 30th, 2018, 3:37 pm
by jsmorley

Re: I may need some help.

Posted: February 9th, 2018, 3:37 pm
by Gchef65
Unless you're doing something really weird, games not on the C drive should be in SteamApps\common\game name. On the the C drive, it should be in C:\Program Files\Steam (x86)\SteamApps\Common\game name. You may be able to look for this folder in each drive. This might not be the most efficient method but it should work.