VFS : A good idea?

Dunno if this is the right section. But currently I have set up a VFS from a ZIP file for my game. It loads up the ZIP data then decompresses it, then stores it in the VFS for later use.

Plus side for me
-Easier to put on mobile devices,no more System.IO
-Easier to cross-platform, again no more System.IO and the same path style applies for every file in the VFS
-ZIP provides the proper file names for the VFS right out of the box
-My framework already supports loading raw files (TGA/DDS/WAV/Custom Model Files)

Here’s the thing though, is this a good way about doing things?

Unity 5.x will have its own (threadsafe) VFS at least according to this thread. How much of this new VFS will be exposed to the developer via API is probably another question.

that still seems to be done via assets/asset system which I nearly entirely avoid in my framework. If they expose it to the developers via API I would be interested in it though. We’ll see how it is eventually

1 Like