Malhavoc Jan 10, 2017 @ 4:24pm
Pass game parameters through steam shortcuts
I'm trying to run an emulator as a non-steam game, but within Steam, to work with my steam link. Reason aside, my question is this: i've managed to run the emulator with a shortcut in two ways:

1) steam://rungameid/14380773292820660224/ (where the ID is the emulator's ID)

2) "C:\Program Files (x86)\Steam\Steam.exe" -gameidlaunch 14380773292820660224 (where the ID is the emulator's ID)

In both cases, I would need to pass to the emulator additional parameters. Since they depend on the game I want to launch, I can't just add them in the steam interface (they work of course when I do it that way). I've tried something like:

"C:\Program Files (x86)\Steam\Steam.exe" -gameidlaunch 14380773292820660224 gamename

..but it seems like the additional parameter is not passed to the game: I think steam supports parameters just for itself, and does not passes them to the called game.. is there a way to call a game with a shortcut, and pass parameters to the called game?
Last edited by Malhavoc; Jan 10, 2017 @ 4:24pm
< >
Showing 1-10 of 10 comments
demn19; II Jan 10, 2017 @ 4:25pm 
Hola
Brujeira Jan 10, 2017 @ 4:27pm 
We don't discuss emulators.
Gus the Crocodile Jan 10, 2017 @ 4:40pm 
Originally posted by Brujeira:
We don't discuss emulators.
The rule is against discussions of piracy, which this isn't. Emulators are legal, indeed there are emulated games on Steam.

I don't know how to help, sorry OP. To list emulated games through Steam on my living room PC I use Ice[scottrice.github.io], but that may be a bit brute-force for your setup.
Last edited by Gus the Crocodile; Jan 10, 2017 @ 4:41pm
BloodShed Jan 10, 2017 @ 4:48pm 
This is how I do it for Quake 1 & 2 mods.

Using your shortcut as an example.

steam://rungameid/14380773292820660224// -mod modname

That's just off the top of my head, and I'm not near my pc at the moment.
Brujeira Jan 10, 2017 @ 4:49pm 
Originally posted by Gus the Crocodile:
Originally posted by Brujeira:
We don't discuss emulators.
The rule is against discussions of piracy, which this isn't. Emulators are legal, indeed there are emulated games on Steam.

I don't know how to help, sorry OP. To list emulated games through Steam on my living room PC I use <snip>, but that may be a bit brute-force for your setup.

There's a massive difference between running an emulated game in Steam that's been sold by someone who actually has the rights to said game and loading a ROM into an emulator. The laws surrounding ROMs are a seriously grey area - the Steam community rules aren't. I'd suggest that you consider reading them again.
Last edited by Brujeira; Jan 10, 2017 @ 4:52pm
Gus the Crocodile Jan 10, 2017 @ 5:02pm 
I've read them, thanks. Console emulators are mentioned only in the context of discussions of piracy. There is no rule against discussing console emulators not in the context of piracy, and there shouldn't be. We should resist the 'emulation = piracy' propaganda that Nintendo and friends have long spread around.

If you have evidence that the OP is engaging in criminal activity I suggest you present it or stop engaging in slanderous nonsense.
Brujeira Jan 10, 2017 @ 5:16pm 
Read the rules again. Your legal position is completely irrelevant to Valve and to me.
Malhavoc Jan 11, 2017 @ 12:00am 
Oh, come one, have I asked about finding ROMs? My question is related about passing parameters to steam shortcuts, something which have its merits with any game which may support launch parameters. Take everything else out of the equation, that's the question.

BTW, just to put a nail into this, look at how one of Valve's Steam Link developers himself has a thread about MAME running on steam link as native app: http://steamcommunity.com/app/353380/discussions/1/451851477884881756/?ctp=2

ROMs are usually illegal (unless you have the original game), emulators aren't.
Last edited by Malhavoc; Jan 11, 2017 @ 12:07am
BloodShed Jan 11, 2017 @ 12:18am 
Originally posted by Malhavoc:
Oh, come one, have I asked about finding ROMs? My question is related about passing parameters to steam shortcuts, something which have its merits with any game which may support launch parameters. Take everything else out of the equation, that's the question.

BTW, just to put a nail into this, look at how one of Valve's Steam Link developers himself has a thread about MAME running on steam link as native app: http://steamcommunity.com/app/353380/discussions/1/451851477884881756/?ctp=2

ROMs are usually illegal (unless you have the original game), emulators aren't.

Did my post (#4) help?

Just in case here are some copied examples from some of my shortcuts.

steam://rungameid/2310//-game airquake

steam://rungameid/2320// +set game coopordie +map pregame

steam://rungameid/2280// -config BrutalDoom.ini

Hope it helps.
Malhavoc Jan 11, 2017 @ 12:31am 
Thank you! I'm not at home at the moment, I'll surely check that out, even if using the steam url shortcut has its limit, since it can't be launched from a batch, for example. A way to pass parameters with the second method would be even better.
< >
Showing 1-10 of 10 comments
Per page: 1530 50

Date Posted: Jan 10, 2017 @ 4:24pm
Posts: 10