Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/WebStart.php on line 103

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/Defines.php on line 187

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/WebStart.php on line 134

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/LocalSettings.php on line 137

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/LocalSettings.php on line 139

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/LocalSettings.php on line 144

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/LocalSettings.php on line 145

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/LocalSettings.php on line 153

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/languages/Language.php on line 20

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/mediawiki/includes/WebStart.php:103) in /usr/local/www/mediawiki/includes/WebResponse.php on line 38

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/mediawiki/includes/WebStart.php:103) in /usr/local/www/mediawiki/includes/WebResponse.php on line 38

Warning: include(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/resourceloader/ResourceLoader.php on line 201

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/json/FormatJson.php on line 12

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007
Macintosh resource file - Just Solve the File Format Problem

Macintosh resource file

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
m
m (Add Kaitai Struct schema)
 
(8 intermediate revisions by 5 users not shown)
Line 3: Line 3:
 
|subcat=Resources
 
|subcat=Resources
 
|extensions={{ext|rsrc}}, {{ext|dfont}}, others
 
|extensions={{ext|rsrc}}, {{ext|dfont}}, others
 +
|kaitai struct=resource_fork
 
}}
 
}}
 
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 ==
 
* [https://sourceforge.net/projects/rezilla/ Rezilla]
 
* [https://sourceforge.net/projects/rezilla/ Rezilla]
 
* [https://github.com/kreativekorp/ksfl KSFL] reads and writes Macintosh resource files
 
* [https://github.com/kreativekorp/ksfl KSFL] reads and writes Macintosh resource files
 +
* {{Deark}}
 +
 +
== Sample files ==
 +
* {{DexvertSamples|archive/rsrc}}
  
 
== References ==
 
== References ==
Line 17: Line 24:
 
* [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]
 +
* [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 17:53, 26 December 2024

File Format
Name Macintosh resource file
Ontology
Extension(s) .rsrc, .dfont, others
Kaitai Struct Spec resource_fork.ksy

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

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/mediawiki/includes/WebStart.php:103) in /usr/local/www/mediawiki/includes/WebResponse.php on line 38

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/mediawiki/includes/WebStart.php:103) in /usr/local/www/mediawiki/includes/WebResponse.php on line 38

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/mediawiki/includes/WebStart.php:103) in /usr/local/www/mediawiki/includes/WebResponse.php on line 38