-
-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steam Overlay not working at all #97
Comments
I guess I bear some responsibility for this with #96, but I think that PR just revealed the error. (And, uh, truth be told, I filed the PR without testing it myself, which is my bad.) |
An easier way to test the overlay is to check out my PR branch in #98, then just click the "activate overlay" button. |
Hey, can you try build the electron project and add the binary on your library as a non steam game? Launching from the steam library always worked for me. |
Hey Guys, thanks for all your efforts in this project, it is appreciated a lot! Addendum: |
Intriguingly, I'm able to get it to work now, without launching the game from the Steam library, but only on the new client. (I don't know how to revert to the old client to check it.) I'm going to close this out; I recommend merging #98 to hopefully minimize confusion for other users. |
I should point out that (at least in the new client) I still did not / do not see the Steam Overlay "hint" ("Press Shift-Tab to begin"), but that's perfectly OK by me, because I never really wanted that thing to show up. |
If the hint at the beginning does not show for you, there might be a bigger issue with your setup. I had that as well plus that i needed to launch the game through steam for the overlay to show. The Microtransaction Overlay trigger (and maybe other things you might need) did not work like that. The solution to my issue was, in the end, very simple: I needed to steamworks.init() at the top of my index.ts(main.js) file and steamworks.electronEnableSteamOverlay() at the bottom of that same file. If i didn't obey those two rules, things started to not work in certain places. |
To reproduce:
On Windows, clone the steamworks.js github, launch Steam, and login.
npm install
npm run build
cd test
cd electron
npm install
npm start
. The Electron app will open, and display your Steam display name.But it will not show the Steam Overlay hint, which normally looks like this:
Try pressing Shift-Tab. Nothing happens; no overlay appears.
Edit
index.html
and add this button on line 14, right before the<script>
tag:renderer.js
, add this code to the end:Expected: The overlay should appear immediately at launch with the Shift-Tab hint, and it should fully activate the overlay when you click the "activate overlay" button.
Actual: No overlay appears at all. The Dev Tools console shows log entries, "clicked," and "done" but it doesn't show the overlay.
I've tested this on:
It's hard to be 100% sure, but I've never seen the overlay work; I don't think it ever has worked.
See also #50 and #94. I see your comment #50 (comment) that "it works very well on Linux and Windows," but I've never seen it working on any platform.
The text was updated successfully, but these errors were encountered: