Catégorie:XML format used in TNS&TNSP files: Difference between revisions

From Hackspire
Jump to navigation Jump to search
((I found a better way to use links)
 
(4 intermediate revisions by the same user not shown)
Line 19: Line 19:


Any text editor and good zip-reader that can handle odd zip files should be OK.
Any text editor and good zip-reader that can handle odd zip files should be OK.
You should be able to extract every file except one, which is in clear at the beginning of the TNSP file.




== TNS files general XML structure ==
== TNS files general XML structure ==


You can find two or more XML files in a TNS file:
TNS files are composed of two or more XML files:


-[[Document.xml]]
-[[Document.xml]] (general info on the file)


-[[ProblemX.xml]] (X being the number of the problem, up to 50 in regular TNS files)
-[[ProblemX.xml]] (X being the number of the problem, up to 50 in regular TNS files)
In each ProblemX.xml, there are different cards (described in [[ProblemX.xml]]), which contains themselves [[Widgets]].
(If the TNS file was created with OS >=1.2, these files are encrypted, and thus you can't extract them)
== TNSP files general XML structure ==
Todo

Latest revision as of 23:19, 23 December 2011

XML format used in TNS files

TNS and TNSP files contains XML data, encrypted and compressed (see TNS File Format and TNSP File Format).


How to get the XML data and build TNS from XML

TNS files

To get the XML data, you can use:

-Levak’s clipboard dumper with the TI Nspire Computer Software

-Godplat's nspire_emu like described here and here


To build TNS files from XML, you can use Luna.

TNSP files

Any text editor and good zip-reader that can handle odd zip files should be OK.

You should be able to extract every file except one, which is in clear at the beginning of the TNSP file.


TNS files general XML structure

TNS files are composed of two or more XML files:

-Document.xml (general info on the file)

-ProblemX.xml (X being the number of the problem, up to 50 in regular TNS files)

In each ProblemX.xml, there are different cards (described in ProblemX.xml), which contains themselves Widgets.

(If the TNS file was created with OS >=1.2, these files are encrypted, and thus you can't extract them)

TNSP files general XML structure

Todo