|
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.
(comments are locked)
|
|
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.) Knowing 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! ;)
Nov 17 '10 at 01:04 AM
Lance
Yeah, as far as plugins go you only need Pro if you want actual native C code plugins.
Nov 17 '10 at 01:38 AM
Eric5h5
(comments are locked)
|
|
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 :) I'm sorry, I meant from runtime - in-game.
Nov 16 '10 at 03:30 AM
Lance
(comments are locked)
|
|
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. Of course it's supported. http://msdn.microsoft.com/en-us/library/system.io.aspx
Nov 16 '10 at 06:57 AM
Eric5h5
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?
Nov 17 '10 at 08:45 AM
TomHunt
(comments are locked)
|
