• Dear Cerberus X User!

    As we prepare to transition the forum ownership from Mike to Phil (TripleHead GmbH), we need your explicit consent to transfer your user data in accordance with our amended Terms and Rules in order to be compliant with data protection laws.

    Important: If you accept the amended Terms and Rules, you agree to the transfer of your user data to the future forum owner!

    Please read the new Terms and Rules below, check the box to agree, and click "Accept" to continue enjoying your Cerberus X Forum experience. The deadline for consent is April 5, 2024.

    Do not accept the amended Terms and Rules if you do not wish your personal data to be transferred to the future forum owner!

    Accepting ensures:

    - Continued access to your account with a short break for the actual transfer.

    - Retention of your data under the same terms.

    Without consent:

    - You don't have further access to your forum user account.

    - Your account and personal data will be deleted after April 5, 2024.

    - Public posts remain, but usernames indicating real identity will be anonymized. If you disagree with a fictitious name you have the option to contact us so we can find a name that is acceptable to you.

    We hope to keep you in our community and see you on the forum soon!

    All the best

    Your Cerberus X Team

Databuffer save?

Wingnut

Well-known member
3rd Party Module Dev
Tutorial Author
Joined
Jan 2, 2020
Messages
1,414
How do you save a databuffer? I've managed to load one using databuffer.Load and it works great (using desktop and HTML5 for this).
Now I need to save it but I can't find a Databuffer.Save?

I spend a few hours with FileStream but seems limited to cerberus://internal/ so that's no option I guess.
 
No, FileStream is able to save everywhere on the desktop platforms. Of course that depends if the OS permits writing to a file location. MacOS is pretty strict on this part.
 
Thanks. Yes MacOS asks the user the first time when you want to save externally but it feels good it's not in the way, so I'm happy that FileStream works on desktop. Android and iOS I guess will some added code to be able load save and share files.

Actually I saw that Android has existing modules that works without problem, it behaves very nicely, so loading files I would consider works perfect on Android, but there's no code for saving sounds and pictures or sharing them using intent but that's reasonable.

So I guess this is only problem is HTML5 here. It's such a different beast I guess. I'll try a few weeks to make it work.
 
My understanding is you can't save anything on HTML except with SaveState(). Unless you are uploading to a server or something.

I've been using it recently, but just using GLFW (with FileStream) to create data files that HTML can load from the data directory using DataBuffer.Load()
 
Back
Top Bottom