home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 10
/
Fresh_Fish_10_2352.bin
/
new
/
util
/
arc
/
modpack
/
modpack.doc
< prev
next >
Wrap
Text File
|
1994-09-14
|
17KB
|
331 lines
ModPack V1.4b
-----------------
by Mike Coenen
INFO
This little assembler-program packs soudtracker-modules together with a
file containing additional information into an LHA-archive.
The program needs at least OS2.04, but it will run on every processor
of the 68000-family (that's not quite me, is it ?). In addition the
program 'LHA' is needed somwhere where you can reach it without having
to add a path (e.g. C:).
ModPack is ThinkWare. So if you use it frequently, you should think of
me...
A propos: I will NOT be held responsible for any damage or dataloss
caused in connection with ModPack!
SELECT FILES
As ModPack has to know which files to pack, you have to tell him somehow.
To do so, you have three choices.
You can call a file-requester by pressing the 'Add'-gadget and select the
desired modules (multiselect with SHIFT is allowed). You are also able
to drag icons directly into the ModPack window and drop them there (even
more than one, if you like). This would make more sense with large
numbers of modules, as you can show files without icons on the Workbench
as well. Third, you can do an ExtendedSelect. That means you click once
on the ModPack-icon, and then with the SHIFT-key held down click on all
files you want to be loaded. Do a double-click on the last icon (SHIFT
still pressed) so that ModPack is started and the files will be read.
If you want to select an entire directory, but it is unreachable from
Workbench because it lies in a fifth-level-subdirectory without any
icons or whatever, you don't have to 'Window/Show/All Files' all
directories. Just click 'Add', select the desired directory and press
'Add' in the file requester without selecting ANY file. Then the entire
directory will be analyzed. Note that by selecting entire directories
the pattern defined in the ToolTypes (or the default one) will be used
and NOT the one in the file requester. That's because I don't know how
to access it.
The selected files are then examined and, together with their size,
displayed in the ListViewGadget. If you want to add some modules to the
List later on, just repeat the procedure and the new files will be
attached at the end of the list. Don't care about the path - it doesn't
matter. In fact every file could be in an other directory, ModPack
handles it automatically.
The number of selected files can be seen in the bottom left hand corner
in the 'Cnt:'-TextGadget.
ModPack recognizes files crunched with the PowerPacker or the Imploder.
Such files will be marked in the ListViewGadet with a "P" for "Power-
Packer" or an "I" for "Imploder". The RealName will in such cases only
be "PP_x" or "IMP_x", where x is a number.
EDIT FILES
When you select an item from the ListViewGadget, some information will
become visible on the left side, as there are:
'RealName': This TextGadget displays the module's name. This is not the
filename but the 'real one' which is read from the file.
'Filename': Here, the filename of the arcive will be displayed. It will
be assembled from the RealName and the suffix '.lha'.
All spaces, colons, slashes, full stops, commas, and "_"s
(I dont't know what a '_' is called in english...) will be
thrown out, and the following character will be capitalized
(Ä, Ü, ö etc. treated correctly). 'live long,and_Prosper'
would therefore be converted into 'LiveLongAndProsper'.
'Composer': The Composer... The name will be extracted from the file's
comment which must have the following format:
COMPOSER^FROM^INFO
The character '^' operates as separator, where it is not
necessary for all three fields to be existent. Valid is for
example '^^Metal', what leads to an empty Composer- and
From-String, and to an Info-String containing 'Metal'. You
can enter 'Mike Coenen' as well, so that the Composer will be
'Mike Coenen' and the rest will be empty ('Mike Coenen^^'
will, of course, work too).
'From' : The source of the module (e.g. Demo xyz). This will be
extracted from the file's comment which must have the
following format: COMPOSER^FROM^INFO
'Info' : This field can contain many things, for example the kind of
music... The Info-string will be extracted from the file's
comment which must have the following format:
CMOPOSER^FROM^INFO
Except for the RealName you can edit everything, even the name of the
archive, which, in many cases, might be not quite like you want it.
But Attention! ALL INPUTS WILL ONLY BE ACCEPTED AFTER PRESSING RETURN,
TAB OR SHIFT-TAB! IF A STRINGGADGET IS INACTIVATED BY A MOUSECLICK, THE
CHANGE WILL NOT BE CARRIED OUT !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ALL STRINGGADGETS IN THIS PROGRAM WILL HANDLE IT THIS WAY !!!!!!!!!!!!!
DELETE FILES
If you want to delete a file from the list, just select it, and click on
'Del'.
By clicking on 'ClrAll' you can delete all entries in the ListViewGadget.
There won't be any changes on disk when you delete an entry. Only the
items in the list will be affected.
SAVE INFO
ModPack offers you the possibility to save the info displayed on the
left as an ASCII-file. Click on 'Save' and a file requester will open.
Select or enter the filename and confirm it. Should the file already
exist, you can either overwrite it or append the new information. As a
third option you can cancel and not do anything.
(DONT'T) PAY ATTENTION TO COMMENT
With the CheckboxGadget you can define whether ModPack shall examine
the module's file comment or not. If the comment is not in the format
'COMPOSER^FROM^INFO' there might be some unwanted results which have
to be corrected manually. So you can switch this function off to ignore
the comment. Note that ignoring the comment can only be done while
selecting files. Once a file is in the list, switching on or off will
have no effect.
The default is 'COMMENT=TRUE' that makes the comment to be examined.
If you want to have it the other way round just from the start, set
'COMMENT=FALSE' in the ToolTypes. This would then be the predefined
setting when launched from the Workbench.
8 CHARACTER LIMIT
This has been implemented in order to save MS-DOS users from total
despair. I did see more than one BBS crashing because of too long file-
names. If activated the filenames of all Modules in the ListView will
be truncated to eight characters plus '.lha'. Making the option inactive
causes all filenames to be normal again :-)
This can also be controlled by the ToolTypes. Add 'CHARLIMIT=TRUE' to
activate it right from the start.
EXTERNAL ID
As the default file_id.diz-layout might surely not please everyone, I
added the possibility to use you own IDs. You have to set up two ASCII-
files, one for the 'full' ID and one for the 'empty' one. Add the Tool-
Types 'FILEIDFULL=File' (where 'File', of course, can be any valid path
to a file) and 'FILEIDEMPTY=File'. Only if those two entries are valid,
the CheckboxGadget will be enabled.
The File can be as long as you want it to be. To insert the RealName
you have to type '^R_$(xx)' where xx is a number indicating the length
of the string (shorter ones will be padded with SPACEs). The keyword
for the composer is '^C_$(xx)', for the From-entry '^F_$(xx)' and for
the Info-entry '^I(xx)'. so it could look like:
A MODULE...
======================================
RealName : ^R_$(20)
--------------------------------------
Author : ^C_$(30)
--------------------------------------
From : ^F_$(7)
-----