Amiga.org

Amiga computer related discussion => Amiga Hardware Issues and discussion => Topic started by: Everblue on September 03, 2007, 01:27:32 PM

Title: Extracting .lzx files on MAC
Post by: Everblue on September 03, 2007, 01:27:32 PM
I got a bunch of .lzx format files which I would like to extract using my MAC -is there any software which will let me do this?

Thanks!
Title: Re: Extracting .lzx files on MAC
Post by: Everblue on September 03, 2007, 01:43:47 PM
I have tried "The unarchiver" which claims to support lzx, but it gives ma errors. Loads of them.
Title: Re: Extracting .lzx files on MAC
Post by: skurk on September 03, 2007, 01:48:45 PM
Should be a trivial task to port unlzx (http://www.freshports.org/archivers/unlzx/).  Probably just extract, compile and go.

Alternative: Fire up E-UAE and decompress the files there?
Title: Re: Extracting .lzx files on MAC
Post by: Piru on September 03, 2007, 02:12:54 PM
@skurk
Quote
Probably just extract, compile and go.

It would be if the compiler was provided with Mac OS X. It isn't, and you need to create account on Apple Developer Connection (http://developer.apple.com) to download it (and it's quite large download, too).

It's possible sure, and is maybe trivial, but sure takes a lot of time. ;-)

Someone already having the compiler installed could perhaps create the binary for Everblue?
Title: Re: Extracting .lzx files on MAC
Post by: Everblue on September 03, 2007, 02:14:21 PM
Sigh, i was hoping for a simple double click and lets get over it proggie :(
Title: Re: Extracting .lzx files on MAC
Post by: mattabat on September 03, 2007, 02:21:50 PM
@Piru
I don't know where you got your copy of Mac OS X, but Tiger came with XCode, which comes with the compiler one needs to compile unlzx (which I have done in the past under OS X). I don't want to speculate..
Title: Re: Extracting .lzx files on MAC
Post by: skurk on September 03, 2007, 02:40:01 PM
My Mac came with XCode and gcc, make, autoconf, etc.

Everblue: If you can settle with a shell app, I can compile it for you tonight.  You have an Intel Mac, right?
Title: Re: Extracting .lzx files on MAC
Post by: Everblue on September 03, 2007, 02:55:07 PM
At this point I will try even on PC. Any ideas? I need something GUI based because I have hundreds of files I want to expand.

Title: Re: Extracting .lzx files on MAC
Post by: Piru on September 03, 2007, 03:11:33 PM
@mattabat
Quote
I don't know where you got your copy of Mac OS X, but Tiger came with XCode, which comes with the compiler one needs to compile unlzx (which I have done in the past under OS X).

The install was made from the original Mac OS X Tiger DVD.

Perhaps I forgot to tick some "include XCode" while installing?

It was a vanilla install. It did not include compiler before I downloaded and installed it.
Quote
I don't want to speculate..

About what? I bought the DVD, in case you're wondering. I consider it within my rights to install it on non-Mac hardware, regardless of the EULA.

Anyway, if the compiler is included it should be trivial to compile the unlzx, indeed.
Title: Re: Extracting .lzx files on MAC
Post by: Piru on September 03, 2007, 03:13:46 PM
@Everblue
Quote
At this point I will try even on PC. Any ideas?

For example unrar should do.

Quote
I need something GUI based because I have hundreds of files I want to expand.

Heh, hundreds of files means "use CLI" for me.

Using GUI for hundreds of files would be WAY too cumbersome...
Title: Re: Extracting .lzx files on MAC
Post by: alexh on September 03, 2007, 03:21:39 PM
http://xavprods.free.fr/lzx/

Compiles fine in X-Code to a MacOS X CLI application.
Title: Re: Extracting .lzx files on MAC
Post by: Everblue on September 03, 2007, 03:50:02 PM
Well thing is that they are in many subfolders within a folder.... What I do on windows is do a search for *.lzx on the main folder so it lists all .lzx files in the subfolders... then I would click RMB > Extract here.... and it would extract all files.

Problem is that winrar doesnt support lzx either :(

All i need is a program that does (I just tried Zipzag which claims to support lzx but it doesnt work.)
Title: Re: Extracting .lzx files on MAC
Post by: Everblue on September 03, 2007, 04:21:30 PM
Ok I managed :)

PC Total Commander with lzx plugin FTW.

Now now, is there a Mac version :D
Title: Re: Extracting .lzx files on MAC
Post by: Colani1200 on September 03, 2007, 04:25:57 PM
Quote

Everblue wrote:
Well thing is that they are in many subfolders within a folder.... What I do on windows is do a search for *.lzx on the main folder so it lists all .lzx files in the subfolders... then I would click RMB > Extract here.... and it would extract all files.


Sounds complicated. What you do on Unix (and on Mac OS X I assume) would be something like:

Code: [Select]
find /path/to/the/archive/stuff/ -iname "*.lzx" -exec unlzx {} \;
If... yes if you find an unlzx command for OS X. ;-) It exists for other Unix flavors, so maybe someone has ported it to OS X already.