Lua obfuscation

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
vrld
Party member
Posts: 917
Joined: Sun Apr 04, 2010 9:14 pm
Location: Germany
Contact:

Re: Lua obfuscation

Post by vrld »

pygy wrote:Or am I missing something?
Yes: since it depends on the processors register size, bytecode compiled on 32-bit architectures won't run on 64-bit computers and vice versa. I am not sure if this is also true if you use a 32-bit OS on a 64-bit computer, but the problem remains.
Additionally, in Linux, the system's Lua is linked against love, and that is not necessarily the same on all computers.
But I guess if you are selling your game, you maybe would be able (and obliged) to ship 32- and 64-bit versions as well as a love-binary that is linked against a known version of Lua.
I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum.

hump | HC | SUIT | moonshine
User avatar
arquivista
No longer with us
Posts: 266
Joined: Tue Jul 06, 2010 8:39 am
Location: Insert Geolocation tag here
Contact:

Re: Lua obfuscation

Post by arquivista »

pygy wrote:The main reason to obfuscate code would be for a commercial game,
I don't really want to mess, discuse and don't care about boring arguments of that LOVE/Lua could be ofuscated, compiled, close-sourced. However just want to say/notice that ofuscate or close the code is usually mistaken as a sign of a commercial/profit game. A lot of close-coded games are and will be during all their life free.
--------------------------------------------------------
To Do: Insert Signature Here
--------------------------------------------------------
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests