Jump to content

Extract Leo's pkg-files with XAR


enzomusic
 Share

4 posts in this topic

Recommended Posts

Hi guys n girls,

I don't know if you have also problems with extracting Leo's pkgs within Tiger.

Leo uses XAR (Extensible Archive Format) to compress its pkg-files.

 

Here how to extract the files:

 

1. Download XAR-1.5.1 (I compiled it with 10.4.9 and the newest XCode)

hxxp://enzomusic.en.funpic.de/XAR.zip

 

2. Extract it and open Terminal (go to the directory you extracted it)

 

3. To extract an pkg, start xar with: ./xar -x -f /directory/file.pkg

(I always copy the pkg first to my hdd then copy the xar into the same, due to errors that could occur)

 

You will see some files now. The important one is the "Payload"-File.

 

4. Right-click on payload, open with "BOM-...."

 

5. Voila. :(

 

PS: I could not extract every pkg. I dunno why, I'm not a programmer (well, ARM is not C# x86)

When you are interested on the source-code take a look at the project page: hxxp://code.google.com/p/xar/ )

 

Greetz

eNZO

Link to comment
Share on other sites

Well, Leo uses XAR. Before pkg-files were directories (show content in finder). Now pkg-files are "real" files. AFAIK It's like if you take only the "bom"-file and compressing it with xar, while including an XML to extract parts only of the file, if needed and not the whole package. Here's a link where you can find out more about it: hxxp://www.tuaw.com/2006/12/31/xar/

 

Btw. The header in Hex looks like my attachment.

 

When you need more information about, just tell me, but now, time for bed, I have school in 5 hours. :(

 

Greetz

eNZO

 

EDIT: Couldn't attach file. Hosted on my site:

x.jpg

Link to comment
Share on other sites

 Share

×
×
  • Create New...