Class VfsBootstrap
Probes the executable directory for a .cecal archive and constructs the
correct runtime VFS stack. Called once by Init(int, int, int, string) so every
subclass gets consistent initialization regardless of its Load override.
Inherited Members
Namespace: PopcorningGuineaPig.Engine.Assets.Cecal
Assembly: PopcorningGuineaPig.Engine.dll
Syntax
public static class VfsBootstrap
Methods
| Edit this page View SourceCreateDefault()
Archive filenames probed in order next to BaseDirectory:
{exeName}.cecal → game.cecal → assets.cecal. When an archive
is found, returns a CompositeVirtualFileSystem layering it over a
loose-file fallback. When none is found, returns null — every asset loader
has a null-VFS branch that preserves the engine's pre-Story-7.5 behavior
byte-for-byte, so games that never adopt .cecal keep their exact legacy paths
(native Raylib.LoadTexture, File.ReadAllText, etc.).
Declaration
public static IVirtualFileSystem? CreateDefault()
Returns
| Type | Description |
|---|---|
| IVirtualFileSystem |