Love Distribution Tool v0.3 [Mac contributor needed!]
Posted: Wed May 29, 2013 9:11 am
Description
Love Distribution Tool (LDT) is a command line application for distributing games created with the awesome LOVE framework. It creates a .love file and a native executable depending on the host operating system.
Requirements
1. You need to have the LOVE framework installed. If you don't have it already, download it at http://love2d.org/
2. On Linux and on MacOSX LDT assumes you have zip installed on your system.
3. On Windows LDT needs 7-Zip or WinRAR to be installed on your system. You can download 7-Zip from http://www.7-zip.org/ or WinRAR from http://www.rarlab.com/
Installation
A) Installing on Linux or MacOSX:
Download LDT and put it whereever you want it.
B) Installing on Windows:
Download LDT and put it into the directory where LOVE is installed on your system. This is usually at 'C:\Program Files\LOVE'.
Usage
1. Open the Terminal (or Command Prompt on Windows)
2. Navigate to the directory where you've put LDT to. Example: 'cd Downloads' (or 'cd /d C:\Program Files\LOVE' on Windows).
3. Type 'love distribute.love PathToYourProject'. Example: 'love distribute.love ~/MyProjects/MyGame' (or 'love distribute.love F:\MyProjects\MyGame' on Windows).
4. If everything went all right, you can run the .love file by hitting F5, or the native executable by hitting F6. You will find the binaries inside your project directory, under the 'bin' folder.
Known Issues
- LDT is completely untested on MacOSX! Mac developer needed...
- LDT will pack the binaries it finds: 32 or 64 bits, and won't check if they are really 32 or 64 bits.
Contribute
- Source: https://github.com/easy82/distribute
- E-mail: easy82 (dot) contact (at) gmail (dot) com
Changes
v0.1:
* Detect if architecture is 32 or 64 bits
* Add instructions for distribute.love in readme.txt
* Test on Windows7
* Test on WindowsXP
v0.2:
* Added WinRAR to archivers on Windows
* Workaround for Mac: io:popen doesn't work in Love 0.8.0 (will be fixed in 0.9.0)
* Checking '/Applications' before '/home' because OSX also have '/home'
* Simplified detecting processor architecture
* Updated instructions to use only distribute.love version
v3.0:
* Added more Windows search directories
* Bugfix for missing io:popen on Mac
* Added tests for detecting Linux distribution
* Hotfix for Ubuntu release and (hopefully) Debian detection
Download
Love Distribution Tool (LDT) is a command line application for distributing games created with the awesome LOVE framework. It creates a .love file and a native executable depending on the host operating system.
Requirements
1. You need to have the LOVE framework installed. If you don't have it already, download it at http://love2d.org/
2. On Linux and on MacOSX LDT assumes you have zip installed on your system.
3. On Windows LDT needs 7-Zip or WinRAR to be installed on your system. You can download 7-Zip from http://www.7-zip.org/ or WinRAR from http://www.rarlab.com/
Installation
A) Installing on Linux or MacOSX:
Download LDT and put it whereever you want it.
B) Installing on Windows:
Download LDT and put it into the directory where LOVE is installed on your system. This is usually at 'C:\Program Files\LOVE'.
Usage
1. Open the Terminal (or Command Prompt on Windows)
2. Navigate to the directory where you've put LDT to. Example: 'cd Downloads' (or 'cd /d C:\Program Files\LOVE' on Windows).
3. Type 'love distribute.love PathToYourProject'. Example: 'love distribute.love ~/MyProjects/MyGame' (or 'love distribute.love F:\MyProjects\MyGame' on Windows).
4. If everything went all right, you can run the .love file by hitting F5, or the native executable by hitting F6. You will find the binaries inside your project directory, under the 'bin' folder.
Known Issues
- LDT is completely untested on MacOSX! Mac developer needed...
- LDT will pack the binaries it finds: 32 or 64 bits, and won't check if they are really 32 or 64 bits.
Contribute
- Source: https://github.com/easy82/distribute
- E-mail: easy82 (dot) contact (at) gmail (dot) com
Changes
v0.1:
* Detect if architecture is 32 or 64 bits
* Add instructions for distribute.love in readme.txt
* Test on Windows7
* Test on WindowsXP
v0.2:
* Added WinRAR to archivers on Windows
* Workaround for Mac: io:popen doesn't work in Love 0.8.0 (will be fixed in 0.9.0)
* Checking '/Applications' before '/home' because OSX also have '/home'
* Simplified detecting processor architecture
* Updated instructions to use only distribute.love version
v3.0:
* Added more Windows search directories
* Bugfix for missing io:popen on Mac
* Added tests for detecting Linux distribution
* Hotfix for Ubuntu release and (hopefully) Debian detection
Download