Steam (overlay) and Sandboxie

If it's not about a problem in the program
Post Reply
Sparx
Posts: 4
Joined: Fri Oct 26, 2012 6:38 pm
Location: Canada

Steam (overlay) and Sandboxie

Post by Sparx » Fri Oct 26, 2012 8:18 pm

So,

I've been trying to get games added as non-steam games to work with the steam overlay when launched with sandboxie, I'll list what I've tried and what happens in each case

1. Install steam into sandbox1 (OpenWinClass set to *), install game into sandbox2 (OpenWinClass set to *), run the game from the sandbox1's steam -> Overlay works, but the game now saves and updates into sandbox1

2. Install steam normally, install game into sandbox1 (OpenWinClass set to *), run the game from steam -> Game launches in sandbox, overlay fails to hook into game

3. Install steam into sandbox1 (OpenWinClass set to *), install game into sandbox2 (OpenWinClass set to *), run sandboxie reflector contributed utility from sandbox1's steam -> Game launches in sandbox2 while steam remains in sandbox1, however the overlay doesn't hook (and honestly I don't think it will ever be able to due to the way reflector launches programs)

4. Install steam normally, install game into sandbox1, run steam sandboxed in sandbox1 and then launch game from steam -> Overlay works, game launches in sandbox, but steam now only works with that 1 game (not any others you have installed), any automatically downloaded steam updates are only applied to that sandbox, and to make it work with another game you have to restart steam (you can run 2 instances of steam too but that's kind of a waste of memory)

It doesn't really matter to me one way or another if Steam is sandboxed, but I want the non-steam games to be installed in their own sandboxes

I don't get why #2 doesn't work.. Steam should be able to contact the sandboxed window, which hasn't been renamed or anything

Only other solution I can think of is to just use method 2 or 3 and put a steam chat window on my second monitor..

Edit: when I say "run the game through steam" I mean it runs C:\Sandbox\<user>\<game name>\drive\C\<path to game>\<game>.exe directly, not using Sandboxie's start.exe (which I've also tried, and the overlay doesn't hook that way either)

Edit 2: Was looking around in other threads, and decided to enable FileTrace, PipeTrace, IpcTrace, GuiTrace and ClsidTrace. Looked at the log and this comes up hundreds of times:
[8608] SBIE CRE-EX <00000000> {BCDE0395-E52F-467C-8E3D-C4579291692E} MMDeviceEnumerator class {A95664D2-9614-4F35-A746-DE8DB63617E6} ?

So I added those 2 things to OpenClsid and then this appears:
[4640] SBIE CRE-CF <000006E6> {BCDE0395-E52F-467C-8E3D-C4579291692E} MMDeviceEnumerator class {A95664D2-9614-4F35-A746-DE8DB63617E6} ?
and the exe becomes non responsive

I think I'm in way over my head with this..

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Sat Oct 27, 2012 3:18 pm

Sounds complicated indeed. How about installing Steam into multiple sandboxes, downloading some of the games into the first sandboxed instance of Steam, download other games into the second instance of Steam? That is if you really have to separate games. Although my suggestion would be to make a sandbox for Steam and just install Steam and all games into that one sandbox.
tzuk

Sparx
Posts: 4
Joined: Fri Oct 26, 2012 6:38 pm
Location: Canada

Post by Sparx » Sat Oct 27, 2012 7:07 pm

tzuk wrote:Sounds complicated indeed. How about installing Steam into multiple sandboxes, downloading some of the games into the first sandboxed instance of Steam, download other games into the second instance of Steam? That is if you really have to separate games. Although my suggestion would be to make a sandbox for Steam and just install Steam and all games into that one sandbox.
Thanks, I think I shall go with the second suggestion

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest