August 25, 2019, 04:57:44 AM

Author Topic: Steam module?  (Read 1373 times)

Offline LT

  • Jr. Member
  • **
  • Posts: 28
Steam module?
« on: May 31, 2018, 05:31:27 PM »
Is there an up-to-date Steam wrapper module available anywhere?  Just wanted to check before attempting to roll my own...

Offline MagosDomina

  • Full Member
  • ***
  • Posts: 121
    • Aspiring game developer website.
Re: Steam module?
« Reply #1 on: June 01, 2018, 01:40:28 AM »
There was one for Blitz basic. I can upload it for you if interested. I saved it for a future project.
Central hub for my Game Design related activities.
http://www.magosdomina.com/

Windows 7 PRO 64-bit, 48Gb RAM, CPU: Dual Hexacore Intel Xeon 3.33 GHZ, Nvidia Quadro 5800FX 4Gb x 2 SLI.

Offline LT

  • Jr. Member
  • **
  • Posts: 28
Re: Steam module?
« Reply #2 on: June 01, 2018, 05:36:08 AM »
Thanks, but not sure that would help.  I'm using BlitzMax.  Didn't even know it was possible to make a BlitzPlus wrapper for Steam.

Offline Derron

  • Hero Member
  • *****
  • Posts: 2337
Re: Steam module?
« Reply #3 on: June 01, 2018, 06:54:26 AM »
"blitzmax steam"-google search:
http://mojolabs.nz/posts.php?topic=104599


bye
Ron

Offline LT

  • Jr. Member
  • **
  • Posts: 28
Re: Steam module?
« Reply #4 on: June 01, 2018, 04:17:19 PM »
Thanks, Derron.  Is that it?  The zip is from 2010 and it looks like there's very little to it.

Offline Derron

  • Hero Member
  • *****
  • Posts: 2337
Re: Steam module?
« Reply #5 on: June 02, 2018, 06:37:42 AM »
Maybe do your google search ?

basic idea seems to be to use the steam SDK, export some functions in BlitzMax (to communicate to the SDK-functions) and this is it?


bye
Ron

Offline LT

  • Jr. Member
  • **
  • Posts: 28
Re: Steam module?
« Reply #6 on: June 02, 2018, 08:03:06 AM »
You honestly think I didn't check Google first, like this is my first day on the internet?

I remembered (perhaps, wrongly) seeing a post about someone (Brucey?) helping someone (Grey Alien?) with a Steam module and was wondering if that was available somewhere.  I thought there was more to it then dropping a .dll and wrapping a few functions, or I wouldn't have bothered asking.

Offline Derron

  • Hero Member
  • *****
  • Posts: 2337
Re: Steam module?
« Reply #7 on: June 02, 2018, 08:56:05 AM »
You honestly think I didn't check Google first, like this is my first day on the internet?

Yes - I get used to people asking in forums first rather than doing a bing/duckduckgo/google search in advance. Similar to people doing full quotes and the likes.


And yes, it sounds as if it is just wrapping functions and calling them approbriately.


bye
Ron

Offline Brucey

  • Jr. Member
  • **
  • Posts: 83
Re: Steam module?
« Reply #8 on: May 16, 2019, 05:39:59 PM »
I'm currently working on a Steam module for BlitzMax NG.

If anyone has any thoughts as to which parts of the Steam SDK are more important than others, I can prioritise better. I'm currently implementing ISteamUserStats which has all the achievements/leaderboard stuff in it.

I'm heading towards supporting only 64-bit at the moment - because it seems that everything (surprisingly) *just works* with GCC and the 64-bit Windows Steam SDK so far...

Steam is full-on callback/async which makes wrapping it... interesting :-)

Offline Derron

  • Hero Member
  • *****
  • Posts: 2337
Re: Steam module?
« Reply #9 on: May 16, 2019, 06:41:04 PM »
Dunno which parts it offers but I assume this has priority:
- user interaction (highscores, achievements)
- inapp purchases (monetarization)

So at the end just what the majority of the steam users expect (am not a steam user, no account there).


bye
Ron

Offline therevills

  • Hero Member
  • *****
  • Posts: 560
Re: Steam module?
« Reply #10 on: May 17, 2019, 01:35:43 AM »
I'm currently working on a Steam module for BlitzMax NG.

Cool!  8)

Achievement and leader-boards are the big ones.

Offline Brucey

  • Jr. Member
  • **
  • Posts: 83
Re: Steam module?
« Reply #11 on: May 22, 2019, 05:29:54 PM »
If someone can have a look over the module, that would be great thanks : https://github.com/bmx-ng/steam.mod
64-bit Windows/Linux only for the moment. Once I get some time to sit down at my Mac, I'll make sure that is working too.

I've only implemented SteamUtils and SteamUserStats interfaces for now. That seems to cover the more popular use cases.
Introduction documentation needs done, but the core docs are pretty much complete, I think.

I'm also considering shipping it with future BlitzMaxNG releases, since everyone keeps telling me BlitzMax is for games programming, and it might encourage developers to try out Steam if the module is included as part of the main bundle.

If anyone has problems, or would like more APIs implemented, feel free to raise an issue on github.