RetroFE forums

General Category => Third party applications/tools => Topic started by: dustind900 on December 27, 2017, 09:50:12 PM

Title: PC/Steam Launcher
Post by: dustind900 on December 27, 2017, 09:50:12 PM
In response to this thread (http://retrofe.nl/SMF/index.php?topic=244.0).

This is how I launch PC and Steam Games.

Files:

How To:

Code: [Select]
[Settings]
moveMouse=0    ; set this to 1 or true to move the mouse to the bottom right of the screen (out of sight)

; Steam Game
[Brawlhalla]    ; Ini Sections should match art and include.txt
path=M:\Roms\Windows\Steam    ; Path to Steam
exe=steam://rungameid/291550    ; This should always be the same except for the gameID
wintitle=Brawlhalla ahk_class ApolloRuntimeContentWindow    ; use ActiveWindowInfo.exe to get the title and ahk_class of your game (Top of app)

; Regular PC Game
[BIT.TRIP RUNNER]    ; Ini Sections should match art and include.txt
path=M:\Roms\Windows\BIT.TRIP RUNNER   ;Path to game
exe=RUNNER.exe    ; Game executable
note: do not use "wintitle=" with regular PC Games. path and exe only

That should be it. If you need help... Ask.

Download (https://mega.nz/#!pMJRmIZQ!IUx3DjDq7KhpOQZ0WYRRgv_hnIsQN9wFD6XxFJgwsac) - source included
Title: Re: PC/Steam Launcher
Post by: dustind900 on December 30, 2017, 04:11:00 AM
The exe key for Steam games needs to be changed in the ini file.

replace
Code: [Select]
exe=Steam.exe -applaunch GAMEIDwith
Code: [Select]
exe=steam://rungameid/GAMEID
To get GAMEID
open Steam and right click on a game and create a desktop shortcut. Right click the shortcut and click properties. You will get the above string with the GAMEID.

12/29
Updated download in first post. Small code changes and new example ini