Apparat For Scala 2.8 RC2

Apparat is now available using the Scala 2.8-RC2 build. You can find appropriate downloads now on Google Code by searching for the Scala version of your choice. 7z compression on OS X should work now as well.


  1. Jeffrey Gilbert
    Posted May 24, 2010 at 6:50 pm | Permalink

    Is 7z compression installed by default on OS X or do I need to download an app for that?

  2. Posted May 24, 2010 at 7:15 pm | Permalink

    You will need 7z which you can download from

  3. Posted May 25, 2010 at 4:55 am | Permalink

    Thanks Joa, works great on Snow Leopard 10.6.3 ;)

    I tested reducer with p7zip 9.04 on six production SWFs that had been created and optimized carefully and the gains were between 5% and 8%, which is pretty fantastic.

  4. eckhard
    Posted May 25, 2010 at 10:01 am | Permalink

    Thanks Joa,

    can you give a brief explanation of the two options -q and -d ?
    I´m trying to squeeze banners with apparat.

  5. Posted May 25, 2010 at 10:52 am | Permalink

    “-q” is the quality of the JPEG compression. 1.0 is equal to 100%, 0.5 is equal to 50%. You can ignore “-d” completely for the moment. So if you want to get good compression you could try something like “-q 0.85”.

  6. Michael
    Posted May 25, 2010 at 4:29 pm | Permalink

    I’m getting NoSuchMethodError: scala.collection.immutable.Range.foreach etc…

    I have scala 2.8RC2 installed and have confirmed the version, any ideas?

  7. Posted May 25, 2010 at 7:05 pm | Permalink

    You downloaded the latest zip? And the scala version on your path is 2.8 RC2?

  8. Michael
    Posted May 25, 2010 at 10:37 pm | Permalink

    Yes, correct.

    I have verified both of these conditions.

    scala -version
    returns 2.8.0.RC2

    I have removed all of my apparat files except for the most recent ones.

  9. Posted May 26, 2010 at 2:50 pm | Permalink

    Cool stuff. It removed 304 bytes from my 2355 byte file which is very good thing :)

    To get it work on my snow leopard, this is what I did:
    1. Downloaded the Unix, Mac OS X, Cygwin scala-2.8.0.RC2.tgz (md5) 18.7 MB from and decompressed it into xxx folder.

    2. download the from and decompressed it to /scala/bin/

    3. copy+pasted my swf to that same scala/bin/ folder (m.swf)

    4. downloaded the 7zX app at and dragged the app to Applications folder.

    5. opened Terminal and went to that scala/bin/ folder and typed ./scala -cp apparat.jar -Dapparat.7z.path=/Applications/ -i m.swf -o mout.swf

    I’m not quite sure if this is the appropriate way, but I must have done something right since my swf is now few bits smaller :)

  10. Posted May 31, 2010 at 9:54 am | Permalink

    Thanks Joa, but it was working with RC3 not RC2.

    I was getting NoSuchMethodError with 2.8.0.RC2.
    Then, I switched on to RC3 version since it was mentioned on the apparat download page. With that Reducer was working.

  11. Posted May 31, 2010 at 11:20 am | Permalink

    Well, it is a shame how GoogleCode handles files. I made an update for RC3.

  12. Frank Officier
    Posted Jun 7, 2010 at 4:10 pm | Permalink

    Thanks Joa, this is really perfect…
    It all works now on my mac + Apparat + RC3 + 7za & with the small swf’s.

  13. Posted Jun 8, 2010 at 11:39 pm | Permalink

    Cool. In fact 7z support should work now out of the box on Linux and OS X if 7za is available on your path. No need to speficy that.

One Trackback

  1. […] This post was mentioned on Twitter by Shashank Tiwari and Daniel Ramos, James Ward. James Ward said: Apparat For Scala 2.8 RC2 is now available Great work @joa! […]