Steam Forum

This is a community forum and not official technical support. — If you need official support: Contact Us

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

HOWTO: Make steam:// URLs work in CrossOver Games Mac

First up, thanks to Keith Gable for his "HOWTO: Make Steam URLs work" which gave me a good pointer. :)

This howto makes a few assumptions, namely that your bottle is named "Windows XP" (my is), and that your Steam.exe is in the folder Games/Valve/Steam (relative from where the terminal will drop you off). Also, I just assume that you know how to find the correct steam:// URLs for whatever you are trying to achieve. The example below will make you buy the "Half-Life 2: Episode Pack".

  1. In CXG, pick "Programs" > "Run Command…" from the menu.
  2. In the window that will open, click "Open Shell".
  3. In the terminal window that'll open up, write…

"/Applications/CrossOver Games.app/Contents/SharedSupport/CrossOverGames/bin/wine" --bottle "Windows XP" Games/Valve/Steam/Steam.exe steam://purchase/704

Hope this helps.

Cheers!
Carlo

It's even easier than that. In the Run Command dialog, just enter this command: start steam://purchase/704

Of course, you need to know the Steam application ID (704 in this example) or, more generally, the steam:// URL.

Another option is to install the Windows version of Firefox into the bottle with Steam. Then, use that version of Firefox to browse to http://store.steampowered.com to do your purchase. You'll eventually reach a web page that launches the steam:// URL and, since it's in the bottle with Steam, that will work fine.

Ultimately, we plan to fix CrossOver Games to support the new HTML stuff that the Steam store is doing, so that this will all work seamlessly again.

That kind of didn't fully work for me when I tried it… maybe my CXG install is b0rked. Need to investigate.

Either way, can't hurt to know more than one way to do that, methinks. :)

Did you select the bottle with Steam in it from the pop-up in the Run Command dialog?

Yep. I might have misconfigured something before, tho. No worries. Thanks for the help! :)

Hey, I just tossed together a quick tutorial with screenshots for anyone who might be a little confused with the process of obtaining the steam:// url's. (just in case)

I just got done testing this with the Bioshock Demo, so I know these guy's instructions work perfectly fine. :D This is only for clarification.

1: Have steam open, go to the url in your firefox for the thing you want. In this example, I'm using the Portal Demo here: http://store.steampowered.com/app/410/
screenshot: http://mixmadmen.com/steam-tutorial/1.png

2: click on the button (here it is ">>Install Demo") and another popup will come asking if you do or do not have steam.
screeonshot: http://mixmadmen.com/steam-tutorial/2.png

3: Right click on that popup's background and select "View Page Source" and you will see a copy of the page's contents. In here, you will need to look for a section that says "gotSteam_yes", and below it you will find the URL that you need. (In the screenshot I have it highlighted) ...You need to make sure you do NOT take the url from the section with "gotSteam_no" because that's one that will take you to download steam.
screeonshot: http://mixmadmen.com/steam-tutorial/3.png

4: now we will use what Ken Thomases explained. (I'm using Ubuntu Hardy, so in this case you will) go to Applications, CrossOver Games, Run a Windows Command. In this popup, you will type start your_url_from_step_3_here
hit enter.
screeonshot: http://mixmadmen.com/steam-tutorial/4.png

5: Done! :) A popup with the Installer will come up and the rest is self-explanatory.
screeonshot: http://mixmadmen.com/steam-tutorial/done.png

I hope this helps anyone who feels a little bit lost! :D

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi01LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzA4NjEzODE4LCJjc3JmX3Rva2VuIjoiRlk3SFdHTW1aRXpKOFljOSIsImdkcHIiOjB9