Skip to content

Android external translation loading? #159

@nkrapivin

Description

@nkrapivin

There's a little undocumented feature of buffer async groups in GM:S,
this gml snippet can bypass the filesystem sandbox, even on mobile(!):

buffer_async_group_begin("i want blini and hugs");
buffer_async_group_option("temprloc", "/sdcard/STTFiles");
// calling buffer_async_group_end() with no buffers will crash, maybe make a dummy write/read to do *something* ?

and will allow you to read from /sdcard/STTFiles (given you asked for the WRITE_EXTERNAL_STORAGE permission)

Maybe use that hiddden feature to our advantage and read translations outside the apk?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions