(no title)
sischoel | 2 years ago
Other things I remember: - Data is mapped directly from files to C structs - this provided some challenges as I had to convert big endian to little endian. - Classic MacOS handled memory allocations quite a bit different, if one wanted to access a dynamically allocated buffer, they first had to acquire a lock on that part of memory as otherwise the operating system was allowed to move the data to some other address.
My memory on these details is quite a bit fuzzy though, so I can't guarantee that what I wrote here is 100% correct.
JKCalhoun|2 years ago
Yeah, then I get to tediously re-crop the artwork in the screenshots for correctness.
Also the screenshot is pixel-doubled (Retina display, I suppose) but a little GraphicsMajick fixes it:
gm convert doubled_image.png -filter point -resize 50% new_image.png
kalleboo|2 years ago
It can open PICT resources and save to TIFF/GIF/PNG etc and it has a batch mode.
edit: Interesting. I just tried the current version of GraphicConverter 11 I have installed on Ventura and it can actually still open PICTs from resource forks! Or... it tries, but the multi-page GUI is messed up so it crops the images and doesn't display them correctly. But somewhere in there it is still reading resource fork PICTs on macOS Ventura on Apple Silicon...
poppij|2 years ago
I just ran rsrcdump on Glider 4.09 and the resulting PNG files appear to match their PICT counterparts as displayed by ResEdit.
I initially wrote this tool to assist in porting some old games by Pangea Software. If you have some resource fork that fails to convert properly with rsrcdump, just let me know and I'd be happy to try to fix it.
joshuakogut|2 years ago
[deleted]