Skip to content
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

unable to access steamwork api #1354

Open
scarf005 opened this issue Oct 9, 2024 · 0 comments
Open

unable to access steamwork api #1354

scarf005 opened this issue Oct 9, 2024 · 0 comments

Comments

@scarf005
Copy link

scarf005 commented Oct 9, 2024

Game information

https://store.steampowered.com/app/646570/Slay_the_Spire/

Distribution name and version where applicable

fedora kinoite 40

Flatpak info

Flatpak 1.15.10
nvidia-560-35-03
default
host

Problem description

copied from ValveSoftware/steam-for-linux#11333:

Your system information

  • Steam client version (build number or date): 1726604483, Wed, Sep 18 5:03 AM UTC +09:00
  • Distribution (e.g. Ubuntu): Fedora Kinoite 40
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes
  • Steam Logs: steam-logs.tar.gz
  • GPU: Nvidia
  • steam installed via flatpak

Please describe your issue in as much detail as possible:

steamworks API fails to connect to running (flatpak) steam client.

Steps for reproducing this issue:

  1. install flatpak steam.
  2. ran ln -s ~/.var/app/com.valvesoftware.Steam/.steam ~/.steam because AFAIK steam API uses ~/.steam
  3. attempted to run StS mod uploader: java -jar mod-uploader.jar upload -w MarisaContinued/
  4. failed with:
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
10월 09, 2024 11:13:18 오후 com.megacrit.moduploader.Uploader connectToSteam
심각: Steam API failed to initialize correctly.
  1. if mod-uploader.jar is unavailable: the same error can be reproduced with https://github.com/ceifa/steamworks.js/ with node.js
$ mkdir reproduce && cd reproduce
$ npm init es6 -y
$ npm install steamworks.js
$ echo 'import steamworks from "steamworks.js"
                        
const client = steamworks.init(646570)
console.log(client.localplayer.getName())' > main.js
$ node main.js
[S_API] SteamAPI_Init(): SteamAPI_IsSteamRunning() did not locate a running instance of Steam.
[S_API] SteamAPI_Init(): Loaded '/var/home/scarf/.var/app/com.valvesoftware.Steam/.local/share/Steam/linux64/steamclient.so' OK.
IPC function call IClientUtils::SetAppIDForCurrentPipe took too long: 74 msec
Setting breakpad minidump AppID = 646570
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561198168686419 [API loaded no]
목도리
  1. retried step 4 inside flatpak (flatpak run --command=sh com.valvesoftware.Steam) but the result was same.

Does this issue reproduce with native Steam
No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant