Thank you, Halfy. I would have never figured that out. :)
Cheers,
-- Alan
On Sun, Mar 16, 2008 at 6:33 AM, Halfdan Ingvarsson
<hingvars(at)softimage.com> wrote:
> They're compressed using zlib but they don't have the gzip headers. The compression starts at the 12th byte. The first 12 bytes contain a textural representation of the size (+pad).
>
> - ½
>
>
>
> -----Original Message-----
> From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of Alan Fregtman
> Sent: 15-Mar-2008 23:54
> To: XSI(at)Softimage.COM
> Subject: Re: Anatomy of an .xsiaddon file? / Are attachments base64-encoded?
>
> Ok, that didn't seem to work. :/
>
> Can someone confirm if it's really a zip file? I tried putting the base64-decoded contents to a file, and unzipping them with no luck.
> Also tried to see if they might be .gz files.
>
> -- Alan
>
> ps: Any Soft employees around?
>
>
> On Sat, Mar 15, 2008 at 8:01 PM, Alan Fregtman <alan.fregtman(at)gmail.com> wrote:
> > That'd explain the binary-looking result I get when I decode it.
> >
> > I'm gonna give a shot at grabbing the string and unzipping it.
> >
> > -- Alan
> >
> >
> >
> >
> > On Sat, Mar 15, 2008 at 7:49 PM, Luc-Eric Rousseau <lucer(at)softimage.com> wrote:
> > >
> > >
> > >
> > > can't check right now but I think it's a zip file that's base64-encoded.
> > >
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: owner-xsi(at)Softimage.COM on behalf of Alan Fregtman >
> > Posted At: Sat 3/15/2008 10:41 PM > To: xsi(at)Softimage.COM > Posted
> > To: xsi > Subject: Anatomy of an .xsiaddon file? / Are attachments
> > base64-encoded?
> > >
> > > Hey guys,
> > >
> > > I'm writing a little tool and I'm trying to decode certain files
> > from > your typical .xsiaddon file.
> > >
> > > I noticed it seems like some kind of XML-based format and
> > attachments > (files) in it look like base64-encoded strings.
> > > Are they base64-encoded or is it something else? Because I tried
> > > decoding what would be a plaintext file and it didn't seem to
> > decode > right.
> > >
> > > Any help appreciated.
> > > Cheers,
> > >
> > > -- Alan
> > > ---
> > > Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
> > > unsubscribe xsi
> > >
> > >
> >
> ---
> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
> unsubscribe xsi
>
> ---
> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
> unsubscribe xsi
>
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi