Author Topic: OS 3.0 breaks compatibility  (Read 19480 times)

0 Members and 1 Guest are viewing this topic.

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
OS 3.0 breaks compatibility
« on: April 17, 2011, 01:51:08 pm »
The Nspire 3.0 OS doesn't open unencrypted TNS files anymore: you get the "this document format is not supported" dialog box.

Some unofficial softwares (TI-Nspire Text Editor, TNIC web) were generating unencrypted TNS files with text and images.
Those files aren't usable anymore on OS 3.0.

They probably did it on purpose: to import text or images on your Nspire, you now have no other way than using the official software, if you have a valid licence.

Starting from OS 1.2, TNS files were stored encrypted.
In OS 1.1, TNS files were stored unencrypted as XML files, exactly like with TI-Nspire Text Editor and TNIC web.
I've just tested: TNS files generated by the 1.1 OS aren't usable on the 3.0 OS.

So, in order to bother us, TI even took the right to break their own advertised ascending compatibility. :mad:


To get back at TI, we should really break the TNS encryption as soon as possible.
TI-Planet co-admin.

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: OS 3.0 breaks compatibility
« Reply #1 on: April 17, 2011, 01:55:53 pm »
I agree with you about the fact that we must find a way to break the .tns encryption as soon as possible, but we're not experiencing any problem running the freshly created .tns files from lua code, and they happen do be unencrypted, so it means the Nspire can still read these file .... but I think that's because the nspire is only chacking if the Document.xml is encrypted.
If it is, it's all good, because it doesn't check if Problem1.xml is encrypted.
That's how we could make our LUA->TNS converters.

So, for now, the only solution to keep the old tns files compatible, woudl be to rewrite the Document.xml part with some script
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: OS 3.0 breaks compatibility
« Reply #2 on: April 17, 2011, 02:06:00 pm »
I'm not going to be surprised if TI blocks the ability to use Lua tns files that are partially unencrypted... It seems like they're trying to do everything to stop us, even if it involves disadvantages to the customers (such as not being able to downgrade).

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: OS 3.0 breaks compatibility
« Reply #3 on: April 17, 2011, 02:10:24 pm »
That's why I strongly recommend to NOT Update to an eventual soon update of the Nspire OS.
We must check if they did something to the lua compatibility first ....
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: OS 3.0 breaks compatibility
« Reply #4 on: April 17, 2011, 02:24:39 pm »
Hehe, encrypted TNS? They must be joking. Simply taking a Java decompiler and running it through their program does wonders... :P (Aided with a C decompiler, if needed)
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: OS 3.0 breaks compatibility
« Reply #5 on: April 17, 2011, 02:25:19 pm »
This majorly sucks, and I'd have a hard time believing that they needed to do that.

Some people among us do already know how to decompress data compressed with the unspecified 0D compression method. The ways of compressing data with the unspecified 0D compression method need to be extracted from where they are, and reimplemented :)
« Last Edit: April 17, 2011, 02:30:02 pm by Lionel Debroux »
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: OS 3.0 breaks compatibility
« Reply #6 on: April 17, 2011, 02:30:06 pm »
People as in people in the ndless community? Not sure about that... :P I'm pretty sure if the teacher software can do it, all we need to do is to rip apart the core and look for the key and compression stuff.

I'd rather not do that, but Google doesn't quite help with "0D" decompression... :(
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: OS 3.0 breaks compatibility
« Reply #7 on: April 17, 2011, 02:32:13 pm »
Well, the periodic table written in Lua was translated into French (see the latest uploads to TI-Bank), so decompressing 0D-compressed data has been done :)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: OS 3.0 breaks compatibility
« Reply #8 on: April 17, 2011, 02:36:15 pm »
And we need to compress it back now...
TI-Planet co-admin.

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: OS 3.0 breaks compatibility
« Reply #9 on: April 17, 2011, 02:38:09 pm »
That sucks. That text editor would have made a great Lua/C IDE with some modifications.

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: OS 3.0 breaks compatibility
« Reply #10 on: April 17, 2011, 02:42:30 pm »
Question (maybe stupid):

Could that problem with TI-Nspire Text Editor and TNIC files be related to their Ndless fix?
(opening the installer file gives the same error message, instead of executing code...)
TI-Planet co-admin.

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: OS 3.0 breaks compatibility
« Reply #11 on: April 17, 2011, 02:42:39 pm »
Indeed.
Note that an independent port of Lua would be much better than relying on TI's sub-par Lua. See http://ourl.ca/10458 :)

[that was a reply to willrandship, critor posted in-between]
« Last Edit: April 17, 2011, 03:05:07 pm by Lionel Debroux »
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: OS 3.0 breaks compatibility
« Reply #12 on: April 17, 2011, 02:46:00 pm »
but for now, at least all the progs will be easily ported.

If we're porting something anyways, why not port python? It's faster, and has more readable code, IMO.

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: OS 3.0 breaks compatibility
« Reply #13 on: April 17, 2011, 03:05:49 pm »
The Python VM is not that fast, actually ;)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: OS 3.0 breaks compatibility
« Reply #14 on: April 17, 2011, 03:06:38 pm »
I didn't say it was amazingly fast, just that it's a little faster than Lua. Really, I want it for the awesome syntax :P not so much the speed.

Of course, you can't compare speeds of the two when you're talking about a whole different platform anyways.
« Last Edit: April 17, 2011, 03:07:17 pm by willrandship »