Author Topic: XFire Support Is A Go (Mostly)!  (Read 6676 times)

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
XFire Support Is A Go (Mostly)!
« on: August 28, 2009, 07:08:20 pm »
The latest word on XFire:

Quote
AI War is now supported by Xfire.  We have created a game page for AI War.  http://www.xfire.com/games/aiwar/AI_War/.  If you would like anything changed on this page, please let me know.

Here are a few things to note about AI War support on Xfire.  I could not find registry keys so if the users do not install the game in the default directory, they will have to manually detect.  Here are the instructions for that:  http://www.xfire.com/faq/#136


There were also issues with Xfire in-game.  We found that Xfire in-game would hook into the game initially, and runs fine.  But when you restarted the game, Xfire in-game would no longer hook in.  You will have to restart Xfire to get in-game functioning again.  We cannot officially support Xfire in-game because of this.  If you would like to tinker with this yourself, you can modify your xfire_games.ini.  The ini is located on C:\Program Files\Xfire (XP) or C:\ProgramData\Xfire (Vista).  Search for AI War in the text file and you will see:

[5919]

LongName=AI War

ShortName=aiwar

LauncherDirDefault=C:\Program Files\Arcen Games, LLC\AI War

LauncherExe=AIWar.exe

Launch=%UA_LAUNCHER_EXE_PATH% %UA_LAUNCHER_EXTRA_ARGS% %UA_LAUNCHER_NETWORK_ARGS%

;InGameRenderer=D3D9

;InGameFlags=USE_PRESENT|ENABLE_MOUSE|BLOCK_ASYNC|DISABLE_RELEASE


Simply remove the “;” from the last to lines, and you should have in-game.

I have not yet had time to fire it up yet, but if any of you guys have time to check it out and see if you can fiddle with getting it to restart correctly, then I imagine we can get full support for XFire from them.  If I need to make some sort of change to AI War to support that, then let me know, but right now I personally know very little about XFire itself (and have very little time), so assistance from those who are more in the know would be much appreciated.

Nice to see this progress, at any rate!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline tals

  • Jr. Member Mark III
  • **
  • Posts: 97
Re: XFire Support Is A Go (Mostly)!
« Reply #1 on: August 28, 2009, 07:42:19 pm »
You beat me to the punch - Huw and I saw we were supported :)

Can you ask them if they are able to support video and screenshots?

Tals

Offline tals

  • Jr. Member Mark III
  • **
  • Posts: 97
Re: XFire Support Is A Go (Mostly)!
« Reply #2 on: August 28, 2009, 08:09:03 pm »
Quote
I have not yet had time to fire it up yet, but if any of you guys have time to check it out and see if you can fiddle with getting it to restart correctly, then I imagine we can get full support for XFire from them.  If I need to make some sort of change to AI War to support that, then let me know, but right now I personally know very little about XFire itself (and have very little time), so assistance from those who are more in the know would be much appreciated

I would suggest saying this to them or asking them what the issue was. In terms of xfire it shows who is playing which is good. Now just needs to support screenshots and video then it will be awesome :)

Offline Revenantus

  • Arcen Games Staff
  • Hero Member Mark III
  • *****
  • Posts: 1,063
Re: XFire Support Is A Go (Mostly)!
« Reply #3 on: August 28, 2009, 08:22:24 pm »
The issue is it doesn't hook into the game after the first launch. XFire has to be restarted in order for that to happen.

I'm playing with it in game right now - seeing if I can find a fix for the hooks not catching each time.

Chris: The menus (main menu, campaign setup, etc) are drawn on top on the XFire window, anything that can be done there? Similarly, tooltips are still displayed as the mouse pointer moves around the XFire overlay. There's also an issue with the overlay suddenly disappearing during campaigns, which may well also be related to the way that many windows in AI War still seem to be accessible when the overlay is active.

EDIT: Excellent news! The hooks catch every time on version 1.201F, just 1.013 that has that problem it seems.

XFire only fails to hook if you start a campaign, then quit the game. XFire will hook each time without fail if you don't progress beyond the menus. If you wait approximately 3 minutes before relaunching the game the hooks will again catch.
« Last Edit: August 28, 2009, 09:06:05 pm by Revenantus »

Offline Revenantus

  • Arcen Games Staff
  • Hero Member Mark III
  • *****
  • Posts: 1,063
Re: XFire Support Is A Go (Mostly)!
« Reply #4 on: August 28, 2009, 08:43:11 pm »
Now just needs to support screenshots and video then it will be awesome :)

It supports screenshots and video. :)

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: XFire Support Is A Go (Mostly)!
« Reply #5 on: August 28, 2009, 09:27:33 pm »
Chris: The menus (main menu, campaign setup, etc) are drawn on top on the XFire window, anything that can be done there?

Unfortunately, no -- the menus and such are GDI, versus they are hooking into the Direct3D windows.  There's no way to blend the two modes more than what I am doing, they are like entirely different windows on your desktop in that sense.  So I would expect drawbacks like that, but it's only with the lobby and main menu that this would mostly be an issue.  During gameplay it should be fine, there's no GDI unless you hit Escape or bring up the Stats window.

Similarly, tooltips are still displayed as the mouse pointer moves around the XFire overlay. There's also an issue with the overlay suddenly disappearing during campaigns, which may well also be related to the way that many windows in AI War still seem to be accessible when the overlay is active.

I don't know what would cause that.  Does it still happen in 1.201F?  When the overlay is up, is the game supposed to not be accesible?  I would presume that the GDI windows would not be affected by whatever they are doing, but that the Direct3D parts would be, so most likely that is what you are seeing.

EDIT: Excellent news! The hooks catch every time on version 1.201F, just 1.013 that has that problem it seems.

XFire only fails to hook if you start a campaign, then quit the game. XFire will hook each time without fail if you don't progress beyond the menus. If you wait approximately 3 minutes before relaunching the game the hooks will again catch.

That is strange indeed.  Does it still miss catching when you load a savegame, or just after you start a new campaign?  It might be that it is getting thrown off by the second Direct3D window that is in the lobby, trying to hook into that in addition to the main hook.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Revenantus

  • Arcen Games Staff
  • Hero Member Mark III
  • *****
  • Posts: 1,063
Re: XFire Support Is A Go (Mostly)!
« Reply #6 on: August 28, 2009, 09:42:18 pm »
Chris: The menus (main menu, campaign setup, etc) are drawn on top on the XFire window, anything that can be done there?

Unfortunately, no -- the menus and such are GDI, versus they are hooking into the Direct3D windows.  There's no way to blend the two modes more than what I am doing, they are like entirely different windows on your desktop in that sense.  So I would expect drawbacks like that, but it's only with the lobby and main menu that this would mostly be an issue.  During gameplay it should be fine, there's no GDI unless you hit Escape or bring up the Stats window.

Similarly, tooltips are still displayed as the mouse pointer moves around the XFire overlay. There's also an issue with the overlay suddenly disappearing during campaigns, which may well also be related to the way that many windows in AI War still seem to be accessible when the overlay is active.

I don't know what would cause that.  Does it still happen in 1.201F?  When the overlay is up, is the game supposed to not be accesible?  I would presume that the GDI windows would not be affected by whatever they are doing, but that the Direct3D parts would be, so most likely that is what you are seeing.

The menus are an unfortunate issue but not overly dire - the tooltips displayed by the menus were the problem as they occlude the mouse pointer, the unit tooltips however are fine, nothing more to look at here then.

The game is meant to be accessible through the overlay, yes.

EDIT: Excellent news! The hooks catch every time on version 1.201F, just 1.013 that has that problem it seems.

XFire only fails to hook if you start a campaign, then quit the game. XFire will hook each time without fail if you don't progress beyond the menus. If you wait approximately 3 minutes before relaunching the game the hooks will again catch.

That is strange indeed.  Does it still miss catching when you load a savegame, or just after you start a new campaign?  It might be that it is getting thrown off by the second Direct3D window that is in the lobby, trying to hook into that in addition to the main hook.

Seems you nailed it, if I load a save game, then quit the game, then relaunch, the hooks catch as expected. The hooks only fail to catch on relaunch if I quit the game after accessing the campaign setup menu.
« Last Edit: August 28, 2009, 10:18:14 pm by Revenantus »

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: XFire Support Is A Go (Mostly)!
« Reply #7 on: August 28, 2009, 09:43:31 pm »
Okay -- I will follow up with them and ask if there is something that can be changed in a settings option on their side, or some sort of setting on my side.  I'll also let them know about the 3 minute timeout thing you found, in case that helps.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Revenantus

  • Arcen Games Staff
  • Hero Member Mark III
  • *****
  • Posts: 1,063
Re: XFire Support Is A Go (Mostly)!
« Reply #8 on: August 28, 2009, 09:46:42 pm »
All the problems are caused by the campaign lobby, if I load a save game instead of creating a new game then the overlay does not suddenly disappear at random intervals either. Once that's solved you should have your full Xfire support. :)

There is now an AI War: Fleet Command XFire Chat Room with the name, 'AIWar'.
« Last Edit: August 28, 2009, 10:25:50 pm by Revenantus »

Offline Echo35

  • Master Member Mark II
  • *****
  • Posts: 1,703
  • More turrets! MORE TURRETS!
Re: XFire Support Is A Go (Mostly)!
« Reply #9 on: August 28, 2009, 11:06:34 pm »
Chris: The menus (main menu, campaign setup, etc) are drawn on top on the XFire window, anything that can be done there?

That happens with Steam also, but only during the main menu and lobby, so I don't imagine its a too big deal.

Offline tals

  • Jr. Member Mark III
  • **
  • Posts: 97
Re: XFire Support Is A Go (Mostly)!
« Reply #10 on: August 29, 2009, 01:59:53 am »
Now just needs to support screenshots and video then it will be awesome :)

It supports screenshots and video. :)

I should have read the original message about uncommenting both lines :) Just tried it,

Sweet, ok uploaded a video to test (scroll lock v). Interestingly the tutorial menu doesn't show



Broadcast (scrolllock b)  appears to work - need to test that properly as well

Offline tals

  • Jr. Member Mark III
  • **
  • Posts: 97
Re: XFire Support Is A Go (Mostly)!
« Reply #11 on: August 29, 2009, 04:25:27 am »
OK I've spotted some strange behaviour on the hosting screen - may not totally be xfire.

With xfire on if you go into the hosting screen and start hovering over your unique ships then change from 80 planets to 40 hover around again and then back. On version E I got an unhandled exception - which I have attached. On F I haven't yet got that but the game would go to a crawl. Looking at the memory then AI was taking up over a Gb and xfire 1/2 gb.

need to do some more testing but have to go out but looks like something strange is occuring

Tals


Offline Quitch

  • Full Member Mark II
  • ***
  • Posts: 154
Re: XFire Support Is A Go (Mostly)!
« Reply #12 on: August 29, 2009, 06:28:22 am »
Wouldn't the "Install location registry keys" be an easy first fix? It won't detect a Stardock copy for example because that gets installed under %programfiles%\Indie Games\AI War

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: XFire Support Is A Go (Mostly)!
« Reply #13 on: August 29, 2009, 10:19:03 am »
Wouldn't the "Install location registry keys" be an easy first fix? It won't detect a Stardock copy for example because that gets installed under %programfiles%\Indie Games\AI War

Good point:  http://arcengames.com/forums/index.php/topic,1063.0.html
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: XFire Support Is A Go (Mostly)!
« Reply #14 on: August 29, 2009, 10:20:08 am »
OK I've spotted some strange behaviour on the hosting screen - may not totally be xfire.

With xfire on if you go into the hosting screen and start hovering over your unique ships then change from 80 planets to 40 hover around again and then back. On version E I got an unhandled exception - which I have attached. On F I haven't yet got that but the game would go to a crawl. Looking at the memory then AI was taking up over a Gb and xfire 1/2 gb.

need to do some more testing but have to go out but looks like something strange is occuring

Tals



Thanks.  Added to my list:  http://arcengames.com/forums/index.php/board,16.0.html
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!