PRC (Palm OS)

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
m (Change telparia.com samples link to template)
 
(9 intermediate revisions by 3 users not shown)
Line 5: Line 5:
 
|mimetypes={{mimetype|application/vnd.palm}}
 
|mimetypes={{mimetype|application/vnd.palm}}
 
}}
 
}}
'''PRC''' is an archive-like file format associated with Palm OS. It stores executable code, and/or resource data.
+
'''PRC''' is an archive-like file format associated with Palm OS. It usually 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'''.
 
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 [[Palm OS Database|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.
+
It is very similar to [[Palm OS Database|PDB]], and is sometimes considered to be a subtype of PDB. The main difference is that the resource records have a different format and size.
  
 
== Disambiguation ==
 
== Disambiguation ==
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 ==
 
* http://cd.textfiles.com/pdasoftware/PILOT/ ...
 
* http://cd.textfiles.com/pdasoftware/PILOT/ ...
 
* http://cd.textfiles.com/palmpilotc/ ... (inside many of the [[self-extracting ZIP]] files)
 
* http://cd.textfiles.com/palmpilotc/ ... (inside many of the [[self-extracting ZIP]] files)
 +
* http://cd.textfiles.com/hhot/PALMP~13/ ...
 +
* [https://archive.org/details/PDA_Essentials_Issue_27_Highbury_Entertainment PDA Essentials (Issue 27)] → contents/Palm/... - CD image from archive.org; may have newer files than the above collections
 +
* {{DexvertSamples|archive/palmResource}}
  
 
== Links ==
 
== Links ==
Line 29: Line 32:
 
* [http://lauriedavis9.tripod.com/copilot/download/Palm_File_Format_Specs.pdf Palm File Format Specs]
 
* [http://lauriedavis9.tripod.com/copilot/download/Palm_File_Format_Specs.pdf Palm File Format Specs]
 
* [http://prc-tools.sourceforge.net/ prc-tools]
 
* [http://prc-tools.sourceforge.net/ prc-tools]
 +
* {{Deark}} can extract the individual resources
  
 
[[Category:Palm]]
 
[[Category:Palm]]
 +
[[Category:Palm OS Database]]
 
[[Category:Personal Digital Assistant formats]]
 
[[Category:Personal Digital Assistant formats]]
 
[[Category:Resources]]
 
[[Category:Resources]]

Latest revision as of 02:55, 28 December 2023

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 usually 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, and is sometimes considered to be a subtype of PDB. The main difference is that the resource records have a different format and size.

Contents

[edit] Disambiguation

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

[edit] 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.

[edit] Sample files

[edit] Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox