Steam Achievements - THE BIGGEST CHALLENGE!

Hi all 🙂

I'm trying (really hard) to get Steam achievments work for me, over a week with many hours everyday, and I'm still not there.

I've followed this guide for NekoGauken plugin:

Tried it step by step, tried again and again and again, but even though I get Steam overlay to show, and I did make sure achievements on steam or defined properly, the achievements won't show up in my demo while testing :/

Problem is -

Most guides out there are for MV, only few for MZ, mostly outdated.
At this point, even if I get it only on Windows, I'd be happy (trying to get it for both windows & mac).

Creating a game is so far an amazing experience, but getting Steam Achievements to work turned out to be an unbelivable challenge, and a frustrating process.

Any chance you know what is the guide I should refer to? How to I solve this?


Many thanks!
I don't think there's any difference between MV and MZ on this. Except different NWjs versions.

You can try this minimal setup. No other plugins are required, but you need to put greenworks and sdk files in right places.

Save it as a plugin.
JavaScript:
var greenworks = null;
 try{
   greenworks = require('./greenworks');
   greenworks.init();
 }catch(ex){
   console.log(ex);
    greenworks = null;
 };
 function ActiveAchievement(achievement, success_callback, error_callback){
   try{
    success_callback = success_callback||function(){};
    error_callback = error_callback||function(){};
     greenworks.activateAchievement(achievement, success_callback, error_callback);
   }catch(ex){
     console.log('failed to active achievement: ', achievement);
     console.log(ex);
   }
 }

Call this script to active an achievement.
ActiveAchievement('YOUR_ACHIEVEMENT_NAME')
I don't think there's any difference between MV and MZ on this. Except different NWjs versions.

You can try this minimal setup. No other plugins are required, but you need to put greenworks and sdk files in right places.

Save it as a plugin.
JavaScript:
var greenworks = null;
 try{
   greenworks = require('./greenworks');
   greenworks.init();
 }catch(ex){
   console.log(ex);
    greenworks = null;
 };
 function ActiveAchievement(achievement, success_callback, error_callback){
   try{
    success_callback = success_callback||function(){};
    error_callback = error_callback||function(){};
     greenworks.activateAchievement(achievement, success_callback, error_callback);
   }catch(ex){
     console.log('failed to active achievement: ', achievement);
     console.log(ex);
   }
 }

Call this script to active an achievement.
ActiveAchievement('YOUR_ACHIEVEMENT_NAME')

Thank you for your reply 🙂
I will defiantly try it!

Do you know by any chance what versions of NWjs, greenworks and sdk I should use?

From what I read online, getting the wrong versions are the most common issue for devs.
As new as your plugins are compatible I think.
The newest greenworks v1.19.0 is for NW.js v0.94.0 and Steam SDK 1.61
So if your game works on newest version, it is all good.

Some guide may recommend NW.js v0.49.2 like this one:

But it is difficult to download the correct files for that version.
You can buy or get the free demo of the author's game on steam and use his files.
I think it is perfect fine because he used the files for his guide. lol
As new as your plugins are compatible I think.
The newest greenworks v1.19.0 is for NW.js v0.94.0 and Steam SDK 1.61
So if your game works on newest version, it is all good.

Some guide may recommend NW.js v0.49.2 like this one:

But it is difficult to download the correct files for that version.
You can buy or get the free demo of the author's game on steam and use his files.
I think it is perfect fine because he used the files for his guide. lol

Thank you very very much 🙂

Original thread: https://forums.rpgmakerweb.com/threads/steam-achievements-the-biggest-challenge.176311/