Ubuntu – How to run Windows Steam games from Linux Steam (with WINE)

steamwine

I am currently using 2 versions of steam, the Linux one for games compatible with Linux, and the windows version in wine for games which are not compatible. I was wondering if it is possible to get wine to work on games in Linux steam (the one not using wine) , so I do not have to switch back and forth between the two steams.

Best Answer

So, I know this is an old question, but there seems to be a way to do this. Sort of.

EDIT: So, having downloaded 1 game, it doesn't seem to be working. Launching the game does nothing. No errors.. just nada. So, YMMV.

It involves, tricking the client into thinking it can be installed by creating an appmanifest in the right folder. Luckily, since Steam is put together well and is tolerant of errors, you can just copy some other manifest, change a few fields, and it will automatically fix the file and start downloading the game.

For future reference in case the link breaks:

  1. Right-click on your desired game in Steam. Click "Create Desktop Shortcut".

  2. Open the shortcut up as text and locate the gameid. It will be on the Exec line. For example, "Exec=steam steam://rungameid/204880" means the gameid is 204880. (Bonus points for finding which game this is! :P)

  3. Now we make a new manifest. (Oh, and if you have Steam open still, you can go ahead and close it.) Most likely, you'll go to ~/.local/share/Steam/SteamApps/. There will be several "appmanifest_xxxxxx.acf files (of variable length). These represent your installed games. Pick one (so far, it seems any one will work). Copy it and save it as appmanifest_gameid.acf (obviously replacing gameid with what it was). Now open it up and change the appID, GameID, name, and second name fields. Save it.

  4. Re-open Steam.

  5. ??? (Steam corrects our wrong file. Although, I've noticed some of the old properties remain which may come back to bite me/you/us.)

  6. Profit! (it starts downloading)

And, as of writing, this is as far as I've gotten. My game is still downloading and I thought I'd share as I stumbled across this QA when I was looking for the same answer :)

Related Question