Closed FormularSumo closed 2 years ago
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
Fusing version 67 (0.12 RC2) vs 66 (0.12 RC1) with new main.lua method:
Fusing with old .love method:
.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.)
When I look in the bundle explorer though I get completely different results
main.lua method
.love method
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.
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).
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.
Assets folder links to game directly and zips automatically https://github.com/love2d/love-android/issues/201