The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: ragdog on November 05, 2006, 08:45:37 PM

Title: unrar libary
Post by: ragdog on November 05, 2006, 08:45:37 PM
hi @all

Is there such a thing a source to make a rar archiv in masm32?

best greetz the ragdog :bg
Title: Re: unrar libary
Post by: sinsi on November 06, 2006, 08:20:19 AM
AFAIK there is only source code for unrar, not rar.
Quote
Unrar source, unrar.dll library and uncompressed versions of SFX modules
are available in "RAR extras" part of www.rarlab.com
Title: Re: unrar libary
Post by: hutch-- on November 06, 2006, 10:18:08 AM
ragdog,

Like most compression algo around, the source of the RAR compression algo is not available but depending on what you need to do, JIBZ wrote an example in the MASM32 example code called "APPACK.ASM" that uses his aPlib compression algorithm. JIBZ allows this library to be used for non commercxial purposes free of charge so it may do the job you need. You will find it in "example03\appack" in the masm32 example code.
Title: Re: unrar libary
Post by: Vortex on November 06, 2006, 11:09:47 AM
Here, you can find a simple SFX archive demo :

http://www.masm32.com/board/index.php?topic=3816.0
Title: Re: unrar libary
Post by: ragdog on November 06, 2006, 11:32:43 AM
thanks hutch-- and vortex :U
Title: Re: unrar libary
Post by: Ehtyar on November 07, 2006, 02:57:14 AM
Rar is a proprietary algorithm, therefore may not be emulated or reproduced in full. The unrar source is only distributed with the express understanding that it is not to be reverse engineered or anything similar. You will have to find an alternative if you wish to CREATE an archive.

Ehtyar.
Title: Re: unrar libary
Post by: P1 on November 07, 2006, 02:34:13 PM
Note:  Must be used according to the EULA of RAR program.

When there is no API or support library, some programmers will make a shell interface and use the underlying program through it's Command Line features.

Regards,  P1  :8)
Title: Re: unrar libary
Post by: ragdog on November 07, 2006, 04:43:29 PM
hi

thx for your posting! :U
i´m mailing with rarlab result is:

rarlab say´s is give no free api or dll! :red
Title: Re: unrar libary
Post by: Seb on November 07, 2006, 05:50:53 PM
I'm not I'm allowed to mention this here, but I do know that the Beagle worm includes RAR-archive creation code. Please don't hesitate remove this post if it's against the rules.
Title: Re: unrar libary
Post by: ragdog on November 07, 2006, 05:58:47 PM
i have the rar algo from beagle I don't know work correct this algo

thx
Title: Re: unrar libary
Post by: Seb on November 07, 2006, 08:01:52 PM
Well, it does work for creating a RAR-archive with a file in it - it just doesn't compress it (I believe this compression mode is called "Store" in WinRAR).
Title: Re: unrar libary
Post by: ragdog on November 07, 2006, 08:18:17 PM
thx!

this works with a one file! can your help thats works with more files??
Title: Re: unrar libary
Post by: ecube on November 10, 2006, 02:53:43 AM
You can download a free and opensource unrar lib here http://www.unrarlib.org/, but as the author mentions his FAQ section

There is no way to create a RAR archive with the URARFileLib. When will you add a "create archive" function?

Probably never. The license of the free unrar source code prohibits making a tool that can create RAR compatible archives. Eugene Roshal spent a lot of time making RAR what it is today and RAR helps him to earn his livelihood. If you really need to create RAR archives form your application, I suggest contacting the author of RAR.
Title: Re: unrar libary
Post by: ragdog on November 10, 2006, 04:30:06 PM
to E^cube

i have postet the author of RAR

i´m mailing with rarlab result is:

rarlab say´s is give no free api or dll!

ragdog