# Support Rar Compression

**URL:** <https://forum.renoise.com/t/support-rar-compression/29290>\
**Category:** Ideas & suggestions\
**Created:** [July 23, 2010, 6:46pm UTC](https://forum.renoise.com/t/support-rar-compression/29290 "2010-07-23T18:46:09Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Johann](https://forum.renoise.com/user_avatar/forum.renoise.com/johann/32/460_2.png) [@Johann](https://forum.renoise.com/u/Johann)\
**Post date:** [July 23, 2010, 6:46pm UTC](https://forum.renoise.com/t/support-rar-compression/29290/1 "2010-07-23T18:46:09Z")

</div>

rubberband remix, packed with ZIP (best): 6.0 mb  
rubberband remix, packed with RAR (best, solid): 3.5 mb

I’m sure Renoise songs and well, _everything_ would benefit from supporting RAR compression

Or are there licensing issues etc.? And what about 7-zip?

edit: well, as noted below, packing as rar is not really an option, but that still leaves two possible improvements: unpacking rar (mostly for xrnx but yes, why not also for .xrns files, if someone wants to create them by hand), and packing as 7zip.

---

<div class="post-metadata">

**Author:** ![kutabare](https://forum.renoise.com/letter_avatar/kutabare/32/6_449c533f586939b6e5f246632a46421f.png) [@kutabare](https://forum.renoise.com/u/kutabare)\
**Post date:** [July 25, 2010, 6:05pm UTC](https://forum.renoise.com/t/support-rar-compression/29290/2 "2010-07-25T18:05:33Z")

</div>

> [@](#):
>
> WinRAR is a popular shareware file archiver and data compression utility developed by Eugene Roshal, and first released in the fall of 1993.[1] It is one of the few applications that is able to create RAR archives natively, because the encoding method is held to be proprietary.

> **[WinRAR](https://en.wikipedia.org/wiki/Winrar)**
>
> WinRAR is a trialware file archiver utility for Windows, developed by Eugene Roshal of win.rar GmbH. It can create and view archives in RAR or ZIP file formats, and unpack numerous archive file formats. To enable the user to test the integrity of archives, WinRAR embeds CRC32 or BLAKE2 checksums for each file in each archive. WinRAR supports creating encrypted, multi-part and self-extracting archives.
> WinRAR is a Windows-only program. An Android application called "RAR for Android" is also avail...

---

<div class="post-metadata">

**Author:** ![Johann](https://forum.renoise.com/user_avatar/forum.renoise.com/johann/32/460_2.png) [@Johann](https://forum.renoise.com/u/Johann)\
**Post date:** [July 25, 2010, 6:57pm UTC](https://forum.renoise.com/t/support-rar-compression/29290/3 "2010-07-25T18:57:43Z")

</div>

I’m not talking about packing as rar though, I mean unpacking them. That is more freely available than the encoding if I’m not very much mistaken?

And then there’s 7zip.

Let’s face it, zip is 5000 years old and it shows.

---

<div class="post-metadata">

**Author:** ![insane](https://forum.renoise.com/user_avatar/forum.renoise.com/insane/32/13064_2.png) [@insane](https://forum.renoise.com/u/insane)\
**Post date:** [July 26, 2010, 1:47am UTC](https://forum.renoise.com/t/support-rar-compression/29290/4 "2010-07-26T01:47:17Z")

</div>

> [@Johann](#):
>
> I’m not talking about packing as rar though, I mean unpacking them. That is more freely available than the encoding if I’m not very much mistaken?
> 
> And then there’s 7zip.
> 
> Let’s face it, zip is 5000 years old and it shows.

Nice idea. It gets my +1.

---

<div class="post-metadata">

**Author:** ![plasmaniac](https://forum.renoise.com/user_avatar/forum.renoise.com/plasmaniac/32/950_2.png) [@plasmaniac](https://forum.renoise.com/u/plasmaniac)\
**Post date:** [July 26, 2010, 11:15am UTC](https://forum.renoise.com/t/support-rar-compression/29290/5 "2010-07-26T11:15:32Z")

</div>

seriously, guys: is anyone of you still snailing around with a 28.8k modem?  
+/- 2.5 megs is a differnce of seconds, or minutes in worst case.  
I guess it’s highly unlikely that a script will exceed some 100megs, even with external components included…  
If there are no licensing problems for rar it wouldn’t hurt to implement it, though. But if there are, well, it’s not a tragedy.  
just my two cents…

---

<div class="post-metadata">

**Author:** ![Suva](https://forum.renoise.com/user_avatar/forum.renoise.com/suva/32/222_2.png) [@Suva](https://forum.renoise.com/u/Suva)\
**Post date:** [July 26, 2010, 11:24am UTC](https://forum.renoise.com/t/support-rar-compression/29290/6 "2010-07-26T11:24:28Z")

</div>

To make the rubberband smaller, you probably can compress the included binaries with some exe compressor.

Edit: That was bad idea. It actually makes the packaged file larger, not smaller.

---

<div class="post-metadata">

**Author:** ![Johann](https://forum.renoise.com/user_avatar/forum.renoise.com/johann/32/460_2.png) [@Johann](https://forum.renoise.com/u/Johann)\
**Post date:** [July 26, 2010, 12:37pm UTC](https://forum.renoise.com/t/support-rar-compression/29290/7 "2010-07-26T12:37:10Z")

</div>

> [@plasmaniac](#):
>
> it wouldn’t hurt to implement it, though

'cactly. which is my whole point. well, except you people seem to keep forgetting about 7zip… which as I just found out [is LGPL and actually includes code to unpack RAR](http://www.7-zip.org/license.txt), which in turn is free, as long as you don’t use it to reverse engineer the RAR compression. This way we’d just need 7zip to support RAR as well as 7zip, all handled with libraries that have already implemented by many, many free programs. If Renoise supports compression, why not support good compression, too ![:D](https://forum.renoise.com/uploads/default/original/2X/4/4e279733a789da83bda5b44aedcf6a0d5178edcb.gif)

It’s not like there are any compatibility issues, you can still pack your stuff with zip, and if 7zip has a bug in a release, people can fall back to .zip, or even repack the xrnx files they already have. But it’s not like 7zip is some strange program nobody ever heard of or supported…

These are the Renoise requirements:

Windows 2000, XP, Vista or Windows 7 - 32 or 64 bit  
Mac OS X 10.4.0 or later  
32-bit x68-based Linux distro with GCC 4.X libs, [X.org](http://X.org) 7.1+, preferably real-time kernel

so yeah, how about modern compression, too! would fit right in.

> [@](#):
>
> I guess it’s highly unlikely that a script will exceed some 100megs, even with external components included…

Talking like someone who neither has to upload the stuff (which tends to be much slower, and which you do over and over and over again…), nor host it ![:P](https://forum.renoise.com/uploads/default/original/2X/c/cc783292fe974d5d5a7f19d3d82e7c9f95b28177.gif)

When compiling an xrnx it’s just a pity that you have to switch the the high end tool into “let’s pretend I’m from the 80’s” mode to produce a feeble .zip, that’s all.

---

<div class="post-metadata">

**Author:** ![Suva](https://forum.renoise.com/user_avatar/forum.renoise.com/suva/32/222_2.png) [@Suva](https://forum.renoise.com/u/Suva)\
**Post date:** [July 26, 2010, 12:52pm UTC](https://forum.renoise.com/t/support-rar-compression/29290/8 "2010-07-26T12:52:26Z")

</div>

> [@Johann](#):
>
> When compiling an xrnx it’s just a pity that you have to switch the the high end tool into “let’s pretend I’m from the 80’s” mode to produce a feeble .zip, that’s all.

RAR is still an non-free file format. Implementing this would be rather problematic.

.XRNS is zip too, but you don’t mind cause .XRNS is created transparently. ![:P](https://forum.renoise.com/uploads/default/original/2X/c/cc783292fe974d5d5a7f19d3d82e7c9f95b28177.gif)

---

<div class="post-metadata">

**Author:** ![Johann](https://forum.renoise.com/user_avatar/forum.renoise.com/johann/32/460_2.png) [@Johann](https://forum.renoise.com/u/Johann)\
**Post date:** [July 26, 2010, 1:03pm UTC](https://forum.renoise.com/t/support-rar-compression/29290/9 "2010-07-26T13:03:53Z")

</div>

RAR compression != RAR decompression!

RAR compression = not free.

RAR decompression = free, as demonstrated by 7zip and linux archivers which support it…! We basically have there is the option to support 7zip compression, 7zip decompression, and RAR decompression (and even the option to have that all in one package via 7zip)

> [@](#):
>
> .XRNS is zip too, but you don’t mind cause .XRNS is created transparently. ![:P](https://forum.renoise.com/uploads/default/original/2X/c/cc783292fe974d5d5a7f19d3d82e7c9f95b28177.gif)

Oh yeah, you think? I would love to have my songs compressed with 7zip ![;)](https://forum.renoise.com/uploads/default/original/2X/c/cc6810a6a8ecbfcb592ca3fd490fb59d90ec9739.gif)

Actually, when trying with rar and 7zip I was surprised Renoise doesn’t understand it already, that’s why I posted this. Just because it’s an audio app doesn’t mean it has to neglect everything else out of principle or something… free tech improvement = good.

---

<div class="post-metadata">

**Author:** ![Suva](https://forum.renoise.com/user_avatar/forum.renoise.com/suva/32/222_2.png) [@Suva](https://forum.renoise.com/u/Suva)\
**Post date:** [July 26, 2010, 1:52pm UTC](https://forum.renoise.com/t/support-rar-compression/29290/10 "2010-07-26T13:52:28Z")

</div>

> [@Johann](#):
>
> RAR decompression = free, as demonstrated by 7zip and linux archivers which support it…! We basically have there is the option to support 7zip compression, 7zip decompression, and RAR decompression (and even the option to have that all in one package via 7zip)

They use non-free libraries for decompression. There are no free libraries that can support RAR3 format.

---

<div class="post-metadata">

**Author:** ![Johann](https://forum.renoise.com/user_avatar/forum.renoise.com/johann/32/460_2.png) [@Johann](https://forum.renoise.com/u/Johann)\
**Post date:** [July 26, 2010, 2:23pm UTC](https://forum.renoise.com/t/support-rar-compression/29290/11 "2010-07-26T14:23:13Z")

</div>

that still would leave 7zip, which is LGPL period, but actually:

> [@Suva](#):
>
> They use non-free libraries for decompression. There are no free libraries that can support RAR3 format.

what do you mean by free?

[http://www.rarlab.com/rar\_add.htm](http://www.rarlab.com/rar_add.htm)  
[http://www.rarlab.com/rar/unrarsrc-3.9.10.tar.gz](http://www.rarlab.com/rar/unrarsrc-3.9.10.tar.gz)

> [@](#):
>
> The unRAR sources cannot be used to re-create the RAR compression algorithm,  
> which is proprietary. Distribution of modified unRAR sources in separate form  
> or as a part of other software is permitted, provided that it is clearly  
> stated in the documentation and source comments that the code may  
> not be used to develop a RAR (WinRAR) compatible archiver.

yeah, that’s by definition “not free software”, because it contains this “restriction”… but in reality, it’s free. Free as in beer, obviously, but that’s good enough? No license costs, and no demands besides having disclaimers in docs and source, and not trying to reverse engineer… I think that’s a very small price to pay.

---

<div class="post-metadata">

**Author:** ![junoir](https://forum.renoise.com/user_avatar/forum.renoise.com/junoir/32/226_2.png) [@junoir](https://forum.renoise.com/u/junoir)\
**Post date:** [July 26, 2010, 3:17pm UTC](https://forum.renoise.com/t/support-rar-compression/29290/12 "2010-07-26T15:17:25Z")

</div>

> [@Johann](#):
>
> rubberband remix, packed with ZIP (best): 6.0 mb  
> rubberband remix, packed with RAR (best, solid): 3.5 mb

Johann, are the filesize-differences of a packed xrns really that large, even when the samples in the xrns are flac:ed? Can you rar a flac-file and get almost half the size?

---

<div class="post-metadata">

**Author:** ![Johann](https://forum.renoise.com/user_avatar/forum.renoise.com/johann/32/460_2.png) [@Johann](https://forum.renoise.com/u/Johann)\
**Post date:** [July 26, 2010, 3:53pm UTC](https://forum.renoise.com/t/support-rar-compression/29290/13 "2010-07-26T15:53:08Z")

</div>

> [@junoir](#):
>
> Johann, are the filesize-differences of a packed xrns really that large, even when the samples in the xrns are flac:ed? Can you rar a flac-file and get almost half the size?

This is an xrnx plugin, not a renoise song ![;)](https://forum.renoise.com/uploads/default/original/2X/c/cc6810a6a8ecbfcb592ca3fd490fb59d90ec9739.gif)

(and while 7zip still packs it much better than zip, it’s not as good as RAR, but I forgot the exact size… 4.6 mb or something)

Yeah, for flac packed samples there is no real difference, but a song also has a song.xml and that responds very well to a better compressor.

---

<div class="post-metadata">

**Author:** ![Johann](https://forum.renoise.com/user_avatar/forum.renoise.com/johann/32/460_2.png) [@Johann](https://forum.renoise.com/u/Johann)\
**Post date:** [July 26, 2010, 7:59pm UTC](https://forum.renoise.com/t/support-rar-compression/29290/14 "2010-07-26T19:59:23Z")

</div>

Why would adding support for 7zip mean throwing zip out?

---

<div class="post-metadata">

**Author:** ![Suva](https://forum.renoise.com/user_avatar/forum.renoise.com/suva/32/222_2.png) [@Suva](https://forum.renoise.com/u/Suva)\
**Post date:** [July 26, 2010, 8:22pm UTC](https://forum.renoise.com/t/support-rar-compression/29290/15 "2010-07-26T20:22:26Z")

</div>

Well XML is also the worst format in terms of file size. But we still do it, because of it’s wide adoption, and simple usage. Same with ZIP. XRNS/XRNX/XRNI are NOT file compression formats, they are just based on popular open format which makes the files accessible for everyone.

If we wanted to base the file formats on XRNX i doubt we would go for half assed solution of only allowing uncompression. Renoise should be able to write it’s own files too.

I don’t see any point going through all this stuff because of few lousy megabytes. Sorry.

---

<div class="post-metadata">

**Author:** ![Johann](https://forum.renoise.com/user_avatar/forum.renoise.com/johann/32/460_2.png) [@Johann](https://forum.renoise.com/u/Johann)\
**Post date:** [July 26, 2010, 8:37pm UTC](https://forum.renoise.com/t/support-rar-compression/29290/16 "2010-07-26T20:37:42Z")

</div>

> [@Suva](#):
>
> i doubt we would go for half assed solution of only allowing uncompression. Renoise should be able to write it’s own files too.

compress as zip or 7zip, uncompress as… a LOT more. That’s how most programs do it, they read more than they write. Like Renoise, which reads .xm files but does not write them. That’s not half-assed haha… just like unpacking rar but not packing it isn’t. but yeah, status quo wins once again ![:lol:](https://forum.renoise.com/uploads/default/original/3X/3/9/398b332c124f58f6b9616a439a5c7c6d7d8b43e0.gif)

---

<div class="post-metadata">

**Author:** ![Nifflas](https://forum.renoise.com/letter_avatar/nifflas/32/6_449c533f586939b6e5f246632a46421f.png) [@Nifflas](https://forum.renoise.com/u/Nifflas)\
**Post date:** [August 6, 2010, 9:04am UTC](https://forum.renoise.com/t/support-rar-compression/29290/17 "2010-08-06T09:04:20Z")

</div>

The world doesn’t need a proprietary archivation format, so supporting it is a bad idea. It’s nicer to support formats that there are actually good compressors for on every operating system, and it’s not clever to support reading a format you are not allowed to write (what if you find out you want to add that later?). Use zip for compatibility or 7z for good compression.
