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

Another one exception with init #22

Open
codefather-labs opened this issue Dec 19, 2019 · 6 comments
Open

Another one exception with init #22

codefather-labs opened this issue Dec 19, 2019 · 6 comments
Labels
bug Stuff related to general bugs

Comments

@codefather-labs
Copy link

INFO: SteamworksPy loaded for Windows
INFO: Steam is running
ERROR: Steamworks failed to initialize!
Setting breakpad minidump AppID = 480
Steam_SetMinidumpSteamID: Caching Steam ID: 765*** [API loaded no]

code:
from steamworks import *

Steam.Init()

i'm added steam_appid.txt to main folder and its starts, but got new exception with it

I tried any Pre compiled versionos of dll, and self compiled with c++ building tools -
cl /D_USRDLL /D_WINDLL SteamworksPy.cpp steam_api64.lib /link /DLL /OUT:SteamworksPy64.dll

steel have problem

@labanau
Copy link

labanau commented Dec 19, 2019

Make sure you have your steam running, by running it has to be fully loaded, Steamworks failed to initialize! most of the time will be when you forget to fully open Steam.
Just to test:

1. Open steam go to your library/store
2. Then run your application and check what you get.

@Gramps
Copy link
Collaborator

Gramps commented Dec 20, 2019

@labanau is probably right. Sounds like an issue with your Steam client. Everything else looks OK though.

@codefather-labs
Copy link
Author

codefather-labs commented Dec 20, 2019

Make sure you have your steam running, by running it has to be fully loaded, Steamworks failed to initialize! most of the time will be when you forget to fully open Steam.
Just to test:

1. Open steam go to your library/store
2. Then run your application and check what you get.

Steam client program stay running.
I'm worked with facepunch.steamworks library with c# and i do not got problems with initialize.

running some application inside steam program is required?
with facepunch.steamworks i do not need do that way. just init steam and AppID automaticly running in steam

@Gramps
Copy link
Collaborator

Gramps commented Dec 20, 2019

Well, no. The steam_appid.txt is required for games that aren't run -through- the Steam client itself because Steam doesn't know what game is being run otherwise. When it is run through Steam, then it knows what game it is. Hence why it crashes without it.

If you have the client fully running, the steam_appid.txt file in place, and using the pre-compiled DLL there, I'm not sure what the issue is as I cannot duplicate it. What OS are you using?

@Gramps Gramps added the bug Stuff related to general bugs label Dec 20, 2019
@codefather-labs
Copy link
Author

Windows 8.1 x64

@Gramps
Copy link
Collaborator

Gramps commented Dec 21, 2019

Hmm, well, I updated the steamworks.py file to give additional initialization failure messages like in my GodotSteam module so see what that tells you.

Additionally I tested things on Linux and the master branch gave me the same response you are getting: ERROR: Steamworks failed to initialize!

That being said, the library still works fine so that error message is erroneous. The experimental library works correctly but not sure where the difference lies that creates that false message.

Try to use any of the functionality, despite that message, and see what happens then report back. Also see if you get a different error message, just in case.

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

No branches or pull requests

3 participants