home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / linux / extra / docs / maillist / text / archive.96 / text0362.txt < prev    next >
Encoding:
Text File  |  1996-07-25  |  1.4 KB  |  36 lines

  1. : Maybe.  Here's the deal: PC Exchange puts the data fork of the mac file 
  2. : wherever you drag it on the PC disk, and creates a "resource.frk" folder 
  3. : into which it puts all of the resource data. Executor uses an older--written 
  4. : by Apple, damn them--standard which puts the resource fork in the same 
  5. : directory as the data fork, but with a "%" prepended to the file name.  What 
  6. : you'd need to do would be to
  7. :     1) copy the files to a PC disk
  8. :     2) create a "resource.frk" directory
  9. :     3) move the %-files to that directory
  10. :     4) delete the %-sign
  11. :     5) make sure the two files have the same name in the dos 8.3 
  12. : character name.
  13.  
  14. : It might work.
  15.  
  16.     Playing around with the resources of Mac files on Linux,
  17. I've found that there seems to be a 512 byte header at the beginning
  18. of the Executor resource file that is not part of the resource.
  19.  
  20.     So, if you want the resources, you might want to strip
  21. the header with a programmer's editor, or under Linux, the 'dd' command.
  22. Try:
  23.     dd if=%resource of=newresource bs=512 skip=1
  24. (I think this works)
  25.  
  26.     In developing the Maelstrom port to Linux, I created a
  27. C++ class that opens a Mac Resource file and reads it in.  If you're
  28. interested, I can send you source.  - email me!
  29.  
  30. See ya!
  31.     -Sam Lantinga            (slouken@cs.ucdavis.edu)
  32.  
  33. P.S.  I saw ARDI at MacWorld!  Nice demo, sweet machine. :)
  34. P.P.S.  I saw the BeBox at MacWorld!  Pretty sweet hardware! :)
  35.  
  36.