Experimental Greenworks plugin

    OK, got the overlay to inject, it shows FPS in the corner and the little popup to "press shift+tab" to open appears.

    But shift + tab doesn't work automatically. Do I have to detect it and do something?

    I tried binding a keypress to open "friends" and got the screen to appear. But I can't close the overlay.

    There's an "on overlay deactivated"...

    Please help.

    UPDATE I got overlay working properly for windows!

    I used sdk 136 / node 0.15

    minify off

    put steam dll in the package.nw file

    put api text file in the directory with nw.exe

    Needed to add the " --in-process-gpu" option to \Construct2\Construct2-Win64\exporters\html5\nwjs\package-win.json chromium-args line.

    Now shift+tab works to bring up overlay and mouse works inside the overlay.

    UPDATE 2 F12!

    So F12 brings up the chrome debugging tools! Didn't know that! So if someone tries to take a screenshot they also get the debug tools.

    Solution is to have an event (on key pressed) that captures F12 but don't do anything inside it. Make sure that event is in every layout.

    I tried sdk 136 / node 0.15

    but it doesn't work. A prompt pops up saying It failed to load when I try to run 64bit build through steam.

    I'm using windows Vista 64bit sp2

    I did everything as was outlined, but doesn't seem to work. Doesn't work for 32bit, but the game does run through steam. The 64bit runs if I don't use steam. I even tried that in-process-gpu thing, but didn't help.

    Prominent

    Hummm...

    Did you make sure to put steam_api.dll in the package.nw zip? And steam_api64.dll in the 64 bit build?

    The steam_appid.txt doesn't go in the zip (I made that mistake), it goes in the directory with nw.exe (also must keep your exe named nw.exe).

    Don't use minify when you build.

    Without seeing your files, not sure I have any other suggestions.

    , yes, I did all that.

    I tried the 32bit build, and it runs through steam, but no steam overlay.

    64bit build just crashes immediately if run through steam.

    edit:turns out it happens without greenworks.. so my issue isn't related to this plugin.

    I've tried multiple times but keep getting a blackscreen, even when uploaded to Steam, anyone know why?

    As soon as the exe opens it's just a blackscreen.

    Here are things I've done:

    • Construct 233
    • NJWS 0.15
    • Placed the Greenworks plugin (greenworks-0.15.0.c2addon) inside my project.
    • Exported without minify (and tried with)
    • I use the 32bit build
    • created a file called steam_appid.txt in the directory with the app ID
    • placed a file called steam_api.dll inside the package.zip then renamed it to package.nw
    • The exe file is still called nw.exe
    • I open the exe in my folder and then try uploading to steam but it just gives blackscreen

    I've tried multiple times but keep getting a blackscreen, even when uploaded to Steam, anyone know why?

    As soon as the exe opens it's just a blackscreen.

    Here are things I've done:

    • Construct 233
    • NJWS 0.15
    • Placed the Greenworks plugin (greenworks-0.15.0.c2addon) inside my project.
    • Exported without minify (and tried with)
    • I use the 32bit build
    • created a file called steam_appid.txt in the directory with the app ID
    • placed a file called steam_api.dll inside the package.zip then renamed it to package.nw
    • The exe file is still called nw.exe
    • I open the exe in my folder and then try uploading to steam but it just gives blackscreen

    does it say anything in the debug console if you hit f12?

    UPDATE 2 F12!

    So F12 brings up the chrome debugging tools! Didn't know that! So if someone tries to take a screenshot they also get the debug tools.

    Solution is to have an event (on key pressed) that captures F12 but don't do anything inside it. Make sure that event is in every layout.

    thanks for this!

    does it say anything in the debug console if you hit f12?

    Thanks yeah it says:

    "Uncaught Error: The specified procedure could not be found.

    \\?\C:\Users\...\AppData\Local\Temp\nw7164_4139\greenworks-win32.node"

    alspal in your list you didn't mention the steamworks version being used, maybe that's it? You can't use the newer one.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads

    Oops, I'm using Steamworks 136.

    Got it working, I tried deleting the Greenworks plugin folder and installing the plugin again and now it works!

    So any point to update from 0.13 nodewebkit and below, is there any performance improvements or w/e?

    Just an update. Turns out my game crashes without greenworks, for 64bit version (if run through steam). So I'm not sure why. Anyone any ideas?

    I've got the NW.js 0.15 greenworks combo working well for Windows, but the achievements aren't working for me on Mac. Maybe I did something wrong with Mac (placing the file in the spot?) or is this plugin version not working at the moment for mac?

    80bit you mentioned that Mac is working great for you with nwjs0.15, do the achievements work on that as well?

    Hey everyone!

    So, I've succefully integrated Greenworks (or at least, I believe so) - the game launches through Steam, and the pop-up prompting to use alt+tab to use the steam overlay displays on the bottom right just fine. So far, so good... except that's about it.

    Using test commands, I'm trying to unlock achievements, but this doesn't seem to work, or at least, it has no visible effect, nor does using shift+tab to display the overlay. Is this a known issue? Any ideas what to do? I'm at a loss, so any help will be GREATLY appreciated!

    Thanks a lot in advance

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)