It is currently November 13th, 2018, 3:33 am

I may need some help.

Help with creating, editing & fixing problems with skins
judg3
Posts: 1
Joined: January 30th, 2018, 1:25 am

I may need some help.

judg3 » January 30th, 2018, 3:24 pm

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.
User avatar
jsmorley
Developer
Posts: 18279
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: I may need some help.

jsmorley » January 30th, 2018, 3:36 pm

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/
User avatar
jsmorley
Developer
Posts: 18279
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: I may need some help.

jsmorley » January 30th, 2018, 3:37 pm

Gchef65
Posts: 10
Joined: July 14th, 2017, 9:43 pm

Re: I may need some help.

Gchef65 » February 9th, 2018, 3:37 pm

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.