Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android external translation loading? #159

Open
nkrapivin opened this issue Mar 14, 2021 · 1 comment
Open

Android external translation loading? #159

nkrapivin opened this issue Mar 14, 2021 · 1 comment

Comments

@nkrapivin
Copy link
Collaborator

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?

@AlexKhayrullin AlexKhayrullin added this to the 1.1.2 milestone Mar 14, 2021
@nkrapivin
Copy link
Collaborator Author

I think we should implement that, but later as it is the lowest priority right now. Not going to close it.

@AlexKhayrullin AlexKhayrullin removed this from the 1.1.2 milestone Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants