Is it possible to save binary data/blobs? If so, how? (for instance, at a player level)
Is it possible to save binary data/blobs? If so, how? (for instance, at a player level)
You could use the Content service to upload any arbitrary files you want right now, though you would need to use a custom game server to proxy that, in order to ensure that the player can't upload anything they want to (making your game an illegal file share pretty quickly).
We will be providing a file storage system in an upcoming release which will provide for binary data uploads from the client directly.
For the upcoming binary uploads per client, are you able to tell us if we can think of those uploads the same way we'd think of key-value pairs per user? As in string key maps to binary value?
Also, would you be able to tell us whether the API for this feature would include a way to access all binary uploads per title across all users?
We'll provide complete documentation when we release the new data system, but short answer, yes, you'll be using an ID to specify what you're accessing.
For the second question, can you explain what you mean? If you literally mean being able to make a single call which will download all data for all users, then no, that's not something we would support.
@Brendan: any news regarding the file-storage system?
As a workaround, I guess one can convert the bits to, say, base64 string and store it as a key/value pair per user. So, the question is: what's the limit per value? 10kb? 400kb? Other?
We'll be providing complete docs when we release the new data system. It will be designed to be flexible in terms of file size, and specifically so that you can store any binary files you need to, on behalf of the title and users. If you want to write binary data into the existing string/string key/value pair system, yes, you would convert it via UUEncode or Base64. The existing system (not the new file system we'll be releasing shortly) limits the Value of your data to the size you see in your title's Settings->Limits tab (varies by tier, and you can pay for upgraded limits).
Understood. In the upcoming system, when you upload a file for the user with an existing name, will the new file replace the existing one? Will it be renamed? (like xx_1, xx_2). Or will it support versioning?
Is the new system in beta-test phase? If so, can we apply to join it?
4 People are following this question.