Steam fails to Launch game

19
2014-04
  • Chetwynd

    When i try to launch any game in steam it comes up with preparing to launch for e.g Dota 2 then that box closes and never loads game up.

    Any help would be appreciated.

  • Answers
  • minerz029

    This occurred for me after backing up a game. It would show the 'Preparing to launch' dialog box then close it without launching. The solution for me was this:

    1. Make a backup of the game.
    2. 'Delete local content' for the game (in Right-click -> Delete local content)
    3. Restore the game from your previous backup.
  • Joren

    A lot of Steam games can't be played in Ubuntu because they are developed for Windows only. However, you can play them virtually inside software like PlayOnLinux.

    Installation instructions HERE.

  • Christian

    Is your computer x64? For some reason some Steam games need the x86 library... This happened to me as well, and Steam Support told me to do the following:

    1. Open up Terminal

    2. Type the following command:

    sudo apt-get install ia32-libs
    

    You might need to put your login password because of the sudo command...

    After you've done, it should work with any game. If it doesn't, you might need to enable de Dev. Branch of the game. So, to do so:

    1. Right click the game you want to play, and chose properties.

    2. Click in the Betas tab, and select Development Branch from the dropdown and then close the window.

    3. Try to open your game.

    If this doesn't help, you might want to contact Steam Support. Gaming in Linux is in some point "new" and still has it's "problems" so they should help you though.

  • Sneetsher

    Try this:

    • Right click on TF2 in your library → Properties → Set Launch Options
    • If you only have optirun, enter: optirun %command%

    The above did not work for me and I had to set the launch options as

    LD_PRELOAD="libpthread.so.0 libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1 optirun %command% 
    

  • Related Question

    Wine doesn't load Steam Ingame Overlay in any game
  • GamerPie

    When I execute Wine in Steam, everything goes alright, except Steam Game Overlay

    I have check if it is activated in steam, if my hot key combination is alright and everything, but I still don't get in-game community to work.

    Any help is appreciated.


  • Related Answers
  • reverendj1

    According to this: http://appdb.winehq.org/objectManager.php?sClass=version&iId=19444 that is a known issue using Steam with Wine...

  • Arakis

    Interesting. You write, the overlay will not displayed. Maybe it is similar with the problem, that the app can even crash (and since the latest version of steam, it will definitely crash on actual wine versions). So you could try the following:

    Solution: The compilation way

    You simple "patch" the source code of the official open source imm32.dll of wine.

    $ git clone git://source.winehq.org/git/wine.git ~/wine-git
    $ cd ~/wine-git
    

    Optional, but highly recommented:
    $ nano Makefile
    and change "prefix = ..." to "prefix = /tmp/wine". do the same with "ac_default_prefix = ..." in the file "configure".

    Now apply the patch:

    $ nano dlls/imm32/imm.c
    

    Search for this line: "BOOL WINAPI ImmProcessKey("... and insert after the "TRACE("... line this new line:

    return FALSE;
    

    Please to not forget the ";" char.

    Thats all! Now compile:

    $ make ./configure
    $ make depend
    $ make
    $ make install
    

    If you are using PlayOnLinux, you can simply add a new wine version:

    $ cp -r /tmp/wine ~/.PlayOnLinux/wine/linux-x86/1.7.x-imm-patch
    

    In PlayOnLinux, select the Steam entry and press on the configure button in the menu bar and select the wine version "1.7.x-imm-patch".

    You can read it on my blog, too: http://blog.en.edaro.net/2014/02/Wine-and-the-Steam-Community.html

    Happy wine-playing!