Search Unity

Unitypackage format lzma

Discussion in 'Editor & General Support' started by Jason123, Apr 9, 2013.

  1. Jason123

    Jason123

    Joined:
    Mar 17, 2013
    Posts:
    14
    Hi,

    I'm hoping someone on the unity team can answer this. I'm attempting to create my own .unitypackage file and have come very close to the solution.

    I have successfully decompressed a valid unity package using tar and lzma however I have not yet been able to recompress it to a format that unity will recognize.

    I would expect it to be something like:

    tar -cv 4f98eedbbf2ea43aaa1988b7c4e0b294 |/Applications/Unity/Unity.app/Contents/Tools/lzma e -si -so >test.unitypackage

    Perhaps a Unity developer can shed some light on the format of the file?

    Thanks
     
  2. Aras

    Aras

    Unity Technologies

    Joined:
    Nov 7, 2005
    Posts:
    4,770
    I think it's actually tar + gz, not tar + lzma.
     
  3. Jason123

    Jason123

    Joined:
    Mar 17, 2013
    Posts:
    14
    That was it! Thanks so much Aras!!!!!