Author Topic: Steam Wrapper?  (Read 6575 times)

Offline RCIX

  • Core Member Mark II
  • *****
  • Posts: 2,808
  • Avatar credit goes to Spookypatrol on League forum
Steam Wrapper?
« on: July 24, 2010, 11:32:00 pm »
I'm writing a game to hopefully sell to steam, and i heard that there's no managed API for steam functions. Is this true? if so, how did you do it? If you don't mind telling that is :)
Avid League player and apparently back from the dead!

If we weren't going for your money, you wouldn't have gotten as much value for it!

Oh, wait... *causation loop detonates*

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Steam Wrapper?
« Reply #1 on: August 06, 2010, 08:17:43 am »
Unfortunately, we are under strict NDA and so can't discuss much here. If you do get a distribution agreement with Steam, feel free to shoot ms an email and I'll be happy to share code, though. What I can tell you without breaching the NDA is that I did indeed write a wrapper dll in c++, and then I used pinvoke to access it. Since it's a c++ API, it has all the features you'd expect there: header files, callbacks, etc. That would be very difficult to code to directly from pinvoke, so writing a small c++ wrapper was a way for me to actually substantially simplify the interface from the main game code.

Hope that helps! That's about as much as I can say.
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 keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: Steam Wrapper?
« Reply #2 on: August 06, 2010, 08:30:48 am »
Another way of putting it is: don't worry, it'll work :)
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: Steam Wrapper?
« Reply #3 on: August 06, 2010, 08:35:19 am »
Yes. I can also safely say that it's quite a good API, and despite the fact that I hate c++ as a general rule, I like this.
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 RCIX

  • Core Member Mark II
  • *****
  • Posts: 2,808
  • Avatar credit goes to Spookypatrol on League forum
Re: Steam Wrapper?
« Reply #4 on: August 06, 2010, 01:07:43 pm »
Ok, that's all i needed to know right now. Thanks!
Avid League player and apparently back from the dead!

If we weren't going for your money, you wouldn't have gotten as much value for it!

Oh, wait... *causation loop detonates*

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Steam Wrapper?
« Reply #5 on: August 06, 2010, 03:05:06 pm »
You bet!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!