Magic Lantern Forum

Developing Magic Lantern => Scripting Corner => Scripting Q&A => Topic started by: jipo on June 11, 2013, 12:43:07 PM

Title: scripts doesn't work
Post by: jipo on June 11, 2013, 12:43:07 PM

i noticed that scripts doesn't work on the latest nightly builds. i also searched the forum if there is some announcement about it, maybe it's temporary disabled because of memory usage, but i didn't find any notice.
i am using 5d mk3 and 5d mk2, with the same result.

any comment from the devs? thaks a lot

Title: Re: scripts doesn't work
Post by: a1ex on June 11, 2013, 12:51:47 PM
Current scripts only work in PicoC, not in TCC.

Use the official nightly builds, not the raw ones.
Title: Re: scripts doesn't work
Post by: jipo on June 11, 2013, 01:33:32 PM
ok alex, thanks for the answer. why is it disabled in the raw nightly builds? memory? for me there is not a way back to pre-raw builds :-)
Title: Re: scripts doesn't work
Post by: a1ex on June 11, 2013, 01:40:10 PM
PicoC is going to be replaced with TCC (and raw builds use TCC, both as module loader and as scripting engine).

There is a difference between the dialects: TCC needs a main function, because it's ANSI C, but PicoC just executes whatever it finds there. Also, PicoC API is not yet ported to TCC.