├── .editorconfig ├── .gitattributes ├── LICENSE └── README.md /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*.md] 4 | charset = utf-8 5 | indent_style = tab 6 | insert_final_newline = true 7 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.md text 2 | 3 | .editorconfig text 4 | .gitattributes text 5 | .gitignore text 6 | LICENSE text 7 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Attribution 4.0 International 2 | 3 | ======================================================================= 4 | 5 | Creative Commons Corporation ("Creative Commons") is not a law firm and 6 | does not provide legal services or legal advice. Distribution of 7 | Creative Commons public licenses does not create a lawyer-client or 8 | other relationship. Creative Commons makes its licenses and related 9 | information available on an "as-is" basis. Creative Commons gives no 10 | warranties regarding its licenses, any material licensed under their 11 | terms and conditions, or any related information. Creative Commons 12 | disclaims all liability for damages resulting from their use to the 13 | fullest extent possible. 14 | 15 | Using Creative Commons Public Licenses 16 | 17 | Creative Commons public licenses provide a standard set of terms and 18 | conditions that creators and other rights holders may use to share 19 | original works of authorship and other material subject to copyright 20 | and certain other rights specified in the public license below. The 21 | following considerations are for informational purposes only, are not 22 | exhaustive, and do not form part of our licenses. 23 | 24 | Considerations for licensors: Our public licenses are 25 | intended for use by those authorized to give the public 26 | permission to use material in ways otherwise restricted by 27 | copyright and certain other rights. Our licenses are 28 | irrevocable. Licensors should read and understand the terms 29 | and conditions of the license they choose before applying it. 30 | Licensors should also secure all rights necessary before 31 | applying our licenses so that the public can reuse the 32 | material as expected. Licensors should clearly mark any 33 | material not subject to the license. This includes other CC- 34 | licensed material, or material used under an exception or 35 | limitation to copyright. More considerations for licensors: 36 | wiki.creativecommons.org/Considerations_for_licensors 37 | 38 | Considerations for the public: By using one of our public 39 | licenses, a licensor grants the public permission to use the 40 | licensed material under specified terms and conditions. If 41 | the licensor's permission is not necessary for any reason--for 42 | example, because of any applicable exception or limitation to 43 | copyright--then that use is not regulated by the license. Our 44 | licenses grant only permissions under copyright and certain 45 | other rights that a licensor has authority to grant. Use of 46 | the licensed material may still be restricted for other 47 | reasons, including because others have copyright or other 48 | rights in the material. A licensor may make special requests, 49 | such as asking that all changes be marked or described. 50 | Although not required by our licenses, you are encouraged to 51 | respect those requests where reasonable. More_considerations 52 | for the public: 53 | wiki.creativecommons.org/Considerations_for_licensees 54 | 55 | ======================================================================= 56 | 57 | Creative Commons Attribution 4.0 International Public License 58 | 59 | By exercising the Licensed Rights (defined below), You accept and agree 60 | to be bound by the terms and conditions of this Creative Commons 61 | Attribution 4.0 International Public License ("Public License"). To the 62 | extent this Public License may be interpreted as a contract, You are 63 | granted the Licensed Rights in consideration of Your acceptance of 64 | these terms and conditions, and the Licensor grants You such rights in 65 | consideration of benefits the Licensor receives from making the 66 | Licensed Material available under these terms and conditions. 67 | 68 | 69 | Section 1 -- Definitions. 70 | 71 | a. Adapted Material means material subject to Copyright and Similar 72 | Rights that is derived from or based upon the Licensed Material 73 | and in which the Licensed Material is translated, altered, 74 | arranged, transformed, or otherwise modified in a manner requiring 75 | permission under the Copyright and Similar Rights held by the 76 | Licensor. For purposes of this Public License, where the Licensed 77 | Material is a musical work, performance, or sound recording, 78 | Adapted Material is always produced where the Licensed Material is 79 | synched in timed relation with a moving image. 80 | 81 | b. Adapter's License means the license You apply to Your Copyright 82 | and Similar Rights in Your contributions to Adapted Material in 83 | accordance with the terms and conditions of this Public License. 84 | 85 | c. Copyright and Similar Rights means copyright and/or similar rights 86 | closely related to copyright including, without limitation, 87 | performance, broadcast, sound recording, and Sui Generis Database 88 | Rights, without regard to how the rights are labeled or 89 | categorized. For purposes of this Public License, the rights 90 | specified in Section 2(b)(1)-(2) are not Copyright and Similar 91 | Rights. 92 | 93 | d. Effective Technological Measures means those measures that, in the 94 | absence of proper authority, may not be circumvented under laws 95 | fulfilling obligations under Article 11 of the WIPO Copyright 96 | Treaty adopted on December 20, 1996, and/or similar international 97 | agreements. 98 | 99 | e. Exceptions and Limitations means fair use, fair dealing, and/or 100 | any other exception or limitation to Copyright and Similar Rights 101 | that applies to Your use of the Licensed Material. 102 | 103 | f. Licensed Material means the artistic or literary work, database, 104 | or other material to which the Licensor applied this Public 105 | License. 106 | 107 | g. Licensed Rights means the rights granted to You subject to the 108 | terms and conditions of this Public License, which are limited to 109 | all Copyright and Similar Rights that apply to Your use of the 110 | Licensed Material and that the Licensor has authority to license. 111 | 112 | h. Licensor means the individual(s) or entity(ies) granting rights 113 | under this Public License. 114 | 115 | i. Share means to provide material to the public by any means or 116 | process that requires permission under the Licensed Rights, such 117 | as reproduction, public display, public performance, distribution, 118 | dissemination, communication, or importation, and to make material 119 | available to the public including in ways that members of the 120 | public may access the material from a place and at a time 121 | individually chosen by them. 122 | 123 | j. Sui Generis Database Rights means rights other than copyright 124 | resulting from Directive 96/9/EC of the European Parliament and of 125 | the Council of 11 March 1996 on the legal protection of databases, 126 | as amended and/or succeeded, as well as other essentially 127 | equivalent rights anywhere in the world. 128 | 129 | k. You means the individual or entity exercising the Licensed Rights 130 | under this Public License. Your has a corresponding meaning. 131 | 132 | 133 | Section 2 -- Scope. 134 | 135 | a. License grant. 136 | 137 | 1. Subject to the terms and conditions of this Public License, 138 | the Licensor hereby grants You a worldwide, royalty-free, 139 | non-sublicensable, non-exclusive, irrevocable license to 140 | exercise the Licensed Rights in the Licensed Material to: 141 | 142 | a. reproduce and Share the Licensed Material, in whole or 143 | in part; and 144 | 145 | b. produce, reproduce, and Share Adapted Material. 146 | 147 | 2. Exceptions and Limitations. For the avoidance of doubt, where 148 | Exceptions and Limitations apply to Your use, this Public 149 | License does not apply, and You do not need to comply with 150 | its terms and conditions. 151 | 152 | 3. Term. The term of this Public License is specified in Section 153 | 6(a). 154 | 155 | 4. Media and formats; technical modifications allowed. The 156 | Licensor authorizes You to exercise the Licensed Rights in 157 | all media and formats whether now known or hereafter created, 158 | and to make technical modifications necessary to do so. The 159 | Licensor waives and/or agrees not to assert any right or 160 | authority to forbid You from making technical modifications 161 | necessary to exercise the Licensed Rights, including 162 | technical modifications necessary to circumvent Effective 163 | Technological Measures. For purposes of this Public License, 164 | simply making modifications authorized by this Section 2(a) 165 | (4) never produces Adapted Material. 166 | 167 | 5. Downstream recipients. 168 | 169 | a. Offer from the Licensor -- Licensed Material. Every 170 | recipient of the Licensed Material automatically 171 | receives an offer from the Licensor to exercise the 172 | Licensed Rights under the terms and conditions of this 173 | Public License. 174 | 175 | b. No downstream restrictions. You may not offer or impose 176 | any additional or different terms or conditions on, or 177 | apply any Effective Technological Measures to, the 178 | Licensed Material if doing so restricts exercise of the 179 | Licensed Rights by any recipient of the Licensed 180 | Material. 181 | 182 | 6. No endorsement. Nothing in this Public License constitutes or 183 | may be construed as permission to assert or imply that You 184 | are, or that Your use of the Licensed Material is, connected 185 | with, or sponsored, endorsed, or granted official status by, 186 | the Licensor or others designated to receive attribution as 187 | provided in Section 3(a)(1)(A)(i). 188 | 189 | b. Other rights. 190 | 191 | 1. Moral rights, such as the right of integrity, are not 192 | licensed under this Public License, nor are publicity, 193 | privacy, and/or other similar personality rights; however, to 194 | the extent possible, the Licensor waives and/or agrees not to 195 | assert any such rights held by the Licensor to the limited 196 | extent necessary to allow You to exercise the Licensed 197 | Rights, but not otherwise. 198 | 199 | 2. Patent and trademark rights are not licensed under this 200 | Public License. 201 | 202 | 3. To the extent possible, the Licensor waives any right to 203 | collect royalties from You for the exercise of the Licensed 204 | Rights, whether directly or through a collecting society 205 | under any voluntary or waivable statutory or compulsory 206 | licensing scheme. In all other cases the Licensor expressly 207 | reserves any right to collect such royalties. 208 | 209 | 210 | Section 3 -- License Conditions. 211 | 212 | Your exercise of the Licensed Rights is expressly made subject to the 213 | following conditions. 214 | 215 | a. Attribution. 216 | 217 | 1. If You Share the Licensed Material (including in modified 218 | form), You must: 219 | 220 | a. retain the following if it is supplied by the Licensor 221 | with the Licensed Material: 222 | 223 | i. identification of the creator(s) of the Licensed 224 | Material and any others designated to receive 225 | attribution, in any reasonable manner requested by 226 | the Licensor (including by pseudonym if 227 | designated); 228 | 229 | ii. a copyright notice; 230 | 231 | iii. a notice that refers to this Public License; 232 | 233 | iv. a notice that refers to the disclaimer of 234 | warranties; 235 | 236 | v. a URI or hyperlink to the Licensed Material to the 237 | extent reasonably practicable; 238 | 239 | b. indicate if You modified the Licensed Material and 240 | retain an indication of any previous modifications; and 241 | 242 | c. indicate the Licensed Material is licensed under this 243 | Public License, and include the text of, or the URI or 244 | hyperlink to, this Public License. 245 | 246 | 2. You may satisfy the conditions in Section 3(a)(1) in any 247 | reasonable manner based on the medium, means, and context in 248 | which You Share the Licensed Material. For example, it may be 249 | reasonable to satisfy the conditions by providing a URI or 250 | hyperlink to a resource that includes the required 251 | information. 252 | 253 | 3. If requested by the Licensor, You must remove any of the 254 | information required by Section 3(a)(1)(A) to the extent 255 | reasonably practicable. 256 | 257 | 4. If You Share Adapted Material You produce, the Adapter's 258 | License You apply must not prevent recipients of the Adapted 259 | Material from complying with this Public License. 260 | 261 | 262 | Section 4 -- Sui Generis Database Rights. 263 | 264 | Where the Licensed Rights include Sui Generis Database Rights that 265 | apply to Your use of the Licensed Material: 266 | 267 | a. for the avoidance of doubt, Section 2(a)(1) grants You the right 268 | to extract, reuse, reproduce, and Share all or a substantial 269 | portion of the contents of the database; 270 | 271 | b. if You include all or a substantial portion of the database 272 | contents in a database in which You have Sui Generis Database 273 | Rights, then the database in which You have Sui Generis Database 274 | Rights (but not its individual contents) is Adapted Material; and 275 | 276 | c. You must comply with the conditions in Section 3(a) if You Share 277 | all or a substantial portion of the contents of the database. 278 | 279 | For the avoidance of doubt, this Section 4 supplements and does not 280 | replace Your obligations under this Public License where the Licensed 281 | Rights include other Copyright and Similar Rights. 282 | 283 | 284 | Section 5 -- Disclaimer of Warranties and Limitation of Liability. 285 | 286 | a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE 287 | EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS 288 | AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF 289 | ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, 290 | IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, 291 | WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR 292 | PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, 293 | ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT 294 | KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT 295 | ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. 296 | 297 | b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE 298 | TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, 299 | NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, 300 | INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, 301 | COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR 302 | USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN 303 | ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR 304 | DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR 305 | IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. 306 | 307 | c. The disclaimer of warranties and limitation of liability provided 308 | above shall be interpreted in a manner that, to the extent 309 | possible, most closely approximates an absolute disclaimer and 310 | waiver of all liability. 311 | 312 | 313 | Section 6 -- Term and Termination. 314 | 315 | a. This Public License applies for the term of the Copyright and 316 | Similar Rights licensed here. However, if You fail to comply with 317 | this Public License, then Your rights under this Public License 318 | terminate automatically. 319 | 320 | b. Where Your right to use the Licensed Material has terminated under 321 | Section 6(a), it reinstates: 322 | 323 | 1. automatically as of the date the violation is cured, provided 324 | it is cured within 30 days of Your discovery of the 325 | violation; or 326 | 327 | 2. upon express reinstatement by the Licensor. 328 | 329 | For the avoidance of doubt, this Section 6(b) does not affect any 330 | right the Licensor may have to seek remedies for Your violations 331 | of this Public License. 332 | 333 | c. For the avoidance of doubt, the Licensor may also offer the 334 | Licensed Material under separate terms or conditions or stop 335 | distributing the Licensed Material at any time; however, doing so 336 | will not terminate this Public License. 337 | 338 | d. Sections 1, 5, 6, 7, and 8 survive termination of this Public 339 | License. 340 | 341 | 342 | Section 7 -- Other Terms and Conditions. 343 | 344 | a. The Licensor shall not be bound by any additional or different 345 | terms or conditions communicated by You unless expressly agreed. 346 | 347 | b. Any arrangements, understandings, or agreements regarding the 348 | Licensed Material not stated herein are separate from and 349 | independent of the terms and conditions of this Public License. 350 | 351 | 352 | Section 8 -- Interpretation. 353 | 354 | a. For the avoidance of doubt, this Public License does not, and 355 | shall not be interpreted to, reduce, limit, restrict, or impose 356 | conditions on any use of the Licensed Material that could lawfully 357 | be made without permission under this Public License. 358 | 359 | b. To the extent possible, if any provision of this Public License is 360 | deemed unenforceable, it shall be automatically reformed to the 361 | minimum extent necessary to make it enforceable. If the provision 362 | cannot be reformed, it shall be severed from this Public License 363 | without affecting the enforceability of the remaining terms and 364 | conditions. 365 | 366 | c. No term or condition of this Public License will be waived and no 367 | failure to comply consented to unless expressly agreed to by the 368 | Licensor. 369 | 370 | d. Nothing in this Public License constitutes or may be interpreted 371 | as a limitation upon, or waiver of, any privileges and immunities 372 | that apply to the Licensor or You, including from the legal 373 | processes of any jurisdiction or authority. 374 | 375 | 376 | ======================================================================= 377 | 378 | Creative Commons is not a party to its public 379 | licenses. Notwithstanding, Creative Commons may elect to apply one of 380 | its public licenses to material it publishes and in those instances 381 | will be considered the “Licensor.” The text of the Creative Commons 382 | public licenses is dedicated to the public domain under the CC0 Public 383 | Domain Dedication. Except for the limited purpose of indicating that 384 | material is shared under a Creative Commons public license or as 385 | otherwise permitted by the Creative Commons policies published at 386 | creativecommons.org/policies, Creative Commons does not authorize the 387 | use of the trademark "Creative Commons" or any other trademark or logo 388 | of Creative Commons without its prior written consent including, 389 | without limitation, in connection with any unauthorized modifications 390 | to any of its public licenses or any other arrangements, 391 | understandings, or agreements concerning use of licensed material. For 392 | the avoidance of doubt, this paragraph does not form part of the 393 | public licenses. 394 | 395 | Creative Commons may be contacted at creativecommons.org. 396 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Mac File Format Docs 2 | 3 | A collection of technical documentation and specifications about Apple- and Mac-related file formats, mainly from the classic Mac OS and early Mac OS X era. 4 | 5 | If any links on this page are no longer functional, check if they have been archived by the [Internet Archive Wayback Machine](https://archive.org/web/), or using [archive.is](http://archive.is/) aka [archive.fo](https://archive.fo/). 6 | 7 | ## License 8 | 9 | [!["Creative Commons License](https://i.creativecommons.org/l/by/4.0/88x31.png)](https://creativecommons.org/licenses/by/4.0/) 10 | 11 | This work is licensed under a [Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0/). 12 | 13 | **Note:** The license only applies to the contents of this repository. All linked external websites and documents are subject to their own copyright notices and license terms. 14 | 15 | ## General information 16 | 17 | These resources provide general documentation about the Mac, its internals, and development for the platform. They don't focus on any specific topic. 18 | 19 | ### Non-Mac-specific 20 | 21 | These resources are not Mac-specific, but contain some Mac-related information. 22 | 23 | * [Wikipedia](https://en.wikipedia.org/) has articles about many Mac-related topics. The articles themselves usually don't go into deep technical detail, but the references and external links are often worth looking at for more information. 24 | * The [Just Solve the File Format Problem](http://fileformats.archiveteam.org/) wiki, run by [Archive Team](https://archiveteam.org/), provides information about various file formats. The name might sound like clickbait, but this is a decent site with useful information. As with Wikipedia, the articles often don't go into much detail, but the links are useful for further research. 25 | * The [Kaitai Struct format gallery](https://formats.kaitai.io/) is a collection of [Kaitai Struct](https://kaitai.io/) specifications for common file formats. The source code for all specs can be found in the [kaitai-io/kaitai_struct_formats](https://github.com/kaitai-io/kaitai_struct_formats) GitHub repo. These specs can be compiled to many popular programming languages to allow parsing files in the specified format. 26 | 27 | * The [Internet Archive (archive.org)](https://archive.org/) has some Mac-related literature, documents and software. Aside from the general search function, the following collections are relevant in particular: 28 | 29 | * [Folkscanomy: Macintosh Books](https://archive.org/details/macbooks) 30 | * [The Software Library: Apple Computer](https://archive.org/details/softwarelibrary_apple) (this collection focuses mainly on the non-Macintosh Apple computers) 31 | * [Software Library: Macintosh](https://archive.org/details/softwarelibrary_mac) 32 | 33 | * [bitsavers.org](http://bitsavers.org/) is an archive of documents (and some software) related to technology and computing. The site has no built-in search function, but external search engines can be used. It is also mirrored to archive.org (at least partially), so it can be searched using their search function. The site is organized by topic, so a text search often isn't necessary. The following directories are relevant in particular: 34 | 35 | * [/bits/Apple/](http://bitsavers.org/bits/Apple/) 36 | * [/components/ibm/powerpc/](http://bitsavers.org/components/ibm/powerpc/) 37 | * [/components/motorola/](http://bitsavers.org/components/motorola/) 38 | * [/pdf/apple/](http://bitsavers.org/pdf/apple/) 39 | 40 | ### Mac-specific 41 | 42 | These resources are specifically about Apple and the Mac. 43 | 44 | * [Apple's developer download section](https://developer.apple.com/download/more/) provides downloads for Xcode and other Mac OS X/macOS developer tools. The earliest downloads are from the Mac OS X Panther (10.3) era. Accessing this page requires an Apple ID with a developer program membership (the free membership is sufficient). 45 | 46 | * [Apple's developer documentation](https://developer.apple.com/documentation/) is the official source of developer information for Apple's platforms. The main section of the website only covers current system versions, but older information can be found in the [documentation archive](https://developer.apple.com/library/archive/navigation/). Unfortunately, Apple sometimes arbitrarily removes older documents from the archive. It's not clear how Apple decides what to remove - it's not purely based on age, as the oldest available documents (as of October 2019) are tech notes from 1985. This means that some older documentation can only be found in old copies of the website, such as the following: 47 | 48 | * The [Wayback Machine](https://web.archive.org/) has saved almost all parts of the site at some point. The URLs of the documentation and archive have changed in the past - if the Wayback Machine doesn't have a URL saved, it may help to search for the same URL with a different prefix. The following prefixes were used in the past (ordered from newest to oldest): 49 | 50 | * [https://developer.apple.com/library/archive/](https://web.archive.org/web/*/https://developer.apple.com/library/archive/) (legacy) 51 | * [https://developer.apple.com/library/mac/](https://web.archive.org/web/*/https://developer.apple.com/library/mac/) (non-legacy), [https://developer.apple.com/legacy/library/](https://web.archive.org/web/*/https://developer.apple.com/legacy/library/) (legacy) 52 | * [https://developer.apple.com/mac/library/](https://web.archive.org/web/*/https://developer.apple.com/mac/library/) (non-legacy), [https://developer.apple.com/legacy/mac/library/](https://web.archive.org/web/*/https://developer.apple.com/legacy/mac/library/) (legacy) 53 | 54 | * A copy dated August 2010 can be found [on the Internet Archive](https://archive.org/details/ftpsites_developer.apple.com) and [on macintosharchive.org's mirror of Max1zzz's server](http://mirror.macintosharchive.org/max1zzz.co.uk/++Uploads%20%5bUL%5d/Barracuda/FTP%20mirrors/ftpsites_developer.apple.com/). 55 | * oldschooldaw.com has [a mirror](http://adcmirror.oldschooldaw.com/) from October 2006. This mirror has itself [been mirrored](http://mirror.macintosharchive.org/developer.apple.com/) by macintosharchive.org. 56 | 57 | * Apple's Technical Notes provided developer documentation for classic Mac hardware and software. Some of them can still be found in Apple's documentation archive, but many of them have been removed. Mirrors of the technical notes can be found online: 58 | 59 | * fenestrated.net has [a mirror of the technical notes](https://www.fenestrated.net/mirrors/Apple%20Technotes%20(As%20of%202002)/) from 2002. 60 | * A collection of developer notes can be found [on the Internet Archive](https://archive.org/details/nonmm-apple-dev-notes) and [on macintosharchive.org's mirror of Max1zzz's server](http://mirror.macintosharchive.org/max1zzz.co.uk/++Uploads%20%5bUL%5d/Barracuda/nonmm-apple-dev-notes/). 61 | 62 | * The [Apple Support Area on download.info.apple.com](http://download.info.apple.com/Apple_Support_Area/), Apple's download section for pre-Mac OS X systems (and some early Mac OS X-related files). The files under this directory tree can still be downloaded from Apple, although the server no longer provides directory listings. The contents of this server are also widely mirrored: 63 | 64 | * The [Wayback Machine](https://web.archive.org/web/*/http://download.info.apple.com/Apple_Support_Area/) contains a likely complete copy of the directory listings and files. 65 | * The Internet Archive has [a copy](https://archive.org/details/download.info.apple.com.2012.11), and [another one](https://archive.org/details/ftpsites_download.info.apple.com). 66 | * Max1zzz's server has [a copy of the Apple_Software_Updates subdirectory](http://asa.max1zzz.co.uk/). 67 | * macintosharchive.org has [a copy](http://mirror.macintosharchive.org/download.info.apple.com/). 68 | * fenestrated.net has [a copy](https://www.fenestrated.net/mirrors/Apple_Support_Area/), which can also be found [in macintosharchive.org's mirror of Max1zzz's server](http://mirror.macintosharchive.org/max1zzz.co.uk/++Uploads%20%5bUL%5d/Barracuda/FTP%20mirrors/www.fenestrated.net/mirrors/Apple_Support_Area/). 69 | 70 | * ftp.apple.com, Apple's FTP server. Like many old FTP servers, it is no longer online. Some of its content is available from download.info.apple.com (see above). There are also some mirrors of the FTP server: 71 | 72 | * A mirror claiming to be from November 2018 (date likely incorrect) can be found [on the Internet Archive](https://archive.org/details/Apple_Computer_FTP_Mirror_2018-11) and [on macintosharchive.org's mirror of Max1zzz's server](http://mirror.macintosharchive.org/max1zzz.co.uk/++Uploads%20%5bUL%5d/Barracuda/FTP%20mirrors/Apple%20FTP%20mirror/). 73 | * staticky.com has a [partial mirror of the developer subdirectory](http://staticky.com/mirrors/ftp.apple.com/). This mirror is incomplete - apparently the server was mirrored with a low directory depth limit, so the contents of deeply nested directories were not mirrored. 74 | 75 | * [Macintosh Garden](https://macintoshgarden.org/) and [Macintosh Repository](https://www.macintoshrepository.org/) are archives of classic Mac (and early Mac OS X) freeware, abandonware and related documentation. They are useful places to find system files and developer tools. 76 | 77 | * The Internet Archive has [a mirror of Macintosh Garden's files](https://archive.org/details/Macintosh_Garden_Collection) from 2018. 78 | 79 | * macintosharchive.org hosts [a collection of mirrors](http://mirror.macintosharchive.org/) of Mac-related websites. 80 | * [Max1zzz's server](http://max1zzz.co.uk) was a collection of Mac-related files and mirrors, but as of April 2019 it is no longer online. [A complete mirror](http://mirror.macintosharchive.org/max1zzz.co.uk/) can be found on macintosharchive.org. 81 | * [VintageApple.org](https://vintageapple.org/) is a collection of early Apple and Mac documents and a couple of mirrors. 82 | * Mothers Ruin Software develops a couple of tools for analyzing macOS software distribution formats. The results of [some of their reverse engineering efforts](https://www.mothersruin.com/software/Archaeology/reverse/) behind these tools are published on their website. 83 | 84 | * Notably, their [Archaeology](https://www.mothersruin.com/software/Archaeology/) tool allows inspecting various data formats commonly used on Apple systems, including some formats that are undocumented and/or not well-supported by other tools. 85 | 86 | #### Inside Macintosh 87 | 88 | The Inside Macintosh book series are Apple's official reference material for the classic Macintosh platform. Over time, they have gone through many revisions and updates, and their structure has been changed multiple times. 89 | 90 | The Gryphel project (best known for the Mini vMac emulator) has [a list of physical book releases](https://www.gryphel.com/c/books/appledev.html) of Inside Macintosh (and other Apple developer documentation), including ISBNs, publishers, dates, and Amazon links. 91 | 92 | The following is a (likely incomplete) list of the major revisions of Inside Macintosh and where they can be obtained online. 93 | 94 | * The earliest revisions consisted of two volumes, each a three-ring binder containing photocopied pages. The chapters were referred to as individual "manuals" and were essentially standalone - each one had its own title page, TOC, glossary, and page numbers. Various parts were still missing or not yet finalized, and updated pages were distributed regularly as part of the [Macintosh Software Supplement](https://macgui.com/news/article.php?t=447). 95 | 96 | * bitsavers.org has scanned and OCRed PDFs of a late (November 1984) revision: [Volume I](http://bitsavers.org/pdf/apple/mac/Inside_Macintosh_Vol_1_1984.pdf), [Volume II](http://bitsavers.org/pdf/apple/mac/Inside_Macintosh_Vol_2_1984.pdf). 97 | 98 | * The Promotional Edition, released in early 1985, consisted of a single book (it was nicknamed the "phonebook" edition because of its paper quality). Although it was physically a single book, the contents were still structured into standalone "manuals" like in the ring binder version, and some parts were still missing or not finalized. 99 | 100 | * bitsavers.org has [a scanned and OCRed PDF](http://bitsavers.org/pdf/apple/mac/Inside_Macintosh_Promotional_Edition_1985.pdf). 101 | 102 | * The published 1985 revision consisted of three volumes, available as three paperback books or a single hardcover book. They contained the finalized contents of the previous revisions, which documented the Macintosh 128k, Macintosh 512k, and Macintosh XL. Unlike the previous revisions, each volume had continuous page numbers and a full TOC and index, and volume III contained a complete glossary. 103 | 104 | * pagetable.com has a [blog post](http://www.pagetable.com/?p=50) with [a scanned and OCRed PDF of the three paperback volumes](http://www.weihenstephan.org/~michaste/pagetable/mac/Inside_Macintosh.pdf). 105 | 106 | * Additional volumes were published later to document newer Macintosh models. These served as incremental additions and did not fully supersede or replace any of the previous volumes. 107 | 108 | * Volume IV was published in 1986 and documented the Macintosh Plus and Macintosh 512k Enhanced. 109 | * Volume V was published in 1986 and documented the Macintosh II and Macintosh SE. 110 | * Volume VI was published in 1991 and documented System 7.0. 111 | * VintageApple.org has [scanned and OCRed PDFs of Volumes I through VI](https://vintageapple.org/inside_o/). 112 | 113 | * After 1991, Inside Macintosh was restructured into over 20 volumes organized by topic, rather than chronologically by Macintosh model. These were published as books starting in 1992, and later also on CDs and online. 114 | 115 | * VintageApple.org has [rendered (not scanned) PDFs of 26 volumes and 7 X-Ref volumes](https://vintageapple.org/inside_r/). 116 | 117 | * The Communications Toolbox and QuickDraw GX Programmers' Overview volumes appear to be missing. 118 | 119 | * Many volumes are still available in [Apple's legacy developer documentation archive](#apple-documentation-archive), in HTML and rendered (not scanned) PDF formats: 120 | 121 | * Two volumes appear on the website under Inside Macintosh, even though other sources don't consider them part of the Inside Macintosh series: 122 | 123 | * [Advanced Color Imaging on the Mac OS (HTML)](https://developer.apple.com/library/archive/documentation/mac/ACI/ACI-2.html) (November 1996) 124 | * [Advanced Color Imaging Reference (HTML)](https://developer.apple.com/library/archive/documentation/mac/ACIReference/ACIReference-2.html) (November 1996) 125 | 126 | * [Devices (HTML)](https://developer.apple.com/library/archive/documentation/mac/Devices/Devices-2.html) (July 1996), [Devices (chapter PDFs)](https://developer.apple.com/library/archive/documentation/mac/pdf/Devices/pdf.html) (1994) 127 | * [Files (HTML)](https://developer.apple.com/library/archive/documentation/mac/Files/Files-2.html) (July 1996), [Files (chapter PDFs)](https://developer.apple.com/library/archive/documentation/mac/pdf/Files/pdf.html) (1992) 128 | * [Imaging with QuickDraw (HTML)](https://developer.apple.com/library/archive/documentation/mac/QuickDraw/QuickDraw-2.html) (July 1996), [Imaging with QuickDraw (single PDF)](https://developer.apple.com/library/archive/documentation/mac/pdf/ImagingWithQuickDraw.pdf) (1994) 129 | * [Interapplication Communication (HTML)](https://developer.apple.com/library/archive/documentation/mac/IAC/IAC-2.html) (July 1996), [Interapplication Communication (chapter PDFs)](https://developer.apple.com/library/archive/documentation/mac/pdf/Interapplication_Communication/pdf.html) (1993) 130 | * [Macintosh Toolbox Essentials (HTML)](https://developer.apple.com/library/archive/documentation/mac/Toolbox/Toolbox-2.html) (July 1996), [Macintosh Toolbox Essentials (single PDF)](https://developer.apple.com/library/archive/documentation/mac/pdf/MacintoshToolboxEssentials.pdf) (1992) 131 | * [Memory (HTML)](https://developer.apple.com/library/archive/documentation/mac/Memory/Memory-2.html) (July 1996), [Memory (chapter PDFs)](https://developer.apple.com/library/archive/documentation/mac/pdf/Memory/pdf.html) (1992) 132 | * [More Macintosh Toolbox (HTML)](https://developer.apple.com/library/archive/documentation/mac/MoreToolbox/MoreToolbox-2.html) (July 1996), [More Macintosh Toolbox (single PDF)](https://developer.apple.com/library/archive/documentation/mac/pdf/MoreMacintoshToolbox.pdf) (1993) 133 | * [Networking (HTML)](https://developer.apple.com/library/archive/documentation/mac/Networking/Networking-2.html) (July 1996), [Networking (chapter PDFs)](https://developer.apple.com/library/archive/documentation/mac/pdf/Networking/pdf.html) (1994) 134 | * [Operating System Utilities (HTML)](https://developer.apple.com/library/archive/documentation/mac/OSUtilities/OSUtilities-2.html) (July 1996), [Operating System Utilities (chapter PDFs)](https://developer.apple.com/library/archive/documentation/mac/pdf/Operating_System_Utilities/pdf.html) (1994) 135 | * [PowerPC Numerics (HTML)](https://developer.apple.com/library/archive/documentation/mac/PPCNumerics/PPCNumerics-2.html) (July 1996), [PowerPC Numerics (chapter PDFs)](https://developer.apple.com/library/archive/documentation/mac/pdf/PPC_Numerics.sit.hqx) (1994) 136 | * [PowerPC System Software (HTML)](https://developer.apple.com/library/archive/documentation/mac/PPCSoftware/PPCSoftware-2.html) (July 1996), [PowerPC System Software (chapter PDFs)](https://developer.apple.com/library/archive/documentation/mac/pdf/PPC_System_Software.sit.hqx) (1994) 137 | * [Processes (HTML)](https://developer.apple.com/library/archive/documentation/mac/Processes/Processes-2.html) (June 1996), [Processes (chapter PDFs)](https://developer.apple.com/library/archive/documentation/mac/pdf/Processes/pdf.html) (1992) 138 | * [Sound (HTML)](https://developer.apple.com/library/archive/documentation/mac/Sound/Sound-2.html) (July 1996), [Sound (chapter PDFs)](https://developer.apple.com/library/archive/documentation/mac/pdf/Sound/pdf.html) (1994) 139 | * [Text (HTML)](https://developer.apple.com/library/archive/documentation/mac/Text/Text-2.html) (July 1996), [Text (single PDF)](https://developer.apple.com/library/archive/documentation/mac/pdf/Text.pdf) (1993) 140 | * The two AOCE volumes, Communications Toolbox, Human Interface Guidelines, Overview, seven QuickDraw GX volumes, two QuickTime volumes, and X-Ref are missing. 141 | 142 | ## File type and creator codes (file signatures) 143 | 144 | * The chapter "The Finder Interface" in the [Inside Macintosh](#inside-macintosh) series explains the basic concepts and lists a few standard/system file type codes. This chapter is found in Volume III of the original Inside Macintosh revisions, and in the "Macintosh Toolbox Essentials" volume of the restructured revisions. 145 | * Apple previously provided a registration service for creator codes to prevent conflicting uses of the same creator codes. This included a lookup form for checking if a creator code is already in use, but there was no public list of all creator codes. 146 | * An [early 2000s version of the service](https://web.archive.org/web/20031204220705/http://developer.apple.com/dev/cftype/) also had [a FAQ about creator code registration](https://web.archive.org/web/20031206002820/http://developer.apple.com/dev/cftype/faq.html). 147 | * The last version of the service was found at https://developer.apple.com/datatype/ until 2009 or so (based on the Wayback Machine history). Afterwards, that URL redirected to [Apple's documentation for Uniform Type Identifiers (UTIs)](https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/understanding_utis/understand_utis_intro/understand_utis_intro.html), which are the modern replacement for type and creator codes. 148 | * The Type/Creator Database (TCDB/TCDBx) is exactly what it sounds like. Notably, it's a downloadable application, not an online service. 149 | * It was previously a paid product, but [the current homepage at lacikam.co.il](https://lacikam.co.il/tcdb/) offers a [free download of the full data set](https://lacikam.co.il/tcdb/download/TCDBdata.zip). 150 | * The [former homepage at homepage.mac.com/tcdb/](https://web.archive.org/web/20100106142542/http://homepage.mac.com/tcdb/) is no longer up, but can be found in the Wayback Machine. 151 | * Various versions of the downloads are [mirrored on Macintosh Garden](https://macintoshgarden.org/apps/typecreator-database). 152 | * Indiana University has [a very short explanation](https://kb.iu.edu/d/aemh) of type/creator codes. 153 | * macdisk.com has an explanation page "[Signatures of Macintosh Files](https://www.macdisk.com/macsigen.php)", including a list of some common type and creator codes. 154 | * Zeus Productions has [a "tech note"](http://www.zeusprod.com/technote/filetype.html) explaining how to use type/creator codes in Macromedia Director (I think). It also explains some general concepts and lists common and Director-specific type/creator codes. 155 | * revolution.byu.edu had a help article "[Mac Creator Signature and File Types in Revolution/LiveCode](https://web.archive.org/web/20171118233752/revolution.byu.edu/helps/file-creatorcodes.php)", which also gives a short general explanation, a list of a few common type and creator codes, and some related links. 156 | * A [2005 post by Henning Ramm](https://mail.python.org/pipermail/pythonmac-sig/2005-February/013028.html) on the Pythonmac-SIG mailing list gives some mappings from type/creator codes to file extensions (and vice versa) and short descriptions. 157 | 158 | ## Resource forks 159 | 160 | * The chapter "Resource Manager" in the [Inside Macintosh](#inside-macintosh) series. This chapter is found in Volume I of the original Inside Macintosh revisions, and in the "More Macintosh Toolbox" volume of the restructured revisions. 161 | * Wikipedia's [resource fork](https://en.wikipedia.org/wiki/Resource_fork) article. 162 | * The [Resource Fork](http://fileformats.archiveteam.org/wiki/Resource_Fork) article on the [JSTFFP](#jstffp) wiki. 163 | * The [KSFL](https://github.com/kreativekorp/ksfl) library (and [its wiki](https://github.com/kreativekorp/ksfl/wiki/Macintosh-Resource-File-Format)), written in Java, which supports reading and writing resource files. 164 | * Alysis Software Corporation's article on resource compression (found on [the company's website](http://www.alysis.us/arctechnology.htm) and in [MacTech Magazine's online archive](http://preserve.mactech.com/articles/mactech/Vol.09/09.01/ResCompression/index.html)) has some information on the structure of certain kinds of compressed resources. 165 | * Apple's macOS SDK, which is distributed with Xcode. The latest version of Xcode is available for free from the Mac App Store. Current and previous versions can be downloaded from [Apple's developer download section](#apple-developer-download). 166 | * Apple's MPW (Macintosh Programmer's Workshop) and related developer tools and their documentation. These were previously available from [Apple's FTP server](#apple-ftp). 167 | * whitefiles.org has a "[Resources](https://whitefiles.org/mac/pgs/t02.htm)" page explaining the basics of ResEdit and common system resource types. 168 | 169 | ## AFP (Apple Filing Protocol) 170 | 171 | * Wikipedia's [AFP article](https://en.wikipedia.org/wiki/Apple_Filing_Protocol). 172 | * The [AFP programming guide](https://developer.apple.com/library/archive/documentation/Networking/Conceptual/AFP/Introduction/Introduction.html) and [AFP reference](https://web.archive.org/web/20130906023421/https://developer.apple.com/library/mac/documentation/Networking/Reference/AFP_Reference/Reference/reference.html) from [Apple's developer documentation](#apple-documentation-archive). 173 | 174 | ### Windows NT Services for Macintosh 175 | 176 | * A [microsoft.public.windowsnt.mac Usenet discussion](https://groups.google.com/d/topic/microsoft.public.windowsnt.mac/PTisz9EZWQg/discussion) (individual raw messages: [question](https://groups.google.com/forum/message/raw?msg=microsoft.public.windowsnt.mac/PTisz9EZWQg/nV__6uMIPawJ), [answer](https://groups.google.com/forum/message/raw?msg=microsoft.public.windowsnt.mac/PTisz9EZWQg/JaWO4vUM75oJ)) about how AFP file information and resource forks are stored on Windows NTFS volumes. (TLDR: alternate data streams named AFP_AfpInfo and AFP_Resource.) 177 | 178 | ## AppleSingle and AppleDouble 179 | 180 | * The articles on the [JSTFFP](#jstffp) wiki about [AppleSingle](http://fileformats.archiveteam.org/wiki/AppleSingle) and [AppleDouble](http://fileformats.archiveteam.org/wiki/AppleDouble). 181 | * The [Kaitai Struct](#kaitai-struct) spec `filesystem/apple_single_double`, as found [on formats.kaitai.io](https://formats.kaitai.io/apple_single_double/index.html) and [in the kaitai_struct_formats repo](https://github.com/kaitai-io/kaitai_struct_formats/blob/master/filesystem/apple_single_double.ksy). 182 | 183 | * Apple's Apple II File Type Notes for AppleSingle (E0 0001) and AppleDouble (E0 0002 and E0 0003), which document version 1 of the format, with a short note about version 2. These notes can be found in many places online: 184 | 185 | * On nulib.com, in plain text format: [AppleSingle](https://nulib.com/library/FTN.e00001.htm), [AppleDouble](https://nulib.com/library/FTN.e000023.htm) (mirrored on ee.columbia.edu: [AppleDouble](https://www.ee.columbia.edu/~dpwe/resources/FTN.e000023.htm)) 186 | * On 1000bit.it, in formatted HTML format: [AppleSingle](https://www.1000bit.it/support/manuali/apple/technotes/ftyp/ftn.e0.0001.html), [AppleDouble](https://www.1000bit.it/support/manuali/apple/technotes/ftyp/ftn.e0.0002.3.html) 187 | * On apple2online.com, in rendered PDF format: [AppleSingle](https://www.apple2online.com/web_documents/ft_e0.0001_applesingle.pdf), [AppleDouble](https://www.apple2online.com/web_documents/ft_e0.0002.3_appledouble.pdf) 188 | 189 | * Apple's A/UX Toolbox Macintosh ROM Interface documentation, section 6 "File Systems and File Formats", subsection "AppleSingle and AppleDouble format internals", which documents version 1 of the format. 190 | 191 | * bitsavers.org has [a scanned and OCRed PDF of the entire document](http://bitsavers.org/pdf/apple/mac/a_ux/aux_2.0/030-0787-A_AUX_Toolbox_Macintosh_ROM_Interface_1990.pdf). In this version, the relevant pages are 6-15 through 6-20 (real page numbers 126 through 131). 192 | * kaiser-edv.de had [a scanned PDF of the relevant pages](https://web.archive.org/web/20160325000219/http://kaiser-edv.de/documents/AppleSingle_AppleDouble_v1.pdf) (website gone, link via Wayback Machine) from a slightly different edition. 193 | 194 | * Apple's AppleSingle/AppleDouble Formats for Foreign Files Developer's Note, from 1990, which documents version 2 of the format. A rendered PDF version is available [from nulib.com](https://nulib.com/library/AppleSingle_AppleDouble.pdf) and [from kaiser-edv.de](https://web.archive.org/web/20180311140826/http://kaiser-edv.de/documents/AppleSingle_AppleDouble.pdf) (website gone, link via Wayback Machine). 195 | 196 | * [RFC 1740 - MIME Encapsulation of Macintosh files - MacMIME](https://tools.ietf.org/html/rfc1740), from 1994, describes a later version of the format. (It appears to be equivalent to version 2 described in the previous developer's note.) 197 | 198 | * A number of GitHub projects work with AppleSingle/AppleDouble files in some way and allow reading the format in different languages. In no particular order: 199 | 200 | * https://github.com/AppleCommander/applesingle 201 | * https://github.com/fthain/applesingle 202 | * https://github.com/robzed/AppleSingle_Decoder 203 | * https://github.com/gitpan/Mac-AppleSingleDouble 204 | * https://github.com/marcust/AppleSingleReader 205 | * https://github.com/ksherlock/dot_clean 206 | * https://github.com/rolftimmermans/node-xattr-file 207 | * https://github.com/MacPaw/XADMaster/blob/master/XADAppleDouble.m 208 | * https://github.com/MacPaw/XADMaster/blob/master/XADAppleSingleParser.m 209 | * https://github.com/ParksProjets/Maconv 210 | 211 | ## QTR (QuickTime RezWack) 212 | 213 | The QTR (QuickTime RezWack) format was used to add Mac-style resources to Windows files. It was used as part of QTML, the QuickTime Media Layer, which was effectively a partial port of the Macintosh Toolbox and Mac OS to Windows, to allow writing cross-platform QuickTime code that could be used with both Mac and Windows versions of QuickTime. 214 | 215 | * Two articles from MacTech's online archive: one [about QuickTime for Windows and QTML development in general](http://preserve.mactech.com/articles/mactech/Vol.17/17.01/2001ASpaceOdyssey/index.html), and another [specifically about using QTR-based resources](http://preserve.mactech.com/articles/mactech/Vol.18/18.10/HumanResources/index.html). 216 | * The QuickTime 7.3 SDK for Windows. It contains Windows versions of the DeRez, Rez, RezDet, and RezWack tools that use the QTR format, instead of normal resource forks like their Mac versions. 217 | 218 | * It can be officially downladed from [Apple's developer download section](#apple-developer-download). The file you download there is: 219 | 220 | * a Zip archive called quicktimesdk.zip (SHA256 [31ffc087e03a68585c7b67c7986e80eeb6440ac7fdb410a381e9b9da9b561d6d](https://www.virustotal.com/gui/file/31ffc087e03a68585c7b67c7986e80eeb6440ac7fdb410a381e9b9da9b561d6d/detection)), containing... 221 | * a self-extracting cabinet EXE called QuickTimeSDK.exe (SHA256 [fea9102899b6f6a1b20f1a1d1d656d28ffe32b99afb95c826548c0fef1d42bb1](https://www.virustotal.com/gui/file/fea9102899b6f6a1b20f1a1d1d656d28ffe32b99afb95c826548c0fef1d42bb1/details)), containing... 222 | * an MSI installer called QuickTimeSDK.msi (SHA256 [40fb26259e60bd1711bd6845223392381b973a50d76ac231283bf603a2b4aff1](https://www.virustotal.com/gui/file/40fb26259e60bd1711bd6845223392381b973a50d76ac231283bf603a2b4aff1/detection)), containing the actual files. 223 | 224 | * The SDK can also be obtained elsewhere, in which case you might find it in any of the three formats listed above. If the file you downloaded matches any of the above hashes, you can be sure that it's the original unmodified SDK. 225 | 226 | * For example, the MSI version can be found in [a random GitHub repo](https://github.com/zhaozhongshu/quicktime-sdk-7.3-for-windows/blob/c174718dbea7f909c3666411c4952c9efd3372a9/QuickTimeSDK.msi). 227 | 228 | ## Classic Mac OS installer tomes 229 | 230 | * [TomeViewerX](https://github.com/kainjow/TomeViewerX) is an open-source, MIT-licensed "incomplete parser for Mac OS Tome files". It doesn't support actually decompressing the stored files. 231 | * Some discussion related to reverse-engineering the tome format can be found [on the issue tracker for XADMaster (The Unarchiver)](https://github.com/MacPaw/XADMaster/issues/71). 232 | 233 | ## Disk images 234 | 235 | * The Mac OS X/macOS hdiutil(1) man page. Although naturally it focuses on how to work with disk images and doesn't specify any data formats, it does document lots of random technical details. In particular: 236 | * Under `hdiutil convert` is a list of basically all disk image formats and variants that Apple has ever supported. 237 | * The "compatibility", "history", and "what's new" sections give a pretty complete history of these disk image formats/variants and which system versions support them (or don't). 238 | * Some older info has been removed from the man page since macOS 11, which removed support for most Classic Mac OS disk image formats. 239 | * Wikipedia's [Apple Disk Image](https://en.wikipedia.org/wiki/Apple_Disk_Image) article has some general information, but also documents the basic data structures of UDIF disk images. 240 | * macdisk.com also documents [the basic data structures of UDIF disk images](https://www.macdisk.com/dmgen.php). 241 | * NewOSXBook.com has a page "[Demystifying the DMG File Format](https://newosxbook.com/DMG.html)", which documents the main UDIF metadata structures. 242 | * Mothers Ruin Software has [some documentation](https://www.mothersruin.com/software/Archaeology/reverse/udif.html) about the UDIF trailer metadata structure, assembled from various sources and their own reverse-engineering work. 243 | 244 | ## HFS+ file system compression 245 | 246 | * A Macworld Mac OS X Hints [page about HFS+ compression in Mac OS X 10.6](https://web.archive.org/web/20220407045715/http://hints.macworld.com/article.php?story=20090902223042255). The comments discuss additional tools for examining de-/compressing files compressed with HFS+ compression. 247 | * One such tool, afsctool, has been developed by brkirch, the author of the above page. [brkirch's afsctool homepage](https://brkirch.wordpress.com/afsctool/) still exists (as of 2023-08), but the Google Drive download link isn't publicly accessible anymore. However, a few updated/extended versions of the afsctool source code can be found on GitHub: 248 | * https://github.com/jrk/afsctool - archived since 2018-01-21 249 | * https://github.com/RJVB/afsctool - still updated as of 2023 and supports newer macOS versions and compression algorithms like LZVN and LZFSE 250 | 251 | ## Apple Data Compression (ADC) 252 | 253 | * macdisk.com documents [the ADC compression algorithm](https://www.macdisk.com/dmgen.php). 254 | * [node-apple-data-compression](https://github.com/jhermsmeier/node-apple-data-compression) implements ADC decompression as a Node.js library. 255 | 256 | ## Apple Archives (.aar, .yaa) 257 | 258 | A proprietary archive format supporting various compression algorithms and extensible metadata. 259 | Officially introduced with macOS 11 via the [Apple Archive framework](https://developer.apple.com/documentation/applearchive) and the `aa` command line tool. 260 | It evolved from the earlier YAA format, which was already supported since macOS 10.13 via the `yaa` command line tool, but not well-documented or advertised by Apple. 261 | Apple's own Apple Archive tools and libraries seem to be backwards compatible with the earlier YAA format. 262 | The macOS Archive Utility has supported extracting YAA and Apple Archives since their respective introduction, but supports creating Apple Archives only since macOS 12. 263 | 264 | * The "[Unpacking Apple Archives](https://developer.apple.com/forums/thread/133985)" thread on the Apple Developer Forums explains the use of Apple Archives (and formerly YAA archives) inside XIP archives. 265 | * [A blog post by Nightwatch Cybersecurity](https://wwws.nightwatchcybersecurity.com/2020/06/14/yaa-an-obscure-macos-compressed-file-format/) from 2020 (before the official introduction as Apple Archive) discusses the possible use of YAA archives by malware. 266 | * Howard Oakley's blog, The Eclectic Light Company, has [multiple blog posts about Apple Archives](https://eclecticlight.co/tag/applearchive/). 267 | * [An issue](https://github.com/aonez/Keka/issues/829) on the issue tracker for the Keka archive manager discusses supporting Apple Archive and YAA archives. 268 | * The Apple Wiki has an [Apple Archive](https://theapplewiki.com/wiki/Apple_Archive) page with some technical details about the data format. 269 | * [libNeoAppleArchive](https://github.com/0xilis/libNeoAppleArchive) is an open-source, MIT-licensed "unfinished cross-compat library for parsing Apple Archive (and, by extension, YAA)". 270 | 271 | ## Apple Encrypted Archives (.aea) 272 | 273 | Another proprietary format, built on top of the Apple Archive format, which adds the ability to encrypt and/or sign archives. 274 | 275 | * The Apple Wiki has an [Apple Encrypted Archive](https://theapplewiki.com/wiki/Apple_Encrypted_Archive) page with a high-level overview of the format and its uses. 276 | * [python-aea](https://github.com/kinnay/AEA) is an open-source, MIT-licensed tool for extracting and creating Apple Encrypted Archives, along with [detailed documentation of the data format](https://github.com/kinnay/AEA/blob/HEAD/FORMAT.md). 277 | 278 | ## UIKit NIB archives (.nib files with NIBArchive signature) 279 | 280 | * Mothers Ruin Software [documents the NIB archive data format](https://www.mothersruin.com/software/Archaeology/reverse/uinib.html). 281 | * The open-source, MIT-licensed [nibsqueeze](https://github.com/matsmattsson/nibsqueeze) tool includes [documentation of the data format](https://github.com/matsmattsson/nibsqueeze/blob/HEAD/NibArchive.md) as it was originally introduced in iOS 6. 282 | * There is an open-source, GPLv3-licensed [NIBArchive-Parser](https://github.com/MatrixEditor/nibarchive) library/tool written in Python. (Previous URL: https://github.com/JustHexData/nibarchive) 283 | * There is an open-source, Apache-/MIT-licensed [NIB Archive Decoder/Encoder](https://github.com/michaelwright235/nibarchive) library written in Rust. 284 | --------------------------------------------------------------------------------