Darkplaces virtual file system

From Blood Wiki
Revision as of 18:19, 12 July 2012 by VorteX (Talk | contribs)

Jump to: navigation, search

Darkplaces virtual file system is file table that combines real file system and files stored in game archives.

The goals it provides:

  • opaque access to separate gamedir storing all writeable files (My Documents/My Games)
  • access files in archives just like they were stored on HDD
  • mod support (mods can override files, add new files)
  • safety (gamecode cannot damage game files)

How file table is maked

  1. First gamedir is processed
    1. Archives processed sequentally (by alphabetical order), files with same name gets overlapped
    2. Files with empty contents overlapping other files, makes them 'deleted' to the file system
    3. Real files stored in gamedir is processed and overlap files in archives
  2. Next gamedir is processed
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox