Saw your responsive above, and put it into the .app folder, and that seemed to work.
However, there is a new error now, see attached
Steamworks FFI
-
- Party member
- Posts: 356
- Joined: Wed Jul 03, 2013 4:06 am
Re: Steamworks FFI
the line that's throwing the error-
if not steam.init() or not steam.isRunning() then
if not steam.init() or not steam.isRunning() then
Re: Steamworks FFI
Do you have anywhere debug = {} in your code? Looks like your code may have overwritten the default debug library.
-
- Party member
- Posts: 356
- Joined: Wed Jul 03, 2013 4:06 am
Re: Steamworks FFI
Yes, yes I do. I have a complex debug setup that makes tracking things easy, hence why it's also global. I created a different namespace for it, and so far, everything seems okay.
-
- Party member
- Posts: 356
- Joined: Wed Jul 03, 2013 4:06 am
Re: Steamworks FFI
Thanks for the help- and the good library. Works great, now that I got those issues out of the way
Re: Steamworks FFI
Ok, so I have a pretty big update featuring full HTML documentation:
https://2dengine.com/?p=sworks
https://2dengine.com/?p=sworks
Re: Steamworks FFI
Ok, I have released an update to support the brand new version: Steamworks v1.51!
Can you pull the latest version and test it on Mac please.
I can confirm that this issue should be fixed on Linux.groverburger wrote: ↑Sun Jan 24, 2021 12:19 am I'm logged in to Steam, and I have my libsteam_api.dylib in my .app/Contents/Frameworks, so I think everything should be in order. I'm also using macOS Big Sur 11.1 and Steam SDK v1.5.
Can you pull the latest version and test it on Mac please.
- groverburger
- Prole
- Posts: 49
- Joined: Tue Oct 30, 2018 9:27 pm
Re: Steamworks FFI
Just tested it on mac - seems to work! I got my "logged in successfully" message showing up in terminal.
I don't know if this is just a mac thing or even if this is a problem, but shift-tab doesn't pull up the steam overlay like it does on windows. I assume it will work when launched through steam, but it isn't working on my mac while testing. Do you know anything about this?
Re: Steamworks FFI
I don't have a Mac to test this, so I'm not really sure.
There is an example script that can be used to test the library:
https://github.com/2dengine/sworks-ffi
and also, I don't miss the new documentation:
https://2dengine.com/?p=sworks
There is an example script that can be used to test the library:
https://github.com/2dengine/sworks-ffi
and also, I don't miss the new documentation:
https://2dengine.com/?p=sworks
Last edited by ivan on Sat Dec 11, 2021 7:20 am, edited 1 time in total.
Re: Steamworks FFI
Hello! I've been trying out this framework on windows and it works perfectly fine, however, when I tried to use it on linux (on 2 different computers and os's) I keep getting this error:
Looking a bit deeper into the errors reveals that
I've restarted steam, restarted my os, reinstalled steam, changed proton versions, yet still nothing seems to be working...
If you're curious, my game.love contains: sworks, libsteam_api.so and main.lua, I'm using the love2d demo from the bitbucket repo too. Not entirely sure this would change anything at all but, I'm running love 11.2
Lastly, both steam.init() and steam.isRunning() return false.
Code: Select all
Your Steam client doesn't have a connection to the back-end
Code: Select all
[S_API] SteamAPI_Init(): Sys_LoadModule failed to load: /home/teo434/snap/love/26/.steam/sdk64/steamclient.so
If you're curious, my game.love contains: sworks, libsteam_api.so and main.lua, I'm using the love2d demo from the bitbucket repo too. Not entirely sure this would change anything at all but, I'm running love 11.2
Lastly, both steam.init() and steam.isRunning() return false.
Who is online
Users browsing this forum: Ahrefs [Bot] and 1 guest