Search results

  1. thecloud

    sit - Create StuffIt archives on Unix systems

    Thanks! I had noticed that my quick-and-dirty script was only handling one selection, and really needed to iterate over the list as you have done.
  2. thecloud

    sit - Create StuffIt archives on Unix systems

    1.5.1 in this case. :)
  3. thecloud

    sit - Create StuffIt archives on Unix systems

    Thanks! Appreciate your contributions. I haven't been testing my changes on Linux to this point, so the github action will certainly help. EDIT: looks like the action is running successfully! https://github.com/thecloudexpanse/sit/actions
  4. thecloud

    sit - Create StuffIt archives on Unix systems

    You can have this functionality without having StuffIt Deluxe 16 installed. Save the following into a file named "Create StuffIt Archive.applescript", taking care to edit the path in the first line to wherever you have actually put the sit command: set sitPath to "/Users/ken/bin/sit" tell...
  5. thecloud

    sit - Create StuffIt archives on Unix systems

    LZW compression support is working and has now been merged to the main branch: https://github.com/thecloudexpanse/sit.
  6. thecloud

    sit - Create StuffIt archives on Unix systems

    Ah. If a com.apple.ResourceFork can never exist without a corresponding com.apple.FinderInfo, then I agree the latter should be the preferred source.
  7. thecloud

    sit - Create StuffIt archives on Unix systems

    And as I mentioned, only the first two bytes of those flags (the $2106 in the above example) can be stored in a StuffIt 1.5.1 archive. The rest aren't in the specification.
  8. thecloud

    sit - Create StuffIt archives on Unix systems

    Just finished reimplementing compression. Since it's not guaranteed that a system will have the compress command available (and StuffIt uses modified parameters that make it incompatible anyway), I ended up pulling the zopen.c file from FreeBSD into the project. (Back in the day, the patent on...
  9. thecloud

    sit - Create StuffIt archives on Unix systems

    Thanks, hopefully I get it now. You're saying that some of the basic metadata (like tbxi/chrp type and creator in your example) is externally stored if the file doesn't have a resource fork. I thought you were talking about other extended metadata (like label names and window location) which...
  10. thecloud

    sit - Create StuffIt archives on Unix systems

    Can you explain what that would mean? The contents of the com.apple.FinderInfo extended attribute seem to be the same 32 bytes found in com.apple.ResourceFork at offset $52, and are already being read from the resource fork data. The StuffIt 1.5.1 archive format, as documented by Raymond Lau...
  11. thecloud

    sit - Create StuffIt archives on Unix systems

    Thanks to @eric , sit now has AppleDouble file support and should be able to compile on non-macOS systems.
  12. thecloud

    Modern MacBinary Tool for MacOS 26

    I've started a new thread: https://tinkerdifferent.com/threads/sit-create-stuffit-archives-on-unix-systems.4830/ Further discussion of the `sit` tool can go there.
  13. thecloud

    sit - Create StuffIt archives on Unix systems

    Starting a new thread for the modernization of the `sit` command-line tool, which creates StuffIt 1.5.1-compatible archives on Unix systems (including macOS!) You can find the project at https://github.com/thecloudexpanse/sit. Initially, I removed the ability to do compression of files as it...
  14. thecloud

    Modern MacBinary Tool for MacOS 26

    Thanks for the feedback! These compiler warnings are new in Clang 15 in Sequoia, I think; they didn't exist on Monterey, at least: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initially I wanted to...
  15. thecloud

    Modern MacBinary Tool for MacOS 26

    Good idea; those should probably just be skipped by default. I haven't done a lot of testing yet, so I'm sure there will be other fixes to make.
  16. thecloud

    Modern MacBinary Tool for MacOS 26

    Directories are now being archived correctly! Updated source is on Github: https://github.com/thecloudexpanse/sit. If you need me to provide prebuilt binary packages, let me know.
  17. thecloud

    Modern MacBinary Tool for MacOS 26

    Currently I'm just reading the FinderInfo from the resource fork. Given a file named foo, the program first tries to open foo.info, and if that doesn't exist, it opens foo/..namedfork/rsrc and reads it from the header. EDIT: The format of the .info file created by xbin is actually 128 bytes and...
  18. thecloud

    Modern MacBinary Tool for MacOS 26

    I was looking at the source to the sitPack program. one of the Mini vMac extras on the Gryphel website, and realized that Paul adapted the code to make StuffIt 1.5.1 files from the old unix sit program that was posted to Usenet back in 1988. The original code could only deal with input files...
  19. thecloud

    Modern MacBinary Tool for MacOS 26

    Wouldn't it be cool if you could make a new StuffIt archive on your Apple Silicon Mac, then import it into Mini vMac with ImportFl?
  20. thecloud

    Modern MacBinary Tool for MacOS 26

    Thanks for all the replies. The original question (and mine) was not about expanding archives... as mentioned, The Unarchiver works great for that. The difficult part is getting Mac files into Mini vMac. If you already have a StuffIt archive, then you can use ImportFl and drag it in, and StuffIt...