Spectraball Steam with Nvidia Optimus

So i got Spectraball on Steam, and of course im dealing with Nvidia Optimus. No problem! but i got a exec line for yah to try in your Spectraball folder so it shows your friends that your playing Spectraball in Steam. if you just “optirun ./Spectraball” the game opens fine, but doesn’t show you in game on Steam.

So in a terminal inside the Spectraball folder, just use this line.

LD_LIBRARY_PATH=~/Steam/ubuntu12_32:$LD_LIBRARY_PATH SteamAppId=18300 vblank_mode=0 optirun ./Spectraball

And there you go!..it will load the game and show you playing the game in steam!