## lovepacker - Package MacOS, Windows, and .love files.

WetDesertRock
Citizen
Posts: 67
Joined: Fri Mar 07, 2014 8:16 pm

### lovepacker - Package MacOS, Windows, and .love files.

Hey all!

I was never entirely satisfied with the existing tools (isn't that always the case though), so I decided to write my own.

• Output to each platform
• Be able to luac each source file
• Not require a mess of command line arguments (.json file config)
• Easy install (at least for me)
Current features:
• Builds complete and finalized MacOS, Windows, and .love files
• Choose to package up luac compiled bytecode files
• Config file to avoid endless command line arguments.
I have since then come up with lovepacker which is a python program that will fit these requirements for me.

The readme pretty much describes everything, but here is an example:
Game Code - Note the location of lovepacker.json

lovepacker.json (reduced to minimally needed keys):

Code: Select all

{
"loveversion": "0.10.2",
"gamename": "M",
"identifier": "com.wetdesertrock.m_game"
}

Then to build it I just run:

Code: Select all

\$ lovepacker .
and the files will appear in the ./build folder.

Let me know if there is any major features I'm missing (do note the "Possible Improvements" on the readme), or if you use it and encounter bugs.

Rucikir
Party member
Posts: 128
Joined: Tue Nov 05, 2013 6:33 pm
Location: Paris
Contact:

### Re: lovepacker - Package MacOS, Windows, and .love files.

Hi! Great project ! Good luck from love-release :p
I find it a bit confusing that you can compile Lua with "luac" but you realy use "luajit" inside, because "luac" is a standard LuaPUC tool.
Lua script to distribute your LÖVE games. love-release.lua : Forum | Github
@Rucikir

WetDesertRock
Citizen
Posts: 67
Joined: Fri Mar 07, 2014 8:16 pm

### Re: lovepacker - Package MacOS, Windows, and .love files.

Yeah, thats very confusing. I think the naming is really just a byproduct of the development process. I think I started trying to use luac, then realized that luajit came with the tools I needed and would do it correctly (unlike luac which was slightly different).

### Who is online

Users browsing this forum: No registered users and 20 guests