luac build wrong

I have a terrible wrong …

I use compile to  my  .lua files  convert .luac files  but…

the corona Simulator only accept  main.lua  but my is  main.luac  can’t  build for Android apk

Dear, can you help me solve this problem

I have a backup (the original lua files)  but I want to added security

 can you teach me use luac build Android apk  

I will very thanks you,please.

You can’t use compiled lua files with Corona.

Just use plain lua Files and build your app with the simulator.

Re: Security.  Compiled lua files are not secure.  i.e. They can be decompiled.

Also, this is a moot point.  When you build your APK, Corona compiles the lua files and doesn’t include the originals in the APK anyways. (Same for iOS.)

Thanks  Mr.roaminggamer .

So I want to encrypt my lua files.  How do I encrypt ??

Can you teach me , please

I want to let my apk security . Can you help me , please.

My  english is too bad , sorry.

** UPDATE: FIXED LINK **   :stuck_out_tongue:

  1. Just call me Ed.  RoamingGamer is my pseudonym.

  2. I think you misunderstood me.  There is no reasonable way to fully secure your code.  If someone wants to decode it they will.  However, they’d have to be a real genius to do anything useful with it.

Your app code will be plenty secure when you build it and distribute it as an APK. 

If you don’t believe this or do not like this answer, Google “Lua Obfuscate”

Cheers!

PS - http://lua-users.org/lists/lua-l/2013-09/msg00417.html

PPS - I strongly encourage you to forget this.  Unless the app contains state secrets in the code you are wasting time worrying about ‘keeping people from stealing your code’.  Those who want to will, but it is very unlikely anyone will want to.  Not because your code is bad, but because someone smart enough to decode it is smart enough to write their own implementation based on what they observe of your app’s behavior.

Ed, there is some stray characters at the end of your URL. It’s a good read by the way.

Keep in mind, Corona SDK is already converting your code to byte code and it can’t be reorganized with usable variable and function names. I’m pretty sure that we are using luac to compile the .lua files and we pack them into a single binary archive file.  If you are happy with luac handing your protection, we are doing that under the hood.

Just use .lua files and all will be as okay as it can be.

Rob

Thanks Ed and Rob .

I am very happy and relieved because I use lua and everyone is passionate in solve my problem.

Thank you very much.

You can’t use compiled lua files with Corona.

Just use plain lua Files and build your app with the simulator.

Re: Security.  Compiled lua files are not secure.  i.e. They can be decompiled.

Also, this is a moot point.  When you build your APK, Corona compiles the lua files and doesn’t include the originals in the APK anyways. (Same for iOS.)

Thanks  Mr.roaminggamer .

So I want to encrypt my lua files.  How do I encrypt ??

Can you teach me , please

I want to let my apk security . Can you help me , please.

My  english is too bad , sorry.

** UPDATE: FIXED LINK **   :stuck_out_tongue:

  1. Just call me Ed.  RoamingGamer is my pseudonym.

  2. I think you misunderstood me.  There is no reasonable way to fully secure your code.  If someone wants to decode it they will.  However, they’d have to be a real genius to do anything useful with it.

Your app code will be plenty secure when you build it and distribute it as an APK. 

If you don’t believe this or do not like this answer, Google “Lua Obfuscate”

Cheers!

PS - http://lua-users.org/lists/lua-l/2013-09/msg00417.html

PPS - I strongly encourage you to forget this.  Unless the app contains state secrets in the code you are wasting time worrying about ‘keeping people from stealing your code’.  Those who want to will, but it is very unlikely anyone will want to.  Not because your code is bad, but because someone smart enough to decode it is smart enough to write their own implementation based on what they observe of your app’s behavior.

Ed, there is some stray characters at the end of your URL. It’s a good read by the way.

Keep in mind, Corona SDK is already converting your code to byte code and it can’t be reorganized with usable variable and function names. I’m pretty sure that we are using luac to compile the .lua files and we pack them into a single binary archive file.  If you are happy with luac handing your protection, we are doing that under the hood.

Just use .lua files and all will be as okay as it can be.

Rob

Thanks Ed and Rob .

I am very happy and relieved because I use lua and everyone is passionate in solve my problem.

Thank you very much.