Note: This forum is merely an archive. It is no longer possible to register or post. - StackOverflow
New Ace of Spades Forums: http://buildandshoot.com/

Steam integrating.

Got a great new idea for the game?

Steam integrating.

Postby Reriiru » Sat Feb 11, 2012 8:55 am

Hello, people. I just want to know whould there be any possible way to make this game steam-friendly. I don't need a steam powered server list ( whould be nice, but hard to make), i just need overlay to invite my friends to play. Manually (by asking, lol). Also screenshots. Maybe any addon or somthenig? Also whould there be any changes in network code? Like integrating server list in game whould be really nice and problem-solving.
I am russian brony and warhammer-fag. I also have bad case of "Why doesn't this crap works like it suppoused to?". Deal with it.
User avatar
Reriiru
Member
 
Posts: 38
Joined: Sat Feb 11, 2012 8:37 am

Re: Steam integrating.

Postby Gorman » Sat Feb 11, 2012 9:04 am

Add the game to steam by clicking the "Add non-steam game to steam" button, you can then use the overlay (if not in this version then definitely in the OpenGL version).

Steam version would be great, but I'm not sure that it is possible yet due to the nature of the current engine. Next version maybe.
Image
User avatar
Gorman
[LDR] Member
 
Posts: 1170
Joined: Sat Dec 10, 2011 9:10 pm

Re: Steam integrating.

Postby Reriiru » Sat Feb 11, 2012 9:07 am

Well the point is i dont know what to ad as non-steam game, lol. I can't run the clien in steam bassically, and server list is just browser page. Am i retarded?
I am russian brony and warhammer-fag. I also have bad case of "Why doesn't this crap works like it suppoused to?". Deal with it.
User avatar
Reriiru
Member
 
Posts: 38
Joined: Sat Feb 11, 2012 8:37 am

Re: Steam integrating.

Postby Gorman » Sun Feb 12, 2012 10:38 am

I see the problem :P

Well, the solution is a little complex so only attempt it if you are confident;
1. Add client.exe to Steam as a non-steam app
2. Right click on it in your games list and go to properties, and rename it to Ace of Spades
2. Right click on it again and create desktop shortcut
3. Run "Regedit" and locate HKEY_CLASSES_ROOT\aos\shell\open\command
4. There should be an entry with a value like "C:\Ace of Spades\client.exe" "%1"
5. Go to the shortcut you created on your desktop and right click on it and go to properties. Copy the URL (mine was "steam://rungameid/12382643318608101376" but yours is probably different)
6. Paste the steam URL in to where the C:\... is in the other string, my final version is "steam://rungameid/12382643318608101376" "%1"
7. Press OK, it should now launch aos:// links with Steam!


EDIT: Ok, turns out you need to do a bit more than this in step 6, since this is not a command that can be run via console.

Alternately edit the path of the game in steam from ""C:\Ace of Spades\client.exe"" to ""C:\Ace of Spades\client.exe" SERVERADDRESS"

<+Zafpyr> that would mean joining the same server over and over untill you can be bothered to edit it again
<+Gorman> Zafpyr well just write a program that takes the server string as an argument and then edits the shortcut and launches it :P
Image
User avatar
Gorman
[LDR] Member
 
Posts: 1170
Joined: Sat Dec 10, 2011 9:10 pm

Re: Steam integrating.

Postby Reriiru » Sun Feb 12, 2012 5:12 pm

Thank ya. But it does not helps - i have no .aos branch in reg, and also when i try to get server adress to steam and the only thing steam does when i am starting game is opening the folder of game. Sadface. This is what my string on steam shortcut is - ""E:\games\AOS\client.exe" aos://3501936562". Maybe i am doing it wrong? I also use mozila, if it does solves something.
I am russian brony and warhammer-fag. I also have bad case of "Why doesn't this crap works like it suppoused to?". Deal with it.
User avatar
Reriiru
Member
 
Posts: 38
Joined: Sat Feb 11, 2012 8:37 am

Re: Steam integrating.

Postby Gorman » Mon Feb 13, 2012 4:13 am

Not sure why that doesn't work for you, perhaps try
"E:\games\AOS\client.exe aos://3501936562"
Image
User avatar
Gorman
[LDR] Member
 
Posts: 1170
Joined: Sat Dec 10, 2011 9:10 pm

Re: Steam integrating.

Postby Reriiru » Mon Feb 13, 2012 4:16 am

Gorman wrote:Not sure why that doesn't work for you, perhaps try
"E:\games\AOS\client.exe aos://3501936562"

I'v tried. It does not works.
I am russian brony and warhammer-fag. I also have bad case of "Why doesn't this crap works like it suppoused to?". Deal with it.
User avatar
Reriiru
Member
 
Posts: 38
Joined: Sat Feb 11, 2012 8:37 am

Re: Steam integrating.

Postby Gorman » Mon Feb 13, 2012 4:23 am

Weird!

Try opening the command prompt (Windows key + r then type cmd and hit enter) and put in "E:\games\AOS\client.exe aos://3501936562" and see if it works.

You are putting this in the "Path" of the steam shortcut right?


EDIT: I put my Path in as
"C:\Ace of Spades\client.exe" aos://3501936562
and it worked perfectly. Your browser will make no difference to this
Image
User avatar
Gorman
[LDR] Member
 
Posts: 1170
Joined: Sat Dec 10, 2011 9:10 pm

Re: Steam integrating.

Postby Reriiru » Mon Feb 13, 2012 4:32 am

Gorman wrote:Weird!

Try opening the command prompt (Windows key + r then type cmd and hit enter) and put in "E:\games\AOS\client.exe aos://3501936562" and see if it works.

You are putting this in the "Path" of the steam shortcut right?

Meh. It does KINDA works. This is what i get when trying to connect to the any server:
Image
And i can log in without steam. the link is copied right. Maybe i should use server's ip?
Also i use Windows XP SP3. And does [spoiler] works?
I am russian brony and warhammer-fag. I also have bad case of "Why doesn't this crap works like it suppoused to?". Deal with it.
User avatar
Reriiru
Member
 
Posts: 38
Joined: Sat Feb 11, 2012 8:37 am

Re: Steam integrating.

Postby Gorman » Mon Feb 13, 2012 9:56 am

Nah admins said no to adding [spolier] :/

How unusual, perhaps the aos:// link is not being passed properly then. But that isn't the message that is shown when nothing is passed. I wonder if you have to omit the aos:// part (I did a bunch of testing on another computer when I built my launcher but I don't have access to that and I forgot...).

Well I guess for now I can't help more than that ;/
Image
User avatar
Gorman
[LDR] Member
 
Posts: 1170
Joined: Sat Dec 10, 2011 9:10 pm

Re: Steam integrating.

Postby Reriiru » Mon Feb 13, 2012 10:06 am

Gorman wrote:Nah admins said no to adding [spolier] :/

How unusual, perhaps the aos:// link is not being passed properly then. But that isn't the message that is shown when nothing is passed. I wonder if you have to omit the aos:// part (I did a bunch of testing on another computer when I built my launcher but I don't have access to that and I forgot...).

Well I guess for now I can't help more than that ;/

Ah for god's sake. Why doesn't it works only for me? Without aos:// it does just running the client. Can you give me .reg file with .aos branch? I whould also like you to edit it for my directory, but that's completely optional ^^.
I am russian brony and warhammer-fag. I also have bad case of "Why doesn't this crap works like it suppoused to?". Deal with it.
User avatar
Reriiru
Member
 
Posts: 38
Joined: Sat Feb 11, 2012 8:37 am


Return to Game



Who is online

Users browsing this forum: No registered users and 1 guest

cron