7

Note: If this belongs better on SuperUser, StackOverflow, or some other exchange, please tell me and I'll move it.

I'm trying to control Origin via command line (mainly to launch specific games). However, I can't find anywhere what arguments it accepts! I've tried passing it -?, -help, etc. and it just launches Origin. I tried asking Origin support and they say:

We as it is not supported by us I would check in forums from other people who are doing things as you are.

Poor grammar aside, he makes it clear that I won't get this from official sources. So, does anyone know what arguments Origin accepts, if any?

1
  • There are no command line arguments I am aware of but my answer should satisfy your needs.
    – user28015
    Aug 7, 2014 at 2:45

3 Answers 3

6

Origin installs, just like Steam, an own protocol which you can use to run games.

Example:

origin://launchgame/DR:235664700

This would launch the game "Wing Commander 3" if you have it installed. Unlike Steam, it would not bring up the installation dialogue, if it is not installed. To find out the product id, you would need to dig into the website code for each store page. I am not sure if this product id is the same for all countries like on Steam, but even there different AppID's for the same game do exist, such as low violence versions etc.

If you do not own the game you try to launch, you get a Window that tells you to activate the game via a product key.

Simply running origin:// launches Origin on the computer.

Example from the German Wing Commander 3 Page:

screenshot of website code

The highlighted ID is the one you are looking for. The store appends

?Title=Game&AutoDownload

to the URL as it would indicate that this can be used to download the game. But my tests with this have been unsuccessful so far.

It is a bit of a hassle to find the correct product code. Especially for games like Sim City, my tests have been unsuccessful. But in theory, you can use this to control your games without touching Origin. However, Origin comes to the front if you run any of these commands.

1
  • 1
    is there a way I can utilize this to launch Origin games from my Steam Library?
    – Ky -
    Dec 1, 2014 at 22:32
2

In Task manager, enable the column with "start command". Start a game with his shortcut while Origin isn't running and you'll see some interesting arguments.

2
  1. Launch the game with origin closed , wait for it to start, alt tab out.
  2. open powershell. (admin rights)
  3. type in :

    Get-WmiObject Win32_process -Filter "name = 'Origin.exe'" | Select CommandLine

  4. Create the shortcut and set the command you got as target or add it as a non-steam game.
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .