HP Prime/File Format

From TI-Planet's HP Calcs Wiki
< HP Prime
Revision as of 20:34, 19 August 2013 by Debrouxl (talk | contribs) (Create page stub, with a bit of information about lists.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This page aims at providing information about the file types of the HP Prime and their storage format (on both the computer side and the calculator side, if they're different).

Known file types

This list was extracted from the folder used by the computer version of the HP Prime software (dated August 15th, 2013), namely %appdata%/HP_Prime on Windows:

  • "*.hpapp", "*.hpappnote", "*.hpapprgm": applications, built-in or others;
  • "*.hpprgm": user BASIC programs;
  • "calc.settings", "cas.settings, "settings": binary information about settings;
  • "*.hplist": list files:
    • the default state of a list is an 8-byte file: 01 00 16 00 *00* 00 00 00
    • {0} is stored as a 28-byte file: 01 00 16 00 *01* 00 00 00 *18* 2d 23 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01
    • {1} is stored as a 28-byte file: 01 00 16 00 *01* 00 00 00 *38* 2d 23 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01
    • {2} is stored as a 28-byte file: 01 00 16 00 *01* 00 00 00 *58* 2d 23 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01
    • {-1} is stored as a 28-byte file: 01 00 16 00 *01* 00 00 00 *08* 2d 23 01 00 00 00 *ff* 00 00 00 00 00 00 00 00 00 00 00 01
    • {1,2} is stored as a 48-byte file: 01 00 16 00 *02* 00 00 00 18 2d 23 01 38 2d 23 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01
  • "*.hpmat": matrix files:
    • the default state of a matrix is a 24-byte file: 01 00 *14* 01 02 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00
  • "testmodes.hptestmodes": current settings for the exam mode ?