68kMLA Classic Interface

This is a version of the 68kMLA forums for viewing on your favorite old mac. Visitors on modern platforms may prefer the main site.

Click here to select a new forum.
Rez & Derez for Linux
Posted by: BurntNickel on 2024-07-14 09:05:14
Before I go too crazy, does anyone know if there is a version of rez and derez available for Linux? Preferably something that works out of the box, but I'm not against porting over reimplementing myself.
Posted by: robin-fo on 2024-07-14 09:20:54
I think Retro68 bundles one
Posted by: BurntNickel on 2024-07-14 09:28:50
I think Retro68 bundles one
Indeed it does! Thank you!
For reference: Retro68
Posted by: robin-fo on 2024-07-14 09:29:53
maybe also check opensource.apple.com, but I doubt they released it
Posted by: BurntNickel on 2024-07-14 09:44:37
maybe also check opensource.apple.com, but I doubt they released it
I stared there, but I didn't see it. I'll probably look a bit more. If I find it I'll post here.
Posted by: robin-fo on 2024-07-14 09:46:09
I stared there, but I didn't see it. I'll probably look a bit more. If I find it I'll post here.
It's probably not Open Source then.. 😕
Posted by: cheesestraws on 2024-07-15 00:01:31
I think you're stuck with whatever retro68 has or running the original MPW tools through one of the MPW emulators out there (though I don't know how well they work in practice)
Posted by: joevt on 2024-07-15 15:16:22
I think you're stuck with whatever retro68 has or running the original MPW tools through one of the MPW emulators out there (though I don't know how well they work in practice)
I think an mpw emulator works great, but I haven't tried it in Linux.
https://github.com/ksherlock/mpw

It's slower, but usable. This example is a large resource fork:
time derez "Microsoft Office 2001/Microsoft Word" > /tmp/dereznative.txt
derez "Microsoft Office 2001/Microsoft Word" > /tmp/dereznative.txt  0.24s user 0.06s system 90% cpu 0.329 total

time mpw derez "Microsoft Office 2001/Microsoft Word" > /tmp/derezemulatedmpw.txt
mpw derez "Microsoft Office 2001/Microsoft Word" > /tmp/derezemulatedmpw.txt  80.44s user 5.57s system 97% cpu 1:27.79 total

ls -l@ "Microsoft Office 2001/Microsoft Word"
-rwxr-xr-x@ 1 joevt  staff  7710912 Aug 14  2000 Microsoft Office 2001/Microsoft Word
    com.apple.FinderInfo         32 
    com.apple.ResourceFork    2557833 

stat -f '%z' /tmp/derez*
12437517
12437517
1