Steam API functions other than achievements?
Posted: Fri Apr 26, 2024 7:40 am
I have successfully shipped games through Steam, with achievements correctly working thanks to the Steam libraries in Ren'py.
Now, I would like to use other functions that the Steam API can offer, such as GetSteamUILanguage and InstallDLC which seem to be part of the steamapi.py module. I have no idea how to call these functions inside Ren'py however.
The only documentation I could find on the matter was:
But it returned me a "NoneType" error.
Has anyone ever used the Steam API's fuctions?
Now, I would like to use other functions that the Steam API can offer, such as GetSteamUILanguage and InstallDLC which seem to be part of the steamapi.py module. I have no idea how to call these functions inside Ren'py however.
The only documentation I could find on the matter was:
I tried the following:Steamworks API
When Steam is available, a ctypes-based binding to the Steamworks API is available as achievement.steamapi. The binding is an instance of the steamapi module, as found here, and represents a machine translation of the C++ Steamworks API to Python.
Code: Select all
label splashscreen:
$ achievements.steamapi.InstallDLC("2261480")
Has anyone ever used the Steam API's fuctions?