This is a fork of philippj/SteamworksPy. Modify to be used in CN-DST-DEVELOPER/ModUploader
You can simply install with follow command
pip install git+https://github.com/zxcvbnm3057/SteamworksPy.git@master
You should Prepare following files before build :
- Copy
steam_api64.dll
andsteam_api64.lib
fromsdk\redistributable_bin\your_operating_system
insteamworks_sdk.zip
tolibrary\sdk\redist
- Copy all files from
sdk\public\steam
tolibrary\sdk\steam
- Modify path of
VsDevCmd.bat
in filebuild_win_64.bat
to meet your VS install.
Then you can run build_win_64.bat your_vs_version
to build the library
While I am still tinkering away with this, here are some things to note:
- Require steam_appid.txt in the same dictionary of your python scrpit - Stating your games app id or any other valid app id given the account owns a license
- The library will only function if the Steam client is running and logged in. Otherwise you will encounter exceptions.
- Do not install Python from the Microsoft App Store. Make sure to download and install it from Python's main site.
For more information you can read README.md on upstream.
There is an examply usage of this module.