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

Fix: don't compress .ags and .vox in android assets #2215

Merged

Conversation

ericoporto
Copy link
Member

@ericoporto ericoporto commented Nov 8, 2023

This is made on top of #2214 to make it easy to test. What it does is it specifically disable the additional compression Android does, only for .ags and .vox packages.

Added some extra things

To-do: check if unpacking an .ags and .vox package in the asset dir makes it run faster - these will still be compressed, but seeking to the file should be faster without the package indirection.

@ericoporto ericoporto marked this pull request as draft November 8, 2023 16:59
@ericoporto ericoporto force-pushed the fix-dont-compress-android branch from 3886fb1 to 749f131 Compare November 9, 2023 00:01
These files require jumping through offsets, to read resources packaged inside them and android decompression is most of what I see when profiling games heavy on assets.
@ericoporto ericoporto marked this pull request as ready for review November 9, 2023 00:09
@ivan-mogilko ivan-mogilko merged commit 8dfc510 into adventuregamestudio:master Nov 9, 2023
20 checks passed
@ericoporto ericoporto deleted the fix-dont-compress-android branch November 9, 2023 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Android can't find game files in Case Insensitive FindFile
2 participants