Please let us not have this discussion
again.
Yes, creating a yourgame.exe is nothing more than appending a zip (with or without .love as the extension) to the love (or lovec) executable.
Yes, you can open it with peazip, winrar, totalcommander, basically anything that's not a parsnip (or a potato).
Multiplayer games usually have two flavours, either completely peer-to-peer, or centralized using a server.
You can never guarantee security on p2p multiplayer games, due to the fact that clients simply connect to each other.
If you do use a server, then you need to verify the data received before you send that to all the other clients.
But, to answer your question in points:
- Yes, you can obfuscate your individual lua files by compiling them into binary chunks; you can even strip out debug information.
- The above has a small downside, in that strings will still be plainly visible; and a
gigantic one in that it will not be portable anymore. (it will be tied to the used LuaJIT version; it may work for some platforms löve supports, but not all; the biggest divide is between desktop and mobile platforms in terms of the LuaJIT version used.)
- Since you didn't specify your reason to be that you're afraid someone would steal your code, i will refrain from stating the obvious about that one.
- It is still pointless work, due to what i said above. p2p can never be safe from tampering, and centralized should verify everything relevant anyway.
As to what grump was implying, cheatengine is the best example, being able to manipulate data in RAM; can't really obfuscate memory.