Luna is the first third-party Lua script converter for TI-Nspire compatible with OS 3.0.2. It defeats the useless compression and encryption layers described in earlier posts.
Long-time TI-Nspire users, you now won’t need to pay for a Computer Software licence to code in Lua.
Developers, you won’t click and click and click anymore to convert/test/run your programs as you have to with the official kit.
Linux users, here is a portable tool.
Hackers, this can be a good base to build (or rewrite) third-party TI-Nspire document generators.
Enthusiasts, support for C and ARM on OS 3.x might not be so far…
I like this sound of openness and happiness, don’t you too?
Wow! This is simply amazing! Congratulations on a job very well done!
Now on to ndless 3.0 :P
Good luck and great job :D
Awesome news ExtendeD, sweet!
I’m interesting in it : If it supports the compression in one way, does it support compression backward ?
Because a “third-party TI-Nspire document generators” is possible knowing the new XML syntax (they changed it a little bit when they began encryption)
It doesn’t, but adapting it shouldn’t be too difficult.
Brilliant – thanks very much! I got it to compile on the Mac OS X 10.6 – but with a bit of a hack.
Three things –
1 – Build libcrypto.a libssl.a – by downloading source from OpenSSL
2 – Rename crypto function (and its call) in luna.c, to say ‘dcrypto’ – as I had conflict definitions
3 Force the FILE32API definitions for 64b filesystem calls –
#define fopen64 fopen
#define ftello64 ftell
#define fseeko64 fseek
I tried to force the definition USE_FILE32API – but ignored. Could the definitions be loaded twice? You use one definition around the h file – ZLIBIOAPI64_H and use ZLIBIOAPI_H elsewhere.
That’s exactly what I did except I didn’t have to build OpenSSL. It came preinstalled with OS X 10.7.
Is it not included with Snow Leopard?
Thanks John! I actually forked minizip, which may contain bugs unrelated to Luna.
I also received a patch similar to yours on Omnimaga: http://www.omnimaga.org/index.php?topic=9807.msg179240#msg179240
Levak: another possibility is to force TI’s software to produce (and consume, but that’s presumably harder) clear-binary documents.
I’ve found a basic way to get them :D
The clipboard is really talkative \o/
I mean, like the TI-Nspire Preliminary Scripting tool, I can dump the content of the clipboard during a copy/paste in TI-Nspire Computer Software. here the data is clear and readable.
In the other way, we need to be more accurate since my tests don’t work in C# (I don’t know JAVA). It says that the header of the clipboard data is incorect (Java handled I guess).
Anyway, I have to look for that, but since I have another project (Make3D), I share this tip. =)
ExtendeD : Will it be possible to switch the argument order and add an ‘infinite’ number of input files like maketns (by JayTe) does ?
It is smarter to work with multiple files.
It will only be a concatenation of the input files.
Later, a builder mode could be great, like the one I made from maketns source code here :
http://ti.bank.free.fr/forum/viewtopic.php?f=19&t=6885&start=110#p114309
I suggest you a mode (a flag to activate) because it won’t be useful for many of users.
Way too complicated for me to even try to use, especially since I don’t know Lua, but this is a great thing. All that is needed is ndless
@Levak:
” Will it be possible to switch the argument order”
Sorry, I know it would make it look like MakeTNS, but it’s really not the standard order of parameter. Have a look at any Unix command-line tool.
“and add an ‘infinite’ number of input files like maketns (by JayTe) does”
You’re right, it’s a must-have.
“Later, a builder mode could be great, like the one I made from maketns”
I unfortunately won’t have time for this, but I will gladly integrate a patch for this from you or someone else.
Is there a GIT/SVN/whatever repository available somewhere?
Anyway, awesome! Now I don’t have any more excuse to not finish my text editor in C++/Qt for the Nspire ;)
Smarter: Luna is maintained as my other TI-Nspire tools on nsptools (http://www.unsads.com/projects/nsptools/), but the the SVN repository isn’t public for Luna.
Great work!! Now on to Ndless 3.0, I guess…. Can’t wait until it’s done!!
Is it possible to have an update?
Ndless 3.0 pls
Just curious, any idea on how long Ndless 3.0 will take to come out? (just a rough estimate)
Sorry, I’ve absolutely no idea, but there’s still much work ahead.