Macintosh resource file

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
m
 
Line 5: Line 5:
 
}}
 
}}
 
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.
 
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.
  
 
== Format details ==
 
== Format details ==
A resource has a [[FourCC|four-character type code]], an ID, 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.
+
A resource has a [[FourCC|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.
  
 
== Software ==
 
== Software ==
Line 17: Line 19:
 
* [http://developer.apple.com/legacy/mac/library/documentation/mac/pdf/MoreMacintoshToolbox.pdf More Macintosh Toolbox] (format is described on page 1-121 to 1-125)
 
* [http://developer.apple.com/legacy/mac/library/documentation/mac/pdf/MoreMacintoshToolbox.pdf More Macintosh Toolbox] (format is described on page 1-121 to 1-125)
 
* [https://github.com/kreativekorp/ksfl/wiki/Macintosh-Resource-File-Format Description of the file format] from the KSFL wiki
 
* [https://github.com/kreativekorp/ksfl/wiki/Macintosh-Resource-File-Format Description of the file format] from the KSFL wiki
* [https://whitefiles.org/b1_s/1_free_guides/fg3mo/pgs/t02.htm The White Files: Mac OS Guides: Resources]
+
* [https://whitefiles.org/mac/pgs/t02.htm The White Files: Mac OS Guides: Resources]
  
 
[[Category:Metadata]]
 
[[Category:Metadata]]
 
[[Category:Development]]
 
[[Category:Development]]
 
[[Category:Macintosh]]
 
[[Category:Macintosh]]

Latest revision as of 15:24, 15 September 2019

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.

[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

  • Rezilla
  • KSFL reads and writes Macintosh resource files

[edit] References

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox