Rable's Forum Posts

  • Thank you so much for your reply.

    I'll be sure to triple check everything and if I manage to reproduce the problem in a minimal project, I'll enter a bug report.

  • So, I tried the following:

    - Save the project locally, reload it from the local drive and export it.

    - download the project from the export manager instead of the download button.

    - I turned off Windows Defender, in the custom settings and in the advanced settings.

    None of that worked.

    Then, the best part, I loaded the game project on ANOTHER computer, and exported it from that computer, then ran it on that computer, and as incredible as it sounds, it was STILL not working!

    As a final try, I deleted the Steamworks plugin and exported, and with it removed, it WORKED!

    So, as stupid as it sounds, it seems to be the Steamworks plugin is causing this bug.

    I recently had more problems with Steamworks plugin (see here), so at least for me it seems to not be usable in its current state Ashley . Unless something is wrong with my computer or the way it is setup, or I don't know what.

    If you need more information about this problem, I'd be happy to help. I can imagine I'm not the only person in the world to run into this kind of problems.

  • Thanks for your help! I already tried your proposal 3, 4 and 5 before posting and it didn't help. I'll try the other 2 and I'll post here if it solves the problem.

    Seems like I'm doing something really wrong and I would like to find a clean and definitive solution if it's possible, but in the meantime, being able to export successfully would already be something.

  • I've posted a video on youtube where I show the problem:

    youtu.be/FAxbETYQga8

    Here is what happen :

    - I preview my game

    - I add a big DEMO white text on the title screen.

    - I preview the game, the big white DEMO text is present.

    - I export my game.

    - I play the exported version, the big white DEMO text is not present.

    - I preview in editor again, the text is there.

  • Hello,

    Today I have a big problem which I guess should be really easy to solve but it has been driving me crazy for quite some time.

    Here is what I'm doing:

    - I export a full version of my game and test it.

    - I then activate the events dedicated to turn it into a demo version. (which is working perfectly in the preview)

    - I then export the demo version of my game.

    - When I test the demo version, it's actually the full version of it, even if I hardcode the fact that it's a demo (i.e. not just turning my "isdemo" variable to true but actually deactivating the non-demo event in the code).

    I guess this is a due to cache problems or something similar. I asked chatGPT and did everything it told me (disabling cache in Chrome, deleting the folders in appdata/local, deleting the previous files in the download folder, changing the project's name in the project properties, closing and relaunching Construct) but nothing helps, it's impossible to actually export a correct demo version of my game.

    And I'm 100% sure my events are correct. I also simply added a "demo" tag on the title screen to make sure it is the correct version that is exported, and it's not there in the export.

    Any tips on managing to export a version of a game that is actually the one I'm asking Construct to export?

    Thanks!

  • For further reference and to keep you updated, the problem is now solved without me doing anything special. Maybe a Windows update solved it, or something with the cache was going on, but I've been able to export my game with Steamworks in the project and it works just fine now. Thanks again for your help!

  • Thanks a lot for the detailed reply and steps on how to fix. I'll try all that and post an update here if it fixes the problem.

  • Final test:

    Keeping only "Steamworks is available" condition allows the game to run correctly on Steam.

    My theory is that the condition "set value to Steamworks.PersonaName" causes a problem within Steam.

    I created a minimal project here :

    drive.google.com/file/d/1qvVTFsA1phItDKrhehoWteW8dbbhU2Eq/view

    Exporting this and putting it live on Steam gives the error message for me when trying to launch the game.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Additional note :

    On Steam, the project WITH the plugin Steamworks but WITHOUT any event using it WORKS.

    As soon as I keep my events described above in the project, Steam gives me the missing executable error message.

  • Thanks for the replies.

    After more tests, I managed to make the export work as long as I remove Steamworks, with webview and nw.js. The problem with NW.js seemed to come from command lines.

    However, with Steamworks in the project, it still crashes all the time.

    After even more tests, I noticed that keeping the Steamworks plugin in the project still works as long as I remove my events calling it. And my only events calling it are.

    Steamworks is available --> set value to Steamworks.PersonaName

    With that, the game works when launched OUTSIDE of Steam, but I still get an error message when trying to play it on Steam :

    "An error happened while launching the game: game executable missing - C:\Program Files (x86)\Steam\(path)" (translated from French)

    It's not an option to share the game publicly, as I worked on it for years, and I feel very uncomfortable just throwing my work out on the internet like that. However, if someone wants to take a look, I'd be happy to share it privately.

  • Hello,

    I have serious problems with the exports of my game. Here is the behavior I have:

    1) Exporting with Steamworks plugin makes it crash (and launches Steam, which displays an error message: missing executable)

    2) Removing Steamworks plugin from the project AND not minifying the script AND exporting with WebView2 makes the build to work!

    3) If I do the same as 2) but try to minify the script, the build crashes at launch.

    4) If I do the same as 2) but export with NW.js, it crashes at launch.

    4) If I do the same as 2) but keep the Steamworks plugin in the project, the build crashes at launch.

    I can preview the game in the editor without any problem, so I doubt this is related to the events in the project (?).

    I'm really lost about what could cause that. Any idea of what could the problem be?

    Thanks!

  • Yes, but Ashley mentioned support for NW.js will be deprecated in the future. Also, I have worse problems with NW.js on my part, like tabs being duplicated when doing alt-tab a few times.

    Overall, I prefer using the WebView 2 because:

    - Construct team is planning to support it long-term

    - I don't get the very annoying tab duplication bug

    - The game's weight is much lower

    - I just learned I can also put the game on Epic Games Store using the same technology, thanks to the linked plug-in. (as a reminder if you have achievement on Steam you are required to have achievements on Epic Games)

    The counterpart is that I don't have the Steam overlay which is quite problematic, but indeed it's not a requirement.

  • Hello,

    On another post, Ashley replied the following about the Steam overlay and WebView2:

    "However when the in-game overlay is not supported Steam has fallbacks, such as showing the actual Steam window over the game, instead of rendering it inline, so hopefully that's not too bad."

    I'm unable to make this fallback appear in my game. Nothing happens at all when pressing Shift+Tab. Someone could tell me how I could make the fallback to work if that's possible? Someone managed to have Steam display something when pressing shift+tab on a game exported with WebView2?

    For reference, here is the free Steam demo of the game I'm developping. As you will see, there is nothing happening when pressing shift+tab.

    Thanks for your help!

  • Thank you very much for the reply and the link to the Steamworks plugin documentation, Ashley . If NW.js is about to get phased out, I'll 100% move on with WebWiew2.

    From what I've seen, shift-tab simply doesn't do anything when used in my game. I'll check if there are any fallbacks which allows to access the content of the overlay.

    Thanks!

  • Hello everyone,

    I'm currently putting my new game on Steam for testing.

    When exporting with Webview2, I've been reported that the Steam overlay is unavailable. I've found a blog post here stating that this will not change for technical reasons: construct.net/en/blogs/ashleys-blog-2/trying-show-steam-overlay-1861

    As not having the Steam overlay is quite problematic, I've now changed to NWjs, but noticed it is now deprecated.

    Also, with NWjs I have a big problem which has been reported by multiple users: when alt-tabbing, the windows are duplicated. Like if there were 5, 6 or more windows of the game open, but there's actually only one.

    So I'm wondering 2 things:

    1) What's the best exporter for Steam. Is there one that works flawlessly (no bug, overlay, achievements, etc.)?

    2) If it is NWjs, how do you get around that window duplication when alt-tabbing bug? I didn't find any information on this, while it seems very obvious and problematic.

    Thanks for your help! :)