It is currently March 28th, 2024, 2:02 pm

I may need some help.

Get help with creating, editing & fixing problems with skins
Post Reply
judg3
Posts: 1
Joined: January 30th, 2018, 1:25 am

I may need some help.

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

Re: I may need some help.

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

Re: I may need some help.

Post by jsmorley »

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

Re: I may need some help.

Post 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.
Post Reply