Page 1 of 7

Love2D builder

Posted: Wed Jun 22, 2022 7:25 pm
by ivan
Hello folks,
I am working on a tool that may help when fusing/building your game for different platforms.
Can anybody give it a try and provide some feedback on the MacOS version.
In particular I am not sure if the application icon is set correctly.
https://2dengine.com/builder

Re: Love2D builder

Posted: Thu Jun 23, 2022 10:29 am
by Nikki
Hi there, I've tried it on MacOS (Big Sur) and am not seeing the icon, I just get the default heart icon, I've tried it with two png images

Re: Love2D builder

Posted: Thu Jun 23, 2022 11:26 am
by ivan
Hello Nikki, I have just pushed another update.
Can you please try the script again when you have a chance.
I am basically replacing the "Contents/Resources/OS X AppIcon.icns" file with the provided icon (must be in the ".icns" format for now).
I don't know much about MacOS distribution so any advice is much appreciated.

Re: Love2D builder

Posted: Thu Jun 23, 2022 12:53 pm
by Nikki
I tried again, it's not yet working.

Sadly I can't really help with advice about MacOS distribution, I just do hobby programming on the mac.

Re: Love2D builder

Posted: Thu Jun 23, 2022 1:52 pm
by ivan
Thank you for feedback, Nikki.
I am following this tutorial:
https://www.youtube.com/watch?v=SU2RpGdezP4
From I understand if we replace the "GameIcon.icns" and "OS X AppIcon.icns" files with the new icon, everything should work fine.
Please note that you need to upload an ".icns" file since the build script will not convert your icon from the PNG format.

Re: Love2D builder

Posted: Thu Jun 23, 2022 6:16 pm
by milon
No Linux AppImages yet Ivan?

Re: Love2D builder

Posted: Thu Jun 23, 2022 7:10 pm
by ivan
milon wrote: Thu Jun 23, 2022 6:16 pm No Linux AppImages yet Ivan?
Yes, maybe in the future. Trying to get MacOS working at this time.

Re: Love2D builder

Posted: Fri Jun 24, 2022 6:54 am
by Nikki
Hi Ivan, I have been using icns files, not in the first try but after you mentioned it,
"with the provided icon (must be in the ".icns" format for now)."
I've used this service to convert https://cloudconvert.com/png-to-icns
and this is the icns file if you're interested
lion2.icns.zip
(54.22 KiB) Downloaded 564 times
(had to zip it to attach it)


edit: I've been playing around with the stuff that video explains, must say, sadly to no avail, I couldn't manage to get the app icon be anything different then the love icon
edit2: the only way I can change my apps icon on a mac, is get info and drag the icns file onto that panel's header, it adds an empty file next to the Contents folder, (the file is empty though, no bytes) sorry i can't help you more.

Re: Love2D builder

Posted: Fri Jun 24, 2022 3:58 pm
by ivan
Thank you, Nikki. Does the app builder work besides the icons being incorrect?
I think the tutorial was recorded with an old version of love2d in mind.
Maybe somebody with more experience can enlighten us.
I promise to release all of the source code for the builder once we get this working.
Thank you again!

PS. Nikki, I just added an option that attempts to support PNG images. Can you please try the builder script again by providing a PNG icon image?

Re: Love2D builder

Posted: Sun Jun 26, 2022 9:48 pm
by ivan
Started working on AppImage support for Linux.
Any other feedback for MacOS is greatly appreciated.