Skip to content

Update sdk to v164#8

Open
cebarks wants to merge 6 commits into
RimSort:masterfrom
cebarks:update-sdk-164
Open

Update sdk to v164#8
cebarks wants to merge 6 commits into
RimSort:masterfrom
cebarks:update-sdk-164

Conversation

@cebarks
Copy link
Copy Markdown
Collaborator

@cebarks cebarks commented May 21, 2026

No description provided.

cebarks and others added 6 commits May 21, 2026 17:09
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Changes to steamworks/structs.py:
- Added _pack_ = 4 to all structs to match Steamworks SDK alignment (#pragma pack(push, 4))
- Fixed FindLeaderboardResult_t.leaderboardFound: c_uint32 -> c_uint8 (matches SDK definition)
- Added new fields to ItemInstalled_t: legacyContent (c_uint64) and manifestId (c_uint64) for SDK 1.64

This fixes field offset mismatches on Linux/Mac and ensures structs match the SDK 1.64 ABI.
Struct sizes verified: ItemInstalled_t=28, FindLeaderboardResult_t=12, SubscriptionResult=12

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
RequestCurrentStats was removed from the Steamworks SDK (deprecated and removed).
Removed from both the STEAMWORKS_METHODS dict and the SteamUserStats interface class.

Files modified:
- steamworks/methods.py: Removed RequestCurrentStats from STEAMWORKS_METHODS
- steamworks/interfaces/userstats.py: Removed RequestCurrentStats() method

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit implements three compatibility fixes for Steamworks SDK 1.64:

1. Remove automatic RequestCurrentStats() call
   - Removed from SteamInit() initialization (SDK 1.64 calls this automatically)
   - Removed standalone RequestCurrentStats() wrapper function

2. Fix GetAuthSessionTicket signature
   - Added NULL parameter for new pSteamNetworkingIdentity argument
   - Function signature changed in SDK 1.64

3. Update deprecated Controller type names to Input types
   - ControllerHandle_t → InputHandle_t (5 occurrences)
   - ControllerDigitalActionHandle_t → InputDigitalActionHandle_t (1 occurrence)
   - These are typedef aliases to the same uint64 type, purely cosmetic update

All changes maintain backward compatibility with existing Python wrapper.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Python 3.14 warns when _pack_ is set without _layout_ on
non-Windows platforms. Becomes an error in Python 3.19.

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 15:32
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.

1 participant