- Dec 30, 2017
- 93
- 41
Okay, but for the trick of project extraction I found a positive answer:It is though.
Look, Unity is much different than Ren'Py. Compression works much differently than what you may think, and it is not always build size.
Ren'Py simply reads they file as they are, and they are not packed, which means you can easilycorruptcompress them with third party tools.
In Unity I can have a 500mb psd file for a character and when I build the game, that 500mb will transform into a 2mb (Depends on settings, resolution, and so on) image during the build process.
Unity has already built-in methods to compress resources, and it is not always about reducing the game size... Sometimes, it is more preferable to have a +200% import size in order to be easier on the CPU, you can read more about it here if you are curious:You must be registered to see the links
Not to mention that when you zip your unity game, the size is greatly reduced for distribution.
TLDR; Unity Engine already handles compression, you do not need to worry about it. It is not Ren'Py.
Contrary to popular belief, it is possible to get the compiled code and assets from a built version of the Unity game. If you ever happened to create a build you can use tools such as ILSpy or dotPeek to gain access to the code. For assets, you can use Unity Asset Explorer. Just search that up on google and I'm sure you're capable of finding it. Else, I'm afraid it is truly gone forever assuming you didn't leave the project in the recycle bin on the windows.
THE FOLLOWING SOLUTION WORKS WITH WINDOWS ONLY
Once you have downloaded either ILSpy or dotPeek, navigate to the “managed” folder of your game build, and open the ‘Assembly-CSharp.dll’, ‘Assembly-CSharp-firstpass.dll’ and ‘Assembly-UnityScript.dll’ files with either of these programs. You shouldn't have a hard time finding all your code from there.
As for assets, using unity asset explorer, it is pretty straightforward to get your assets. I recommend reading this article: A practical tutorial to hack & protect Unity games - Alan Zucconi
It will show you how to do everything I mentioned above.