Lewa
Member
I have a question regarding the SteamAPI.
I'm currently implementing leaderboards into one of my projects and my intention is to allow players to upload replays of their runs to the steam leaderboards.
GameMakers steam API exposes the steam_upload_score_buffer function which allows you to upload a buffer in addition to the score (which is perfect).
The issue is this line here in the documentation:
Is this 256 bytes limit imposed by the Steam API or was this set internally?
Lookin up the equivalent function in the steamworks documentation (AttachLeaderboardUGC) it doesn't mention the 256 bytes limit at all. (From research i've heard/read online that it is around 1MB?)
Steamworks also explicitly states that this can be used for replays:
Does anybody have experience with that and why this is the case?
I'm currently implementing leaderboards into one of my projects and my intention is to allow players to upload replays of their runs to the steam leaderboards.
GameMakers steam API exposes the steam_upload_score_buffer function which allows you to upload a buffer in addition to the score (which is perfect).
The issue is this line here in the documentation:
256 bytes as a hard limit makes this basically impossible. (It's simply not enough to store that kind of information). In my case the replays can be (on average) around 15-20KB in size.The buffer should be no more than 256 bytes in size
Is this 256 bytes limit imposed by the Steam API or was this set internally?
Lookin up the equivalent function in the steamworks documentation (AttachLeaderboardUGC) it doesn't mention the 256 bytes limit at all. (From research i've heard/read online that it is around 1MB?)
Steamworks also explicitly states that this can be used for replays:
So even if there is a limit imposed, it has to be much higher than 256 bytes (otherwise i've no idea how storing information for a replay system could be achieved.)This content could be a replay of the user achieving the score or a ghost to race against.
Does anybody have experience with that and why this is the case?