Love2D builder

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
ivan
Party member
Posts: 1770
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Love2D builder

Post 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/?p=builder
User avatar
Nikki
Citizen
Posts: 67
Joined: Wed Jan 25, 2017 5:42 pm

Re: Love2D builder

Post 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
User avatar
ivan
Party member
Posts: 1770
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: Love2D builder

Post 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.
User avatar
Nikki
Citizen
Posts: 67
Joined: Wed Jan 25, 2017 5:42 pm

Re: Love2D builder

Post 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.
User avatar
ivan
Party member
Posts: 1770
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: Love2D builder

Post 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.
milon
Party member
Posts: 343
Joined: Thu Jan 18, 2018 9:14 pm

Re: Love2D builder

Post by milon »

No Linux AppImages yet Ivan?
User avatar
ivan
Party member
Posts: 1770
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: Love2D builder

Post 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.
User avatar
Nikki
Citizen
Posts: 67
Joined: Wed Jan 25, 2017 5:42 pm

Re: Love2D builder

Post 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 2 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.
User avatar
ivan
Party member
Posts: 1770
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: Love2D builder

Post 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?
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests