Apple Users
Related: About this forumTrying to show the package contents of an old app on my Mac, but it's showing up as a TextEdit file.
When I say old, I'm talking 1994. Back then, it would show as an executable app. I've extracted it from the CD-ROM to my current Mac (running Catalina), but the file is now showing as a TextEdit file. Even if there's no hope of running it on my current machine, I would still like to try and view the package contents. Does anybody know of a way to do this? (I've tried looking for a solution, but I can't seem to find the right combination of search terms.) Thanks!
CloudWatcher
(1,923 posts)Well you're talking about an app that was working with "Classic" Mac OS (probably system 7). Files back then had two parts bundled together, a "data" fork and a "resource" fork. The modern MacOS, since Mac OS-X, mostly(*) got rid of that notion, since it was pretty foreign to Unix filesystems (* I'm simplifying a lot).
When you copied the file off the CD, it's possible it just copied the data fork. To check, fire up a unix shell with terminal, and use the "ls" command. If the file is called "foo" ...
ls -l "foo
Ls will show the size of the data fork (in bytes). But ...
ls -l "foo/..namedfork/rsrc"
will show how big the source fork is (in bytes). (ref: http://xahlee.info/UnixResource_dir/macosx.html)
If you used Finder to copy the file it should have all of it, but "cp" and some other utilities would copy just the data fork by default.
And now ... you'll probably want to use a "resource fork editor" to pull apart the pieces. Apple used to call this "resedit" but now you'll probably want to use something like ResKnife (from sourceforge.net). Alternatively, you can install Xcode and use the DeRez command line tool to get to the pieces Some background: https://en.wikipedia.org/wiki/Resource_fork
But .. you might be more than casually interested in Sheepsaver.
https://sheepshaver.cebix.net
It's an emulator that will (with appropriate disk images) let you boot Classic Mac OS and run your app. I've not run it for years, but it worked pretty well when I tried it last (pre-Catalina, so I don't know if it works anymore). The github page for it is active, so I'm guessing it works still
https://github.com/cebix/macemu
Good luck! Be sure and wear a decent mask, the dust flying off these old apps can get pretty nasty
bbernardini
(9,994 posts)I'll give this all a shot and see what happens.