Page 6 of 6

Re: LOVE 0.5 Mac [UB] Binary, Needs Testers.

Posted: Sat Dec 20, 2008 2:01 am
by Cocoa
Thinking on which, how do we package the games for distribution? I could work with a posix binary, and make a app bundle, but that's a bit of work.

Re: LOVE 0.5 Mac [UB] Binary, Needs Testers.

Posted: Sun Dec 21, 2008 5:04 am
by appleide
bombzone: the frameworks are in the .app binary itself :) right click then "Show Package Contents"

cocoa: I thought about rigging the binary so it starts off a "main.love" love file within the binary itself when there is no argument but I havent done it yet. Should only be one line of code though.

Re: LOVE 0.5 Mac [UB] Binary, Needs Testers.

Posted: Mon Dec 22, 2008 2:30 pm
by Cocoa
That sounds good- A unix binary should run just as well, right?

Re: LOVE 0.5 Mac [UB] Binary, Needs Testers.

Posted: Mon Dec 22, 2008 4:38 pm
by appleide
I am too nub to answer the same question about Unix though. :(

Re: LOVE 0.5 Mac [UB] Binary, Needs Testers.

Posted: Mon Dec 22, 2008 7:42 pm
by Cocoa
I was wondering, since I checked inside of the package, and it looked like a UNIX binary- Flowing into the fact that UNIX libraries and code works and builds on Leopard (UNIX 03 Certification woot), I was wondering it in fact it might run without using a App Bundle, or using a game "packaged" via the Linux binary in the bundle would work.

Re: LOVE 0.5 Mac [UB] Binary, Needs Testers.

Posted: Wed Dec 24, 2008 5:51 am
by rude
appleide wrote:cocoa: I thought about rigging the binary so it starts off a "main.love" love file within the binary itself when there is no argument but I havent done it yet. Should only be one line of code though.
Inside the binary as in:

Code: Select all

cat love main.love > main
Or do you mean inside the .app binary?

Re: LOVE 0.5 Mac [UB] Binary, Needs Testers.

Posted: Wed Dec 24, 2008 7:38 am
by appleide
Inside the resources folder in the .app package.

Re: LOVE 0.5 Mac [UB] Binary, Needs Testers.

Posted: Wed Dec 24, 2008 6:24 pm
by phil
You don't have to package anything, that's the benefit of using bundles, just change the bundle icon with your game icon, put the game in the bundle and make sure it gets loaded.

Re: LOVE 0.5 Mac [UB] Binary, Needs Testers.

Posted: Sun Dec 28, 2008 5:36 am
by appleide
Yes exactly :) I just referred to the bundle as package. :| Probably because when I right click on the .app there's a menu item "Show Package Contents"... :roll: