Thejacs's Recent Forum Activity

  • You do not have permission to view this post

  • You do not have permission to view this post

  • I don't know if this is possible on Steam Deck, but if you manage to open developer console (F12), there will probably be an error message explaining the black screen.

    Perhaps if you connect an external keyboard to the Deck?

    You need to export the game with DevTools enabled.

    That's a good idea... Not sure if on SteamOS would work, maybe from Desktop mode... But definitely is something to try! :-)

    UPADTE: SOLVED

  • NWJS versions 76-85 don't work with worker. This may be the reason of the black screen. Try disabling worker in project properties.

    This should be fixed in the upcoming NWJS 86.

    In my case, I have the Web worker disabled. And still that weird problem:

    It runs perfect first time I start the game from Steam when I just switch on the SteamDeck. But if I exit the game, I have to restart SteamDeck to play again or I get a black screen.

    I thought could even be just my Deck, but you can start all games all times you want, so... Don't know. So, so weird...

  • Thejacs interesting that the newer versions of NWJS work at all for you, I think anything beyond version 71 gives a black screen for my game. So I'll have to stick with that.

    Try to use GreenWorks 0.82 with also NW.js 0.82 (Chromium 119 If I remember well) and Steamworks SDK 158a. That should make your games run on SteamDeck, my friend.

    Also remember, for Linux64 compilation, to deactivate whatever Proton version (even Experimental or last Beta). Don't force it. Steam must load the game as a native SteamOS/Linux app or it won't work nither.

    I hope this helps...

  • Personally I use nwjs 71, haven't tried the newest ones. It works fine for me on Deck, but I haven't actually got the game on Store yet.

    Did you read the guide for exporting game to Steam and Steam Deck?

    https://www.sleepingpanda.games/blog/how-to-export-your-construct-3-game-for-steam-and-steamdeck/

    (Ps. it can be helpful to not quote the entire reply, because it takes up quite a lot of space, especially when their post is directly above your own)

    I know this tutorial, but is nothing to do, my friend.

    To play on SteamDeck is not the problem. My game runs perfect on Deck and also achievements work well. The problem is about launching the game from Steam App on Deck (SteamOS). If you never published your games on Steam for Deck (SteamOS/Linux) you don't have this problem, no worries.

    Otherwise, I don't recommend you to follow that tutorial now. The process described uses old verions of everything (probably written before GreenWorks 0.82) and old steps that could cause you some problems today if you want to use updated versions and to publish on Steam.

    Instead, I recommend to use last version of GreenWorks (0.82), made with SteamOS and Steam Deck on mind. It even includes some new C3 conditions specially for SteamDeck. Not perfect, but definitely the best option now.

  • Yeah, sorry, haven't seen issues like that before. Hope someone else might come by and assist you!

    No worries. Thank you anyway, my friend ;-)

  • Hi again, thanks for your reply The_GD ;-)

    Well, everything on Steamworks was well configured as you said, but what I discover now is also weird:

    If I don't use the "Package asstes" option to compile the game, it works! BUT... (here is the weird thing) it works only once! I mean: I start Steam, launch the game and the game runs, but if I exit the game and try to launch it again I get a black screen forever. So I have to restart Steam Deck (not only Steam app) and it works again... only once. Suuuper weird.

    And this happen from both (Game mode and Desktop mode).

  • > Hi The_GD Interinactive dop2000

    >

    > I'm having same problem here and maybe some of you know the solution:

    >

    >

    > The problem is on SteamDeck (probably SteamOS/Linux).

    >

    > I'm using Greenworks 0.82, NW.js 0.82 and Steamworks SDK 1.58, and when I launch the game through Steam app (Both Gaming mode or Desktop mode) only appears a NW.js screen.

    >

    > But otherwise, on Desktop mode, if I go to the folder where Steam installs the game (usually “Common” folder) and click on the executable directly, the game runs perfect, even Steam achievements work (but not the overlay).

    >

    > Of course I added the 2 files for Linux 64 “libsdkencryptedappticket.so” and “libsteam_api.so”. Also I tried to put them inside the package.nw, outside in the main folder, inside Lib folder... All places, but nothing works.

    >

    >

    > Is there any other file to add? Am I missing something?

    >

    >

    > Thank you for your help.

    Yes, there is. You need to create .txt file, call it "steam_appid.txt", add your steam game id number (7-digit number, can be found on steamworks parter site right next to your game's name) and put it in the same folder as your app file.

    Let me know if that helped!

    PS: I've mentioned it in my post above, you might have missed it.

    Hi again, thanks for your reply :-)

    Of course, I have already the "steam_appid.txt". Didn't mention it because I thought it was obvius, sorry. In fact, as I said on windows everything runs perfect.

    So, must be another problem. The weirdest thing, as I said, is that when I click directly on SteamDeck (Desktop mode) on the executable file (where Steam installs it, usually "Common" folder) it works. The error (NW.js screen) comes only when I try to start the game from Steam app.

    And even weirdest: The same executable file that works clicking directly on the folder, gives me the error too if I create a direct acces on Steam (like a Non-Steam app). Crazy...

  • Hi The_GD Interinactive dop2000

    I'm having same problem here and maybe some of you know the solution:

    The problem is on SteamDeck (probably SteamOS/Linux).

    I'm using Greenworks 0.82, NW.js 0.82 and Steamworks SDK 1.58, and when I launch the game through Steam app (Both Gaming mode or Desktop mode) only appears a NW.js screen.

    But otherwise, on Desktop mode, if I go to the folder where Steam installs the game (usually “Common” folder) and click on the executable directly, the game runs perfect, even Steam achievements work (but not the overlay).

    Of course I added the 2 files for Linux 64 “libsdkencryptedappticket.so” and “libsteam_api.so”. Also I tried to put them inside the package.nw, outside in the main folder, inside Lib folder... All places, but nothing works.

    Is there any other file to add? Am I missing something?

    Thank you for your help.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi guys,

    I'm having a problem exporting to SteamDeck (probably SteamOS/Linux).

    I'm using Greenworks 0.82, NW.js 0.82 and Steamworks SDK 1.58, and when I launch the game through Steam app (Both Gaming mode or Desktop mode) only appears a NW.js screen.

    Otherwise, (on Desktop mode) if I go to the folder where Steam installs the game (usually “Common” folder) and click on the executable directly, the game runs fine, even Steam achievements works (but not the overlay).

    Of course I added the 2 files for Linux 64 “libsdkencryptedappticket.so” and “libsteam_api.so”. Is there any other file to add here? Am i missing something?

    Thank you.

  • You do not have permission to view this post

Thejacs's avatar

Thejacs

Member since 12 Jul, 2018

None one is following Thejacs yet!

Trophy Case

  • 6-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

9/44
How to earn trophies