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

support zip64? #59

Open
obfusk opened this issue Nov 1, 2022 · 1 comment
Open

support zip64? #59

obfusk opened this issue Nov 1, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request maybe Unsure whether this will be worked on

Comments

@obfusk
Copy link
Owner

obfusk commented Nov 1, 2022

https://en.wikipedia.org/wiki/ZIP_(file_format)#ZIP64

  • 4 GB limits on file/compressed/archive size are probably not an issue any time soon.
  • 65535 entries is probably enough as well.
@obfusk obfusk added enhancement New feature or request maybe Unsure whether this will be worked on labels Nov 1, 2022
@obfusk obfusk self-assigned this Nov 1, 2022
@IlluminatiWave
Copy link

I doubt it's possible, since android uses "zip32" and deflate/store for apk reading (at the time I wanted to do something with 7z apk or different algorithms like brotli).

The same goes for obb and split apk.

As far as I knew, they used to be handled by a max app size of 4gb (spread over multiple split apks). but the maximum an apk can tolerate is 2gb.

Also take into account that you can make use of obb, which is also limited to 2gb (I tried to make a 4gb obb and the test app/game didn't support it even on arm 64 system).

so the maximum size (not counting user data) of an app is

8 gb (maybe, although I have my doubts if the obb adds or shares total space, if it shares the size is reduced to the 4gb)

apk = 2gb base + 2gb split (the sum of apk + splits should not exceed 4gb)
obb = 2gb main + 2gb patch

Source:
https://developer.android.com/google/play/expansion-files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request maybe Unsure whether this will be worked on
Projects
None yet
Development

No branches or pull requests

2 participants