PRC (Palm OS)

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Identification)
Line 17: Line 17:
 
In many PRC files, ASCII characters "{{magic|appl}}" appear at offset 60. But when they don't, it is not easy to identify a PRC file by its contents.
 
In many PRC files, ASCII characters "{{magic|appl}}" appear at offset 60. But when they don't, it is not easy to identify a PRC file by its contents.
  
A few PRC files even have a '''.pdb''' file extension. PRC and [[Palm OS Database|PDB]] can usually be distinguished by the byte at offset 78. For PRC, it is a printable ASCII character. For PDB, it should be a very small number, virtually always 0.
+
A few PRC files even have a '''.pdb''' file extension. PRC and [[Palm OS Database|PDB]] can be distinguished by the byte at offset 33, which has its low bit set for PRC, and unset for PDB.
  
 
== Sample files ==
 
== Sample files ==

Revision as of 18:08, 16 September 2017

File Format
Name PRC (Palm OS)
Ontology
Extension(s) .prc, .pdb
MIME Type(s) application/vnd.palm

PRC is an archive-like file format associated with Palm OS. It stores executable code, and/or resource data.

PRC probably stands for Palm Resource, though it is sometimes said to stand for Palm Resource Code, or Palm Resource Compiler.

It is very similar to PDB, but it is not the same format. For example, the resource records that follow the header are 10 bytes each, while for PDB they are 8 bytes each.

Contents

Disambiguation

The term "PRC" is also associated with PalmDOC and related formats, though PalmDOC is a PDB format, not a PRC format.

Identification

In many PRC files, ASCII characters "appl" appear at offset 60. But when they don't, it is not easy to identify a PRC file by its contents.

A few PRC files even have a .pdb file extension. PRC and PDB can be distinguished by the byte at offset 33, which has its low bit set for PRC, and unset for PDB.

Sample files

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox