uvmac/docs/extras/importfl/index.html
2020-03-14 15:28:01 -04:00

1 line
7.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title> ImportFl </title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="canonical" href="index.html">
</head>
<body>
<div>
<i> <a href="https://www.gryphel.com/index.html">www.gryphel.com</a>/c/<a href="../../index.html">minivmac</a>/<a href="../index.html">extras</a>/importfl
- <a href="https://www.gryphel.com/c/feedback.html">feedback</a> </i>
</div>
<hr>
<h2 align=center>
ImportFl
</h2>
<hr>
<p> Download </p>
<blockquote>
<p> <a href="https://www.gryphel.com/d/minivmac/extras/importfl/importfl-1.2.2.zip">importfl-1.2.2.zip</a>
(<a href="https://www.gryphel.com/d/minivmac/extras/importfl/importfl-1.2.2.inf.txt">info</a>)
a zipped hfs disk image and checksum file.
The disk image can be mounted with Mini vMac.
Includes source code.
</p>
</blockquote>
<p> ImportFl is an application to use in Mini vMac (version 3.0.0 or later)
to import files into the emulated computer
from the real computer. </p>
<p> When ImportFl is the active application running in the emulated computer,
then any of the methods normally used to mount a disk image will
instead import a file. For example, dragging the icon of the file to
be imported into the Mini vMac window. </p>
<p> <b>warning:</b> When attempting to use ImportFl, if you see a
dialog asking if you want to initialize the disk, choose
&ldquo;Eject&rdquo;, not &ldquo;Initialize&rdquo;!
This will happen if ImportFl is not
actually the active application, in which case the file
you are attempting to import is treated as a disk image.
Choosing &ldquo;Initialize&rdquo; will turn it into a valid disk image,
destroying parts of the previous content. </p>
<p> ImportFl is mostly useful for importing archives, since it only
imports the data fork of a file, not Macintosh specific
information such as the resource fork, the file type, the
file creator, and comments.
(In particular, applications are mostly contained in
the resource fork, and so can not be imported with ImportFl.
And aside from OS X, most other modern operating systems
don't support resource forks, and so can not correctly
store an old Macintosh application, and so there is
nothing that ImportFl could import anyway.)
</p>
<p>
Since ImportFl doesn&rsquo;t receive Macintosh file type
and creator information from the real computer,
it sets the file type of the imported file to
&ldquo;BINA&rdquo; and the creator type to &ldquo;SITx&rdquo;.
That creator type belongs to
<a href="https://www.gryphel.com/c/sw/archive/stuffexp/index.html">Stuffit Expander</a>,
which can deal with most archive types you would want to import.
So double clicking on the imported file will launch Stuffit Expander,
if it is available. If it is not available, double clicking on
the imported file will result in an error message. In System 6:
&lsquo;The file &ldquo;&lt;file_name&gt;&rdquo; could not be
opened/printed (the application is busy or missing).&rsquo;
In System 7: &lsquo;The document &ldquo;&lt;file_name&gt;&rdquo; could
not be opened, because the application program that created it could
not be found.&rsquo;
</p>
<p>
Many old archives can be unpacked with
<a href="https://www.gryphel.com/c/sw/archive/stuffexp/index.html">Stuffit Expander 4.0.1</a>.
However, it is common to encounter a Stuffit file that requires
a more recent version of Stuffit Expander than will run on
a Macintosh Plus. In that case, it will often work with
Stuffit Expander 5.5, available from the same page, running on
the Macintosh II emulation of Mini vMac. If an even later version
of Stuffit Expander is required, you could uncompress it on a different
Macintosh emulator, such as Basilisk II, or a real Macintosh.
</p>
<p>
If what you are importing is not an archive, you can
fix the file type and file creator with
utilities like
<a href="https://www.gryphel.com/c/sw/sysutils/fndrinfo/index.html">Finder Info</a>
or
<a href="https://www.gryphel.com/c/sw/sysutils/crtrchng/index.html">Creator Changer</a>.
This can be fine for text files (type &ldquo;TEXT&rdquo;) and some
others, but again, many other file types have information in the
resource fork, which is not imported by ImportFl, and most operating
systems besides OS X cannot store in the first place.
</p>
<p>
If you do have files on OS X that you want to import, the Finder
application has the built in ability to create an archive
that preserves most Macintosh specific information.
Right click (or click with the Control key down) on
the icon of a file or folder, and choose the
"Compress" command. The archive is created in
the same folder with a name ending in ".zip".
Once you import the file into Mini vMac with ImportFl, StuffIt Expander
won&rsquo;t really properly deal with it.
Such archives can be unpacked in Mini vMac with the
<a href="https://www.gryphel.com/c/sw/archive/miniunzp/index.html">MiniUnZp</a>
application, or using the more advanced
<a href="http://www.emaculation.com/forum/viewtopic.php?f=1&t=8322">miniunz</a>
from Adam P.
</p>
<p>
Another alternative is that recent versions of OS X include a
<a href="http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man1/macbinary.1.html">macbinary</a>
command, which can be used from the Terminal to convert a file
into into MacBinary format, which can be unpacked with
<a href="../binunpk/index.html">binUnpk</a>
or
<a href="https://www.gryphel.com/c/sw/archive/stuffexp/index.html">Stuffit Expander</a>.
(Thanks to Ryan Schmidt and Samir Namer for
pointing out this command.)
</p>
<p> If you would like to import plain text,
<a href="../clipin/index.html">ClipIn</a> may be more convenient. </p>
<p> If you would like to export files, see
<a href="../exportfl/index.html">ExportFl</a>, the opposite of ImportFl. </p>
<p> See the
<a href="../../appc/index.html">Compiling</a>
page for instructions on compiling ImportFl from the source code. </p>
<p> You can redistribute ImportFl and/or modify it under the terms
of version 2 of the GNU General Public License as published by
the Free Software Foundation. See the included file COPYING. </p>
<p> ImportFl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
license for more details. </p>
<p> News: </p>
<p>
<b> February 29, 2020 </b>
version 1.2.2 now sets the creator type to &ldquo;SITx&rdquo;
instead of &ldquo;MvEx&rdquo;.
</p>
<p>
<b> July 13, 2016 </b>
version 1.2.1 fixes a bug where ImportFl would not overwrite an
existing file (after the Standard Put File dialog asks if you
want to replace it).
And the URL in the about dialog has been updated.
Also, source shared with other Mini vMac extras has been updated,
fixing a couple other bugs: ImportFl should now not crash in
other emulators such as SheepShaver (though it still won't do
anything useful), and it can save to MFS volumes, when
the computer supports HFS (previously it had the wrong test,
and would support MFS only on computers that didn't support HFS).
</p>
<p> : </p>
<p> If you find ImportFl useful, please consider
<a href="https://www.gryphel.com/c/help/index.html">helping the Gryphel Project</a>,
of which it is a part. </p>
<a href="https://www.gryphel.com/index.html">
<img src="https://www.gryphel.com/d/gryphel-32.gif" width=32 height=32 border=0
alt="gryphel logo, 1K"
>
</a>
<hr>
<div>
<i> <a href="https://www.gryphel.com/index.html">www.gryphel.com</a>/c/<a href="../../index.html">minivmac</a>/<a href="../index.html">extras</a>/importfl
- <a href="https://www.gryphel.com/c/feedback.html">feedback</a> </i>
<br>
copyright (c) 2020 Paul C. Pratt - last update 2/29/2020
</div>
</body>
</html>