Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Taking a peek inside a .lua file

New Here ,
May 25, 2013 May 25, 2013

Hi,

I'm trying to learn how to develop a plugin and I'm wanting to have a look inside a .lua file, but it seems either obfuscated or compiled. How do I know whether it's been compiled?

e.

TOPICS
SDK
2.5K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 25, 2013 May 25, 2013

Many plugins distribute compiled .lua files.  Search for "decompile lua" for tools to translate compiled .lua files back into source files.  There appears to be a version of LuaDec that works for Lua 5.1 (the version of Lua used by LR 4), but I haven't tried it.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 25, 2013 May 25, 2013

Why don't you simply write to the author of the plugin and ask nicely for help - instead of acting deceitfully and decompiling it?

If you want to learn how to develop a plugin, there are sample files in the SDK.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 25, 2013 May 25, 2013

Whether reverse engineering is ethical or legal is a topic that's been debated for decades.  Search for "ethics of reverse engineering" to get a sample of the arguments on all sides.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 25, 2013 May 25, 2013

Direct that reply at the OP, not me.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 25, 2013 May 25, 2013

johnbeardy wrote:

...acting deceitfully...

Provoke much?

R

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 25, 2013 May 25, 2013

All of my plugins come with complete source code - no decompilation required.

http://www.robcole.com/Rob/ProductsAndServices

R

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 05, 2015 Jan 05, 2015
LATEST

Thank you Rob! I'm thinking about learning the language to develop my own custom workflow and these will be a big help.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines