Skip to content

merge upstream changes#7

Draft
cebarks wants to merge 16 commits into
RimSort:masterfrom
cebarks:master
Draft

merge upstream changes#7
cebarks wants to merge 16 commits into
RimSort:masterfrom
cebarks:master

Conversation

@cebarks
Copy link
Copy Markdown
Collaborator

@cebarks cebarks commented May 21, 2026

Summary

Merges upstream changes from twstagg/SteamworksPy into the RimSort fork, bringing in bug fixes, new API bindings, and SDK compatibility improvements.

Upstream changes included

Conflict resolution

Both the fork and upstream independently implemented some of the same features (Nuitka support, GetAppDependencies). Conflicts were resolved by:

  • Keeping the fork's _libs path parameter and SWPY_PATH env var support (not present upstream)
  • Taking the upstream's new struct definitions (GetAppDependenciesResult_t, DownloadItemResult_t)
  • Removing duplicate class definitions and duplicate methods that appeared from both sides
  • Using the fork's consistent formatting style (double quotes, PEP 8 line wrapping)

zhulik and others added 15 commits May 14, 2023 12:30
…FilePath

Add SteamInput's SetInputActionManifestFilePath
Fix function used for Friends.ActivateGameOverlayToStore
…iolation error.

This is a janky fix, but it gets this working again with SDK 162.

First change is an early return after checking isInitSuccess. Not ideal, but it prevents the access violation error when the appid is not present in the persons library.

Other change is to comment out deprecated RequestCurrentStats(); call. Unclear to me if line 1066 should remain.
Fixes basic compatibility with Steamworks SDK 162, and fixes access v…
Implement functions to handle UGC queries and retrieve results.
Add support for querying Steam Workshop items
fix directory for steam files, which are required in library (with current linux command)
add GetAppDependencies and DownloadItem to the workshop interface
Support Nuitka `--onefile` compiled application; Implement ISteamUGC/GetAppDependencies (resubmit of philippj#91)
Combines RimSort fork features (_libs path param, SWPY_PATH env var,
cstdint include, Mac compile fixes) with upstream additions (SteamInput
SetInputActionManifestFilePath, UGC query support, SDK 162 compatibility,
GetAppDependenciesResult_t, DownloadItem).

Resolves duplicate GetAppDependenciesResult struct and duplicate
SetGetAppDependenciesResultCallback method from independent implementations
on both sides.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@cebarks cebarks marked this pull request as ready for review May 21, 2026 13:31
@cebarks cebarks marked this pull request as draft May 27, 2026 10:01
The fork and upstream independently implemented GetAppDependencies,
leaving duplicate members, methods, and exported functions after merge.
Removes the fork's implementations in favor of upstream's, which passes
GetAppDependenciesResult_t directly instead of copying into a custom struct.

- Remove fork's GetAppDependenciesResult custom C++ struct
- Remove duplicate class members, methods, and exported C functions
- Remove fork's SetGetAppDependenciesResultCallback (use upstream's
  SetGetAppDependenciesCallback)
- Add _pack_=4 and _layout_="ms" to GetAppDependenciesResult_t for
  correct struct alignment with SDK 164
- Add get_app_dependencies_list() helper to GetAppDependenciesResult_t
- Update methods.py argtype to use GetAppDependenciesResult_t

Tested: compiles clean against SDK 164 on arm64 macOS, live Steam client
test confirms correct pfid values and callback delivery.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants