Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

UnityPackage TOOL Released!

Discussion in 'Assets and Asset Store' started by Reefer, Sep 24, 2013.

  1. Reefer

    Reefer

    Joined:
    Jan 13, 2012
    Posts:
    34
    CHECK MY LASTEST POST FOR NEWEST VERSION, HERE:

    http://forum.unity3d.com/threads/202280-UnityPackage-TOOL-Released!?p=1412292#post1412292




    I have to work sometimes offline and I can't go to asset store then and import files, so I've downloaded to my hard disk some of assets in asset store that I use on different projects + some free assets from internet.

    When my collection started to grow and everything was uncategorized and some of those were even named like this: 12343949499.UnityPackage, I deciced that I need somekind of program to help me to categorize them and rename them.


    So what UnityPackage TOOL then does?

    Renames UnityPackage to what reads in Title field in particular file.
    In example: 12343949499.UnityPackage will be renamed to TerrainAssets.UnityPackage

    Makes new folders according to it's category and moves that file there.
    In example: Editor Extensions/Animations/correctlynamed.UnityPackage file.
    In example2: 3D Models/Environment/correctlynamed.UnityPackage file.

    It basicly uses same categories that Asset Store.

    Where to download?
    UnityPackage TOOL 1.1 Download

    If you run in any problems using UnityPackage TOOL, please PM me

    Or contact with email:

    azekriel[at]gmail[dot]com

    misthema[at]gmail[dot]com


    Let me know if you have more ideas about what this software should do also! We might update it and add your idea(s). :rolleyes:
    I hope theres help from this to someone else too.

    Known bugs:
    Some UnityPackage files doesnt have "title" field in that file. Those will be moved to Uncategorized folder with Unknown(x).unitypackage name.

    Sometimes it makes an file without unityPackage extension and that is 0 bytes. We will look into this.

    FIXED! Download 1.1 version from same link!


    Please notice that orginal files won't be deleted or modified in anyway.
    (c) 2013 Broken Signal Entertainment
     
    Last edited: Nov 9, 2013
    UnityLighting likes this.
  2. sicga123

    sicga123

    Joined:
    Jan 26, 2011
    Posts:
    782
    Thanks for this. Good idea, I'll have a good use for it.
     
  3. Reefer

    Reefer

    Joined:
    Jan 13, 2012
    Posts:
    34
    No problem! Nice to hear it helps someone else too.

    Here's picture of planned GUI for next version, also you can see some of the new features ;)

    $unityPackageTOOL.png


    What you guys think? And what features you would like to see? :confused:
     
    Last edited: Sep 25, 2013
  4. vrpostcard

    vrpostcard

    Joined:
    Feb 24, 2013
    Posts:
    33
    Reefer, Thanks for this great program, I have used it to re-organise my back up of the asset store cache in my user profile. While it did a great job, I found a single minor issue. Prior to updating a certain asset through the asset store, I renamed the same asset in my cache to be the specific version number so that I could go back to the old version if required. After updating the asset, I ended up with 2 versions of the asset in the cache folder, asset.unitypackage and asset(v1.61).unitypackage.

    After running your program only 1 of these assets has been copied across to the newer file structure. I only have about 200 assets at the moment, and it worked fine for these.

    A slight improvement for your program could include the option for it to not require all of the assets to be in a single folder. The cache in the user directory files each asset under the author name, and this means collating the asset first, prior to running your program.

    Once again, Good Job!.
     
  5. Reefer

    Reefer

    Joined:
    Jan 13, 2012
    Posts:
    34
    Thank you for your message!

    First of all, I think it's because of that "(v1.61)" part as it doesnt know how to parse anything else than letters if I understood what you mean right. This will be fixed on next version that includes GUI + alot of new features to make your life even easier.

    On version 1.2 we are going to include an option to load unitypackages from different folders and categorize/move them all in a selected style, without renaming unitypackages. Ofcourse renaming em too will be still an feature.

    unityPackages can be categorized by selecting one of these options:

    Category/Author/Name/Version/asset.unitypackage
    Category/Name/Version/asset.unitypackage
    Category/Name/asset.unitypackage

    Also we plan to add an support for extracting .unitypackages in version 1.2.


    So what you think of new ideas/features?
     
  6. vrpostcard

    vrpostcard

    Joined:
    Feb 24, 2013
    Posts:
    33
    This makes perfect sense. The changes for your new version sound wonderful. One thing that does spring to mind is the ability for your program to place the version number of the asset in it's file name.

    I use unity to produce simulation software for clients and it is important for me that I know which version of an asset I am using for each simulation. Sometimes I would prefer to use an older version of an asset due to some specific feature and this is the reason that I backup and rename the files in the cache to be version specific before updating items from the asset store. It seems you are heading down this path by the look of the new GUI anyway.

    Can't wait for the new version.
     
  7. Reefer

    Reefer

    Joined:
    Jan 13, 2012
    Posts:
    34
    Yes, on version 1.2 we will allow you to select if you want version number as a separate directory or in a package's filename or none.

    I don't know any ETA for version 1.2 yet, depends how fast we can code with Misth.
     
  8. vrpostcard

    vrpostcard

    Joined:
    Feb 24, 2013
    Posts:
    33
    Reefer, Any updates on this yet?
     
  9. Reefer

    Reefer

    Joined:
    Jan 13, 2012
    Posts:
    34
    Yes actually, there is an new version of it now. This got delayed because there was an change of programming language we used to do this. First we tried to go with BlitzPlus, but after that version was ready we decided that it was way too buggy.

    So then came in change to C# and that's the version I can now proudly present:

    UnityPackage Manager v 1.1


    Program used to categorize, rename and open UnityPackages!

    Features:

    - GUI
    - Rename packages (example: 12409213909301.UnityPackage to ActualNameOfPackage.UnityPackage)
    - Categorize packages in to folders (example: Scripting\Physics\xxx.UnityPackage or Shaders\Fullscreen Camera Effects\xxx.UnityPackage)
    - Open UnityPackages and see what's inside of em.
    - Extract files.
    - Showing script in program from files: .txt / .cs / .js
    - Showing preview pictures of prefabs, models, audio and texture files.

    How to:

    Rename / Categorize
    To rename or categorize your UnityPackages select: Tools - Manage Packages.

    Now add all UnityPackages you wan't to have renamed or categorized and select output folder.

    Click Start.

    Your packages will be now categorized, renamed or both, and can be found from yours output folder.

    Extracting files
    Select File - Open

    After your UnityPackage has been opened, select one file from inside of your package with double click and then: Tools - Extract single file.

    Or if you want all files to be extracted, select: Tools - Extract all files.

    DOWNLOAD

    UnityPackage Manager v1.1

    Please let me know if you run into any bugs.

    Thank you!
     

    Attached Files:

    Last edited: Nov 8, 2013
    DRFire9001 likes this.
  10. Reefer

    Reefer

    Joined:
    Jan 13, 2012
    Posts:
    34
    Small bugfix released:

    FIXED:

    - Preview pictures are now all resized to 128x128 even if they're smaller or larger ones.
    - Handles packages picture properly. Last version didnt clean up packages icon if next package didnt have one.

    DOWNLOAD:

    UnityPackage Manager v1.11

    Please let me know if you run into any bugs.

    Thank you!
     
  11. Ullukai

    Ullukai

    Joined:
    Aug 24, 2010
    Posts:
    746
    Kiitos !

    I need this
     
  12. Tortyfoo

    Tortyfoo

    Joined:
    Mar 6, 2012
    Posts:
    132
    I had written something similar although mine has no interface and used hard coded values unique for me :)

    Might want to add slightly better exception handling.

    Fails if title of Unity package contains an invalid character for a filename.

    Fails if file already exists even if overwrite option ticked.
     
    Last edited: Nov 10, 2013
  13. 3D Omelette Studio

    3D Omelette Studio

    Joined:
    Oct 1, 2013
    Posts:
    130
    any chance you plan to release source version?

    some of us are quite picky when it comes to run others peoples apps, specially if they are not known vendors.

    good concept tho.
     
  14. Reefer

    Reefer

    Joined:
    Jan 13, 2012
    Posts:
    34
    Thanks for letting us know. We will look into this and fix it.

    There's no plans to release source code, but im not saying that it's not gonna happen ever. ;)
     
  15. misthema

    misthema

    Joined:
    Nov 3, 2013
    Posts:
    5
    Mkay. We had some problems with communications I see. Reefer didn't tell me there's a topic for our program, so there's another topic for this...

    I'm sorry for this. We will be moving all the information here soon and hopefully get rid of the other topic.

    About publishing the source codes:
    No. For now, I'm not going to publish any of it. The information and codes are available on the internet - you just need to do some of your own digging. Not trying to be an a***ole, but seriously, there's nothing in the code that would be worth sharing.
     
    Last edited: Nov 12, 2013
  16. misthema

    misthema

    Joined:
    Nov 3, 2013
    Posts:
    5
    UnityPackage Manager v1.12 - or tool... :)

    v1.12:
    - FIX: If output directory is set, packages will be moved there. If not, they will stay at their original location.
    - CHANGED: Changed extract option from Package Management to "Add version to name".
    - FIX: Package names will now be checked for invalid characters.
    - FIX: Packages that are being renamed but doesn't have a title will still be moved to new location (see first fix above).
    - FIX: Checking "Overwrite" in Package Management should now be working properly. If "Overwrite" is not checked and program finds another file with same name, new package name will be format "myPackage_2.unitypackage".

    Not functioning (yet):
    - Saving packages in any way.
    - Edit menu buttons

    Screenshots:
    Main window, previewing a texture:
    http://puu.sh/5c8ll.png

    Main window, previewing a model:
    http://puu.sh/5c8n7.png

    Main window, previewing a C# code file:
    http://puu.sh/5c8pX.png

    (old) Package Management, getting ready to arrange and rename packages:
    http://puu.sh/5c8s5.png


    DOWNLOAD!



    P.S.:
    Since I've found a language called HaXe, I will mostly be working with it. Although, if you find bugs that are really bad and tell me about them, I will work on them right away.
     
    Last edited: Nov 12, 2013
  17. keiranlovett

    keiranlovett

    Joined:
    May 9, 2013
    Posts:
    16
    Any port for OSX?
     
  18. Reefer

    Reefer

    Joined:
    Jan 13, 2012
    Posts:
    34
    No, also we dont develope this anymore