Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Lance · Nov 16, 2010 at 02:33 AM · licensecompressionzip

Need Unity Pro to zip/unzip?

Do you have to have Unity Pro in order to zip/unzip files. If so, is there any other compression system that can be used by the indie version? Thanks much in advance.

Update: Apologies. I was referring to from within a game.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Eric5h5 · Nov 16, 2010 at 06:58 AM

This is already answered here. (At the absolute worst, you could write your own unzip code, but there are libraries that do it. You don't need Pro for managed code libraries.)

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Lance · Nov 17, 2010 at 01:04 AM 0
Share

$$anonymous$$nowing the system as well as you do, you could certainly read that as the answer. I, however, did not realize that you could use managed libraries with the indie version of Unity. This is somewhat of a game-changer for me (all pun intended). Thanks much for that insight! ;)

avatar image Eric5h5 · Nov 17, 2010 at 01:38 AM 0
Share

Yeah, as far as plugins go you only need Pro if you want actual native C code plugins.

avatar image
0

Answer by Loius · Nov 16, 2010 at 03:26 AM

You can create unitypackages with unity (Assets->Export Package...). Zip files are created / opened with 7zip or winzip or pkzip or pakrat or five krabillion other programs :)

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Lance · Nov 16, 2010 at 03:30 AM 0
Share

I'm sorry, I meant from runtime - in-game.

avatar image
0

Answer by TomHunt · Nov 16, 2010 at 05:22 AM

As far as I can tell, yes, you would probably need to have the pro version - because with that, you get support for plugins, which should allow you to use the entirely free zlib (written in C/C++) source within your game.

I have seen a C# port of zlib, though, so, assuming there's a way for the free version of Unity to write to a file, you might be able to hack this with a script. Only trouble is, I haven't seen any mention of how to do file read/write in the ref manual, so my guess is that it isn't supported, unfortunately.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Eric5h5 · Nov 16, 2010 at 06:57 AM 0
Share

Of course it's supported. http://msdn.microsoft.com/en-us/library/system.io.aspx

avatar image TomHunt · Nov 17, 2010 at 08:45 AM 0
Share

ah, good :) that was bugging me for a bit after i wrote that. how would anyone save games or high scores if there wasn't even basic file I/O support?

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

What's the best way to implement file compression? 9 Answers

What ZLIB/GZIP/etc compression library I can use with latest Unity for iOS versions? 0 Answers

Manage zip with unity 1 Answer

System.IO.Compression not working in JS? 1 Answer

DotNetZip in Webplayer 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges