Steamworks (steamwrap)

Denver2003

  • *
  • Posts: 19
I don't know what you mean, but achievements works fine in my game. On all platforms!
If you launch the game directly from steam, everything works well and achievement window appears on top. 

rob1221

  • *
  • Posts: 9247
Is that using your extension or mine?  Since there are some changes needed to make the default Steamwrap work I need to make sure I did everything correctly.  I tested outside of Steam but with the Steam client running.  It works on Windows and I was assuming it would work on Mac too, but it doesn't.

Denver2003

  • *
  • Posts: 19
Check existing files libsteam_api.dylib and  steamwrap.dll in .app directory
I used steamwrap from git, but i added 2 helpful functions(SteamWrap_IsSubscribed and SteamWrap_GetAccountID).

rob1221

  • *
  • Posts: 9247
You mean steamwrap.ndll?  I confirmed both that and the dylib are inside the .app where they should be in Contents/MacOS.  Maybe there's just something wrong with my old VM or maybe it just doesn't work properly from within a VM.  I don't have a physical Mac and Macincloud doesn't have Steam installed, so I can't fully test the extension myself.

Denver2003

  • *
  • Posts: 19
Yes, steamwrap.ndll. Why do you think that achievements don't work on mac?  You can try my version of steamwork libs. It works fine for me on all platforms. You just need to set up it for your game.

rob1221

  • *
  • Posts: 9247
The achievement popup didn't show for me even after clearing it, but it did on Windows.  I'll just finish up the extension blocks and post it with the assumption that everything should work but has not been fully tested.

Denver2003

  • *
  • Posts: 19
The achievement popup will show when you run game directly from steam only!!!

Denver2003

  • *
  • Posts: 19
Use my version of steamwrap! SteamWrap_IsSubscribed is very helpful function for protect the game!
And you can use SteamWrap_GetAccountID function for saves of different users!
If you need to use other steam functions i can add it to steamwrap.

rob1221

  • *
  • Posts: 9247
Quote
The achievement popup will show when you run game directly from steam only!!!
In Windows I can get the popups outside of Steam as long as the Steam client is running, so I assumed the same was true for Mac.

Quote
Use my version of steamwrap!
OK, I'll merge the extensions together so we can have my block additions as well as your code changes.

Quote
SteamWrap_IsSubscribed is very helpful function for protect the game!
What does it do?

Denver2003

  • *
  • Posts: 19
SteamWrap_IsSubscribed will return true if user have bought the game in steam

rob1221

  • *
  • Posts: 9247
The main extension thread is up now, so I'll lock this one.
http://community.stencyl.com/index.php/topic,47705.0.html