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

Experimental (easier) Android packaging method #51

Closed
FormularSumo opened this issue Sep 1, 2021 · 5 comments
Closed

Experimental (easier) Android packaging method #51

FormularSumo opened this issue Sep 1, 2021 · 5 comments
Labels
Non-critical Nothing relies upon this being completed

Comments

@FormularSumo
Copy link
Owner

FormularSumo commented Sep 1, 2021

Assets folder links to game directly and zips automatically
love2d/love-android#201

@FormularSumo FormularSumo added the Non-critical Nothing relies upon this being completed label Sep 6, 2021
@FormularSumo
Copy link
Owner Author

https://github.com/love2d/love-android/releases/tag/11.4 Since Love2D 11.4 this has become available and I'm using, so closing issue.

I'm also now using a powershell script to copy game file/folders into assets folder. Hidden files are automatically ignored, so git isn't copied (nor LICENSE/gitignore which I've also hidden)

Remove-Item "C:\Users\chewy\Documents\SWGC\love-android\app\src\main\assets*" -Recurse

Copy-Item "C:\Users\chewy\Documents\SWGC\Star-Wars-Galaxy-Collection*" -Destination "C:\Users\chewy\Documents\SWGC\love-android\app\src\main\assets" -Recurse

@FormularSumo
Copy link
Owner Author

FormularSumo commented Sep 7, 2024

Fusing version 67 (0.12 RC2) vs 66 (0.12 RC1) with new main.lua method:
image
image

Fusing with old .love method:
image
image

.love method is ever so slightly smaller overall size, presumably due to text compression of zipping (although shouldn't .aab be doing that anyway?). However main.lua is much smaller for updates, presumably because it doesn't update as many of the files which haven't changed (as they're now separate files so this is easier for Play Store to figure this out.)

@FormularSumo
Copy link
Owner Author

When I look in the bundle explorer though I get completely different results

main.lua method
image

.love method
image

But the main.lua version is refusing to compare against 66 which would be a lot more useful, so not really sure what to make of this.

@FormularSumo
Copy link
Owner Author

FormularSumo commented Sep 7, 2024

I'm going to test locally on my device for 67/RC2 and see how big the main.lua update is. If it isn't noticeably smaller than 22.7 MB then I'll keep using .love method for now as it's easier for me to fuse (Bash command to update zip is super quick and easy vs updating all the files).

@FormularSumo
Copy link
Owner Author

FormularSumo commented Sep 8, 2024

Screenshot_20240908-101257 On my Pixel 7, going form 66 to 67 tales 83.47 MB, so it doesn't seem like that's much advantage to me to using this method. So I think I'll stick with the old .love one for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Non-critical Nothing relies upon this being completed
Projects
None yet
Development

No branches or pull requests

1 participant