Omnimaga

Omnimaga => News => Topic started by: ExtendeD on May 21, 2011, 11:06:27 am

Title: Educational Lua scripts samples
Post by: ExtendeD on May 21, 2011, 11:06:27 am
Did some of you know about these Lua samples (http://webcache.googleusercontent.com/search?q=cache:jaLbsb-tRMIJ:www.compasstech.com.au/TNS_Authoring/scripting.html+%22new+functionality+to+the+platform+in+the+form+of%22&cd=1&hl=fr&ct=clnk&gl=fr&source=www.google.fr)? The page has been removed by its author but the TNS (http://www.compasstech.com.au/TNS_Authoring/Player_Files/) and Lua source files (http://www.compasstech.com.au/TNS_Authoring/Scripting/) are still available.

They seem to have been produced by the official (currently private) Lua SDK.

(http://www.omnimaga.org/index.php?action=dlattach;topic=8526.0;attach=7861;image)
Title: Re: Educational Lua scripts samples
Post by: Deep Toaster on May 21, 2011, 11:08:33 am
Whoa... So there really is an SDK. I wonder what TI'll do with it.
Title: Re: Educational Lua scripts samples
Post by: ztrumpet on May 21, 2011, 11:14:51 am
Nice find!  I wonder if we'll ever see that SDK.
Title: Re: Educational Lua scripts samples
Post by: ExtendeD on May 21, 2011, 11:35:13 am
It's even nicer than I initially thought. I urge you to search for "tools" on the Lua source file page (as long as it's still there).
Title: Re: Educational Lua scripts samples
Post by: Jim Bauwens on May 21, 2011, 11:46:08 am
This is real cool!
Lets hope TI will release the SDK open to the public!
Title: Re: Educational Lua scripts samples
Post by: Levak on May 21, 2011, 12:46:14 pm
look here : http://www.compasstech.com.au/TNS_Authoring/Scripting/

And the two zip files   Script_Tools.zip and Scripts_and_Docs.zip  ;)
Title: Re: Educational Lua scripts samples
Post by: ExtendeD on May 21, 2011, 12:54:07 pm
But "open to the public" isn't really this.
Title: Re: Educational Lua scripts samples
Post by: pianoman on May 21, 2011, 01:14:52 pm
Is it just me, or did the /scripting directory get taken down?
PS- First post  :)
Title: Re: Educational Lua scripts samples
Post by: JosJuice on May 21, 2011, 01:16:06 pm
Is it just me, or did the /scripting directory get taken down?
PS- First post  :)
Yes. We have backups of the files, so a mirror might appear soon.
Title: Re: Educational Lua scripts samples
Post by: ExtendeD on May 21, 2011, 01:18:53 pm
The site owner has probably notice heavy downloads and taken it down.
But a mirror would be illegal.
Title: Re: Educational Lua scripts samples
Post by: JosJuice on May 21, 2011, 01:19:47 pm
Yes, you're right. We'll have to be careful.

I'm the kind of person who usually doesn't care about legal issues :P
Title: Re: Educational Lua scripts samples
Post by: Lionel Debroux on May 21, 2011, 01:26:41 pm
Takedown-resistant hosting would remain illegal, but hard to take down.
Title: Re: Educational Lua scripts samples
Post by: DJ Omnimaga on May 21, 2011, 01:56:00 pm
I moved this to the news section. Interesting stuff.

I guess they leaked it but it was a mistake.

I definitively think they plan to release a SDK in the future, but will it be free?

I wonder if the following news was related? http://ti.bank.free.fr/index.php?mod=news&ac=commentaires&id=1109 It talks about some TI-BANK staff having been contacted by TI to test something allowing them to create Lua files, but couldn't tell more, because the rest of the info remains confidential for now.

Right afterward, a TI-Nspire Lua website opened: http://www.inspired-lua.org/

I do not know if the latter is by the community or not, though, but there seems to be some clues that a SDK or tool to create Lua files for OS 3.0.2 might arrive.
Title: Re: Educational Lua scripts samples
Post by: critor on May 21, 2011, 01:58:05 pm
The site owner has probably notice heavy downloads and taken it down.
But a mirror would be illegal.

Why?
Would it be more illegal than hosting old TI OSes/softwares for exemple? In what way?
Title: Re: Educational Lua scripts samples
Post by: Lionel Debroux on May 21, 2011, 01:58:29 pm
Quote
I definitively think they plan to release a SDK in the future, but will it be free?
Well, after the leak, even if they wanted, they'd have a hard time selling the SDK...

The TI-Bank news #1109 is related, indeed.
inspired-lua.org is ruled by critor, Levak and AdRiWeB.
Title: Re: Educational Lua scripts samples
Post by: JosJuice on May 21, 2011, 02:01:31 pm
Would it be more illegal than hosting old TI OSes/softwares for exemple? In what way?
It wouldn't be more illegal, but TI would care much more.
Title: Re: Educational Lua scripts samples
Post by: renatose on May 21, 2011, 02:02:43 pm
this is a great discovery, but it looks this was done with the same tools that we have.
Title: Re: Educational Lua scripts samples
Post by: DJ Omnimaga on May 21, 2011, 02:02:57 pm
The site owner has probably notice heavy downloads and taken it down.
But a mirror would be illegal.

Why?
Would it be more illegal than hosting old TI OSes/softwares for exemple? In what way?
In the past, TI asked some english sites to take down copies of TI-Program Editor, TI-Connect 1.5 and OSes they were hosting. That was around 2003-05, when people started hosting the program editor after TI removed it from TI-Connect 1.6. They were american sites, though. Laws in France might be different.
Quote
I definitively think they plan to release a SDK in the future, but will it be free?
Well, after the leak, even if they wanted, they'd have a hard time selling the SDK...

The TI-Bank news #1109 is related, indeed.
inspired-lua.org is ruled by critor, Levak and AdRiWeB.
I see. Thanks for the info.
Title: Re: Educational Lua scripts samples
Post by: JosJuice on May 21, 2011, 02:03:26 pm
this is a great discovery, but it looks this was done with the same tools that we have.
No, it wasn't. Official TI tools were used - tools that work perfectly with 3.0.2.
Title: Re: Educational Lua scripts samples
Post by: Adriweb on May 21, 2011, 02:08:19 pm
but Why is my (and Lionel's) script used ? (as written : "LuatoTNS2.sh") ?
Title: Re: Educational Lua scripts samples
Post by: Lionel Debroux on May 21, 2011, 02:09:11 pm
Where ?
Title: Re: Educational Lua scripts samples
Post by: ExtendeD on May 21, 2011, 02:10:02 pm
It's just advertised, not used.
Title: Re: Educational Lua scripts samples
Post by: Adriweb on May 21, 2011, 02:14:33 pm
It's just advertised, not used.

Ah, ok :)
I wan't on the site when everything was still there so ... :P
Title: Re: Educational Lua scripts samples
Post by: Jim Bauwens on May 21, 2011, 02:15:44 pm
Well, he has a screenshot of it being used to compile one of the included files.
Title: Re: Educational Lua scripts samples
Post by: DJ Omnimaga on May 21, 2011, 02:27:32 pm
Or maybe they are faking an offficial SDK to tease us, but in fact only our tools were used to create those Lua examples? ???
Title: Re: Educational Lua scripts samples
Post by: Adriweb on May 21, 2011, 02:28:21 pm
Or maybe they are faking an offficial SDK to tease us, but in fact only our tools were used to create those Lua examples? ???
That would be funny xD
Title: Re: Educational Lua scripts samples
Post by: renatose on May 21, 2011, 02:31:06 pm
It links to hackspire, that's why I though it was made with the tools made by the community.
If it was saved on the 3.0.1 student software it would work as perfectly on OS 3.0.2 as if it was made with TI tools or a SDK, right?

How can one prove there were used oficial ti tools and its not a simple save on the student software?
Title: Re: Educational Lua scripts samples
Post by: Adriweb on May 21, 2011, 02:32:24 pm
How can one prove there were used oficial ti tools and its not a simple save on the student software?

Thats what I was believing, but some people say they're using official stuff ... ?
Title: Re: Educational Lua scripts samples
Post by: DJ Omnimaga on May 21, 2011, 02:34:19 pm
Yeah it's confusing really. ???

However with the TI-BANK news lately about stuff they are not allowed to disclose, I wouldn't be surprised if official tools were used.
Title: Re: Educational Lua scripts samples
Post by: Levak on May 21, 2011, 02:52:28 pm
The owner of he website  uses LuaToTNS, but John Powers uses its own converter coded in C++/Qt4 compatible with TI-Nspire Computer Software.
John Powers made all those samples.
Title: Re: Educational Lua scripts samples
Post by: Jim Bauwens on May 21, 2011, 02:56:18 pm
It contains a real SDK, and very very much information regarding Lua. And it the real stuff, not copied from hackspire.
Title: Re: Educational Lua scripts samples
Post by: Levak on May 21, 2011, 04:01:34 pm
It contains a real SDK,

No. It doesn't contain a SDK but a tool. It is not the asme as a SDK helps also to program.
Here the tool only open the lua script and we have to paste the result (stored in the clipboard) to TI Nspire Computer Software.
If this is really the SDK that TI will publish, I will be really confused.
Title: Re: Educational Lua scripts samples
Post by: Lionel Debroux on May 21, 2011, 04:14:18 pm
Quote
If this is really the SDK that TI will publish, I will be really confused.
Yeah, indeed. The format that the program stores to the clipboard can certainly be reverse-engineered and replicated, and there are several flexible, extensible third-party IDEs for Lua...
I somewhat doubt that an official SDK would be really much better than this kind of setup.
Title: Re: Educational Lua scripts samples
Post by: Jim Bauwens on May 21, 2011, 04:27:24 pm
Oh, ok. Thanks for correcting me!
Title: Re: Educational Lua scripts samples
Post by: pianoman on May 21, 2011, 05:49:02 pm
Please pardon my naivete, but is there any chance that the SDK (or whatever it is) will be back up anytime soon?
Title: Re: Educational Lua scripts samples
Post by: apcalc on May 21, 2011, 05:55:48 pm
I highly, highly doubt it.
Title: Re: Educational Lua scripts samples
Post by: pianoman on May 21, 2011, 06:00:29 pm
Okeydoke... :(
Title: Re: Educational Lua scripts samples
Post by: ralphdspam on May 21, 2011, 06:59:16 pm
TI is gonna try to charge us for something.  Just watch.

Also, I wonder if they thought we would discover the Lua programming so soon.
Title: Re: Educational Lua scripts samples
Post by: Deep Toaster on May 21, 2011, 06:59:50 pm
I wonder if they would have told us if we asked.
Title: Re: Educational Lua scripts samples
Post by: renatose on May 21, 2011, 07:10:45 pm
I don't think I'll pay anything more, it should be accessible as a add-on for the student software or in any future update of a 3.1 OS where they could eventually extend the possibilities of BASIC and Lua... But this is me just dreaming...
Title: Re: Educational Lua scripts samples
Post by: pianoman on May 21, 2011, 07:14:59 pm
Well, considering that the "SDK" has already been leaked, I don't think there's much room for TI to charge for the SDK... it would be pretty illogical of them.
Therefore, they probably will try to charge for it. :P
Title: Re: Educational Lua scripts samples
Post by: renatose on May 21, 2011, 07:25:35 pm
leaked? where is it?
Title: Re: Educational Lua scripts samples
Post by: pianoman on May 21, 2011, 07:31:04 pm
It was on one of the sites on the first post. The site got taken down, but apparently, some people managed to download it before it was taken down.
Either that, or I'm getting confused, which isn't out of the question.
Title: Re: Educational Lua scripts samples
Post by: renatose on May 22, 2011, 06:21:50 am
can someone send it to me (PM with link or email)? plz
Title: Re: Educational Lua scripts samples
Post by: pianoman on May 22, 2011, 11:36:36 am
Could someone email it to me too? That would be really great!
Title: Re: Educational Lua scripts samples
Post by: ruler501 on May 22, 2011, 03:47:37 pm
Wouldn't it be illegal for people to send it around?

I want it if I can possibly get it
Title: Re: Educational Lua scripts samples
Post by: critor on May 22, 2011, 07:18:17 pm
TI-Bank just got the official authorization to host some of the files that were leaked yesterday.

For now, only two of the sample Lua files. Maybe more during the week...



Enjoy!

http://ti.bank.free.fr/index.php?mod=news&ac=commentaires&id=1120
Title: Re: Educational Lua scripts samples
Post by: DJ Omnimaga on May 22, 2011, 07:29:18 pm
Wow nice, I wonder if they'll eventually let you host the Tetris game?
Title: Re: Educational Lua scripts samples
Post by: critor on May 22, 2011, 07:33:24 pm
Wow nice, I wonder if they'll eventually let you host the Tetris game?

Don't know... it's a "game"...
Title: Re: Educational Lua scripts samples
Post by: DJ Omnimaga on May 22, 2011, 07:34:28 pm
Yeah, I wouldn't be surprised if they tried to provide mostly math stuff for now.

Unless they want to eventually sell it on TI website... <_< (it would suck if they tried to prevent third-party game development just to take control of the TI gaming development scene and charge money for most games they release. But again, they are more likely to charge for an SDK than anything else.
Title: Re: Educational Lua scripts samples
Post by: Deep Toaster on May 22, 2011, 07:55:44 pm
TI-Bank just got the official authorization to host some of the files that were leaked yesterday.

For now, only two of the sample Lua files. Maybe more during the week...

They let us do something! :w00t:

Hopefully this means the SDK'll stay free.
Title: Re: Educational Lua scripts samples
Post by: TIfanx1999 on May 22, 2011, 08:01:10 pm
TI-Bank just got the official authorization to host some of the files that were leaked yesterday.

For now, only two of the sample Lua files. Maybe more during the week...



Enjoy!

http://ti.bank.free.fr/index.php?mod=news&ac=commentaires&id=1120
Wow, this is actually quite surprising. I'm not sure what to make of TI's decision here...
Title: Re: Educational Lua scripts samples
Post by: ruler501 on May 22, 2011, 08:42:39 pm
What is the difference between these Lua programs and the ones we made? are they signed or something?
Title: Re: Educational Lua scripts samples
Post by: Lionel Debroux on May 23, 2011, 01:36:05 am
They're compressed+encrypted with the 0D method, but they're not signed.
Title: Re: Educational Lua scripts samples
Post by: JosJuice on May 23, 2011, 01:42:18 am
What is the difference between these Lua programs and the ones we made? are they signed or something?
They're 0D compressed.
Title: Re: Educational Lua scripts samples
Post by: Jim Bauwens on May 23, 2011, 02:53:26 am
Wow, this is good news! I'm pleasantly surprised :)
Title: Re: Educational Lua scripts samples
Post by: Stefan Bauwens on May 23, 2011, 05:06:25 am
I smell TI-appstore. :P

Great news indeed.
Title: Re: Educational Lua scripts samples
Post by: Snake X on May 23, 2011, 06:48:36 am
hmm did anyone get the chance to dl the tetris tns while it was up? Can they email it to me if so?
Title: Re: Educational Lua scripts samples
Post by: ruler501 on May 23, 2011, 08:37:36 am
so we just have to figure out OD compression to make our own if TI makes them for pay?
Title: Re: Educational Lua scripts samples
Post by: JosJuice on May 23, 2011, 08:39:40 am
so we just have to figure out OD compression to make our own if TI makes them for pay?
Yes, and I believe that we're quite close to figuring it out: http://ndlessly.wordpress.com/2011/05/22/d-method-encryption-and-lua-hopes-for-os-3-0-2/ (http://ndlessly.wordpress.com/2011/05/22/d-method-encryption-and-lua-hopes-for-os-3-0-2/)
Title: Re: Educational Lua scripts samples
Post by: ruler501 on May 23, 2011, 08:41:42 am
thats great. So chances are we will no longer need an SDK from TI soon.
Title: Re: Educational Lua scripts samples
Post by: Snake X on May 23, 2011, 03:46:36 pm
/me just hope the program to encrypt the files is called Ncrypt. This is my suggestion for a name :P
Title: Re: Educational Lua scripts samples
Post by: ruler501 on May 23, 2011, 09:44:28 pm
*ruler501 likes Snake X's idea
Title: Re: Educational Lua scripts samples
Post by: Spyro543 on May 31, 2011, 05:54:09 pm
/me will add this to his list of reasons he wants an Nspire :P