ARJ.htm ( File view )

  • By 2010-07-31
  • View(s):8
  • Download(s):0
  • Point(s): 1


<body background="../jpg/di1.JPG">

<p> </p>
<div align="center"><center>

<pre>arj technical information</pre>
</center></div><div align="center"><center>

<table border="0" width="88%">
    <td width="100%"><pre>     ** important news ****************************************************</pre>
    <pre>     some archiver support programs have incorporated arj archive
     identification schemes that are not reliable.  at arj 2.39, there
     are now two versions of the large self-extraction module.	the 17k
     byte arjsfx module supports arj-security.	the standard 15k byte
     arjsfx module does not support arj-security.  for the first time, the
     arj-security fields in the main arj header are publicly defined.</pre>
    <pre>     in addition, the main arj header in self-extracting archives does not
     immediately follow the exe module now.</pre>
    <pre>     arj has used the same arj archive identification scheme since arj
     1.0.  the following is the algorithm:</pre>
    <pre>     (1) find the arj header id bytes 0x60, 0xea,
     (2) read the next two bytes as the header record size in bytes,
     (3) if the record size is greater than 2600, go back to the header
	 id file position, increment the file position, and go back to
	 step (1),
     (4) read the header record based upon the previous byte count,
     (5) calculate the 32 bit crc of the header record data,
     (6) read the next four bytes as the actual header record crc,
     (7) if the actual crc does not equal the calculated crc, go back
	 to the header id file position, increment the file position,
	 and go back to step (1).</pre>
    <pre>     this algorithm is fully demonstrated in the unarj c source code.</pre>
    <pre>     when using listfiles with arj, arj support programs should use the
     &quot;-p&quot; option to ensure that arj will only extract the selected files
     from an arj archive.  this is important for arj archives that have
     pathname information stored.</pre>
    <pre>     there is an extended header bug in older versions of arj, av.c and
     unarj.c.  the extended header processing in read_header() should
     skip 4 bytes for the extended header crc and not 2.  this is not a
     current problem as no versions of arj use the extended header.</pre>
    <pre>     **********************************************************************
    <pre>     modification history:
     date      description of modification:
     --------  ------------------------------------------------------------
     03/17/93  added information about arjsfx change.
     02/17/93  added description of arj security fields.
	       added archive date-modified field.
     12/03/91  added backup flag to header arj flags.
     11/21/91  described the two types of headers separately.
     11/11/91  added information about the change in text mode processing.
     06/28/91  added several new host os numbers.
     05/19/91  improved the description of extended header processing.
     05/11/91  simplified this document.  added volume label type.
     03/11/91  added directory file type.
     02/23/91  added more comments.
     01/10/91  corrected timestamp description and header order of file mode.
     10/30/90  corrected values of flags in arj flags.
    <pre>     arj archives contains two types of header blocks:</pre>
    <pre>	archive main header - this is located at the head of the archive
	local file header   - this is located before each archived file</pre>
    <pre>     structure of main header (low order byte first):</pre>
    <pre>     bytes description
       2   header id (main and local file) = 0x60 0xea
       2   basic header size (from 'first_hdr_size' thru 'comment' below)
		 = first_hdr_size + strlen(filename) + 1 + strlen(comment) + 1
		 = 0 if end of archive
		 maximum header size is 2600</pre>
    <pre>       1   first_hdr_size (size up to and including 'extra data')
       1   archiver version number
       1   minimum archiver version to extract
       1   host os   (0 = msdos, 1 = primos, 2 = unix, 3 = amiga, 4 = mac-os)
		     (5 = os/2, 6 = apple gs, 7 = atari st, 8 = next)
		     (9 = vax vms)
       1   arj flags
		     (0x01 = not used)
		     (0x02 = old_secured_flag)
		     (0x04 = volume_flag)  indicates presence of succeeding
		     (0x08 = not used)
		     (0x10 = pathsym_flag) indicates archive name translated
					   (&quot;\&quot; changed to &quot;/&quot;)
		     (0x20 = backup_flag) indicates backup type archive
		     (0x40 = secured_flag)
       1   security version (2 = current)
       1   file type	    (must equal 2)
       1   reserved
       4   date time when original archive was created
       4   date time when archive was last modified
       4   archive size (currently used only for secured archives)
       4   security envelope file position
       2   filespec position in filename
       2   length in bytes of security envelope data
       2   (currently not used)
       ?   (currently none)</pre>
    <pre>       ?   filename of archive when created (null-terminated string)
       ?   archive comment  (null-terminated string)</pre>
    <pre>       4   basic header crc</pre>
    <pre>       2   1st extended header size (0 if none)
       ?   1st extended header (currently not used)
       4   1st extended header's crc (not presen
(Please download the complete source code to view)
Expand> <Close

Want complete source code? Download it here

Point(s): 1

0 lines left, continue to read
Sponsored links

File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
index.htm66.63 kB24-03-99|22:05
binary0.00 B27-01-04|20:12
arc.htm4.53 kB18-03-99|04:12
ARJ.htm8.27 kB18-03-99|04:12
cab.zip43.49 kB11-12-98|03:08
lzh.htm2.08 kB18-03-99|04:12
tar.htm12.38 kB18-03-99|04:12
comm0.00 B27-01-04|20:12
clarion.zip32.79 kB11-12-98|03:09
dbase.htm5.56 kB18-03-99|04:12
dbf.htm2.99 kB18-03-99|04:12
ntx.htm11.44 kB18-03-99|04:12
paradox.rtf61.50 kB29-01-99|17:09
wks.zip22.04 kB11-12-98|03:09
xls.txt44.32 kB29-01-99|17:30
data0.00 B27-01-04|20:12
ai30.pdf260.00 kB29-03-98|22:54
bmp.htm46.13 kB18-03-99|04:12
Bmp.html37.97 kB18-03-99|04:12
BW.htm2.71 kB18-03-99|04:12
col.htm2.02 kB18-03-99|04:12
draft-bo.rtf240.19 kB14-03-99|00:24
dwg_ff.htm11.31 kB18-03-99|04:12
dxf.htm86.74 kB18-03-99|04:12
dxf12.htm140.73 kB18-03-99|04:12
dxf13.zip143.43 kB11-12-98|02:44
dxf14htm.zip160.37 kB11-12-98|02:48
DXF_R14.HLP201.27 kB24-06-98|19:27
emf.hlp73.22 kB17-10-95|23:53
gif87.htm29.98 kB18-03-99|04:12
Gif89a.doc83.47 kB29-10-90|08:27
grap.htm14.76 kB18-03-99|04:12
Ico.zip114.21 kB27-01-99|19:13
jpg.pdf93.35 kB29-03-98|22:59
jpg.rtf15.97 kB23-01-99|01:36
lzw.htm6.44 kB18-03-99|04:12
lzwexp.htm17.13 kB18-03-99|04:12
PCD.htm5.46 kB18-03-99|04:12
pcx.htm26.13 kB18-03-99|04:12
pic.htm4.49 kB18-03-99|04:12
PSD.pdf368.64 kB18-04-97|19:01
ps_plug.pdf377.16 kB29-03-98|22:59
rle.pdf31.59 kB29-03-98|23:06
tga.htm45.46 kB18-03-99|04:12
tga2.zip54.38 kB10-12-98|19:48
tif.pdf365.72 kB29-03-98|23:07
YUV.htm3.96 kB18-03-99|04:12
graphics0.00 B27-01-04|20:12
agentref.zip11.06 kB11-12-98|03:18
bbs.htm12.85 kB18-03-99|04:12
bluewave.htm43.85 kB18-03-99|04:12
idx.htm3.68 kB18-03-99|04:12
url.htm1.61 kB18-03-99|04:12
uuencode.htm11.10 kB18-03-99|04:12
Vrml.rtf70.88 kB28-01-99|14:10
VRML2.hlp181.23 kB21-02-98|20:57
internet0.00 B27-01-04|20:12
jpg0.00 B27-01-04|20:12
escode.rtf49.26 kB08-02-99|21:53
Intel.rtf130.99 kB08-02-99|21:50
joystick.rtf14.53 kB08-02-99|21:57
keyboard.rtf14.81 kB08-02-99|21:59
mouse.rtf15.75 kB08-02-99|22:00
pcl5.zip92.62 kB13-12-98|04:33
speaker.rtf16.96 kB08-02-99|22:04
VGA.htm29.31 kB18-03-99|04:12
other0.00 B27-01-04|20:12
cd.htm26.36 kB18-03-99|04:12
cda.htm2.98 kB18-03-99|04:12
mid1.htm16.87 kB18-03-99|04:12
midi2.htm12.08 kB18-03-99|04:12
midi3.htm10.51 kB18-03-99|04:12
MIND1-2.htm7.09 kB18-03-99|04:12
MPEG.zip573.61 kB11-12-98|04:02
mpeg1.zip65.24 kB11-12-98|03:45
Wav.rtf30.08 kB25-01-99|00:30
wave.htm104.17 kB18-03-99|04:12
sound0.00 B27-01-04|20:12
adobe_EPSF1_2.pdf12.64 kB29-03-98|22:51
adobe_EPSF2_0.pdf42.59 kB29-03-98|22:51
adobe_EPSF3_0.pdf127.45 kB29-03-98|22:54
afont.htm9.14 kB18-03-99|04:12
font.htm17.99 kB18-03-99|04:12
rtf.rtf158.74 kB25-01-99|01:41
rtf.zip147.10 kB11-12-98|03:32
word60.rtf463.82 kB25-01-99|03:24
word8.htm532.04 kB18-03-99|04:12
Wordpf.htm3.29 kB18-03-99|04:12
wordst.htm51.88 kB18-03-99|04:12
wri.htm21.84 kB18-03-99|04:12
text0.00 B27-01-04|20:13
ani.htm3.05 kB18-03-99|04:12
Bmp.html33.82 kB18-03-99|04:12
cab.zip43.49 kB11-12-98|03:08
cal.htm5.64 kB18-03-99|04:12
clp.htm2.33 kB18-03-99|04:12
crd.htm4.59 kB18-03-99|04:12
find.htm4.38 kB18-03-99|04:12
grp.htm8.54 kB18-03-99|04:12
Hlp.htm57.27 kB18-03-99|04:12
Hpj.doc71.12 kB14-01-93|06:22
Ico.zip114.21 kB27-01-99|19:13
icons.htm28.52 kB18-03-99|04:12
inf.htm2.74 kB18-03-99|04:12
Lnk.htm5.24 kB18-03-99|04:12
LONG.htm3.15 kB18-03-99|04:12
reg.htm11.13 kB18-03-99|04:12
res32.htm16.18 kB18-03-99|04:12
rle.pdf31.59 kB29-03-98|23:06
rtfwr.htm8.10 kB18-03-99|04:12
scr.htm1.69 kB18-03-99|04:12
ttfspec1.zip752.40 kB28-01-99|12:00
ttfspec2.zip501.01 kB27-01-99|20:51
Wav.rtf30.08 kB25-01-99|00:30
wave.htm101.51 kB18-03-99|04:12
wavec.htm205.63 kB18-03-99|04:12
WinReg.htm22.02 kB18-03-99|04:12
wmf.htm11.82 kB18-03-99|04:12
wri.htm21.84 kB18-03-99|04:12
windows0.00 B27-01-04|20:13
FORMAT0.00 B27-01-04|20:12
文件格式大全0.00 B27-01-04|20:12
Sponsored links

ARJ.htm (4.88 MB)

Need 1 point
Your Point(s)

Your Point isn't enough.

Get point immediately by PayPal

More(Debit card / Credit card / PayPal Credit / Online Banking)

Submit your source codes. Get more point


Don't have an account? Register now
Need any help?
Mail to:


CodeForge Chinese Version
CodeForge English Version

Where are you going?

^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!

Warm tip!

CodeForge to FavoriteFavorite by Ctrl+D