Steam Achievements Issues...

@awakecore I posted before I used nw.js 0.86, well, which is a few months older than current 0.89.

@TheRealFame That was a bug you need to fix before you release the game. You may have noticed if you ran an rmmv game before, your window icon changes to that game's if you don't provide a name in package.json.
@awakecore I posted before I used nw.js 0.86, well, which is a few months older than current 0.89.

@TheRealFame That was a bug you need to fix before you release the game. You may have noticed if you ran an rmmv game before, your window icon changes to that game's if you don't provide a name in package.json.
1723824233380.png
Well, I'll try your version for fun. I think i may stick with nwjs 59 which i'm on. If none of this works..

Thinking at this point, The version of the steam api you use, Is the reason why things are working. So i won't try going that high.

1723826850000.png

NWJS 0.64.1 now. This uses steam api 1.5.8, Similar to what your's should be using. I may actually have to upgrade fully to what you use- So, I'll try that, If that doesn't work. I'll go back down to 59 and conversate more to the plugin dev/forum.
@awakecore I posted before I used nw.js 0.86, well, which is a few months older than current 0.89.

@TheRealFame That was a bug you need to fix before you release the game. You may have noticed if you ran an rmmv game before, your window icon changes to that game's if you don't provide a name in package.json.
Okay, I upgraded to NW.js 0.86 as well as got all the current greenworks node and steam sdk files that were needed. and by changing the game's "package" file and inserting the project's name it allows me to run it! I even got to a point where i wont get an error with your .js code anymore! although there isn't much of a confirmation in the console either. which is what im curious ab, how did you check that achievements worked?
script im running:
Control-V (61).png

console response to said script: (aka, nothing)
Control-V (62).png
There should be a steam pop up telling you got an achievement, for the first time.
But it is still easy to fix. The editor has a bug that it doesn't fill the name field of package.json.
You just need to edit that file and the game should run.
View attachment 314780
It is required anyway otherwise if you have more than one MV games with the same name the icon may display wrongly.
For my case, This isn't working. It neither works both by using this in my game's directory (Which i have been doing.) Or using it in the playtest's directory.

1723836095122.png
There should be a steam pop up telling you got an achievement, for the first time.
ohh i had been testing it in RPGmakerMV's editor thinking the console would say something.
doing my own test build on steam got it to work!
1724000856015.png

@awakecore It seems the reason why it doesn't work in RMMV is because greenworks thinks you are playing RMMV. I guess that is because the process is started under RMMV.
I don't know if anyone has mentioned it before but it sounds familiar. :LZSlol:
View attachment 315039
@awakecore It seems the reason why it doesn't work in RMMV is because greenworks thinks you are playing RMMV. I guess that is because the process is started under RMMV.
I don't know if anyone has mentioned it before but it sounds familiar. :LZSlol:
yeah that's true. When the script actually works in MV's testing mode the console won't come up with any errors or success messages, which is a sign that it actually works! I got it resolved a few days ago thanks to this thread and your custom script ^^
yeah that's true. When the script actually works in MV's testing mode the console won't come up with any errors or success messages, which is a sign that it actually works! I got it resolved a few days ago thanks to this thread and your custom script ^^
Glad to see you solved this problem.
But I am still struggling...I used the plugin script offered by @utunnels,
and add a script in an event.
1735045431494.png


here are my staff versions:
1. nw.js v0.86
2.greenworks v0.16.0
3.steam sdk v1.59

when game starts, log shows:
Steam API initialized with achievements:
Array(0)

when click the event, log shows:
Achievement error: Achievement name is not valid.

Could you post the versions of all those things for a reference?
1. nw.js
2.greenworks
3.steam sdk
@SpicyA The versions you are using seem correct.
Did you launch the game using playtest? If so steam thinks you are playing RMMV instead of the game you are making. So it can't find the achievement.
If you want to test the achievement you need to launch it outside of MV and use a steam_appid.txt as it is mentioned in greenworks' document.
@SpicyA The versions you are using seem correct.
Did you launch the game using playtest? If so steam thinks you are playing RMMV instead of the game you are making. So it can't find the achievement.
If you want to test the achievement you need to launch it outside of MV and use a steam_appid.txt as it is mentioned in greenworks' document.
Cool, finally, it works.
I deployed the game and published on steam.
Then launch the game on steam.
Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/steam-achievements-issues.170975/