So I noticed that the automatic distribution tool for love listed on the wiki has some awkward problems, such as requiring you to have lovedist in the the same directory as the game, only being able to output to either Win32 or Win64, not having the ability to make a *.app etc... So here I present: LoveComp, an automatic, cross platform (and much better IMO) love packager/compiler. Simply extract the zip archive to wherever you like, add the directory to your PATH (or don't) and profit!
LoveComp has the ability to create executables for Win32, Win64, and MacOSX. Usage:
Code: Select all
lovec input_dir output_dir cf_bundle_identifier cf_bundle_name
The input and output directories *should* be self explanatory, the output folder will be created if it doesn't exist. The cf_ stuff, are a little bit more tricky to explain. the cf_bundle_identifier is the MacOSX identifier for your program, it looks something like com.example.Game. The cf_bundle_name is at it's base, the name of your game, so: Game. An example of the command is as follows:
Code: Select all
C:\My Love Projects> lovec My_Cool_Game My_Cool_Game-Builds com.CoolGamesInc.CoolGame CoolGame
I hope you enjoy, I haven't been able to test the program on different platforms, or the Mac build created by it yet, so do tell me if it does/doesn't work. Written in Java- included are a batch script and shell script to properly run the program. Don't try running it from the jar, it has strange behavior.
The -z switch doesn't currently do anything, I'll add that tomorrow, too tired to do it now.
Download
http://bit.ly/1qP9QCr