Moderator: Moderators
-
futti
- Posts: 4
- Joined: 2003-07-27 08:00
- Location: mostly at the computer
Post
by futti » 2003-07-27 08:14
I'm making this DC client in PHP. I hope some of you can answer my questions about filelists in DC.
What formats are the filelists in?
I know about the .bz2 type of list but I'm not sure with the .dclst. Do I need both?
Any answers migth help me out some...
-
cyberal
- Posts: 360
- Joined: 2003-05-16 10:42
Post
by cyberal » 2003-07-27 09:46
umm, isn't the .bz2 a compressed .dclst ?
-
TheParanoidOne
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 19:37
Post
by TheParanoidOne » 2003-07-27 10:03
No, it's not. A .bz2 decompresses into a plain text file whereas a .DcLst file is binary.
Try it yourself.
-
futti
- Posts: 4
- Joined: 2003-07-27 08:00
- Location: mostly at the computer
Post
by futti » 2003-07-27 11:58
TheParanoidOne wrote:No, it's not. A .bz2 decompresses into a plain text file whereas a .DcLst file is binary.
Try it yourself.
Binary? What does that mean? How can I generate/make one? And how do I open it?
-
GargoyleMT
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-08 02:46
- Location: .pa.us
Post
by GargoyleMT » 2003-07-27 16:00
futti wrote:Binary? What does that mean? How can I generate/make one? And how do I open it?
Please check the DC++ source.

I believe it involves Huffman encoding somehow, and in the 5 minutes alloted to answer this question, I couldn't find any documents on the reverse engineering of the file lists.

-
Gumboot
- Posts: 22
- Joined: 2003-01-16 01:08
- Location: New Zealand
Post
by Gumboot » 2003-07-28 14:27
I posted details and source code for the huffman scheme used in .dclst files a while ago. See
here.
-
ZXer
- Posts: 1
- Joined: 2004-05-16 12:21
Post
by ZXer » 2004-07-16 19:22
Hi!
Does anyone have some code to decompress .bz2 files? (I would prefer Pascal (Deplhi) or C if possible...)
thanks
-
TheParanoidOne
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 19:37
Post
by TheParanoidOne » 2004-07-16 19:44
For C, you could use the bzip2 library which is part of DC++. For Delphi, I'm sure you could find something via Google.
Users browsing this forum: Google [Bot] and 0 guests