Using Greenworks for Steam Publishing

29

Index

Features on these Courses

Stats

7,265 visits, 18,444 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 14 Apr, 2022.

Where to download things

There are three things you need to make sure you have downloaded and version matched – NW.js, Greenworks and the Steamworks SDK. For example, if you want to use Greenworks v0.52.0, then you'll need Steam API v1.50 and NW.js v0.52.0.

NW.js

Construct automatically downloads NW.js when you export. Each NW.js version is based off an equivalent Chrome release, so the corresponding versions are also listed (under the name Chromium, which is the browser engine that powers both Chrome and NW.js). By default, Construct will always use the latest version available.

You can also download NW.js versions ahead of time and manage your current versions in the NW.js Version Manager:

You don't have to download NW.js in advance as it will download when you export, but it can make the export process longer, particularly if you have a slow internet connection.

Greenworks

Greenworks is an official plugin, but it's not built into Construct 3 – you'll need to download it from the Addon Exchange.

As previously mentioned, each release of the Greenworks plugin must be used with a specific version of NW.js, and a specific version of the Steamworks SDK. The release notes for each release of the Greenworks plugin specify which versions you must use it with.

If Steam is unavailable or something has gone wrong the condition Is available will be false, so check it's true before using Steam features. There should be a message in the dev tools console if something went wrong (use the 'Show dev tools' action in the NW.js plugin to check).

Unfortunately, Greenworks does not currently work in preview mode.

Greenworks needs to be installed via the Addon Manager and if you need help with that, then please check the manual guide covering Third Party Addons.

Steamworks SDK

The Steamworks SDK is available to download from the Steamworks Dashboard, though bear in mind you'll need to have registered an account with Steamworks to be able to access this. There are loads of versions of the SDK to download, so make sure you have the one that matches your Greenworks version.

If you want more information about the Steamworks SDK, be sure to read their documentation.

  • 20 Comments

  • Order by
Want to leave a comment? Login or Register an account!
  • Can you teach how to upload DLCS?

    I have no idea how to do it

  • Very useful, thanks!

  • These flags no longer work for Steam overlay on most recent supported greenworks / nw.js

  • I can't add files to the package.nw files after renaming them to zip files or when using third party tools like 7Zip or Winrar. I can normally add files to other zip files, but these seemed to be locked down.

    • [-] [+]
    • 1
    • 1 points
    • (3 children)
    [deleted]
      • [-] [+]
      • 1
      • Laura_D's avatar
      • Laura_D
      • Construct Team Community Manager
      • 1 points
      • (2 children)

      The forums are a much better place to discuss issues with your project: construct.net/en/forum/construct-3/how-do-i-8

      Plus, then you can include screenshots of any error codes, or problems you're having in the process. If you can share how your achievements are set up in Steam in the forum thread, other users who have had success with Steam publishing may be able to point you in the right direction.

        • [-] [+]
        • 1
        • 1 points
        • (1 child)
          • [-] [+]
          • 1
          • Laura_D's avatar
          • Laura_D
          • Construct Team Community Manager
          • 1 points
          • (0 children)

          Having not published a game to Steam myself, I can't say - but I would assume you'd have to be testing the game through Steam to actually trigger achievements, seeing as it relies on Steam's API to do so. Afaik it shouldn't need to be published to trigger otherwise you wouldn't be able to test your achievements.

          Again, the forums are much better for this sort of thing but you could also ask for help in the unofficial community discord server, folks in there are usually super helpful.

          discord.gg/SuRp4kN8

  • Load more comments (12 replies)