[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What's the deal with HyperCard IIGS at apple.com?
In article <joseph.m.barbey-0605962153110001@ruby-16.anetsrvcs.uwrf.edu>,
Joe Barbey <joseph.m.barbey@uwrf.edu> wrote:
>>I once examined one of the .bxy archives on ftp.support.apple.com and found
>>what appeared to be a 512-byte header preceding the normal .bxy header. If
>>you can get a hold of a utility to strip off the 512 bytes at the beginning of
>>the file, GSHK should be able to process the files. I'm not sure what these
>>512 bytes are for, and it is very annoying that they even exist.
>As I recall, I saw a utility that did this. It hink it was specifically created
>for this problem with Macs. I don't remember if it was a desktop program, or a
>ProDOS program, but I do remember seeing it.
>Oh, yes... the name of the program was called Stripper, I believe. I have no
>idea where to find it, tho. Maybe Ground or Caltech...?
A much quicker (Unix) solution:
perl -e 'foreach $i (1..6) { open(A,"HCIIGS.$i.bxy"); open(B,">HC.$i.bxy");
read(A,$buf,512); while ($n=read(A,$buf,1000)) { syswrite(B,$buf,$n) }
close(A); close(B); unlink "HCIIGS.$i.bxy" }'
Can't imagine it would take much longer to do the same thing in any other
capable programming language.
--
Sean McAfee -- mcafee@umich.edu -- Conky 2000 Ready To Assist You!