Skip to content

Commit dbe67a8

Browse files
committed
init from sf.net libxad, without some testfiles
0 parents  commit dbe67a8

641 files changed

Lines changed: 269238 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

libxad/AUTHORS

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
This document gives credit to all the people involved in development
2+
of the XAD library system. If your or an other name is missing, contact the
3+
developers, so the file may be updated.
4+
5+
Current Maintainer:
6+
7+
Dirk St�cker <soft@dstoecker.de>
8+
9+
Developers of current version:
10+
11+
Andrew Bell <andrewbell@users.sourceforge.net> (unix port)
12+
Stuart Caie <kyzer@4u.net> (unix port)
13+
Dirk St�cker <soft@dstoecker.de> (design)
14+
Sigbj�rn Skj�ret <cisc@broadpark.no> (MorphOS version)
15+
16+
Developers of unfree version (1998 to 2004, version 1.0 to 12.1):
17+
18+
Dirk St�cker <soft@dstoecker.de> (main author)
19+
Ronald van Dijk <ronaldvd@xs4all.nl> (conversion tables, external clients)
20+
Stuart Caie <kyzer@4u.net> (design help, external clients)
21+
Andrew Bell (Voodoo-X GUI, external clients)
22+
AmiS (external TR-DOS client)
23+
Mikolaj Calusinski (design help, external RAR client)
24+
Mariusz Danilewicz (polish translation)
25+
Herv� Dupont (french translation)
26+
Stefan Haubenthal (external Cpio client)
27+
Michal Jarzynski (external oe4 client)
28+
Matthew T. Russotto (CAB Quantum and StuffIt 15 algorithms source)
29+
Sigbj�rn Skj�ret (external idPAK client)
30+
Daniel Sternik (polish proofreader)
31+
David Tritscher (LZX code)

libxad/COPYING

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
This library is free software; you can redistribute it and/or modify
2+
it under the terms of the GNU General Public License as published by
3+
the Free Software Foundation; either version 2 of the License, or
4+
(at your option) any later version.
5+
6+
Parts of the library can be redistributed and/or modified under the
7+
terms of the GNU Lesser General Public License as published by the
8+
Free Software Foundation; either version 2.1 of the License, or
9+
(at your option) any later version as well. See the source code files
10+
to find out if LGPL can be used or not.
11+
12+
The GNU Lesser General Public License is included in file lgpl.txt.
13+
The GNU General Public License is in file gpl.txt.

libxad/amiga/X-Systems.TXT

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
*****************
2+
* *
3+
* The X-Systems *
4+
* *
5+
*****************
6+
7+
Now there are 6 library systems starting with an X in their name and 3 of
8+
them end in master.library. I think a bit of information is needed to
9+
know what they are. Note that these systems are shared libraries and thus
10+
useless without an application program using them. XPK, XFD and XAD have
11+
some easy application programs included in the distribution, but most
12+
important are all the other applications using them.
13+
14+
xprxxxxx.library: (XPR = eXternal PRotocol)
15+
16+
First of all there was the idea to implement program independent transfer
17+
protocols to make different transfer system support a lot better than it
18+
was this time. The xprxxxxx.libraries were invented. Most of the protocols
19+
are wellknown from mailbox times (Z-Modem, X-Modem, Y-Modem, Kermit, ...).
20+
Before the XPR libraries existed, the programs supported the protocols
21+
directly and most time only some of them and always missing the one you
22+
needed yourself. XPR made an end to that. You only copy the specific
23+
library to LIBS: and select it in the terminal program (like Term) and
24+
know you can use it. The libraries can be developed by different authors
25+
and totally independent from any terminal program.
26+
To be able to do so, all the libraries use a standard interface, which
27+
does not differ in all the libraries. So the terminal programm does
28+
not need to do anything special, but only call the requiered function
29+
and the XPR library is doing its work.
30+
31+
xemxxxxx.library: (XEM = eXternal EMulation)
32+
33+
Like the XPR libraries, these libraries can be developed totally independant
34+
from terminal programs. They present a set of different terminal emulations
35+
(VT100, VT340, RIP, ...) and are designed a lot like the XPR libraries.
36+
37+
xpkxxxx.library: (XPK = eXternal PacKer)
38+
39+
This system was developed by Urban Dominik M�ller and some other persons
40+
and is continued by Dirk St�cker. Its main concept is taken from XPR, but it
41+
is used totally different. It is no longer used with terminal programs, but
42+
with any program. XPK is a system to pack and unpack data in a standardized
43+
data format XPKF. XPK consists of one xpkmaster.library, which does all
44+
the work you need to do to support packing (data handling, file format
45+
creation, parameter checking, ...) and a lot of sub libraries, which are
46+
equal to the XPR libraries. They have an standardized interface and are
47+
stored in LIBS:compressors directory. Normally you call the master library
48+
when you need to pack or unpack something. You also may use the sub
49+
libraries directly (like for XPR). The sub libraries all implement
50+
different packing or encrypting algorithms. In an application program the
51+
user only needs to select one of the libraries and the program now uses
52+
that algorithm.
53+
This allows applications to use up-to-date compression/encryption without
54+
spending a lot of work implementing these in the program itself. And the
55+
user is able to select parameters like "low packrate - high speed" or "best
56+
rate - lower speed" or any other combination he likes.
57+
58+
xfdmaster.library: (XFD = eXternal File Decruncher)
59+
60+
Another system developed by Georg H�rmann. This system allows to decrunch
61+
any type of crunched Amiga data (executable programs, data files). Unlike
62+
XPK, which only decrunches its own types, XFD decrunches data of all the
63+
other packer system developed over the years. XFD cannot crunch data,
64+
only decrunch. Like XPK it consists of one xfdmaster.library doing all the
65+
work. Unlike XPK the slaves can no longer be accessed directly, as they are
66+
no longer libraries. Each slave is either internally in the library or
67+
an extern file in LIBS:xfd. The extern slaves are normal Amiga executable
68+
files with a standard interface allowing xfdmaster.library to call their
69+
functions. These extern files can be developed independend from
70+
xfdmaster.library by different authors, like it is for the other 4 systems.
71+
Like for XPK, Dirk St�cker is now the author of the XFD system at least
72+
until Georg wants back the authorship.
73+
74+
xadmaster.library: (XAD = eXternal Archive Decruncher)
75+
76+
XAD was developed by Dirk St�cker. It is much like XFD system, but it
77+
dearchives file and disk archives instead of files. The xadmaster.library
78+
gives application programs a standard interface to extract files from file
79+
archives (lha, lzx, ...) or unarchive disk archives (dms, zoom, ...). Like
80+
XFD, the XAD system has library internal clients and extern clients stored
81+
in LIBS:xad directory. These extern clients are Amiga executable files
82+
like for XFD, but they have a totally different interface.
83+
84+
xvs.library (XVS = eXternal Virus Scanner)
85+
86+
This library is unlike all the others, as it is not possible to write any
87+
extra slaves/clients for the library, all virus-scanning routines are
88+
stored in the library itself and are even protected so they can't be
89+
altered. If they could, viruses would no doubt alter them. This library is
90+
the work of Georg H�rmann, who seperated the virus scanning functionality
91+
out of his VirusZ tool, and made a library that any application could call.
92+
This way, Amiga users can enjoy many more interfaces to virus-scanning
93+
functionality -- for example, in web and FTP downloading tools, archive
94+
extractors, as well as the usual graphical virus scanning applications.
95+
96+
Additional words:
97+
As XPK and XFD both decrunch data, they are linked a bit. XFD always
98+
decrunches XPKF files by calling xpkmaster.library. XPK itself asks
99+
xfdmaster.library, wheather a certain format is known to it and if it is,
100+
XPK calls XFD to decrunch it. In this way XPK can decrunch some of the
101+
non-XPK file types using XFD. As XPK needs to know which size the file
102+
will have after decrunching, before the file is really decrunched, not
103+
all of XFD's slaves are supported by XPK. Only slaves for crunched data
104+
files which return uncrunched size on recognition are supported.
105+
106+
Also XAD clients may call XPK or XFD system to decrunch their data.
107+
108+
"Clients" (XAD), "Slaves" (XFD) and "Sub Libraries" (XPK) are different
109+
words for the same thing: The parts really doing the work.
110+
111+
Dirk St�cker <soft@dstoecker.de>
112+
Stuart Caie <kyzer@4u.net>
113+
114+
20th November 2002

libxad/amiga/X-Systems.TXT.info

1.8 KB
Binary file not shown.

libxad/amiga/docs.info

2.1 KB
Binary file not shown.
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
NAME
2+
exe2arc 1.5
3+
4+
SYNOPSIS
5+
exe2arc FROM/A,TO,TYPE/K
6+
7+
DESCRIPTION
8+
This program extracts the archive data from self extracting
9+
archive files. You can afterwards use that archive with xad
10+
or any other unarchiver. It equals the executable file, except
11+
the exe header is stripped and offsets are corrected. It works
12+
with all executable formats, which contain valid archive data.
13+
14+
Currently Zip, Rar, LhA, Cabinet, Arj and Ace are supported.
15+
Always test the extracted archive, as it may be damaged.
16+
17+
FROM specifies the exe file archive that should be handled.
18+
19+
TO is the name of destination archive file. This is automatically
20+
created, if not given. It also maybe the name of a directory, where
21+
the file should be stored.
22+
23+
TYPE allows to specify the archive type (if known). You always
24+
need to specify the TYPE keyword. The type may be specified using
25+
the archive format extension or the type name displayed, when
26+
archives are found.
27+
28+
EXAMPLE
29+
Shell> exe2arc pk204g.exe
30+
31+
HISTORY
32+
exe2arc 1.5
33+
- fixed Enforcer hit
34+
35+
exe2arc 1.4
36+
- now supports destination directories
37+
38+
exe2arc 1.3
39+
- added TYPE keyword
40+
41+
exe2arc 1.2
42+
- added Rar, LhA, Cabinet, Arj, Ace
43+
- renamed tool
44+
45+
exe2zip 1.1
46+
- now supports somewhat faulty exe files.
47+
48+
exe2zip 1.0
49+
- First public release.
50+
51+
COPYRIGHT
52+
exe2arc is freely distributable for noncommercial use.
53+
54+
AUTHOR
55+
Dirk St�cker
56+
Geschwister-Scholl-Stra�e 10
57+
01877 Bischofswerda
58+
GERMANY
59+
60+
Dirk Stoecker <soft@dstoecker.de>
1.8 KB
Binary file not shown.
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
NAME
2+
xad2lha 1.3
3+
4+
SYNOPSIS
5+
xad2lha FROM/A,TO,PASSWORD/K,NE=NOEXTERN/S,QUIET/S,HEADER0/S
6+
7+
DESCRIPTION
8+
xad2lha extracts data from other archives and stores it in an
9+
lha archive.
10+
This program transfers all additionally information, like UNIX
11+
owner stuff and protection bits.
12+
13+
FROM specifies the file archive that should be handled.
14+
15+
TO is the name of destination lha file. When not specified, the
16+
source name extensions are stripped and .lha is added.
17+
18+
PASSWORD can be used to supply a password for unarchiving of
19+
encrypted archives. This argument requires the keyword PASSWORD.
20+
21+
NOEXTERN prohibits the use of external clients for
22+
recognition purposes.
23+
24+
HEADER0 uses header level 0. This header is older and does not
25+
have special information.
26+
27+
The QUIET option makes the program really silent.
28+
29+
DATA FORMAT
30+
This tool normally creates files using header level 2.
31+
Uncompressable files are stored using -lh0-, all the others use
32+
-lh5- identifier. Directories use -lhd- identifier. The OS-ID is
33+
set to 'A', which is used by other Amiga lha programs.
34+
Following header information is included:
35+
36+
0x00 CRC always
37+
0x01 file name except it is an directory
38+
0x02 directory name except the file name has no directory part
39+
0x50 UNIX protection bits if there are group or other bits
40+
0x51 UNIX owner ID's only if user or group ID is not zero
41+
0x52 UNIX group name if exists
42+
0x53 UNIX user name if exists
43+
0x54 UNIX date always, except if source archive had no
44+
date (no UTC correction, but local time)
45+
0x71 comment if exists
46+
47+
When HEADER0 ist used, then directories are stored using -lh0- and
48+
a slash at name end. Comments are included in file name field and
49+
are seperated by a zero byte. Additionally header information is not
50+
supported with that format.
51+
52+
Standard protection bits and time stamp are always included in both
53+
headers.
54+
55+
EXAMPLES
56+
Shell> xad2lha archive.tar
57+
Make an lha archive from tar archive.
58+
59+
Shell> xad2lha archive.lha archive2.lha
60+
Recreate the lha archive.
61+
62+
HISTORY
63+
xad2lha 1.3
64+
- Added support for disk images.
65+
66+
xad2lha 1.2
67+
- Fixed compression bug causing illegal compressed files.
68+
69+
xad2lha 1.1
70+
- Now also parses and converts disk archives.
71+
72+
xad2lha 1.0
73+
- First public release.
74+
75+
COPYRIGHT
76+
xad2lha is freely distributable for noncommercial use.
77+
78+
AUTHOR
79+
Dirk St�cker
80+
Geschwister-Scholl-Stra�e 10
81+
01877 Bischofswerda
82+
GERMANY
83+
84+
Dirk Stoecker <soft@dstoecker.de>
1.8 KB
Binary file not shown.
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
NAME
2+
xadLibInfo 1.6
3+
4+
SYNOPSIS
5+
xadLibInfo
6+
7+
DESCRIPTION
8+
xadLibInfo displays the name, flags, ID, required xadmaster version,
9+
version and revision of all clients in xadmaster.library.
10+
11+
Meaning of the abbrevations:
12+
ID - internal client ID
13+
MV - required master version
14+
VER - client version and revision
15+
16+
The Flags field gives information about the different flags set
17+
in the client.
18+
19+
EXAMPLE
20+
Shell> xadLibInfo
21+
22+
Clients of xadmaster.library 3.0
23+
24+
Name | ID | MV | VER | Flags
25+
--------/.../-----+------+----+-------+------------------------------
26+
xMash | 1000 | 3 | 1.4 | DISK,FREE(DI,TI,TEXT)
27+
[...]
28+
29+
HISTORY
30+
xadLibInfo 1.6
31+
- added FREE(STR) flag
32+
33+
xadLibInfo 1.5
34+
- added lots of new flags
35+
36+
xadLibInfo 1.4
37+
- added NOCHECKSIZE flag
38+
39+
xadLibInfo 1.3
40+
- added FILESYSTEM flag (named FILESYS)
41+
42+
xadLibInfo 1.2
43+
- added new FREE(SI) flag, shortened DISKARCHIVER and FILEARCHIVER
44+
and reduced output width
45+
46+
xadLibInfo 1.1
47+
- added new FREE flags
48+
49+
xadLibInfo 1.0
50+
- First public release.
51+
52+
COPYRIGHT
53+
xadLibInfo is freely distributable for noncommercial use.
54+
55+
AUTHOR
56+
Dirk St�cker
57+
Geschwister-Scholl-Stra�e 10
58+
01877 Bischofswerda
59+
GERMANY
60+
61+
Dirk Stoecker <soft@dstoecker.de>

0 commit comments

Comments
 (0)