View Issue Details

IDProjectCategoryLast Update
0001864AI War 1 / ClassicSuggestionJan 3, 2011 11:44 am
ReporterdumpsterKEEPER Assigned ToChris_McElligottPark  
Status closedResolutionnot fixable 
Product Version4.045 
Summary0001864: Game patcher doesn't relaunch with Steamworks enabled
DescriptionAs the title says, when you launch the update process from within the game with Steamworks enabled and then allow the patcher to re-launch the game at the end of the update process, it does not start back up with Steamworks enabled. It would be helpful if the patcher recognized that it was launched from a Steamworks enabled game and re-launched the game as such.

This is a fairly minor issue, but it's bitten me a couple of times where I didn't notice that it happened and went to utilize a Steamworks feature and discovered that it wasn't available.
TagsNo tags attached.
Internal Weight

Activities

Chris_McElligottPark

Dec 6, 2010 4:47 pm

administrator   ~0005433

Unfortunately, due to the nature of how Steam works, it's not possible for us to do this. :/ To get the steamworks stuff, you have to launch it from Steam directly.

In the past, that was not the case and we could use a special flag to enable steamworks stuff, but for the overlay to work properly that has to be made before the OpenGL/DirectX init calls. In the case of Unity 3D, our code doesn't have control until after the OpenGL/DirectX init calls, which means we can't directly invoke the Steamworks UI, it can only come from the hook inserted by launching the game directly out of Steam.

dumpsterKEEPER

Dec 6, 2010 4:59 pm

reporter   ~0005437

Ah, I'd wondered about that. I remembered the flag that used to be there, and I was hoping that it would still be able to work. I suppose Steam is probably not optimized for games that are patching themselves externally like this.

Chris_McElligottPark

Dec 6, 2010 5:14 pm

administrator   ~0005439

Well, it's technically not even a Steam issue. They provide ALL the tools we would normally need to make this work. The problem is that with the Unity 3D engine, we can't inject arbitrary code wherever we want (ie, before OpenGL/DirectX are initialized).

dumpsterKEEPER

Dec 6, 2010 5:37 pm

reporter   ~0005443

Oh I see, that makes sense; I misread what you originally typed. Thanks for the explanation!

Chris_McElligottPark

Dec 6, 2010 5:39 pm

administrator   ~0005445

Sure thing!

Oralordos

Dec 28, 2010 10:52 am

reporter   ~0007155

Wouldn't it be possible to send the steam flag to the patcher and have it start AI War using Steam instead of starting it directly from the .exe?

leb0fh

Dec 28, 2010 1:50 pm

reporter   ~0007159

There are various commandline ways to do it, however not everyone uses Steam, and the commandline options are (afaik) platform dependent also (Not everyone uses Windows).

Chris_McElligottPark

Dec 28, 2010 2:36 pm

administrator   ~0007160

I believe those options would also vary by install path. And we can't put true code in the patched itself, as that's just a super simple scripting interface -- I hesitate to even call it that -- that's part of bitrock install builder. So it's pretty much a no go.

Issue History

Date Modified Username Field Change
Dec 6, 2010 4:44 pm dumpsterKEEPER New Issue
Dec 6, 2010 4:47 pm Chris_McElligottPark Note Added: 0005433
Dec 6, 2010 4:47 pm Chris_McElligottPark Status new => resolved
Dec 6, 2010 4:47 pm Chris_McElligottPark Resolution open => not fixable
Dec 6, 2010 4:47 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Dec 6, 2010 4:59 pm dumpsterKEEPER Note Added: 0005437
Dec 6, 2010 5:14 pm Chris_McElligottPark Note Added: 0005439
Dec 6, 2010 5:37 pm dumpsterKEEPER Note Added: 0005443
Dec 6, 2010 5:39 pm Chris_McElligottPark Note Added: 0005445
Dec 28, 2010 10:52 am Oralordos Note Added: 0007155
Dec 28, 2010 1:50 pm leb0fh Note Added: 0007159
Dec 28, 2010 2:36 pm Chris_McElligottPark Note Added: 0007160
Jan 3, 2011 11:44 am Chris_McElligottPark Status resolved => closed
Apr 14, 2014 9:28 am Chris_McElligottPark Category Suggestion - General Idea => Suggestion - General
Apr 14, 2014 9:30 am Chris_McElligottPark Category Suggestion - General => Suggestion