PRC (Palm OS)

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Sample files)
 
(12 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
|formattype=electronic
 
|formattype=electronic
 
|subcat=Executables
 
|subcat=Executables
|extensions={{ext|prc}}
+
|extensions={{ext|prc}}, {{ext|pdb}}
 
|mimetypes={{mimetype|application/vnd.palm}}
 
|mimetypes={{mimetype|application/vnd.palm}}
 
}}
 
}}
'''PRC''' is an archive-like file format associated with PalmOS. It stores executable code, and related 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 [[PalmOS 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 ==
The term "PRC" is also associated with [[PalmDOC]] and related formats.
+
The term "PRC" is also associated with [[PalmDOC]] and related formats, though PalmDOC is a [[Palm OS Database|PDB]] format, not a PRC format.
  
 
== Identification ==
 
== Identification ==
ASCII characters {{magic|appl}} appear at offset 60.
+
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 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/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
 +
* https://telparia.com/fileFormatSamples/archive/palmResource/
  
 
== Links ==
 
== Links ==
 
* [http://wiki.mobileread.com/wiki/PRC PRC (MobileRead Wiki)]
 
* [http://wiki.mobileread.com/wiki/PRC PRC (MobileRead Wiki)]
 +
* [http://web.mit.edu/tytso/www/pilot/prc-format.html The PRC Format]
 
* [[Wikipedia: PRC (Palm OS)]]
 
* [[Wikipedia: PRC (Palm OS)]]
 
* [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]
 +
* {{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 04:07, 14 March 2022

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