Page 1 of 1

Building lua scripts?

Posted: 15 Feb 2017 12:59
by VisitorG
Hello,

So I need to modify the RC interface so that it fits my needs.
It's just some details, I want to seek to miliseconds instead of secodns, I want to get some clearer outputs so than I can parse them clearly, etc etc.

So her I go, trying to build VLC.
And it's damn complicated.
I have been solving errors after errors, and still no luck.

So here is my question:
What I could find in the VLC binaries are luac files, so I suppose there is a need for building the files.
But do I need to build everything?
Isn't there a simpler way?

Any documentation is welcome. Thanks.
All I could find is documentation on the scripting itself, not the building.

Thank you.

Re: Building lua scripts?

Posted: 15 Feb 2017 15:39
by VisitorG
Ok, got it...
From the sources, modify the lua file.
Then call the luac command line, in my case:
luac -o cli.luac cli.lua
And then replace the output luac file in your /usr/lib/vlc/lua/intf folder.