Linux alternative to .exe

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Pyromaniac
Prole
Posts: 15
Joined: Sat Jul 07, 2012 2:02 pm

Linux alternative to .exe

Post by Pyromaniac »

I would like to know if there is an alternate to .love on linux. so i don't have to release my sourcecode. Thanks!
(Insert funny or inspiring signature here)
User avatar
Inny
Party member
Posts: 652
Joined: Fri Jan 30, 2009 3:41 am
Location: New York

Re: Linux alternative to .exe

Post by Inny »

Actually, when you release as a .exe, I can view your source code, because zip encodes from the back. So, I can just rename the exe to a zip and open it just fine.

If you want to protect your code, Lua has a compiler (luac), which will turn your code into a binary format that I can't read. Plus, that'll work on every platform, so you can just give me the .love and not have to bother with the .exe alternative.
User avatar
slime
Solid Snayke
Posts: 3170
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Linux alternative to .exe

Post by slime »

Inny wrote:If you want to protect your code, Lua has a compiler (luac), which will turn your code into a binary format that I can't read. Plus, that'll work on every platform, so you can just give me the .love and not have to bother with the .exe alternative.
No it won't. Luac-compiled bytecode is not compatible between 32 bit and 64 bit versions of LÖVE. It is not compatible with any LuaJIT version of LÖVE either. Additionally, there are several tools that will decompile Luac-compiled bytecode into mostly useable source code, so there's not much point to all that hassle anyway.

LuaJIT-compiled bytecode will run on all architectures, but again is not compatible with regular Lua, nor is it compatible with different non-revision versions of LuaJIT.
User avatar
Saegor
Party member
Posts: 119
Joined: Thu Nov 08, 2012 9:26 am
Location: Charleroi

Re: Linux alternative to .exe

Post by Saegor »

LÖVE is totally free, and can be used in anything from friendly open-source hobby projects, to evil, closed-source commercial ones.
I always knew that the last part of this sentence was a joke towards evil companies in quest for an exploitable framework :cool:

this is my humble opinion : the best way to close your sources in löve is to take the habit to write incomprehensible functions commented in your personal secret langage or never plan to release anything than a video of your game
Current work : Isömap
User avatar
Inny
Party member
Posts: 652
Joined: Fri Jan 30, 2009 3:41 am
Location: New York

Re: Linux alternative to .exe

Post by Inny »

slime wrote:
Inny wrote:If you want to protect your code, Lua has a compiler (luac), which will turn your code into a binary format that I can't read. Plus, that'll work on every platform, so you can just give me the .love and not have to bother with the .exe alternative.
No it won't. Luac-compiled bytecode is not compatible between 32 bit and 64 bit versions of LÖVE. It is not compatible with any LuaJIT version of LÖVE either. Additionally, there are several tools that will decompile Luac-compiled bytecode into mostly useable source code, so there's not much point to all that hassle anyway.

LuaJIT-compiled bytecode will run on all architectures, but again is not compatible with regular Lua, nor is it compatible with different non-revision versions of LuaJIT.
My bad, I wasn't aware that the 32 and 64bit bytecodes of Lua were different. I guess it makes sense that they are.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Linux alternative to .exe

Post by Robin »

Saegor wrote:this is my humble opinion : the best way to close your sources in löve is to take the habit to write incomprehensible functions commented in your personal secret langage or never plan to release anything than a video of your game
Or, you know, not use an open source/free/libre licence, relying on the law rather than making your source code a puzzle.
Help us help you: attach a .love.
Post Reply

Who is online

Users browsing this forum: Amazon [Bot], Google [Bot] and 3 guests