renpy / renpy

The Ren'Py Visual Novel Engine
http://www.renpy.org/
5.05k stars 705 forks source link

Steam Connection Error For RenPy Release 8.3.2 #5791

Closed avantgde closed 1 month ago

avantgde commented 1 month ago

Launching a Steam connection seems to fail on release 8.3.2 & 8.3.1, and not on older versions like 8.3.0 or 8.2.3, which I tested. The error is produced in log,txt as: Failed to initialize steam: AttributeError("function 'SteamAPI_ISteamClient_GetISteamAppList' not found")

danac78 commented 1 month ago

@avantgde Two things to try. Update to the latest nightly fix or delete steam_api64.dll (in lib\py3-windows-x86-64 of the Renpy SDK). Restart Renpy, go to Preferences, Install Libraries, and download the Steam Support again.I did that, and it initialized it rather than give that error. The reason I don't know if the latest nightly fix had anything to do with it is that I accidentally deleted more than the DLL and had to restore the items for Steam other than the dll..

@renpytom Would it be possible to add a function like "Update Steam Library" so it can download and install a new version of the DLL rather than having us manually do it? :)

renpytom commented 1 month ago

I've been unable to repeat this, though there were some issues a while about that could have caused updates to fail. Does it work if you reinstall Steam, as @danac78 indicated.

@danac78 In the latest versions of Ren'Py, this is done by default through the DLC system when Ren'Py updates.

avantgde commented 1 month ago

Updating to the nightly fix fixed it for me.

danac78 commented 1 month ago

@renpytom Ok. I will assume something just didn't download correctly in this instance.:)