Omnimaga

Omnimaga => News => Topic started by: DJ Omnimaga on April 14, 2011, 05:52:59 pm

Title: OSLauncher, LUA to TNS converter and TI document player
Post by: DJ Omnimaga on April 14, 2011, 05:52:59 pm
On April 1st, TI-BANK posted a video (http://ti.bank.free.fr/index.php?mod=news&ac=commentaires&id=1029) showing what was supposed to be OSLauncher, the equivalent of Boot2Launcher (http://ourl.ca/10010) and DiagsLauncher (http://ourl.ca/9983), but for TI-Nspire OSes. The video was an April Fools joke, but with the release of DiagsLauncher and Boot2Launcher not long before, it was inevitable that OSLauncher would eventually become a reality. Today it did and it has been released in TI-BANK archives (http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=3223)! This extra file (http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=3224) is required to use it.

OSLauncher can be useful, for example, if you absolutely need a more recent OS to run tns files that are only compatible with it or to use more functionalities, but that you still need the ability to run Ndless, which requires an older OS, or want to run a modified OS. Basically you can have multiple OSes on your calculator at once! Note, however, that not every OS combination will work, such as an OS 3.0 image on OS 2.x, according to mikehill2003.

Still related to TI-Nspire stuff, there is now a Lua to TNS converter (http://www.mirari.fr/YqZK) as well! You need 7za (7-Zip) to use it.

UPDATE: A Python version (http://www.mirari.fr/KbOD) is now available too and the shell version is updated non-stop!
UPDATE 2 (21:42): Jkag has just released another version with a GUI (http://www.omnimaga.org/index.php?action=downloads;sa=view;down=651) for those who can't run .sh or python files!
UPDATE 3 (04/15/11): Jkag has made a Linux version (http://www.omnimaga.org/index.php?action=downloads;sa=view;down=652) of his version of his  converter.

In other news, TI-BANK reports (http://ti.bank.free.fr/index.php?mod=news&ac=commentaires&id=1046) that Texas Instruments has put online a TNS player (http://education.ti.com/go/nspireplayer?locale=fr&nspirefile=http://education.ti.com/downloads/files/ti-nspire/player/Ti-Nspire_Player_Basics_FR.tnsp). It opens both TI-BASIC and Lua documents, but it is not supported by all browsers, might be very slow and doesn't appear to support all controls yet (arrows doesn't work in Goplat's 15 Puzzle clone, for example).
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: mikehill2003 on April 14, 2011, 05:54:35 pm
Quote
On April 1st, TI-BANK posted a video (http://ti.bank.free.fr/index.php?mod=news&ac=commentaires&id=1029) showing what was supposed to be OSLauncher, the equivalent of Boot2Launcher (http://ourl.ca/10010) and DiagsLauncher (http://ourl.ca/9983), but for TI-Nspire OSes. The video was an April Fools joke, but with the release of DiagsLauncher and Boot2Launcher not long before, it was inevitable that OSLauncher would eventually become a reality. Today it did and it has been released in TI-BANK archives (http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=3223)! This extra file (http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=3224) is required to use it.
:thumbsup:

Quote
OSLauncher can be useful, for example, if you absolutely need OS 3.0 to run tns files that are only compatible with it or to use 3D graphing, but that you still need the ability to run Ndless, which requires an older OS. Basically you can have multiple OSes on your calculator at once!
Sadly, running OS3 on OS2 give some problems right now.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: DJ Omnimaga on April 14, 2011, 05:56:08 pm
Really? I didn't know that. What about 1.7 on 3.0? (both are available on TI website so they're the easiest to find)
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: mikehill2003 on April 14, 2011, 05:57:40 pm
Well, the running OS (Booted normally or OSLaunchered) depends on some files in NAND that OSLauncher dosen't change, so different versions of OSes won't work perfectly. (Like OS2.0.1 Booted and 1.7 OSLaunched)
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: willrandship on April 14, 2011, 05:57:50 pm
About the HTML part, I thought that's what the Converter was for....
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Adriweb on April 14, 2011, 06:00:23 pm
Still related to TI-Nspire stuff, there is now a Lua to TNS converter (http://) on TI-BANK too. You need 7za (7-Zip) to use it, and in your Lua code, special characters such as ', ", > and < needs to be converted to an HTML-compatible equivalent such as &quot; for example. Run the .sh file to use it.

Lionel Debroux and I worked on that today and it's now much better (auto converting symbols, arguments in the .sh and some other things).
Shell Version here : http://www.mirari.fr/YqZK (http://www.mirari.fr/YqZK)
Python Version here (credits to Levak) : http://www.mirari.fr/KbOD (http://www.mirari.fr/KbOD)
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: DJ Omnimaga on April 14, 2011, 06:15:53 pm
About the HTML part, I thought that's what the Converter was for....
I mentionned that because the tool Adriweb released doesn't convert the special chars yet. Now it does, seeing his post just above. I'll edit the news.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: DJ Omnimaga on April 14, 2011, 06:37:41 pm
Wait, does that means both versions practically has to be the same or close? O.O In that case I don't really see the purpose in terms of programming and playing games, since many people will just want to run Ndless without having to get rid of OS 3.0, for example. Could you explain what would be the use, other than the not-so-legal one? Or is there a magic OS combination?
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Deep Toaster on April 14, 2011, 06:45:20 pm
TI seems really serious about this Lua support. Good for us, I guess :D

Is it only supported in OS 3.0?
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: mikehill2003 on April 14, 2011, 06:46:11 pm
Does OSLauncher work on OS2? Trying to load the DummyOS just locks up the calc.

Wait, does that means both versions practically has to be the same or close? O.O In that case I don't really see the purpose in terms of programming and playing games, since many people will just want to run Ndless without having to get rid of OS 3.0, for example. Could you explain what would be the use, other than the not-so-legal one? Or is there a magic OS combination?
Well, if you modify the missing/changed files in NAND it should work for different versions. (Maybe. I haven't tried yet.)
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: critor on April 14, 2011, 06:47:59 pm
Wait, does that means both versions practically has to be the same or close? O.O In that case I don't really see the purpose in terms of programming and playing games, since many people will just want to run Ndless without having to get rid of OS 3.0, for example. Could you explain what would be the use, other than the not-so-legal one? Or is there a magic OS combination?

Yes, OSlauncher can't help with "Ndlessing" OS 3.0.

But it can be usefull in many other ways.
- running a "similar" original TI OS (not exactly the same, of course :P )
- running a "similar" patched/modified TI OS
- running 3rd party OSes
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: DJ Omnimaga on April 14, 2011, 06:52:52 pm
Oh ok. Too bad, then. X.x I wish TI didn't make things so complicated for us. At least I am glad it could run modified OSes.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: willrandship on April 14, 2011, 07:30:39 pm
TI only made it complicated by not giving us the RSA keys, the rest they'd have to make intentionally easy. If you're just coding one OS after another, it's hard to keep compatibility sometimes.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: coolrudski on April 14, 2011, 08:20:25 pm
so the whole upgrading before using tnoc hasnt been solved yet without external hardware correct right? is it ever going to be worked on or am i just stuck with a bricked calc? :P
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: ralphdspam on April 14, 2011, 08:40:27 pm
Wow.  They are actually going to let us program in Lua?  :D 
EDIT: They are probably keeping this as an undocumented feature to shut us up, aren't they. :\

Also, I said I would not fall for any more April Fools day jokes anymore.  It didn't help that the OS Launcher was also joke. :\
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: mikehill2003 on April 14, 2011, 08:44:22 pm
Quote
Wow.  They are actually going to let us program in Lua?  :D  
EDIT: They are probably keeping this as an undocumented feature to shut us up, aren't they. :\
My thoughts exactly. :devil:

Quote
Also, I said I would not fall for any more April Fools day jokes anymore.  It didn't help that the OS Launcher was also joke. :\
:-\ OSLauncher is legit, just difficult to use (dosen't work at all on my non-cas nspire touchpad) and not useful for most.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: ralphdspam on April 14, 2011, 09:17:54 pm
Quote
Also, I said I would not fall for any more April Fools day jokes anymore.  It didn't help that the OS Launcher was also joke. :\
:-\ OSLauncher is legit, just difficult to use (dosen't work at all on my non-cas nspire touchpad) and not useful for most.


Oh.  In the news, it said that the OSLauncher video was a joke.  I do not know.  I'm not the one who recorded the video.

EDIT: @mikehill There is a quote button on the upper right corner of each post. ;)
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Deep Toaster on April 14, 2011, 09:19:41 pm
The video was a joke (made in Blender; look closely), but not the actual program ;)
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: mikehill2003 on April 14, 2011, 09:23:41 pm
Quote
EDIT: @mikehill There is a quote button on the upper right corner of each post. ;)
I find it easier to quote the whole post, remove the quote tags, and then re-tag and respond to parts of the post. ;)

The video was a joke (made in Blender; look closely), but not the actual program ;)
I'm pretty sure it was an animation running on a real calculator ;D

x.x
I've now made two double posts responding to this thread... There's so many topics I forget it's the same thread.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: DJ Omnimaga on April 14, 2011, 09:49:44 pm
Yeah it was a fake video to make us think it's a joke since it's on April 1st, or to tease us, and finally the real program arrives a few weeks later.

Also Maybe it's not in TI's intentions to let us program in Lua. Maybe they won't care if we do, but I have doubts that they intentionally allowed us to program it.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Levak on April 14, 2011, 11:02:56 pm
The video was a joke (made in Blender; look closely), but not the actual program ;)
I'm pretty sure it was an animation running on a real calculator ;D

x.x
I've now made two double posts responding to this thread... There's so many topics I forget it's the same thread.

It was a joke, sure am I, because, I made the video :
http://vimeo.com/21884033

@DJ_O : think, with OSLauncher, we can run not too far different OSes, or exaclty the same ... version ! (do you follow me ?)
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Freyaday on April 14, 2011, 11:18:34 pm
I think TI made a Lua SDK for themselves and never bothered to take it out. I wonder if it would be possible to make an on-calc Lua editor.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: mikehill2003 on April 14, 2011, 11:19:12 pm
It was a joke, sure am I, because, I made the video :
http://vimeo.com/21884033
Yes, but wasn't it a real nspire playing an animation made with the emulator?
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Yeong on April 15, 2011, 12:39:33 am
i can't download lua2tns for some reason ???
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Lionel Debroux on April 15, 2011, 01:16:30 am
Quote
Does OSLauncher work on OS2? Trying to load the DummyOS just locks up the calc.
I haven't tested OSLauncher with anything else than OS 1.7.2741. But I can't see a good reason for it not working on other OS versions - unless the syscalls addresses are wrong ?
Are you using Ndless binaries built from SVN r387, as mentioned in the sources ?

Quote
The video was a joke (made in Blender; look closely), but not the actual program ;)
&
Quote
Yeah it was a fake video to make us think it's a joke since it's on April 1st, or to tease us, and finally the real program arrives a few weeks later.
Actually, at the time the video was made, the actual program was a joke. OSLauncher didn't exist on April 1st :)
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: DJ Omnimaga on April 15, 2011, 01:17:47 am
Really? For some reasons I thought it was already in the works. :P
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Levak on April 15, 2011, 07:07:22 am
It was a joke, sure am I, because, I made the video :
http://vimeo.com/21884033
Yes, but wasn't it a real nspire playing an animation made with the emulator?

It was a Screen compositing made with the editor, by Critor.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Munchor on April 15, 2011, 07:16:50 am
On April 1st, TI-BANK posted a video (http://ti.bank.free.fr/index.php?mod=news&ac=commentaires&id=1029) showing what was supposed to be OSLauncher, the equivalent of Boot2Launcher (http://ourl.ca/10010) and DiagsLauncher (http://ourl.ca/9983), but for TI-Nspire OSes. The video was an April Fools joke, but with the release of DiagsLauncher and Boot2Launcher not long before, it was inevitable that OSLauncher would eventually become a reality. Today it did and it has been released in TI-BANK archives (http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=3223)! This extra file (http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=3224) is required to use it.

OSLauncher can be useful, for example, if you absolutely need a more recent OS to run tns files that are only compatible with it or to use more functionalities, but that you still need the ability to run Ndless, which requires an older OS, or want to run a modified OS. Basically you can have multiple OSes on your calculator at once! Note, however, that not every OS combination will work, such as an OS 3.0 image on OS 2.x, according to mikehill2003.

Still related to TI-Nspire stuff, there is now a Lua to TNS converter (http://www.mirari.fr/YqZK) as well! You need 7za (7-Zip) to use it.

UPDATE: A Python version (http://www.mirari.fr/KbOD) is now available too and the shell version is updated non-stop!
UPDATE 2 (21:42): Jkag has just released another version with a GUI (http://www.omnimaga.org/index.php?action=downloads;sa=view;down=651) for those who can't run .sh or python files!
UPDATE 3 (04/15/11): Jkag has made a Linux version (http://www.omnimaga.org/index.php?action=downloads;sa=view;down=652) of his version of his  converter.

In other news, TI-BANK reports (http://ti.bank.free.fr/index.php?mod=news&ac=commentaires&id=1046) that Texas Instruments has put online a TNS player (http://education.ti.com/go/nspireplayer?locale=fr&nspirefile=http://education.ti.com/downloads/files/ti-nspire/player/Ti-Nspire_Player_Basics_FR.tnsp). It opens both TI-BASIC and Lua documents, but it is not supported by all browsers, might be very slow and doesn't appear to support all controls yet (arrows doesn't work in Goplat's 15 Puzzle clone, for example).

A lot of news with the CX. I'm testing the TI NSpire Player now, thanks for reporting the situation DJ.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: critor on April 15, 2011, 02:53:39 pm
Due to some kind of a DoS attack on that file (thousands of hits since yesterday), OSlauncher has been temporarily removed from TI-Bank.

We are sorry for any inconvenience, but will keep you informed.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: compu on April 15, 2011, 03:01:50 pm
Due to some kind of a DoS attack on that file (thousands of hits since yesterday), OSlauncher has been temporarily removed from TI-Bank.

We are sorry for any inconvenience, but will keep you informed.
Fortunately, I have already downloaded it and got a working CAS on my non-CAS calc now :)
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: mikehill2003 on April 15, 2011, 03:01:54 pm
Due to some kind of a DoS attack on that file (thousands of hits since yesterday), OSlauncher has been temporarily removed from TI-Bank.

We are sorry for any inconvenience, but will keep you informed.

If you don't mind me asking, where does the IP address of the attacker geolocate to?

Quote
Fortunately, I have already downloaded it and got a working CAS on my non-CAS calc now :)
Are you using OS1.7?
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: compu on April 15, 2011, 03:05:01 pm
Are you using OS1.7?
Nope, both 2.0.1.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: mikehill2003 on April 15, 2011, 03:06:02 pm
Are you using OS1.7?
Nope, both 2.0.1.

OSLauncher won't load the DummyOS on my OS2.0.1 nspire. Did you compile both ndless and OSLauncher yourself?
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: compu on April 15, 2011, 03:07:17 pm
I use the precompiled OSLauncher and ndless r387, self-compiled.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: mikehill2003 on April 15, 2011, 03:09:09 pm
I use the precompiled OSLauncher and ndless r387, self-compiled.
O.O
I used the pre-build ndless b387 and the pre-built OSLauncher.... All I get is short lines on the screen. Is your Nspire a non-cas touchpad (v2) or clickpad?
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Silver Shadow on April 15, 2011, 03:09:22 pm
Does it need for the installed OS to have the boot2? Because I deleted it with TNOC, maybe that's the problem...

PS: non-CAS Clickpad 2.1 OS
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: mikehill2003 on April 15, 2011, 03:10:44 pm
Does it need for the installed OS to have the boot2? Because I deleted it with TNOC, maybe that's the problem...

PS: non-CAS Clickpad 2.1 OS
No, you need to extract and decrypt the OS image in the tno (TI-Nspire.img).
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Lionel Debroux on April 15, 2011, 03:11:16 pm
Nope, OSLauncher does not depend on the boot2. Or at least, it shouldn't :)
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Silver Shadow on April 15, 2011, 03:13:07 pm
Nope, OSLauncher does not depend on the boot2. Or at least, it shouldn't :)
OK, that was the only thing I could think of...
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: mikehill2003 on April 15, 2011, 03:17:07 pm
Compu, what happens when you launch DummyOS?
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: compu on April 15, 2011, 03:20:24 pm
Damn, i thought results on emulator and real HW would be the same.... I have just tested it on my (clickpad) calc and it just seems to turn off... :banghead:

and btw, i didn't download DummyOS and it is removed from TI-Bank..
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: renatose on April 15, 2011, 03:30:11 pm
hey, can someone make a TNStoLUA or so, as I want to see the periodic table code and I can't :p

If someone posted it would be fine too ;)
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Lionel Debroux on April 15, 2011, 03:32:48 pm
You can download both OSLauncher and DummyOS from ticalc.org ;)

OSLauncher (like the legendary RunOS) is very reliable on the emulator, but unreliable on real hardware. For me, it has never failed launching DummyOS from OS 1.7.2741 CAS, but launching TI's OS is more troublesome. critor did have successes on real hardware as well, so it's not just me :)
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: compu on April 15, 2011, 03:34:09 pm
IT WORKS FOR ME NOW :D :D

It looks like that turning off was just some random error, now it really works :)

Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Lionel Debroux on April 15, 2011, 03:34:56 pm
renatose: for TNS files generated by the various Lua to TNS generators, it's a matter of procesing the TNS file in pretty much any decompressor program that supports ZIP files.
For the periodic table Lua file, it requires fiddling on the emulator (nspire_emu or Ncubate), because both XML files contained in the TNS are compressed with the unspecified "0D" compression method.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Silver Shadow on April 15, 2011, 03:45:05 pm
Also, we need to figure out if different HW versions impact on the success rate. e.g. Clickpad/Touchpad, CAS/non-CAS, HW version with/without power management bug...
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: calc84maniac on April 15, 2011, 03:50:40 pm
Does the OSLauncher code clean/invalidate the caches when necessary? (e.g. after loading new code into memory)
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Lionel Debroux on April 15, 2011, 03:54:38 pm
It does not. But at least when starting a Phoenix, the caches should be pretty devoid of the code that previously existed at the loading address, shouldn't they be ?
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: critor on April 15, 2011, 05:13:02 pm
Due to some kind of a DoS attack on that file (thousands of hits since yesterday), OSlauncher has been temporarily removed from TI-Bank.

We are sorry for any inconvenience, but will keep you informed.

If you don't mind me asking, where does the IP address of the attacker geolocate to?

Various IP all around Europe.
What is sad, is that it's probably not coming from TI, but from someone related to the community.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: DJ Omnimaga on April 15, 2011, 05:28:06 pm
From the TI-BANK forum posts, the hit attack seems to have started happening before we posted our news I think, but maybe someone or a bot found the link from an older Omni news, since Omni posts a lot of news about TI-BANK stuff (It might also be why some TI-BANK news got an unusually higher amount of hits, too, especially since October).

I hope OSLauncher can be put back online soon. I wonder who could be behind this? Because it's weird that this file in particular was hit, then the Lua file.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: DJ Omnimaga on April 15, 2011, 05:46:57 pm
Nonono that isn't what I implied. For the news hits I was refering to an older post on TI-BANK that is not related at all to OSLauncher: http://tibank.forumactif.com/t6823-hits-news

But yeah it's strange, hopefully it was not meant to be malicious and I hope the site isn't affected due to that. And I see, I'M glad Free got some protections about that.

In any case, it's a good idea to backup.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: GB on April 15, 2011, 07:41:34 pm
How do I use OSLauncher? I'm not too big of a computer programmer (only worked with TI-Basic) and couldn't find a readme for it.

Any help would be wonderful!
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: bsl on April 15, 2011, 10:46:54 pm
It does not. But at least when starting a Phoenix, the caches should be pretty devoid of the code that previously existed at the loading address, shouldn't they be ?
It should, since starting a Phoenix intilializes its own resources, same with boot1,boot2, and diags - they have there own
interrupt vector table and initialization routines.
So the DummyOS demo might encounter problems if ran at some lengthy time.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: DJ Omnimaga on April 15, 2011, 11:12:36 pm
Nice Critor!
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Lionel Debroux on April 16, 2011, 01:23:08 am
Quote
Quote
It does not. But at least when starting a Phoenix, the caches should be pretty devoid of the code that previously existed at the loading address, shouldn't they be ?
It should, since starting a Phoenix intilializes its own resources, same with boot1,boot2, and diags - they have there own
interrupt vector table and initialization routines.
I have initialized the vector table :)
We'll have to try putting an inline version of clear_cache.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Adriweb on April 16, 2011, 05:49:43 am
New version (all-in-one included, except 7zip) of the shell script :

http://www.mirari.fr/DWGG (http://www.mirari.fr/DWGG)


Edit : link working
Edit2 : new version
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Munchor on April 16, 2011, 07:15:44 am
New version (all-in-one included, except 7zip) of the shell script :

http://www.mirari.fr/DWGG (http://www.mirari.fr/DWGG)


Edit : link working
Edit2 : new version

Thanks for sharing source =D
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Lionel Debroux on April 17, 2011, 10:07:36 am
We're still improving the shell script :)

And adding a clear_cache() (locally copied) before launching the OS does not seem to make the OSLauncher more reliable ?
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: alberthrocks on April 17, 2011, 07:37:22 pm
Inspired by Adriweb and apcalc, I've created an IRC bot to take Pastebin code and convert it to a TNS! :)
It's currently on #nspire-lua - this is how to use it:
Code: [Select]
<Lua2TNS> Lua2TNS Help | #lua2tns [Pastebin Source URL] [Output file name (like helloworld.tns, etc.)For example:
Code: [Select]
#lua2tns http://pastebin.com/bcyukaiq blockdude.tns
And you'll get back:
Code: [Select]
<Lua2TNS> alberthro: Lua2TNS | Success! :D http://withg.us.to/lua2tns/59979/blockdude.tns | All files, including logs @ http://withg.us.to/lua2tns/59979/lua2tnslog.txt
Isn't it awesome? :D
If there's enough demand (and if the admins approve), I can bring this bot to #omnimaga.
Enjoy! :)
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: DJ Omnimaga on April 19, 2011, 07:32:38 pm
Nice, that might be useful I think. I like how it works with pastebin.

You should add support for pastie and rafb.me, though, for when pastebin is down.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Levak on April 19, 2011, 07:40:44 pm
Very good job.
To improve your work, I think you should add a -f option to erase an old result, cause when I used it to create a quick function and test it with de nspire-player, I made many mistakes and had to change each time the url =/
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Lionel Debroux on April 25, 2011, 03:35:12 pm
Well, I was able to run OS 1.7.2741 CAS from the 1.7.2741 basic only twice in a couple dozen attempts at doing so... Most of the time, it hung with a grey screen showing alternated top-left-bottom-right and bottom-left-top-right lines 2 pixels long.

Are any errors output to the RS232 port ?
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: apcalc on April 25, 2011, 03:37:47 pm
Well, I was able to run OS 1.7.2741 CAS from the 1.7.2741 basic only twice in a couple dozen attempts at doing so... Most of the time, it hung with a grey screen showing alternated top-left-bottom-right and bottom-left-top-right lines 2 pixels long.

Are any errors output to the RS232 port ?

A strange thing, I have used OS launcher to run 2.0 CAS from 2.0 regular on my Nspire at least five times already, and it has been successful every time, but when I tried to the same on my brother's Nspire with the same OS/files, it failed three times before finally working...
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: mikehill2003 on April 25, 2011, 03:41:38 pm
I used the pre-build ndless b387 and the pre-built OSLauncher.... All I get is short lines on the screen. Is your Nspire a non-cas touchpad (v2) or clickpad?

Just tried 5 times to run the 2.1CAS OS from the 2.1 basic OS.
All I get is short lines on the screen too.

Broom's build of ndless is the problem. Can you compile it yourself?

Launching an OS is kinda buggy for me, it works about 5% of the time.

EDIT: The success rate is higher if you use the nspire for a few minutes after it boots. If I reset the nspire and immediately try to load an OS it rarely works. (OS2.0.1 non-CAS on an OS2.0.1 non-CAS nspire.)
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: critor on April 25, 2011, 03:49:51 pm
I used the pre-build ndless b387 and the pre-built OSLauncher.... All I get is short lines on the screen. Is your Nspire a non-cas touchpad (v2) or clickpad?

Just tried 5 times to run the 2.1CAS OS from the 2.1 basic OS.
All I get is short lines on the screen too.

Broom's build of ndless is the problem. Can you compile it yourself?

So, you mean http://builds.issrs.biz/ndless/latest/ndless.zip is not a "good" build?
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: mikehill2003 on April 25, 2011, 03:57:51 pm
I used the pre-build ndless b387 and the pre-built OSLauncher.... All I get is short lines on the screen. Is your Nspire a non-cas touchpad (v2) or clickpad?

Just tried 5 times to run the 2.1CAS OS from the 2.1 basic OS.
All I get is short lines on the screen too.

Broom's build of ndless is the problem. Can you compile it yourself?

So, you mean http://builds.issrs.biz/ndless/latest/ndless.zip is not a "good" build?

In a word, yes.

Every time I used it, I got the short lines on the display. Alberthro was kind enough to give me a copy of ndless that he build (r387 somehow broke my build system, I can't compile anything now, and I don't have the time to fix it.) and that worked fine. I can check the IRC logs to find the link if you want.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: critor on April 25, 2011, 03:59:53 pm
I can check the IRC logs to find the link if you want.

I would really appreciate it ^^
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: mikehill2003 on April 25, 2011, 04:03:22 pm

I would really appreciate it ^^

[09:48:33] <+alberthro> mikehill, http://dl.dropbox.com/u/1016340/NdlessBuilds/ndless_installer_os-2.0.1.tns and http://dl.dropbox.com/u/1016340/NdlessBuilds/ndless_resources.tns
[09:48:40] <+alberthro> run them at your own risk!
[09:48:44] <+mikehill> THANKS!
[09:48:50] <+alberthro> (if you plan to run this on real HW)
[09:48:52] <+alberthro> np :)
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Lionel Debroux on April 26, 2011, 10:19:17 am
Quote
Lionel, you're great!!!
Well, I'm not the first person in the world to make an OS launcher for the Nspire ;)
But I was the first person to release one, indeed. The previous implementations were not released for moral reasons that I've chosen to ignore.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: critor on April 26, 2011, 10:24:13 am
By the way... why isn't a compatible Ndless build available at the "official" link?
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Lionel Debroux on April 26, 2011, 10:44:34 am
No idea.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Lionel Debroux on April 26, 2011, 11:14:39 am
I haven't succeeded in launching a basic Phoenix from a CAS Phoenix.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: critor on April 26, 2011, 11:15:42 am
Even on the emulator?
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Lionel Debroux on April 26, 2011, 11:23:28 am
Well, I hardly tested the CAS OS on the emulator at all :)
Let me check.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: BrownyTCat on April 26, 2011, 11:28:12 am
Everything like this ends up being a bit difficult to me in theory a little because of the disorginazation issues caused by OS, hardware, and model differences. I'm only going to blame TI though, since they hate us obviously.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Silver Shadow on April 26, 2011, 01:22:32 pm
Can someone also compile Ndless for OS 2.1 plz? I don't want to downgrade to 2.0.1... Thx.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: shrear on April 26, 2011, 02:14:39 pm
pm me your email, I'll send it to you.

Edit: or I simply use the one in your profile...
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Silver Shadow on April 26, 2011, 02:26:49 pm
Thanks a lot, off to test it right now. Tell you the results in a minute.

EDIT1: Your ressources.tns file is 1 kB larger than the one from the repo. The problem must be in that.

EDIT2: Managed to successfully boot 2.1 CAS on 2.1 non-CAS. :D

EDIT3: Now that I've managed to make this work, I'm thinking about launching the 3.0 OS. Someone at the start of the thread said there were some problems, but what were they exactly?
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: compu on April 26, 2011, 03:08:02 pm
EDIT3: Now that I've managed to make this work, I'm thinking about launching the 3.0 OS. Someone at the start of the thread said there were some problems, but what were they exactly?
I didn't test it myself, but I think there are problems with the displayed text, it will be completely messed up.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: DJ Omnimaga on April 26, 2011, 03:11:08 pm
Can someone also compile Ndless for OS 2.1 plz? I don't want to downgrade to 2.0.1... Thx.
I thought Ndless 2.1 was already available? ???
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: compu on April 26, 2011, 03:11:54 pm
Maybe not the latest build.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Lionel Debroux on April 26, 2011, 03:54:09 pm
Strictly speaking, I think that "Ndless 2.1" is actually "Ndless 2.0 for OS 1.7/2.0.1/2.1" :)
And support for 2.1 ought to be part of the automated builds - if it's not, then the automated build system needs fixing.

compu, the string you're patching is used by the code that re-creates the folders. When hot-launching a single OS, I can't think of adverse effects, because a reboot would occur with a pristine OS, which would re-create the documents folder if it had been deleted; however, if hot-launching a second, patched OS from the first hot-launched OS actually works on a real calculator (maybe it doesn't, given how hot-launching is flaky, even with a bit of code to clear the caches), something might not work as expected if the documents folder is not re-created.
Watch out for that kind of interactions, which could also happen for the "tns" strings you're patching :)

The building blocks, derived from the tiosmod+amspatch building blocks, are at http://tict.ticalc.org/beta/phoenixmod-0.0.1.tar.bz2 . Untested.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: mikehill2003 on April 26, 2011, 04:19:20 pm
EDIT3: Now that I've managed to make this work, I'm thinking about launching the 3.0 OS. Someone at the start of the thread said there were some problems, but what were they exactly?
It doesn't load. I haven't looked beyond that to see how to make it work.

I thought Ndless 2.1 was already available? ???
OSLauncher fails to load when using brooom's build of ndless. I'm not sure why, but if it isn't intentional I'd assume it is just somehow not receiving/compiling the modified files.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: critor on April 26, 2011, 04:49:38 pm
Well, I hardly tested the CAS OS on the emulator at all :)
Let me check.

Did it work?


The building blocks, derived from the tiosmod+amspatch building blocks, are at http://tict.ticalc.org/beta/phoenixmod-0.0.1.zip . Untested.

404 error for me...
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Silver Shadow on April 26, 2011, 05:09:38 pm
Can someone also compile Ndless for OS 2.1 plz? I don't want to downgrade to 2.0.1... Thx.
I thought Ndless 2.1 was already available? ???
I meant that I wanted a compiled version other than brooom's since the version previously posted was only for 2.0.1.

EDIT: as I posted previously, the problem seems to come from the ressources.tns file, as brooom's version is 1 kB smaller than it should be.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Lionel Debroux on April 27, 2011, 01:10:09 am
Launching Phoenix non-CAS 1.7.2741 from Phoenix CAS 1.7.2741 works on the emulator.

I've fixed the link in my previous post: http://tict.ticalc.org/beta/phoenixmod-0.0.1.tar.bz2 . Sorry :)
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: mikehill2003 on April 27, 2011, 02:08:56 am
EDIT: as I posted previously, the problem seems to come from the ressources.tns file, as brooom's version is 1 kB smaller than it should be.
So if you use brooom's ndless_installer and alberthro's ndles_resources you can run OSLauncher on OS2.1 without compiling ndless yourself?
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Silver Shadow on April 27, 2011, 04:33:21 am
EDIT: as I posted previously, the problem seems to come from the ressources.tns file, as brooom's version is 1 kB smaller than it should be.
So if you use brooom's ndless_installer and alberthro's ndles_resources you can run OSLauncher on OS2.1 without compiling ndless yourself?
I haven't tried doing that yet, but I suspect so.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Lionel Debroux on April 27, 2011, 05:59:57 am
OSLauncher depends on Ndless exporting several zlib functions as syscalls, and that is part of ndless_resources.tns.
I added that in r387, and fixed one of the entries (which is a function instead of a variable) in r388.
brooom's build system doesn't update ndless_resources.tns, which means that it doesn't run one of the scripts as a prerequisite to building Ndless.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Silver Shadow on April 27, 2011, 07:43:59 am
Would you mind sharing the r388 ndless_ressources.tns plz?

EDIT: I've also tried connecting my Nspire to the PC with the CAS OS running. Strangely, the Computer Link recognized it as a non-CAS Nspire...

EDIT2: What exactly are the settings files that are different between OS versions? Are they created only during OS install or can you delete them and the OS recreates them again?
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: DJ Omnimaga on April 27, 2011, 05:27:21 pm
EDIT3: Now that I've managed to make this work, I'm thinking about launching the 3.0 OS. Someone at the start of the thread said there were some problems, but what were they exactly?
It doesn't load. I haven't looked beyond that to see how to make it work.

I thought Ndless 2.1 was already available? ???
OSLauncher fails to load when using brooom's build of ndless. I'm not sure why, but if it isn't intentional I'd assume it is just somehow not receiving/compiling the modified files.
Oh ok, weird, because I swear the beta of Ndless 2.0 included compiled tns'es of the OS 1.7, 2.0.1 and 2.1 versions.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Deep Toaster on May 06, 2011, 11:40:43 pm
I've just newsed about the ability of running a CAS OS on a basic Nspire.
http://ti.bank.free.fr/index.php?mod=news&ac=commentaires&id=1082

That's awesome, but...

Oh crap, TI's gonna kill us x.x
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: critor on May 07, 2011, 09:08:15 am
The ultimate war has just begun:
https://groups.google.com/group/tinspire/browse_thread/thread/850c03817624a443?hl=en-GB%3Fhl%3Den-GB
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: GB on May 07, 2011, 09:25:50 am
I don't get what the big deal is with OSLauncher. Just press the "Reset" button on the back of the calculator, and it's all gone!
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Deep Toaster on May 07, 2011, 12:09:13 pm
The ultimate TI war has just begun:
https://groups.google.com/group/tinspire/browse_thread/thread/850c03817624a443?hl=en-GB%3Fhl%3Den-GB

TI's really gonna kill us now :D

I don't get what the big deal is with OSLauncher. Just press the "Reset" button on the back of the calculator, and it's all gone!

True, but that means test proctors will have to reset everyone's Nspires before a test begins.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: qazz42 on May 07, 2011, 12:21:01 pm
/me gets out a narrow-mind shield

quite frankly, I think that now TI has decided to play dirty, now we are doing the same. they slander us, we slander their standard test credibility :D

plus, it is not like we are doing anything illegal or anything >.>
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: ruler501 on May 07, 2011, 03:11:21 pm
That was a good read critor. I'll probably follow that just to see how thick-headed people can be.

We can't just have people resetting our calcs that would be very problematic. The one thing I like about the Nspire PTT mode is that it leaves you documents intact. On other calcs teachers just run RAM clears before letting you use them.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: critor on May 07, 2011, 03:24:16 pm
Since the 2.0.0 OS, the reset button does only trigger a reboot and doesn't remove any of your files in ROM any more.

It's understandable. Without this button, some people would have had to remove a battery and the rechargeable battery in order to trigger a reboot, which would have required a screwdriver.


When you press the PTT combo, the calculator does reboot. So using the PTT combo on a basic Nspire with an OSLaunched CAS OS reboots in PTT mode with the installed basic OS. You won't be able to use CAS any more, and you won't be able to OSlaunch again before exiting the PTT mode.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Lionel Debroux on May 07, 2011, 03:24:54 pm
Well, so far, on the tinspire group, the people have actually been pretty courteous - more so than in previous occurrences ;)
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: critor on May 07, 2011, 03:26:51 pm
Well, so far, on the tinspire group, the people have actually been pretty courteous - more so than in previous occurrences ;)

Strange... Are you sure Nelson is ok?
Maybe he had a heart attack when reading this...
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: ruler501 on May 11, 2011, 08:41:34 am
Is there an english version of the how to put a CAS on a nonCAS with OSLauncher? If not could someone sum up how to do it. I would like to have some of those math functions
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Lionel Debroux on May 11, 2011, 09:10:23 am
Quote
Is there an english version of the how to put a CAS on a nonCAS with OSLauncher?
Not that I know of, but maybe someone is making it and will announce it only when the work is completed.

People interested in working on translating the howto can ask critor for the original (editable) file.

[EDIT: typo]
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: ruler501 on May 11, 2011, 12:32:48 pm
Is there a verison I can use google translate on?

Google translate doesn't work on the pdf file. Maybe they could post an HTML version somewhere
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: DJ Omnimaga on May 14, 2011, 07:35:46 pm
I just copy the entire text from Adobe Reader into Google Translate there read from there.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: ruler501 on May 14, 2011, 09:23:23 pm
I ended up just asking bt that is a good idea DJ. Ill use it next time I need a pdf translated
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: kyllopardiun on June 12, 2011, 09:28:15 pm
Is there a verison I can use google translate on?

Google translate doesn't work on the pdf file. Maybe they could post an HTML version somewhere
no need: http://ti.bank.free.fr/modules/archives/downloads/nspirepcas.zip

Couldn't anyone post compiled and working versions which does the trick?
//When I try to launch 1.7 cas in the 1.7 non-cas I see the image as described in the pdf,
but after it, then it freeze in a "black" screen...

:/
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Lionel Debroux on June 13, 2011, 02:32:32 am
If you get to the point that the calculator freezes on a mostly black screen, you're probably using the correct versions.
Freezing is by far the most frequent behaviour of my S-0507 Nspire Clickpad when OSLaunching a 1.7.2741 CAS from a 1.7.2741 non-CAS...
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: kyllopardiun on June 13, 2011, 08:08:03 am
If you get to the point that the calculator freezes on a mostly black screen, you're probably using the correct versions.
Freezing is by far the most frequent behaviour of my S-0507 Nspire Clickpad when OSLaunching a 1.7.2741 CAS from a 1.7.2741 non-CAS...

Well, then I suppose we have the same situation (as mine is a clickpad too);
So, did you have more lucky with others S.O.  combinations?

//I almost installed 2.0.1 to give it a try, but I am not sure if it will be worth,
as it doesn't worked on my hardware.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Sebasu on January 20, 2012, 08:48:44 pm
Hello, ndless3.1 beta was released but when i try oslauncher, the system crash and reboot, can you modify the program to use it with os 3.1?
thanks
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: ruler501 on January 20, 2012, 10:14:10 pm
that would be great. I'd love to have oslauncher on my 3.1 nspire
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Lionel Debroux on January 21, 2012, 02:41:43 am
OSLauncher is open source software, under an ultra-liberal license (WTFPL). It can be ported to Ndless 3.1 by anyone :)
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: compu on January 23, 2012, 02:33:12 pm
I have ported it to OS 3.1, but it says that it can't allocate memory (I try to launch 3.1 CAS), but it worked with 2.0.1 CAS. So.... is OS 3.1 just to big (5.3MB)? :(
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Lionel Debroux on January 23, 2012, 02:59:14 pm
What matters, for the memory allocation, is the uncompressed size. And phoenix.raw from OS 3.1.0.392 Clickpad/Touchpad CAS is 11556252 bytes, while the one from OS 2.0.1.60 is 7946612 bytes.
Well, try launching the 3.1.0.392 CAS OS from a TNOC'ed 3.1.0.392 non-CAS host OS containing only OSLauncher and the decrypted, compressed file... and if it fails even in such conditions, then yes, OS 3.1 is too large for being launched through the current method.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: compu on January 23, 2012, 03:06:35 pm
Unfortunately, my OS is already TNOC'd and I use only ~250KB for other files. That sucks D:
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Lionel Debroux on January 23, 2012, 03:18:54 pm
Well, then... if reading from the NAND Flash works when interrupts are disabled, direct decompression to the OS place (which requires embedding zlib into OSLauncher) may work :)
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: compu on January 24, 2012, 11:31:10 am
Would it be possible to...

allocate memory for zipped file -> copy zipped file into RAM -> disable interrupts -> unzip to 0x10000000 -> launch OS?

(I managed to integrate the required parts of zlib into OSLauncher and tried the unmodified source with DummyOS)
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Lionel Debroux on January 24, 2012, 12:57:51 pm
Quote
Would it be possible to...
allocate memory for zipped file -> copy zipped file into RAM -> disable interrupts -> unzip to 0x10000000 -> launch OS?
At least, it should indeed be much less susceptible to OOM... so yeah, go ahead, try it :)

Quote
(I managed to integrate the required parts of zlib into OSLauncher and tried the unmodified source with DummyOS)
Good ;)
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Charles on January 28, 2012, 06:13:12 pm
Hello everyone!

My goal is to be able to launch any arbitrary 3.xxxxx OS on a non-CAS TI nSpire CX 3.1.0.392 handheld (loaded with NDLESS 3.1).

To that end, I built a "phoenix.raw.zip" file on my computer and sent it along with OSlauncher onto the calc. But after the launch of OSlauncher on the calc, the calc failed to load the OS that I had inserted into "phoenix.raw.zip". In fact, each time, the calc just reboots once without any problems (i.e.: there is no crash, everything is normal), but the OS is still the original non-CAS CX 3.1.0.392 one.

Do you know please how the code of OSlauncher could be changed to add support for the CX hardware and NDLESS 3.1?

Please note that I am a novice programmer (I have sometimes difficulty understanding the meaning of the comments in the ".c" files).

Thank you very much.
Title: Re: OSLauncher, LUA to TNS converter and TI document player
Post by: Lionel Debroux on January 29, 2012, 02:54:12 am
Quote
My goal is to be able to launch any arbitrary 3.xxxxx OS on a non-CAS TI nSpire CX 3.1.0.392 handheld (loaded with NDLESS 3.1).
If TI keeps changing the internal files the way they did on older OS versions, the only OS you might be able to run from 3.1.0.392 CX non-CAS is 3.1.0.392 CX CAS. Other OS versions suitable for the CX probably won't work, and OS versions suitable for the Clickpad & Touchpad definitely won't work.

Quote
To that end, I built a "phoenix.raw.zip" file on my computer and sent it along with OSlauncher onto the calc. But after the launch of OSlauncher on the calc, the calc failed to load the OS that I had inserted into "phoenix.raw.zip". In fact, each time, the calc just reboots once without any problems (i.e.: there is no crash, everything is normal), but the OS is still the original non-CAS CX 3.1.0.392 one.
It's perfectly natural: OS for CX and CM calculators are encrypted a different way than OS for Clickpad & Touchpad calculators are. CX & CM OS have obviously been decrypted (otherwise Ndless 3.1 wouldn't work on the CX), and it's pretty easy to add support for a new OS version to the automated decryptor - but said decryptor remains private for now. Published software is powerless against CX and CM OS, but can decrypt Lab Cradle OS.

Quote
Do you know please how the code of OSlauncher could be changed to add support for the CX hardware and NDLESS 3.1?
One easy change is known, but others may be necessary.

Quote
Please note that I am a novice programmer (I have sometimes difficulty understanding the meaning of the comments in the ".c" files).
The scarcity in comments of the OSLauncher code base is intentional.