home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carousel
/
CAROUSEL.cdr
/
mactosh
/
unix
/
unxbin.sha
/
README
< prev
next >
Wrap
Text File
|
1986-04-02
|
1KB
|
42 lines
These programs are a quick hack to convert *.{info,data,rsrc} files from
macget back to something that xbin will accept. The only reason I wrote
these was so that I could post version 4.5 of Switcher.
These files are in no way optimum, elegant, or pretty. In fact, they might
not even be correct. If you need to do this sort of thing very often, you
should obtain whatever it is everybody else uses ( and post it to the net so
that I can get it! ).
Enough blithering. Here is what is here:
README This file
gethead filter to turn *.info into
a valid header
crc writes crc of stdin on stdout
unrun filter to change 0x90 into 0x90 0x00.
needed because I don't do run length
encoding, because this is all a kludge.
8to6 filter to convert 8 bit data stream into
6 bit data stream that xbin wants. Uses
worst algorithm I could think of, so don't
look at it, please!
unxbin shell script to use the above stuff
To install:
#!/bin/sh
for i in gethead crc unrun 8to6
do
cc $i.c -o /where/you/want/it/in/your/path/$i
done
cp unxbin /some/where/in/your/path
To use:
unxbin file # convert file.{info,data,rsrs} to file.hqx