AR2000 Compression/Decompression Algorithm

S

Stephany Young

Does anyone have the source code for a C# implementation of the AR2000
Compression/Decompression algorithm that they might like to share?
 
P

Peter Duniho

I really meant - the AR002 Compression/Decompression algorithm

I still don't have one. :)

But a quick Google turned up this link:
ftp://ftp.simtel.net/pub/simtelnet/msdos/arcers/ar002.zip

That's supposed to be the source code for an implementation of AR002. I
would think that you would be able to use that to easily create your own
in C#.

Pete
 
S

Stephany Young

Thanks Peter.

I have researched everything that I can fin on AR002 and that was one of the
items.

Unfortunately, I don't have the skill level required to dissect that
particular implementation.

That's why I was hoping that someone else might have already been there and
done that.
 
P

Peter Duniho

I have researched everything that I can fin on AR002 and that was one of
the items.

Unfortunately, I don't have the skill level required to dissect that
particular implementation.

Really? I took a quick look at it, and it seems relatively simple. Most
of it would compile directly as C#.

There are a couple of things, with respect to the i/o, and at least one
tree data structure, that would require a little more effort. But
otherwise it seems pretty straightforward. A fair amount of byte copying
and bit-twiddling, all of which works pretty much the same in C# as in C.
That's why I was hoping that someone else might have already been there
and done that.

Well, if you don't find an existing implementation, you might decide to
take it upon yourself to go ahead and port the code you found. I doubt
someone here would do it for you, at least not without some monetary
compensation (i.e. it looks like actual work to me, as opposed to
something fun :) ).

But I also doubt that anyone here would just leave you hanging when it
comes to specific questions you might have about how to implement
something in the code that you don't understand, or don't know the C#
equivalent. As you work on porting it, if and when you run into something
you don't understand how to convert, just post a question here. I'm sure
someone here will be able to offer advice for each question you might have.

I think it would also probably be a pretty good learning experience,
assuming that you really don't have the skill right now to port (or
dissect) that implementation. By the time you're done, you will. :)

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top