greenheartgames / greenworks

a node.js plugin to integrate nw.js/electron games with steamworks
MIT License
1.49k stars 153 forks source link

steam_appid 480 doesn't work on Mac. Need to use 1456390. #308

Open auxdesigner opened 2 years ago

auxdesigner commented 2 years ago

I'm testing this with the electron sample app. Version greenworks-v0.14.0-electron-v3.0.9-osx-x64

On Mac, I keep getting this error

Steam initialization failed, but Steam is running, and steam_appid.txt is present and valid. Maybe that's not really YOUR app ID? 480

On Windows, everything works. I successfully got the steam API logs.

To resolve this, I used another steam test ID 1456390 found in this thread . It works on both Mac and Windows.

Perhaps the documentation needs to get updated?

patrickklug commented 2 years ago

adding the steam app id manually should only be necessary during testing. if you launch the game from steam, the steam app id gets inferred automatically, there's no need to ship the app id in a text file then.

Kain-90 commented 2 years ago

adding the steam app id manually should only be necessary during testing. if you launch the game from steam, the steam app id gets inferred automatically, there's no need to ship the app id in a text file then.

Pay attention to others' questions. This is exactly the problem he encountered during the formal test.

I also encountered the same problem. I found that as long as it is modified to any application ID that already has workshop, the specific application ID can be queried through steamdb.