Catégorie:XML format used in TNS&TNSP files: Difference between revisions
(Beginning of the big project :)) |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
To get the XML data, you can use: | To get the XML data, you can use: | ||
- | -[http://levak.free.fr/ftp/nspire/ClipboardDumper/ Levak’s clipboard dumper] with the TI Nspire Computer Software | ||
- | -[http://hackspire.unsads.com/wiki/index.php/Emulators#nspire_emu Godplat's nspire_emu] like described [http://ndlessly.wordpress.com/2011/09/19/luna-updated-for-third-party-tns-document-generation/ here] and [http://www.omnimaga.org/index.php?topic=9807.msg192435#msg192435 here] | ||
To build TNS files from XML, you can use | To build TNS files from XML, you can use [http://tiplanet.org/forum/archives_voir.php?id=3701 Luna]. | ||
=== TNSP files === | === TNSP files === | ||
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 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 |
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