greenheartgames / greenworks

a node.js plugin to integrate nw.js/electron games with steamworks
MIT License
1.49k stars 154 forks source link

Greenworks module cannot be found, but file is in the correct location #62

Closed ghost closed 9 years ago

ghost commented 9 years ago

Copy & paste from a closed topic (I didn't realize it was closed when I posted, sorry):

https://github.com/greenheartgames/greenworks/issues/26

I have the same problem. I'm using RPG Maker MV's internal NW build that creates a Game.exe. I copied ALL Steam SDK files and renamed Game.exe into nw.exe but it doesn't help.

image image image image image

ghost commented 9 years ago

PS: Do I need to donate for support or does that come after receiving it? :)

patrickklug commented 9 years ago

Greenworks is built for a very specific version of nw.exe - As a first step, I'd confirm which version gamemaker uses and then check if you are using the correct greenworks release.

Greenworks is an open source project and generally we don't offer paid support. Donations are of course welcome but go towards further feature development.

patrickklug commented 9 years ago

The exe file also needs to be called nw.exe, otherwise this will not work but I think you might also have a version mismatch.

ghost commented 9 years ago

Hey Patrick!

Thank you very much for the reply. I did rename Game.exe to nw.exe but after I took the screenshots.

I just retrieved version info. I believe it's 0.12.13? But I can't find a Greenworks release for this?

image

patrickklug commented 9 years ago

yea, the last version we have a release for is 0.12.1

We have to manually build those, so it's not practical to build a release for every minor version.

You might be able to just exchange the node-webkit version in your release to a supported one. Alternatively, you could also build greenworks yourself.

ghost commented 9 years ago

Awesome, simply replacing the nw files with 0.12.1 fixed it! Thank you for the help. :) Now to try and get these calls to work~~

patrickklug commented 9 years ago

great to hear. Good luck with it and don't forget to add your project here, once it's available on steam:

https://github.com/greenheartgames/greenworks/wiki/Apps-games-using-greenworks

ghost commented 9 years ago

If I could sneak one more question in... I seem to have trouble getting the actual achievement call to work.

image

image

image

ghost commented 9 years ago

Eek, just too late for closing. Haha.

I will! ^_^ We're releasing next month.

greenworks.getAchievementNames() works just fine, as you can see. Am I using the unlock call incorrectly?

alert(greenworks.getAchievementNames());

image