FormularSumo / Star-Wars-Galaxy-Collection

A remake of the discontinued Star Wars Force Collection game https://formularsumo.github.io/Star-Wars-Galaxy-Collection-Web/ https://play.google.com/store/apps/details?id=com.formularsumo.starwarsforcecollectionremake.embed
GNU Affero General Public License v3.0
6 stars 0 forks source link

Experimental (easier) Android packaging method #51

Closed FormularSumo closed 2 years ago

FormularSumo commented 3 years ago

Assets folder links to game directly and zips automatically https://github.com/love2d/love-android/issues/201

FormularSumo commented 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

FormularSumo commented 2 days ago

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 commented 2 days ago

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 commented 2 days ago

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 commented 1 day ago

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.