Author Topic: PLUGIN: AGSGalaxy - GOG Galaxy achievements!  (Read 3214 times)

monkey0506

  • SEND PIZZA.
    • Best Innovation Award Winner 2017, for his work to help AGS games reach the widest possible audience - through popular distribution platforms (Steam, Galaxy) as well as other operating systems (Android, Linux)
PLUGIN: AGSGalaxy - GOG Galaxy achievements!
« on: 05 Jan 2016, 01:58 »
The AGSGalaxy plugin: GOG Galaxy stats, achievements, and leaderboards for AGS!

FULL source code is available, as GOG Galaxy API is open-source (er... not strictly licensed? I don't seem to actually find the full source code for the API or client anywhere, but it definitely isn't licensed in a closed-source fashion)!

Download (see this post in deciding which version to download)


Cheers! 8-) For an example, please check out the Steam+Galaxy project.
« Last Edit: 12 Jan 2016, 19:50 by monkey0506 »

Monsieur OUXX

  • Mittens Half Initiate
    • I can help with proof reading
    • I can help with translating
    • I can help with voice acting
Re: PLUGIN: AGSGalaxy - GOG Galaxy achievements!
« Reply #1 on: 05 Jan 2016, 15:54 »
NICE.
 

monkey0506

  • SEND PIZZA.
    • Best Innovation Award Winner 2017, for his work to help AGS games reach the widest possible audience - through popular distribution platforms (Steam, Galaxy) as well as other operating systems (Android, Linux)
Re: PLUGIN: AGSGalaxy - GOG Galaxy achievements!
« Reply #2 on: 09 Jan 2016, 03:25 »
Latest binaries are up with some significant changes. First of all, the plugin is now feature-complete with stats and leaderboards! := AGSGalaxy also now supports unified builds by default (agsgalaxy.dll). If you want to continue using the Galaxy-specific struct name of "AGSGalaxy" in your game scripts, feel free to use the "disjoint" plugin (agsgalaxy-disjoint.dll) instead. All this really changes is how you call the Galaxy functions, but the two versions (unified and disjoint) generally shouldn't be used together (theoretically they won't conflict, but there's just no reason to have both since they do the same thing).

Blackthorne

  • Infamous Quests
    • Blackthorne worked on a game that won an AGS Award!
    •  
    • Blackthorne worked on a game that was nominated for an AGS Award!
Re: PLUGIN: AGSGalaxy - GOG Galaxy achievements!
« Reply #3 on: 12 Jan 2016, 15:25 »
Woo hoo!  Thank you again, sir!!

Bt
-----------------------------------
"Enjoy Every Sandwich" - Warren Zevon

http://www.infamous-quests.com

Re: PLUGIN: AGSGalaxy - GOG Galaxy achievements!
« Reply #4 on: 12 Jan 2016, 15:35 »
Not that im a big fan of achievements, but yeah i just love GOG
so thumps up from me ;)
<iframe src="https://itch.io/embed/42168?linkback=true" width="552" height="167" frameborder="0"></iframe>

Dave Gilbert

  • Mittens Vassal
  • Hi. Our names are FRIGGING ADORABLE.
    • Lifetime Achievement Award Winner
    • Dave Gilbert worked on a game that won an AGS Award!
    •  
    • Dave Gilbert worked on a game that was nominated for an AGS Award!
Re: PLUGIN: AGSGalaxy - GOG Galaxy achievements!
« Reply #5 on: 13 Jan 2016, 15:54 »
Oh. YES. My contact at GoG will be quite happy. :)

monkey0506

  • SEND PIZZA.
    • Best Innovation Award Winner 2017, for his work to help AGS games reach the widest possible audience - through popular distribution platforms (Steam, Galaxy) as well as other operating systems (Android, Linux)
Re: PLUGIN: AGSGalaxy - GOG Galaxy achievements!
« Reply #6 on: 16 Jan 2016, 08:33 »
Just a head's up on the plugin binaries I've provided... The Windows DLLs were built with Visual Studio 2015, which means that you (and anyone playing your game) must have the Visual C++ 2015 Redistributable installed. This is a one-time installation that will become more common, but may not (as yet) be a "common" installation. I have been trying to better assess whether I need to downgrade the project files and rebuild with an earlier version of Visual Studio (if you know or have advice what the "best practice" here should be, please let me know!).

Dave Gilbert

  • Mittens Vassal
  • Hi. Our names are FRIGGING ADORABLE.
    • Lifetime Achievement Award Winner
    • Dave Gilbert worked on a game that won an AGS Award!
    •  
    • Dave Gilbert worked on a game that was nominated for an AGS Award!
Re: PLUGIN: AGSGalaxy - GOG Galaxy achievements!
« Reply #7 on: 16 Jan 2016, 13:06 »
So what happens if the user doesn't have that installed? Do the achievements just not work, or does the player get an error/crash? If the achievements don't work that's not the end of the world, but if it breaks the game then that is problematic.

Do more modern computers come with that installed already? If so, just how common is it (computers within the last 5 years? 10?) Needing GOG users to download and install another piece of software is a lot to ask of them, so if you could rebuild it with an earlier version that would probably be for the best.

monkey0506

  • SEND PIZZA.
    • Best Innovation Award Winner 2017, for his work to help AGS games reach the widest possible audience - through popular distribution platforms (Steam, Galaxy) as well as other operating systems (Android, Linux)
Re: PLUGIN: AGSGalaxy - GOG Galaxy achievements!
« Reply #8 on: 16 Jan 2016, 15:42 »
It's really kind of a crap-shoot as to whether the user has any given C++ runtime installed, but I could say at least that the 2008 runtime is very common and required to run the engine, so that's probably a safe bet. There appears to be a "universal" runtime that can be distributed as an additional DLL file, though I'm not clear on exactly how that works... I'd rather use that option than revert to an older Visual Studio, but 2008 is a good fallback plan. I'll look into these options and update the plugin builds soon.

Re: PLUGIN: AGSGalaxy - GOG Galaxy achievements!
« Reply #9 on: 01 Aug 2016, 16:57 »
It's really kind of a crap-shoot as to whether the user has any given C++ runtime installed, but I could say at least that the 2008 runtime is very common and required to run the engine
I know this is 6 months old, but still want to clarify just in case: AGS engine does NOT require VC Redist, because it has VC libs statically linked. This is why you don't usually need anything extra installed to run the games.