Macintosh resource file

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Sample files)
m (Change telparia.com samples link to template)
 
(One intermediate revision by one user not shown)
Line 17: Line 17:
  
 
== Sample files ==
 
== Sample files ==
* https://telparia.com/fileFormatSamples/archive/rsrc/
+
* {{DexvertSamples|archive/rsrc}}
  
 
== References ==
 
== References ==
Line 25: Line 25:
 
* [https://whitefiles.org/mac/pgs/t02.htm The White Files: Mac OS Guides: Resources]
 
* [https://whitefiles.org/mac/pgs/t02.htm The White Files: Mac OS Guides: Resources]
 
* [http://xahlee.info/UnixResource_dir/macosx.html Mac OS X Resource Fork and Command Line Tips]
 
* [http://xahlee.info/UnixResource_dir/macosx.html Mac OS X Resource Fork and Command Line Tips]
 +
 +
== See also ==
 +
* Kaitai structs for a few resource fork files on [Macintosh resource file GitHub].
 +
* Official Kaitai [https://github.com/kaitai-io/kaitai_struct_formats/tree/master/macos MacOS Structs].
 +
* RSRC dump [https://github.com/dgelessus/python-rsrcfork pure Python utility for reading resource data].
 +
* Resource-fork hashtag [https://github.com/topics/resource-fork on Github].
  
 
[[Category:Metadata]]
 
[[Category:Metadata]]
 
[[Category:Development]]
 
[[Category:Development]]
 
[[Category:Macintosh]]
 
[[Category:Macintosh]]

Latest revision as of 04:09, 28 December 2023

File Format
Name Macintosh resource file
Ontology
Extension(s) .rsrc, .dfont, others

The Macintosh resource file format was used by the Resource Manager in Mac OS Classic for storing resources used by Mac OS Classic applications as well as file associations and executable code. Traditionally, this format is used in the Resource Fork of a file on the HFS and HFS+ file systems; however, when resource files are still used in Mac OS X applications, the same format is used in a file with the extension .rsrc.

See Resource Fork for general information about Macintosh resource forks.

Contents

[edit] Format details

A resource has a four-character type code, an ID number, an optional name, and data. The type code is generally unique to the type of data stored within, but this may not be the case with application-specific formats.

[edit] Software

[edit] Sample files

[edit] References

[edit] See also

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox