Is Steam Overlay disabled by default in Visual Novel Maker and all the games you make on it?

I FOUND THE SOLUTION -- SCROLLDOWN TO THE BOTTOM OF THE TOPIC TO FIND IT​
(or keep reading if you want to take into the ordeal I'm going through with the first release of my first visual novel on Steam)
This question goes in hand with one serious problem I found out after I was testing a build of my project to make achievements and screenshots to work with my game. Apparently even if you test your game through Visual Novel Maker, there is no way to reach the overlay with your shortcut. There is also no "toast" (the Steam notifications that appear on the bottom-right corner).

However, I found out something strange while fiddling with the windows of the live test game of Visual Novel Maker:
- If you maximize the game within seconds after the window pop on your screen, you can SEE the "toast" on the bottom right corner as seen here:
unknown.png


This means notifications do appear in the game, but they appear OUT OF BOUNDS of your game, because it is picking up the resolution of your screen, not the resolution of the game itself (which should be 1920x1080 in my case).

First I thought it was a problem with greenworks' SDK but it appears it is not. It is a problem with the game made in Visual Novel Maker. Which makes me ponder deeply as I don't know how to tell the overlay of Steam from within the game made in Visual Novel Maker to keep the aspect ratio of the windows where the game is being ran, instead of using the computer's screen by default.

The question is then:
What kind of script could one write in a Visual Novel Maker project in order to force the overlay to notice that the game is being running in 1920x1080? Because it obviously doesn't do it by default.

I think the solution to our quandary is nearby. Perhaps a single coffeescript or javascript biscuit should do the trick. This would help a ton to troubleshot the reason why the overlay is chopped too when you force it to appear via greenworks' magic-words:
  • greenworks.activateGameOverlay
Unfortunately it appears that you need to set up a ton of things in your Visual Novel Maker game if you wish to publish the game through Steam. Documentation is not helpful at all with this. So far I found something that might explain why the overlay is not responsive:
unknown.png


I checked and found you could package the game to open in fullscreen automatically. However after you open the game and enters fullscreen, an error appears that can be roughly translated to:
"A profile error has occurred -- Your profile can't be used because it proceeds from a NW.js version that is more up to date. Specify a path or use a more updated NW.js"

Which sadly tells us nothing, just the fact that the game with automated fullscreen opens in black and frozen until you close it through the task-manager or ALT+F4.

I delved further and found out there is a command to set fullscreen called "Set Game Data". I used it on top of the list before the background changes to the room of a cottage and changed it to Settings - Fullscreen Mode > ON.
unknown.png


Et voilà, when you try out the game the notifications appear fully because I forced the game to adjust to my screen's resolution. Is this an optimal solution? Not if you wish your game to play in windowed mode. However, this Fullscreen seems to be "borderless" at least tested from within Visual Novel Maker. Further testing is required with a greenworks build with this command on. ((UPDATE: Both, the normal build package from Visual Novel Maker and the build for greenworks crash with the "Set Game Data" adjusted to "Fullscreen". This solution is not optimal either.))
((UPDATE+: I've managed to make the build for SDK to work though by replacing the Game.exe with the nw.js from the SDK and other files it needed, however the overlay and the toast does not work upon running the game. They can be called to appear from the console but it doesn't appear from actually using the button that is used for testing purposes on the scene. Now I'm waiting for the content to upload to test out the build from within Steam...))

The issue about not detecting Steam's overlay stands yet. I still believe you need to do a coffeescript to be able to communicate with the SDK (just like the one made to toggle achievements), that this is not an issue that needs to be coded from the scripts for the app ID or depot ID of the SDK nor something of the sort. Without the overlay players can't take screenshots nor have an easy way to communicate with friends through a forced fullscreen game, amongst other things like checking community for guides while playing and what not. Not to speak about the issue of being forced to use ALT+TAB because the game is in fullscreen (which was not our purpose from the start).

So, I hope someone pitches in. I'm trying my luck in as many places as possible, in an effort to gather enough information about this obscure issue with Visual Novel Maker games and their compatibility with Steam, to hopefully release it for free as a convenient guide to help noobs like me to get through these loopholes.

Thanks for reading.
SOLUTION:​
In the end, you don't need to do anything in Visual Novel Maker to make Steam's overlay to appear on screen. In fact, this solution also fixes the chopped "toast" notifications AND enables the overlay to perfectly adjust to any window size. Double and thrice checked for good measure. Here is what you need to do in order to enable Steam's overlay on your game about to be published:
  1. Head to your Steamworks dashboard and look for the game you want to enable its overlay. (dropdown Apps & Packages and select All Applications)
  2. Select Steamworks Admin on the game you want to modify.
    unknown.png
  3. From the Installation dropdown select General Installation.
    unknown.png
  4. Now scrolldown a bit and look for Launch Options. In there type this in the Arguments box:
    • --in-process-gpu
      unknown.png
And you are done. Republish your game to make these changes to get committed. You are going to need to uninstall your previous version of the game from your Steam Library in order for this change to take effect, for you and all beta-testers and development partners you might have (I use the computer of my dad as beta-tester lol).

This command makes the overlay to appear in Visual Novel Maker games and will adjust to any new aspect ratio you give to the window without forcing the game to become fullscreen. It will work in fullscreen too after the tweaks made by replacing and adding files into the game with the SDK files needed for publish, or after you maximize the window to fit to your screen. All tastes sated I believe, FINALLY.

If you have any question, reach to me and I'll try to answer them as better as I can. As for me, is time to jump into my next quest: DLCs...
Greetings!
I'm preparing the VNM game for Steam release and have the same problem. I've followed your tutorial but the Steam overlay still doesn't show up, and it's a problem since it's needed for Steam achievements icons to appear in-game. They don't and it's confusing.
My game is using an older version of VNM (v1093, it's not electron-based, as I understand).

Can you give me any advice to solve this problem?

Original thread: https://forums.rpgmakerweb.com/threads/is-steam-overlay-disabled-by-default-in-visual-novel-maker-and-all-the-games-you-make-on-it.143175/